comand-component-library 4.1.11 → 4.1.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.js +6 -6
- package/dist/comand-component-library.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/assets/data/list-of-links.json +27 -7
- package/src/components/CmdBasicForm.vue +1 -1
- package/src/components/CmdCookieDisclaimer.vue +0 -2
- package/src/components/CmdGoogleMaps.vue +2 -0
- package/src/components/CmdInnerLink.vue +1 -1
- package/src/utils/ContactFormValidation.js +3 -3
@@ -1,4 +1,4 @@
|
|
1
|
-
(function(O,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(O=typeof globalThis<"u"?globalThis:O||self,o(O["comand-component-library"]={},O.Vue))})(this,function(O,o){"use strict";var CP=Object.defineProperty;var wP=(O,o,Oe)=>o in O?CP(O,o,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):O[o]=Oe;var en=(O,o,Oe)=>wP(O,typeof o!="symbol"?o+"":o,Oe);const Oe=/^[a-z0-9]+(-[a-z0-9]+)*$/,tn=(e,t,n,r="")=>{const i=e.split(":");if(e.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const l=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:l};return t&&!nn(c)?null:c}const s=i[0],a=s.split("-");if(a.length>1){const l={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!nn(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!nn(l,n)?null:l}return null},nn=(e,t)=>e?!!((e.provider===""||e.provider.match(Oe))&&(t&&e.prefix===""||e.prefix.match(Oe))&&e.name.match(Oe)):!1,ra=Object.freeze({left:0,top:0,width:16,height:16}),on=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),rn=Object.freeze({...ra,...on}),Go=Object.freeze({...rn,body:"",hidden:!1});function Xf(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function ia(e,t){const n=Xf(e,t);for(const r in Go)r in on?r in e&&!(r in n)&&(n[r]=on[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Qf(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function s(a){if(n[a])return i[a]=[];if(!(a in i)){i[a]=null;const l=r[a]&&r[a].parent,d=l&&s(l);d&&(i[a]=[l].concat(d))}return i[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function Yf(e,t,n){const r=e.icons,i=e.aliases||{};let s={};function a(l){s=ia(r[l]||i[l],s)}return a(t),n.forEach(a),ia(e,s)}function sa(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=Qf(e);for(const i in r){const s=r[i];s&&(t(i,Yf(e,i,s)),n.push(i))}return n}const $f={provider:"",aliases:{},not_found:{},...ra};function Jo(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function aa(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Jo(e,$f))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Oe)||typeof s.body!="string"||!Jo(s,Go))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(Oe)||typeof a!="string"||!n[a]&&!r[a]||!Jo(s,Go))return null}return t}const la=Object.create(null);function vf(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function je(e,t){const n=la[e]||(la[e]=Object.create(null));return n[t]||(n[t]=vf(e,t))}function Ko(e,t){return aa(t)?sa(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function eh(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let pt=!1;function ca(e){return typeof e=="boolean"&&(pt=e),pt}function th(e){const t=typeof e=="string"?tn(e,!0,pt):e;if(t){const n=je(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function nh(e,t){const n=tn(e,!0,pt);if(!n)return!1;const r=je(n.provider,n.prefix);return eh(r,n.name,t)}function da(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),pt&&!t&&!e.prefix){let i=!1;return aa(e)&&(e.prefix="",sa(e,(s,a)=>{a&&nh(s,a)&&(i=!0)})),i}const n=e.prefix;if(!nn({provider:t,prefix:n,name:"a"}))return!1;const r=je(t,n);return!!Ko(r,e)}const ua=Object.freeze({width:null,height:null}),ma=Object.freeze({...ua,...on}),oh=/(-?[0-9.]*[0-9]+[0-9.]*)/g,rh=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function fa(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(oh);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=rh.test(s);for(;;){if(a){const l=parseFloat(s);isNaN(l)?i.push(s):i.push(Math.ceil(l*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");a=!a}}function ih(e,t){const n={...rn,...e},r={...ma,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(f=>{const h=[],y=f.hFlip,p=f.vFlip;let C=f.rotate;y?p?C+=2:(h.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),h.push("scale(-1 1)"),i.top=i.left=0):p&&(h.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),h.push("scale(1 -1)"),i.top=i.left=0);let T;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:T=i.height/2+i.top,h.unshift("rotate(90 "+T.toString()+" "+T.toString()+")");break;case 2:h.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:T=i.width/2+i.left,h.unshift("rotate(-90 "+T.toString()+" "+T.toString()+")");break}C%2===1&&(i.left!==i.top&&(T=i.left,i.left=i.top,i.top=T),i.width!==i.height&&(T=i.width,i.width=i.height,i.height=T)),h.length&&(s='<g transform="'+h.join(" ")+'">'+s+"</g>")});const a=r.width,l=r.height,d=i.width,c=i.height;let u,m;return a===null?(m=l===null?"1em":l==="auto"?c:l,u=fa(m,d/c)):(u=a==="auto"?d:a,m=l===null?fa(u,c/d):l==="auto"?c:l),{attributes:{width:u.toString(),height:m.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:s}}const sh=/\sid="(\S+)"/g,ah="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let lh=0;function ch(e,t=ah){const n=[];let r;for(;r=sh.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(lh++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Zo=Object.create(null);function dh(e,t){Zo[e]=t}function Xo(e){return Zo[e]||Zo[""]}function Qo(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Yo=Object.create(null),gt=["https://api.simplesvg.com","https://api.unisvg.com"],sn=[];for(;gt.length>0;)gt.length===1||Math.random()>.5?sn.push(gt.shift()):sn.push(gt.pop());Yo[""]=Qo({resources:["https://api.iconify.design"].concat(sn)});function uh(e,t){const n=Qo(t);return n===null?!1:(Yo[e]=n,!0)}function $o(e){return Yo[e]}let ha=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function mh(e,t){const n=$o(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(a=>{i=Math.max(i,a.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function fh(e){return e===404}const hh=(e,t,n)=>{const r=[],i=mh(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},l=0;return n.forEach((d,c)=>{l+=d.length+1,l>=i&&c>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},l=d.length),a.icons.push(d)}),r.push(a),r};function ph(e){if(typeof e=="string"){const t=$o(e);if(t)return t.path}return"/"}const gh={prepare:hh,send:(e,t,n)=>{if(!ha){n("abort",424);return}let r=ph(t.provider);switch(t.type){case"icons":{const s=t.prefix,l=t.icons.join(","),d=new URLSearchParams({icons:l});r+=s+".json?"+d.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;ha(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(fh(a)?"abort":"next",a)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})}};function yh(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,a=i.prefix,l=i.name,d=n[s]||(n[s]=Object.create(null)),c=d[a]||(d[a]=je(s,a));let u;l in c.icons?u=t.loaded:a===""||c.missing.has(l)?u=t.missing:u=t.pending;const m={provider:s,prefix:a,name:l};u.push(m)}),t}function pa(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function bh(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const a=s.icons,l=a.pending.length;a.pending=a.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])a.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))a.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),a.pending.length!==l&&(n||pa([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let kh=0;function Ch(e,t,n){const r=kh++,i=pa.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),i}function wh(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?tn(i,t,n):i;s&&r.push(s)}),r}var xh={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Bh(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let a;if(e.random){let b=e.resources.slice(0);for(a=[];b.length>1;){const S=Math.floor(Math.random()*b.length);a.push(b[S]),b=b.slice(0,S).concat(b.slice(S+1))}a=a.concat(b)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const l=Date.now();let d="pending",c=0,u,m=null,g=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function p(b,S){S&&(f=[]),typeof b=="function"&&f.push(b)}function C(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:g.length,subscribe:p,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function k(){g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function A(b,S,F){const q=S!=="success";switch(g=g.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=F,T();return}if(q){u=F,g.length||(a.length?N():T());return}if(h(),k(),!e.random){const L=e.resources.indexOf(b.resource);L!==-1&&L!==e.index&&(e.index=L)}d="completed",f.forEach(L=>{L(F)})}function N(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(g.length){m=setTimeout(()=>{h(),d==="pending"&&(k(),T())},e.timeout);return}T();return}const S={status:"pending",resource:b,callback:(F,q)=>{A(S,F,q)}};g.push(S),c++,m=setTimeout(N,e.rotate),n(b,t,S.callback)}return setTimeout(N),C}function ga(e){const t={...xh,...e};let n=[];function r(){n=n.filter(l=>l().status==="pending")}function i(l,d,c){const u=Bh(t,l,d,(m,g)=>{r(),c&&c(m,g)});return n.push(u),u}function s(l){return n.find(d=>l(d))||null}return{query:i,find:s,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:r}}function ya(){}const vo=Object.create(null);function _h(e){if(!vo[e]){const t=$o(e);if(!t)return;const n=ga(t),r={config:t,redundancy:n};vo[e]=r}return vo[e]}function Eh(e,t,n){let r,i;if(typeof e=="string"){const s=Xo(e);if(!s)return n(void 0,424),ya;i=s.send;const a=_h(e);a&&(r=a.redundancy)}else{const s=Qo(e);if(s){r=ga(s);const a=e.resources?e.resources[0]:"",l=Xo(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),ya):r.query(t,i,n)().abort}const ba="iconify2",yt="iconify",ka=yt+"-count",Ca=yt+"-version",wa=36e5,Sh=168;function er(e,t){try{return e.getItem(t)}catch{}}function tr(e,t,n){try{return e.setItem(t,n),!0}catch{}}function xa(e,t){try{e.removeItem(t)}catch{}}function nr(e,t){return tr(e,ka,t.toString())}function or(e){return parseInt(er(e,ka))||0}const an={local:!0,session:!0},Ba={local:new Set,session:new Set};let rr=!1;function Th(e){rr=e}let ln=typeof window>"u"?{}:window;function _a(e){const t=e+"Storage";try{if(ln&&ln[t]&&typeof ln[t].length=="number")return ln[t]}catch{}an[e]=!1}function Ea(e,t){const n=_a(e);if(!n)return;const r=er(n,Ca);if(r!==ba){if(r){const l=or(n);for(let d=0;d<l;d++)xa(n,yt+d.toString())}tr(n,Ca,ba),nr(n,0);return}const i=Math.floor(Date.now()/wa)-Sh,s=l=>{const d=yt+l.toString(),c=er(n,d);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}xa(n,d)}};let a=or(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,nr(n,a)):Ba[e].add(l))}function Sa(){if(!rr){Th(!0);for(const e in an)Ea(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=je(r,i);if(!Ko(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function Oh(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in an)Ea(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Nh(e,t){rr||Sa();function n(r){let i;if(!an[r]||!(i=_a(r)))return;const s=Ba[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=or(i),!nr(i,a+1))return;const l={cached:Math.floor(Date.now()/wa),provider:e.provider,data:t};return tr(i,yt+a.toString(),JSON.stringify(l))}t.lastModified&&!Oh(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ta(){}function Vh(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,bh(e)}))}function Fh(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;if(!i||!(s=Xo(n)))return;s.prepare(n,r,i).forEach(l=>{Eh(n,l,(d,c)=>{if(typeof d!="object"){if(c!==404)return;l.icons.forEach(u=>{e.missing.add(u)})}else try{const u=Ko(e,d);if(!u.length)return;const m=e.pendingIcons;m&&u.forEach(g=>{m.delete(g)}),Nh(e,d)}catch(u){console.error(u)}Vh(e)})})}))}const Ah=(e,t)=>{const n=wh(e,!0,ca()),r=yh(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,Ta)}),()=>{d=!1}}const i=Object.create(null),s=[];let a,l;return r.pending.forEach(d=>{const{provider:c,prefix:u}=d;if(u===l&&c===a)return;a=c,l=u,s.push(je(c,u));const m=i[c]||(i[c]=Object.create(null));m[u]||(m[u]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:u,name:m}=d,g=je(c,u),f=g.pendingIcons||(g.pendingIcons=new Set);f.has(m)||(f.add(m),i[c][u].push(m))}),s.forEach(d=>{const{provider:c,prefix:u}=d;i[c][u].length&&Fh(d,i[c][u])}),t?Ch(t,r,s):Ta};function Ph(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in ua?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const Lh=/[\s,]+/;function Ih(e,t){t.split(Lh).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Mh(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function Rh(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function Dh(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function jh(e){return'url("data:image/svg+xml,'+Dh(e)+'")'}const Oa={...ma,inline:!1},qh={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},zh={display:"inline-block"},ir={backgroundColor:"currentColor"},Na={backgroundColor:"transparent"},Va={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Fa={webkitMask:ir,mask:ir,background:Na};for(const e in Fa){const t=Fa[e];for(const n in Va)t[e+n]=Va[n]}const cn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";cn[e+"-flip"]=t,cn[e.slice(0,1)+"-flip"]=t,cn[e+"Flip"]=t});function Aa(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Pa=(e,t)=>{const n=Ph(Oa,t),r={...qh},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const p=t[y];if(p!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&Ih(n,p);break;case"color":s.color=p;break;case"rotate":typeof p=="string"?n[y]=Mh(p):typeof p=="number"&&(n[y]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete r["aria-hidden"];break;default:{const C=cn[y];C?(p===!0||p==="true"||p===1)&&(n[C]=!0):Oa[y]===void 0&&(r[y]=p)}}}const d=ih(e,n),c=d.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),i==="svg"){r.style={...s,...l},Object.assign(r,c);let y=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),r.innerHTML=ch(d.body,p?()=>p+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:g}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=Rh(u,{...c,width:m+"",height:g+""});return r.style={...s,"--svg":jh(h),width:Aa(c.width),height:Aa(c.height),...zh,...f?ir:Na,...l},o.h("span",r)};if(ca(!0),dh("",gh),typeof document<"u"&&typeof window<"u"){Sa();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!da(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;uh(n,i)||console.error(r)}catch{console.error(r)}}}}const Hh={...rn,body:""},Uh=o.defineComponent({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=tn(e,!1,!0))===null)return this.abortLoading(),null;const r=th(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:Ah([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return Pa(Hh,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Pa({...rn,...t.data},n)}}),V=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Wh={name:"CmdIcon",components:{Icon:Uh},props:{type:{type:String,default:"auto",validator(e){return e==="auto"||e==="iconify"}},iconClass:{type:String,required:!0},tooltip:{type:String,required:!1}},computed:{isIconify(){return this.type==="iconify"?!0:this.type==="auto"?this.iconClass.includes(":"):!1}}},Gh=["title"];function Jh(e,t,n,r,i,s){const a=o.resolveComponent("Icon");return s.isIconify?(o.openBlock(),o.createBlock(a,{key:0,icon:n.iconClass,title:n.tooltip,class:o.normalizeClass(e.$attrs.class)},null,8,["icon","title","class"])):(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass([n.iconClass,e.$attrs.class]),title:n.tooltip},null,10,Gh))}const z=V(Wh,[["render",Jh]]);function Ve(e,t){return dn(e,"EditComponentWrapper",t)}function Kh(e){return dn(e,"EditModeSettingsSidebar")}function Zh(e){return dn(e,"EditModeMainSidebar")}function dn(e,t,n){var r;return((r=e==null?void 0:e.$options)==null?void 0:r.name)===t&&(n==null||n(e))?e:e!=null&&e.$parent?dn(e.$parent,t,n):null}function Fe(e,...t){const n=[];for(let r=Ve(e);r;r=Ve(r.$parent))r.componentPath&&n.unshift(...r.componentPath);return n.push(...t),n}function Xh(e){return Array.isArray(e)&&e.length>0?JSON.stringify(e):""}function Q(e,t){var n;return(n=e==null?void 0:e.$options)!=null&&n.name?{name:e.$options.name,...t}:t}const Qh={name:"EditComponentWrapper",inject:{editModeContext:{default:null}},props:{allowedComponentTypes:{type:Array},componentName:{type:String},componentProps:{type:Object},componentPath:{type:Array,required:!0},allowAddComponent:{type:Boolean},allowDeleteComponent:{type:Boolean,default:!0},showComponentName:{type:Boolean,default:!0},componentTag:{type:String},itemProvider:{type:Function}},data(){return{componentIdentifier:"",editStateListeners:[],updateHandlerProviders:[],addHandlerProvider:null,showComponentSelection:!1,showAddComponentButtons:!1,addComponentLevel:""}},computed:{isOuterComponent(){return!Ve(this.$parent,e=>(e==null?void 0:e.componentName)!=="CmdContainer")},active(){return this.editModeContext?Ve(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer")?!!this.editModeContext.system.isActiveChildComponent(me(this)):!!this.editModeContext.system.isActiveComponent(me(this)):!1},editing(){var e;return(e=this.editModeContext)==null?void 0:e.content.isEditing(this.componentIdentifier)},hasSettings(){const e=`${this.componentName}Settings`;return!!o.getCurrentInstance().appContext.components[e]}},methods:{addHighlightRelatedComponent(e){e.target.parentNode.classList.add("highlight")},removeHighlightRelatedComponent(e){e.target.parentNode.classList.remove("highlight")},showActionButtons(){const e=Ve(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer");this.editModeContext.system.setActiveComponent(me(e),me(this))},deleteComponent(){var e;!this.editing&&this.allowDeleteComponent&&confirm("Delete this component and its content?")&&((e=this.editModeContext)==null||e.store.deleteContent(me(this)),this.editModeContext.settings.stopEditing())},deleteInnerComponent(){this.editModeContext.store.deleteContent(me(this)),this.editModeContext.settings.stopEditing()},cancelComponent(e){this.editing&&(e.stopPropagation(),this.editModeContext.content.stopEditing())},editComponent(e){e==null||e.stopPropagation(),e||this.showActionButtons();const t=this.$refs.editComponent;this.editModeContext.content.startEditing(this.componentIdentifier),this.$nextTick(()=>{var n;return(n=t.querySelector("input"))==null?void 0:n.focus()})},saveComponent(){this.editModeContext.store.updateContent(me(this),this.updateHandlerProviders.map(e=>e())),this.editModeContext.content.stopEditing()},editSettings(e,t){e.stopPropagation(),!this.editing&&this.hasSettings&&this.editModeContext.settings.startEditing(this.componentIdentifier,this.componentName,this.componentProps,this.allowedComponentTypes,me(this),this.saveSettings,this.deleteInnerComponent,t||"edit")},addEntry(e){this.itemProvider?this.editModeContext.content.addContent(me(this),this.itemProvider):this.editSettings(e,"add")},saveSettings(e){this.editModeContext.store.updateSettings(me(this),e),this.editModeContext.settings.stopEditing()},addEditStateListener(e){this.editStateListeners.push(e),e(this.editing)},addUpdateHandlerProvider(e){this.updateHandlerProviders.push(e)},setAddHandlerProvider(e){e&&(this.addHandlerProvider=e)}},watch:{componentPath:{handler(){this.componentIdentifier=Xh(me(this))},immediate:!0,deep:!0},editing(e){this.editStateListeners.forEach(t=>t(e))}}};function me(e){const t=[];for(let n=e;n;n=Ve(n.$parent))n.componentPath&&t.unshift(...n.componentPath);return t}const Yh={key:0,class:"action-buttons-wrapper"},$h=["data-component"],vh=["title"],ep=["href"],tp={key:0},np={key:1},op={key:0,class:"component-name"},rp=["data-component"],ip=["title"],sp=["href","title"],ap=["title"],lp={key:0},cp={key:1},dp=["title"],up=["title"];function mp(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.componentTag||"div"),{class:o.normalizeClass(["edit-component-wrapper",{active:s.active}]),tabindex:"0",onClick:o.withModifiers(s.showActionButtons,["stop"]),ref:"editComponent",title:s.active?"Select an action from the buttons in the top-left corner":"Click to select this element","data-identifier":i.componentIdentifier},{default:o.withCtx(()=>[n.componentTag==="ul"?(o.openBlock(),o.createElementBlock("li",Yh,[o.withDirectives(o.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":n.componentName},[o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button confirm",{disabled:!i.addHandlerProvider&&!n.itemProvider&&!n.allowAddComponent}]),href:"#",onClick:t[0]||(t[0]=o.withModifiers(l=>s.addEntry(l),["prevent"])),title:s.isOuterComponent?"Add new component":"Add new item/entry"},[o.createVNode(a,{iconClass:(s.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,vh)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button primary",{disabled:s.editing||!s.hasSettings}]),href:s.editing?null:"#",onClick:t[1]||(t[1]=o.withModifiers((...l)=>s.editSettings&&s.editSettings(...l),["prevent"])),title:"Edit settings of this component"},[o.createVNode(a,{iconClass:s.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,ep)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:"icon-hexagon button-delete",href:"#",onClick:t[2]||(t[2]=o.withModifiers((...l)=>s.deleteComponent&&s.deleteComponent(...l),["prevent"])),title:"Delete this component (and its content)"},[o.createVNode(a,{iconClass:"icon-trash"})])]),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",tp,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button-cancel",{disabled:!s.editing}]),href:"#",onClick:t[3]||(t[3]=o.withModifiers((...l)=>s.cancelComponent&&s.cancelComponent(...l),["prevent"])),title:"Cancel editing (changes will not be saved)"},[o.createVNode(a,{iconClass:"icon-cancel"})],2)])),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",np,[s.editing?(o.openBlock(),o.createElementBlock("a",{key:0,class:"icon-hexagon button-save",href:"#",onClick:t[4]||(t[4]=o.withModifiers((...l)=>s.saveComponent&&s.saveComponent(...l),["prevent"])),title:"Save changes of this component"},[o.createVNode(a,{iconClass:"icon-check"})])):(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["icon-hexagon button",{disabled:s.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:t[5]||(t[5]=o.withModifiers((...l)=>s.editComponent&&s.editComponent(...l),["prevent"])),title:"Edit content of this component"},[o.createVNode(a,{iconClass:"icon-edit"})],2))]))],8,$h),[[o.vShow,s.active]])])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[s.isOuterComponent?(o.openBlock(),o.createElementBlock("p",op,o.toDisplayString(n.componentName),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":n.componentName,onMouseenter:t[12]||(t[12]=(...l)=>s.addHighlightRelatedComponent&&s.addHighlightRelatedComponent(...l)),onMouseleave:t[13]||(t[13]=(...l)=>s.removeHighlightRelatedComponent&&s.removeHighlightRelatedComponent(...l))},[o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:!i.addHandlerProvider&&!n.itemProvider&&!n.allowAddComponent}]),href:"#",onClick:t[6]||(t[6]=o.withModifiers((...l)=>s.addEntry&&s.addEntry(...l),["prevent"])),title:s.isOuterComponent?"Add new component":"Add new item/entry"},[o.createVNode(a,{iconClass:(s.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,ip)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button primary",{disabled:s.editing||!s.hasSettings}]),href:s.editing?null:"#",onClick:t[7]||(t[7]=o.withModifiers((...l)=>s.editSettings&&s.editSettings(...l),["prevent"])),title:"Edit settings for "+n.componentName},[o.createVNode(a,{iconClass:s.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,sp)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button button-delete",{disabled:s.editing||!n.allowDeleteComponent}]),href:"#",onClick:t[8]||(t[8]=o.withModifiers((...l)=>s.deleteComponent&&s.deleteComponent(...l),["prevent"])),title:"Delete "+n.componentName+" (and its content)"},[o.createVNode(a,{iconClass:"icon-trash"})],10,ap)]),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",lp,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button cancel",{disabled:!s.editing}]),href:"#",onClick:t[9]||(t[9]=o.withModifiers((...l)=>s.cancelComponent&&s.cancelComponent(...l),["prevent"])),title:"Cancel editing (changes will not be saved)"},[o.createVNode(a,{iconClass:"icon-cancel"})],2)])),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",cp,[s.editing?(o.openBlock(),o.createElementBlock("a",{key:0,class:"icon-hexagon use-icon-as-background button confirm",href:"#",onClick:t[10]||(t[10]=o.withModifiers((...l)=>s.saveComponent&&s.saveComponent(...l),["prevent"])),title:"Save changes of "+n.componentName},[o.createVNode(a,{iconClass:"icon-check"})],8,dp)):(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:s.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:t[11]||(t[11]=o.withModifiers((...l)=>s.editComponent&&s.editComponent(...l),["prevent"])),title:"Edit content for "+n.componentName},[o.createVNode(a,{iconClass:"icon-edit"})],10,up))]))],40,rp),[[o.vShow,s.active]])],64)),o.renderSlot(e.$slots,"default",{editing:s.editing})]),_:3},8,["class","onClick","title","data-identifier"])}const Ae=V(Qh,[["render",mp]]),Y={inject:{editModeContext:{default:null}},props:{componentPath:{type:Array},editModeConfig:{type:Object}},data(){return{editing:!1,settingsContext:!1,mainSidebarContext:!1}},mounted(){this.initializeEditMode()},methods:{initializeEditMode(){var e;if(this.$refs.editComponentWrapper)(e=this.$refs.editComponentWrapper)==null||e.addUpdateHandlerProvider(this.updateHandlerProvider);else{const t=Ve(this.$parent);t&&(t.addEditStateListener(n=>this.editing=n),t.addUpdateHandlerProvider(this.updateHandlerProvider),t.setAddHandlerProvider(this.addHandlerProvider))}this.mainSidebarContext=!!Zh(this),this.settingsContext=!!Kh(this)},updateHandlerProvider(){return{}}}},fp={name:"CmdHeadline",mixins:[Y],data(){return{editableHeadlineText:null,editablePreHeadlineText:null}},props:{headlineText:{type:String,required:!1},headlineLevel:{type:[String,Number],default:"2"},preHeadlineText:{type:String,required:!1},textAlign:{type:String,default:null,validator(e){return e==="left"||e==="center"||e==="right"}},cmdIcon:{type:Object,required:!1}},computed:{componentActive(){var e;return(e=this.editModeContext)==null?void 0:e.system.isActiveComponent(Fe(Ve(this)))},headlineComponentPath(){return this.componentPath||["props","cmdHeadline"]},headlineTag(){return this.headlineLevel?"h"+this.headlineLevel:""},headlineTextAlign(){return this.textAlign?"text-"+this.textAlign:""}},methods:{updateHandlerProvider(){const e=this.editableHeadlineText,t=this.editablePreHeadlineText,n=this.headlineLevel;return Q(this,{update(r){r.headlineText=e,r.preHeadlineText=t,r.headlineLevel=n}})},onAddItem(){this.$refs.editComponentWrapper.editComponent()}},watch:{headlineText:{handler(){this.editableHeadlineText=this.headlineText},immediate:!0},preHeadlineText:{handler(){this.editablePreHeadlineText=this.preHeadlineText},immediate:!0}}},hp={class:"pre-headline-text-wrapper"},pp=["innerHTML"],gp=["innerHTML"],yp={key:1},bp=["innerHTML"],kp={key:2},Cp={class:"pre-headline-text"},wp=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new headline",-1)];function xp(e,t,n,r,i,s){var c;const a=z,l=X,d=Ae;return!e.editModeContext||e.settingsContext||e.mainSidebarContext||n.headlineText?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["cmd-headline",{"has-pre-headline-text":n.preHeadlineText,"has-icon":(c=n.cmdIcon)==null?void 0:c.iconClass},s.headlineTextAlign])},[n.preHeadlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.headlineText?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:0},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("span",hp,[o.createElementVNode("span",{class:"pre-headline-text",innerHTML:n.preHeadlineText},null,8,pp),n.headlineText?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:n.headlineText},null,8,gp)):(o.openBlock(),o.createElementBlock("span",yp,[o.renderSlot(e.$slots,"default")]))])]),_:3})):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:1},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),n.headlineText?(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:n.headlineText},null,8,bp)):(o.openBlock(),o.createElementBlock("span",kp,[o.renderSlot(e.$slots,"default")]))]),_:3}))],2)):(o.openBlock(),o.createBlock(d,{key:1,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdHeadline",componentProps:{headlineText:n.headlineText,headlineLevel:n.headlineLevel},componentPath:s.headlineComponentPath,allowDeleteComponent:!!n.headlineText},{default:o.withCtx(u=>[u.editing?(o.openBlock(),o.createBlock(l,{key:0,element:"input",type:"text",class:o.normalizeClass(["edit-mode","headline","h"+n.headlineLevel,s.headlineTextAlign]),labelText:"Headline",showLabel:!1,placeholder:"Headline",modelValue:i.editableHeadlineText,"onUpdate:modelValue":t[0]||(t[0]=m=>i.editableHeadlineText=m)},null,8,["class","modelValue"])):n.headlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),n.preHeadlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.headlineText?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:0},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("span",Cp,o.toDisplayString(n.preHeadlineText),1),o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.headlineText),1)])]),_:3})):o.createCommentVNode("",!0)],64)):n.headlineText?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:2},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.headlineText),1)])]),_:3})):o.createCommentVNode("",!0)],64)):s.componentActive?(o.openBlock(),o.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:t[1]||(t[1]=(...m)=>s.onAddItem&&s.onAddItem(...m))},wp)):o.createCommentVNode("",!0)]),_:3},8,["componentProps","componentPath","allowDeleteComponent"]))}const U=V(fp,[["render",xp]]),Bp={name:"CmdTooltip",data(){return{tooltipVisibility:!1,pointerX:0,pointerY:0}},props:{cmdHeadline:{type:Object,default(){}},tooltipText:{type:String,required:!1},delayToShowTooltip:{type:Number,default:0},relatedId:{type:String,required:!1},validationStatus:{type:String,required:!1,validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},scrollContainer:{type:String,default:".page-wrapper"},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel",tooltip:"Close this tooltip!"}}},toggleVisibilityByClick:{type:Boolean,default:!1}},mounted(){if(this.relatedId){const e=document.getElementById(this.relatedId);e&&(document.querySelector(this.scrollContainer).addEventListener("scroll",this.hideTooltip),document.addEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?e.addEventListener("click",this.toggleTooltipVisibility):(e.addEventListener("mouseenter",this.showTooltip),e.addEventListener("mouseleave",this.hideTooltip)))}},methods:{toggleTooltipVisibility(e){this.getPointerPosition(e),this.tooltipVisibility=!this.tooltipVisibility},showTooltip(e){this.delayToShowTooltip>0?setTimeout(()=>{this.toggleVisibility(e)},this.delayToShowTooltip):this.toggleVisibility(e)},toggleVisibility(e){this.toggleVisibilityByClick||(this.tooltipVisibility=!0),this.getPointerPosition(e)},hideTooltipOnEsc(e){this.allowEscapeKey&&(e.key==="Escape"||e.key==="Esc")&&this.hideTooltip()},hideTooltip(){this.tooltipVisibility=!1},getPointerPosition(e){this.pointerX=e.clientX,this.pointerY=e.clientY}},unmounted(){if(this.relatedId){const e=document.getElementById(this.relatedId);e&&(document.removeEventListener("scroll",this.hideTooltip),document.removeEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?e.removeEventListener("click",this.toggleTooltipVisibility):(e.removeEventListener("mouseenter",this.showTooltip),e.removeEventListener("mouseleave",this.showTooltip)))}},watch:{tooltipVisibility(){this.tooltipVisibility&&this.$nextTick(()=>{this.$refs.tooltip.style.left=this.pointerX/10+"rem",this.$refs.tooltip.style.top=(this.pointerY+25)/10+"rem"})}}},_p={key:0,class:"headline-wrapper"},Ep=["title"];function Sp(e,t,n,r,i,s){const a=U,l=z;return i.tooltipVisibility?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["cmd-tooltip",n.validationStatus]),ref:"tooltip"},[n.cmdHeadline||n.iconClose.show?(o.openBlock(),o.createElementBlock("div",_p,[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.iconClose.show&&n.toggleVisibilityByClick?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.hideTooltip&&s.hideTooltip(...d),["prevent"])),title:n.iconClose.tooltip},[o.createVNode(l,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,Ep)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.tooltipText),1)])],2)):o.createCommentVNode("",!0)}const La=V(Bp,[["render",Sp]]),oe={props:{i18n:{type:[Object,Function],default:()=>({})}},methods:{getMessage(e,...t){if(!e)return"";let n=this.i18n;if(typeof this.i18n=="function"&&(n=this.i18n.call(this,e,t),typeof n!="object"))return n;let r=n[e]||this.getDefaultMessageProperty(e)||e;return typeof r=="function"?r.call(this,t||[]):(Array.isArray(t)&&t.length&&t.forEach((i,s)=>r=r.replace("{"+s+"}",i)),r)},getDefaultMessageProperty(e){var n;if(Object.hasOwn(this,"defaultMessageProperties")&&this.defaultMessageProperties&&this.defaultMessageProperties[e])return this.defaultMessageProperties[e];const t=Object.hasOwn(this,"fieldValidationDefaultMessageProperties")?"fieldValidationDefaultMessageProperties":null;return t&&((n=this[t])!=null&&n[e])?this[t][e]:null}}},Tp={name:"CmdListOfRequirements",mixins:[oe,{data(){return{defaultMessageProperties:{"list_of_requirements.headline.requirement_for_input":"Requirement for input","list_of_requirements.headline.requirements_for_input":"Requirements for input"}}}}],props:{inputModelValue:{type:[String,Boolean,Array,Number],default:""},inputAttributes:{type:Object,required:!0},labelText:{type:String,required:!1},inputRequirements:{type:Array,required:!0},helplink:{type:Object,required:!1},iconSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"success"}}},iconError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"error"}}},showHeadline:{type:Boolean,default:!0},cmdHeadline:{type:Object,default(){return{headlineLevel:6}}}},computed:{headlineRequirements(){return this.inputRequirements.length>1?this.getMessage("list_of_requirements.headline.requirements_for_input"):this.getMessage("list_of_requirements.headline.requirement_for_input")}}},Op={class:"cmd-list-of-requirements"},Np=o.createElementVNode("br",null,null,-1),Vp=o.createElementVNode("hr",null,null,-1),Fp=["href","target"],Ap={key:1};function Pp(e,t,n,r,i,s){var d,c,u;const a=U,l=z;return o.openBlock(),o.createElementBlock("div",Op,[n.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-level":n.cmdHeadline.headlineLevel},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(s.headlineRequirements),1),n.labelText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[Np,o.createElementVNode("em",null,o.toDisplayString(n.labelText),1)],64)):o.createCommentVNode("",!0)]),_:1},8,["headline-level"])):o.createCommentVNode("",!0),o.createElementVNode("dl",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.inputRequirements,(m,g)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:g},[o.createElementVNode("dt",{"aria-live":"assertive",class:o.normalizeClass(m.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},o.toDisplayString(m.message)+":",3),o.createElementVNode("dd",{class:o.normalizeClass(m.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},[o.createVNode(l,{"aria-live":"assertive",iconClass:m.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconClass:n.iconError.iconClass,type:m.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconType:n.iconError.iconType,title:m.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.tooltip:n.iconError.tooltip},null,8,["iconClass","type","title"])],2)],64))),128))]),n.helplink&&n.helplink.show?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[Vp,n.helplink.url?(o.openBlock(),o.createElementBlock("a",{key:0,href:n.helplink.url,target:n.helplink.target,onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"]))},[(d=n.helplink.icon)!=null&&d.iconClass?(o.openBlock(),o.createBlock(l,{key:0,class:o.normalizeClass((c=n.helplink.icon)==null?void 0:c.iconClass),title:(u=n.helplink.icon)==null?void 0:u.tooltip},null,8,["class","title"])):o.createCommentVNode("",!0),n.helplink.text?(o.openBlock(),o.createElementBlock("span",Ap,o.toDisplayString(n.helplink.text),1)):o.createCommentVNode("",!0)],8,Fp)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)])}const Lp=V(Tp,[["render",Pp]]),Ip={name:"CmdTooltipForFormElements",props:{relatedId:{type:String,default:""},validationStatus:{type:String,default:"",validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},cmdListOfRequirements:{type:Object,required:!1}},computed:{cmdListOfRequirementsProperties(){return{showRequirements:!0,validationTooltip:"",inputRequirements:[],inputAttributes:{},showHeadline:!0,inputModelValue:"",helplink:{},labelText:"",...this.cmdListOfRequirements}}},methods:{hideTooltip(){this.$refs.tooltip.hideTooltip()}}};function Mp(e,t,n,r,i,s){const a=Lp,l=La;return o.openBlock(),o.createBlock(l,{ref:"tooltip",class:o.normalizeClass(["cmd-tooltip-for-form-elements box",n.validationStatus]),relatedId:n.relatedId,"toggle-visibility-by-click":!0},{default:o.withCtx(()=>[s.cmdListOfRequirementsProperties.showRequirements?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},s.cmdListOfRequirementsProperties)),null,16)):o.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const sr=V(Ip,[["render",Mp]]),ar={data(){return{defaultMessageProperties:{"form_element.validation_tooltip.an_error_occurred":"An error occurred!","form_element.validation_tooltip.information_is_filled_correctly":"This information is filled correctly!","form_element.validation_tooltip.caps_lock_is_activated":"Attention: Caps lock is activated!","form_element.validation_tooltip.open_field_requirements":"Open field requirements!","form_element.validation_tooltip.is_valid_email":"Is valid e-mail-address"}}}},lr={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[oe,{data(){return{fieldValidationDefaultMessageProperties:{"field_validation.open_detailed_help":"Open detailed help!","field_validation.information_not_filled_correctly":"This information is not filled correctly!","field_validation.information_filled_correctly":"This information is filled correctly!","field_validation.caps_lock_is_activated":"Attention: Caps lock is activated!","field_validation.required_field_is_filled":"Required field is filled!","field_validation.field_contains_special_character":"Field contains special character","field_validation.input_has_minimum_length":"Input has minimum length"}}}}],props:{validationMessage:{type:String,required:!1},helplink:{type:Object,default(){return{show:!0,url:"helpurl",target:"help",text:"Open help",icon:{iconClass:"icon-questionmark-circle",tooltip:"Open help in new tab",iconType:"auto"}}}},customRequirements:{type:Array,required:!1},showRequirements:{type:Boolean,default:!0},iconHasStateError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Error",iconType:"auto"}}},iconHasStateWarning:{type:Object,default(){return{iconClass:"icon-exclamation-circle",tooltip:"Warning",iconType:"auto"}}},iconHasStateSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"Success",iconType:"auto"}}},iconHasStateInfo:{type:Object,default(){return{iconClass:"icon-info-circle",tooltip:"Info",iconType:"auto"}}},iconCapsLock:{type:Object,default(){return{iconClass:"icon-caps-lock-circle",iconType:"auto"}}},iconPasswordVisible:{type:Object,default(){return{iconClass:"icon-visible",tooltip:"Show password",iconType:"auto"}}},iconPasswordInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},cmdListOfRequirements:{type:Object,required:!1}},computed:{listOfRequirements(){return{validationTooltip:this.validationTooltip,inputRequirements:this.inputRequirements,inputAttributes:this.$attrs,inputModelValue:this.modelValue,labelText:this.labelText,i18n:this.i18n,...this.cmdListOfRequirements}},getValidationMessage(){if(this.validationStatus!==""){if(this.validationStatus==="error")return this.validationMessage?this.validationMessage:this.getMessage("field_validation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("field_validation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("field_validation.information_filled_correctly")}return null},getStatusIconClass(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconClass:this.validationStatus==="error"?this.iconHasStateError.iconClass:this.validationStatus==="warning"?this.iconHasStateWarning.iconClass:this.validationStatus==="success"?this.iconHasStateSuccess.iconClass:this.iconHasStateInfo.iconClass:this.helplink.icon.iconClass},inputRequirements(){const e=[];if(this.$attrs.required||Object.hasOwn(this,"required")&&this.required){const t=Object.hasOwn(this,"required")?this.required:this.$attrs.required;e.push({message:this.getRequirementMessage(),valid(n,r){return!r.required&&!t||n!=null&&String(n).length>0}})}return this.$attrs.minlength&&e.push({message:this.getMessage("field_validation.input_has_minimum_length")+" ("+this.modelValue.length+"/"+this.$attrs.minlength+")",valid(t,n){return t.length>=n.minlength}}),[...e,...this.additionalStandardRequirements()||[],...this.customRequirements||[]]}},methods:{checkForCapsLock(e){["password","number","url","email"].includes(this.$attrs.type)&&e.getModifierState("CapsLock")?(this.capsLockActivated=!0,this.validationStatus="warning"):this.capsLockActivated&&this.validationStatus==="warning"&&(this.capsLockActivated=!1,this.validationStatus="")},additionalStandardRequirements(){return[]},getRequirementMessage(){return this.getMessage("field_validation.required_field_is_filled")}},watch:{validationStatus:{handler(){this.$emit("validation-status-change",this.validationStatus)}}}};function tt(){let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(t==="x"?n:n&3|8).toString(16)})}function cr(){return"cmd-"+tt()}const un={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||cr()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},dr={};function Rp(e="defaultSequence"){const t=dr[e]||0;return dr[e]=t+1,dr[e]}const ur={data(){return{tooltip:!1,tooltipId:"tooltip-"+Rp()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},Dp=["color","date","datetime-local","file","number","range"],jp={inheritAttrs:!1,name:"CmdFormElement",mixins:[oe,ar,lr,un,ur],data(){return{errorOccurred:0}},props:{modelValue:{type:[String,Boolean,Array,Number],default:""},element:{type:String,validator(e){return e==="input"||e==="select"||e==="textarea"||e==="button"},required:!0},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!1},toggleSwitch:{type:Boolean,default:!1},onLabel:{type:String,required:!1},offLabel:{type:String,required:!1},colored:{type:Boolean,required:!1},inputValue:{type:[String,Number],required:!1},replaceInputType:{type:Boolean,default:!1},inputClass:{type:String,required:!1},datalist:{type:Object,required:!1},selectOptions:{type:Array,required:!1},showStatusIcon:{type:Boolean,default:!0},nativeButton:{type:Object,default(){return{text:"",icon:{show:!0,iconClass:"",position:"left",tooltip:""}}}},fieldIconClass:{type:String,required:!1},displayLabelInline:{type:Boolean,required:!1},stretchField:{type:Boolean,default:!1},status:{type:String,required:!1,validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},showCharactersTextarea:{type:Boolean,default:!0},textCharactersLeft:{type:String,default:"Characters left:"},showSearchButton:{type:Boolean,default:!0},iconDelete:{type:Object,default(){return{show:!0,iconClass:"icon-cancel-circle",tooltip:"Delete term"}}},iconSearch:{type:Object,default(){return{show:!0,iconClass:"icon-search",tooltip:"Search"}}},iconHasStateError:{type:Object,default(){return{show:!0,iconClass:"icon-error-circle",tooltip:"Error"}}},iconHasStateWarning:{type:Object,default(){return{show:!0,iconClass:"icon-warning-circle",tooltip:"Warning"}}},iconHasStateSuccess:{type:Object,default(){return{show:!0,iconClass:"icon-check-circle",tooltip:"Success"}}},iconHasStateInfo:{type:Object,default(){return{show:!0,iconClass:"icon-info-circle",tooltip:"Info"}}},useIconsForToggleSwitch:{type:Boolean,default:!1},toggleSwitchCheckedIconClass:{type:String,default:"icon-check-circle"},toggleSwitchUncheckedIconClass:{type:String,default:"icon-cancel-circle"},iconPasswordVisible:{type:Object,default(){return{show:!0,iconClass:"icon-visible",tooltip:"Show password"}}},iconPasswordInvisible:{type:Object,default(){return{show:!0,iconClass:"icon-not-visible"}}}},computed:{elementAttributes(){const e=["name","required","readonly","disabled","autofocus"],t={input:[...e,"type","minlength","pattern","min","max","multiple","step","autocomplete","placeholder"],select:[...e,"multiple"],textarea:[...e,"placeholder"]},n={};return t[this.element]&&Object.entries(this.$attrs).filter(([r])=>t[this.element].includes(r)).forEach(([r,i])=>n[r]=i),n},buttonAttrs(){var t,n;const e={...this.$attrs};return(t=this.nativeButton.icon)!=null&&t.tooltip&&(e.title=(n=this.nativeButton.icon)==null?void 0:n.tooltip),e},tooltipHeadline(){return{text:this.labelText,level:"5"}},isChecked(){return typeof this.modelValue=="boolean"?this.modelValue:typeof this.modelValue=="string"?this.modelValue===this.inputValue:typeof this.modelValue=="number"?this.modelValue===this.inputValue:this.modelValue!==void 0?this.modelValue.includes(this.inputValue):!1},charactersLeft(){return this.getMaxLength()-this.modelValue.length},validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("form_element.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("form_element.validation_tooltip.information_is_filled_correctly"):this.capsLockActivated?this.getMessage("form_element.validation_tooltip.caps_lock_is_activated"):this.getMessage("form_element.validation_tooltip.open_field_requirements"):this.getValidationMessage},autocomplete(){return this.$attrs.type!=="file"?this.datalist?"off":"on":null},toggleSwitchIconClass(){return this.toggleSwitch&&this.useIconsForToggleSwitch&&this.toggleSwitchUncheckedIconClass&&this.toggleSwitchCheckedIconClass?this.isChecked?this.toggleSwitchCheckedIconClass:this.toggleSwitchUncheckedIconClass:null}},methods:{setFocus(){var e;(e=this.$refs.label.querySelector("input, select, textarea"))==null||e.focus()},additionalStandardRequirements(){const e=[];return this.$attrs.type==="email"&&e.push({message:this.getMessage("form_element.validation_tooltip.is_valid_email"),valid:()=>this.$refs.input.checkValidity()}),e},getDomElement(){return this.$refs.label},getMaxLength(){return this.$attrs.element==="textarea"?this.$attrs.maxlength>0?this.$attrs.maxlength:5e3:Dp.includes(this.$attrs.type)?null:this.$attrs.maxlength>0?this.$attrs.maxlength:255},validateInput(e){var n;((n=e.target.closest("form"))==null?void 0:n.dataset.useValidation)==="true"&&(!["checkbox","radio"].includes(this.$attrs.type)&&this.modelValue&&(this.validationStatus="success"),typeof e.target.checkValidity=="function"&&!e.target.checkValidity()?this.validationStatus="error":this.customRequirements&&this.customRequirements.some(i=>!i.valid(this.modelValue))&&(this.validationStatus="error"),this.$emit("validation-status-change",this.validationStatus))},onBlur(e){this.validateInput(e),this.closeTooltipOnBlur(),this.$emit("blur",e)},onInput(e){this.validateInput(e),this.$emit("update:modelValue",e.target.value)},onChange(e){if(typeof this.modelValue=="boolean")this.$emit("update:modelValue",e.target.checked);else if(typeof this.modelValue=="string")this.$emit("update:modelValue",e.target.value);else if(this.modelValue!==void 0){let t=[...this.modelValue];e.target.checked?t.push(e.target.value):t=t.filter(n=>n!==e.target.value),this.$emit("update:modelValue",t)}},datalistFocus(){this.datalist&&this.$refs.label.focus()},showPassword(){const e=this.$refs.input,t=e.value;e.nextElementSibling.classList.replace(this.iconPasswordVisible.iconClass,this.iconPasswordInvisible.iconClass),e.setAttribute("type","text"),e.setAttribute("value",t)},hidePassword(){this.$refs.input.nextElementSibling.classList.replace(this.iconPasswordInvisible.iconClass,this.iconPasswordVisible.iconClass),this.$refs.input.setAttribute("type","password")},executeSearch(){this.$emit("search",this.value)},closeTooltipOnBlur(){this.$refs.tooltip&&this.$refs.tooltip.hideTooltip()},submit(e){this.$emit("submit",e)}},watch:{status:{handler(){this.validationStatus=this.status||""},immediate:!0}}},qp=["for","title"],zp=["innerHTML"],Hp={key:2,"aria-hidden":"true"},Up=["title","aria-errormessage","id"],Wp={key:1,class:"flex-container inner-input-wrapper"},Gp=["id","autocomplete","list","value","maxlength"],Jp=["title"],Kp=["id"],Zp=["value"],Xp=["checked","value","id","disabled","aria-invalid"],Qp=["innerHTML"],Yp={key:2},$p={class:"switch-label-wrapper"},vp=["checked","value","id","disabled","aria-invalid"],eg={class:"label-text"},tg={class:"label-text"},ng=["innerHTML"],og={key:0},rg=["id"],ig=["value","selected"],sg=["id","value","maxlength"],ag={key:6,class:"characters-left-wrapper"},lg={key:0},cg={key:7,class:"search-field-wrapper flex-container no-gap"},dg=["id","maxlength","value"],ug=["title"],mg=["title"],fg={key:1};function hg(e,t,n,r,i,s){var d,c,u,m,g,f,h,y,p,C,T,k,A,N,b,S,F,q,L,Be,_e,Ee,Se,Te;const a=z,l=sr;return n.element==="input"||n.element==="select"||n.element==="textarea"?(o.openBlock(),o.createElementBlock("label",{key:0,class:o.normalizeClass(["cmd-form-element",e.validationStatus,e.$attrs.class,{disabled:e.$attrs.disabled,inline:n.displayLabelInline,"stretch-field":n.stretchField,"toggle-switch":n.toggleSwitch,colored:n.colored,"has-state":e.validationStatus}]),for:e.htmlId,title:e.$attrs.title,ref:"label"},[(n.labelText||e.$slots.labeltext)&&e.$attrs.type!=="checkbox"&&e.$attrs.type!=="radio"?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},[o.createElementVNode("span",null,[n.labelText?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:n.labelText},null,8,zp)):o.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required!=null&&e.$attrs.required!==!1?(o.openBlock(),o.createElementBlock("sup",Hp,"*")):o.createCommentVNode("",!0)]),(e.$attrs.required||e.inputRequirements.length)&&n.showStatusIcon?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),title:s.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(a,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,Up)):o.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(o.openBlock(),o.createBlock(l,{key:1,ref:"tooltip",validationStatus:e.validationStatus,relatedId:e.tooltipId,cmdListOfRequirements:e.listOfRequirements,role:e.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","relatedId","cmdListOfRequirements","role"])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),e.$attrs.type!=="checkbox"&&e.$attrs.type!=="radio"&&e.$attrs.type!=="search"?(o.openBlock(),o.createElementBlock("span",Wp,[n.fieldIconClass?(o.openBlock(),o.createBlock(a,{key:0,class:"place-inside",iconClass:n.fieldIconClass},null,8,["iconClass"])):o.createCommentVNode("",!0),n.element==="input"&&e.$attrs.type!=="search"?(o.openBlock(),o.createElementBlock("input",o.mergeProps({key:1},s.elementAttributes,{id:e.htmlId,class:n.inputClass,onFocus:t[1]||(t[1]=P=>e.tooltip=!0),onBlur:t[2]||(t[2]=(...P)=>s.onBlur&&s.onBlur(...P)),onInput:t[3]||(t[3]=(...P)=>s.onInput&&s.onInput(...P)),onMouseover:t[4]||(t[4]=(...P)=>s.datalistFocus&&s.datalistFocus(...P)),onKeyup:t[5]||(t[5]=(...P)=>e.checkForCapsLock&&e.checkForCapsLock(...P)),onChange:t[6]||(t[6]=P=>e.$emit("change",P)),autocomplete:s.autocomplete,list:n.datalist?n.datalist.id:null,value:n.modelValue,maxlength:s.getMaxLength(),ref:"input"}),null,16,Gp)):o.createCommentVNode("",!0),e.$attrs.type==="password"?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",class:"place-inside",onMousedown:t[7]||(t[7]=o.withModifiers((...P)=>s.showPassword&&s.showPassword(...P),["prevent"])),onMouseup:t[8]||(t[8]=o.withModifiers((...P)=>s.hidePassword&&s.hidePassword(...P),["prevent"])),onMouseleave:t[9]||(t[9]=o.withModifiers((...P)=>s.hidePassword&&s.hidePassword(...P),["prevent"])),onClick:t[10]||(t[10]=o.withModifiers(()=>{},["prevent"])),title:n.iconPasswordVisible.tooltip},[o.createVNode(a,{iconClass:n.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,Jp)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.datalist&&n.datalist.options.length?(o.openBlock(),o.createElementBlock("datalist",{key:2,id:n.datalist.id},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.datalist.options,(P,de)=>(o.openBlock(),o.createElementBlock("option",{key:de,value:P},null,8,Zp))),128))],8,Kp)):n.element==="input"&&(e.$attrs.type==="checkbox"||e.$attrs.type==="radio")?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[n.onLabel&&n.offLabel?n.onLabel&&n.offLabel?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("span",$p,[o.createElementVNode("input",o.mergeProps(s.elementAttributes,{onChange:t[13]||(t[13]=(...P)=>s.onChange&&s.onChange(...P)),onBlur:t[14]||(t[14]=(...P)=>s.onBlur&&s.onBlur(...P)),checked:s.isChecked,value:n.inputValue,class:{inputClass:n.inputClass,validationStatus:e.validationStatus},id:e.htmlId,disabled:e.$attrs.disabled,"aria-invalid":e.validationStatus==="error"}),null,16,vp),o.createElementVNode("span",eg,o.toDisplayString(n.onLabel),1),o.createElementVNode("span",tg,o.toDisplayString(n.offLabel),1)]),n.labelText?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},[o.createElementVNode("span",{innerHTML:n.labelText},null,8,ng),e.$attrs.required?(o.openBlock(),o.createElementBlock("sup",og,"*")):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],64)):o.renderSlot(e.$slots,"default",{key:2}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("input",o.mergeProps(s.elementAttributes,{onChange:t[11]||(t[11]=(...P)=>s.onChange&&s.onChange(...P)),onBlur:t[12]||(t[12]=(...P)=>s.onBlur&&s.onBlur(...P)),checked:s.isChecked,value:n.inputValue,class:[n.inputClass,e.validationStatus,s.toggleSwitchIconClass,{"replace-input-type":n.replaceInputType}],id:e.htmlId,disabled:e.$attrs.disabled,"aria-invalid":e.validationStatus==="error"}),null,16,Xp),n.labelText||e.$slots.labeltext?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},[o.createElementVNode("span",null,[n.labelText?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:n.labelText},null,8,Qp)):o.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required?(o.openBlock(),o.createElementBlock("sup",Yp,"*")):o.createCommentVNode("",!0)])],2)):o.createCommentVNode("",!0)],64))],64)):o.createCommentVNode("",!0),n.element==="select"?(o.openBlock(),o.createElementBlock("select",o.mergeProps({key:4},s.elementAttributes,{id:e.htmlId,onBlur:t[15]||(t[15]=(...P)=>s.onBlur&&s.onBlur(...P)),onChange:t[16]||(t[16]=P=>e.$emit("update:modelValue",P.target.value))}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectOptions,(P,de)=>(o.openBlock(),o.createElementBlock("option",{key:de,value:P.value,selected:P.value===n.modelValue},o.toDisplayString(P.text),9,ig))),128))],16,rg)):o.createCommentVNode("",!0),n.element==="textarea"?(o.openBlock(),o.createElementBlock("textarea",o.mergeProps({key:5},s.elementAttributes,{id:e.htmlId,value:n.modelValue,maxlength:s.getMaxLength(),onInput:t[17]||(t[17]=(...P)=>s.onInput&&s.onInput(...P)),onFocus:t[18]||(t[18]=P=>e.tooltip=!0),onBlur:t[19]||(t[19]=(...P)=>s.onBlur&&s.onBlur(...P))}),null,16,sg)):o.createCommentVNode("",!0),n.element==="textarea"&&n.showCharactersTextarea?(o.openBlock(),o.createElementBlock("span",ag,[n.textCharactersLeft?(o.openBlock(),o.createElementBlock("span",lg,o.toDisplayString(n.textCharactersLeft),1)):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass(["characters-left",{error:s.charactersLeft===0}])},o.toDisplayString(s.charactersLeft),3)])):n.element==="input"&&e.$attrs.type==="search"?(o.openBlock(),o.createElementBlock("span",cg,[n.fieldIconClass?(o.openBlock(),o.createBlock(a,{key:0,class:"place-inside",iconClass:n.fieldIconClass},null,8,["iconClass"])):o.createCommentVNode("",!0),o.createElementVNode("input",o.mergeProps(s.elementAttributes,{id:e.htmlId,onInput:t[20]||(t[20]=(...P)=>s.onInput&&s.onInput(...P)),maxlength:s.getMaxLength(),value:n.modelValue}),null,16,dg),n.showSearchButton?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",class:o.normalizeClass(["button no-flex",{disabled:e.$attrs.disabled}]),title:n.iconSearch.tooltip,onClick:t[21]||(t[21]=o.withModifiers((...P)=>s.executeSearch&&s.executeSearch(...P),["prevent"]))},[o.createVNode(a,{iconClass:n.iconSearch.iconClass},null,8,["iconClass"])],10,ug)):o.createCommentVNode("",!0),(d=n.iconDelete)!=null&&d.show?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",onClick:t[22]||(t[22]=o.withModifiers(P=>e.$emit("update:modelValue",""),["prevent"])),title:(c=n.iconDelete)==null?void 0:c.tooltip},[o.createVNode(a,{iconClass:(u=n.iconDelete)==null?void 0:u.iconClass,type:(m=n.iconDelete)==null?void 0:m.iconType},null,8,["iconClass","type"])],8,mg)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],10,qp)):n.element==="button"?(o.openBlock(),o.createElementBlock("button",o.mergeProps({key:1,class:"button"},s.buttonAttrs,{onClick:t[23]||(t[23]=(...P)=>s.submit&&s.submit(...P))}),[(f=(g=n.nativeButton)==null?void 0:g.icon)!=null&&f.show&&(((y=(h=n.nativeButton)==null?void 0:h.icon)==null?void 0:y.position)==="before"||!((C=(p=n.nativeButton)==null?void 0:p.icon)!=null&&C.position))?(o.openBlock(),o.createBlock(a,{key:0,iconClass:(k=(T=n.nativeButton)==null?void 0:T.icon)==null?void 0:k.iconClass,type:(N=(A=n.nativeButton)==null?void 0:A.icon)==null?void 0:N.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(b=n.nativeButton)!=null&&b.icon&&((S=n.nativeButton)!=null&&S.text)?(o.openBlock(),o.createElementBlock("span",fg,o.toDisplayString(n.nativeButton.text),1)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createTextVNode(o.toDisplayString(n.nativeButton.text),1)],64)),(q=(F=n.nativeButton)==null?void 0:F.icon)!=null&&q.show&&((Be=(L=n.nativeButton)==null?void 0:L.icon)==null?void 0:Be.position)==="after"?(o.openBlock(),o.createBlock(a,{key:3,iconClass:(Ee=(_e=n.nativeButton)==null?void 0:_e.icon)==null?void 0:Ee.iconClass,type:(Te=(Se=n.nativeButton)==null?void 0:Se.icon)==null?void 0:Te.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],16)):o.createCommentVNode("",!0)}const X=V(jp,[["render",hg]]),pg={name:"CmdAddressDataItem",mixins:[Y],data(){return{editableAddressEntry:null}},props:{addressEntry:{type:Object,default:{}},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!1},linkGoogleMaps:{type:Boolean,default:!1},showCityBeforeZip:{type:Boolean,default:!1}},methods:{vCardClass(e){if(e.type==="company")return"org";if(e.type==="address"){if(e.streetNo)return"street-address";if(e.zip)return"postal-code";if(e.city)return"locality";if(e.country)return"country-name"}return null},inputType(e){return e.type==="phone"?"tel":e.type==="email"?"email":e.type==="url"?"url":"text"},locateAddress(e){return"https://www.google.com/maps/place/"+e.streetNo+", "+e.zip+" "+e.city},getHref(e){return e.type==="phone"?"tel:"+e.href:e.type==="email"?"mailto:"+e.href:e.type==="url"?e.href:null},addHandlerProvider(){const e={type:"default",iconClass:"icon-mail",data:"Your data",labelText:"Labeltext",tooltip:"Tooltip",href:"#"};return Q(this,{item(){return e}})},updateHandlerProvider(){const e=this.editableAddressEntry;return Q(this,{update(t){typeof e=="object"?Object.entries(e).forEach(([n,r])=>t[n]=r):t.href==null?t.data=e:t.href=e}})}},watch:{addressEntry:{handler(){this.addressEntry.type==="address"?this.editableAddressEntry={streetNo:this.addressEntry.streetNo,zip:this.addressEntry.zip,city:this.addressEntry.city,state:this.addressEntry.state,miscInfo:this.addressEntry.miscInfo,country:this.addressEntry.country}:this.editableAddressEntry=(this.addressEntry.href==null?this.addressEntry.data:this.addressEntry.href)||""},immediate:!0,deep:!0}}},gg=["id"],yg={key:1},bg=["href","target","title","data-type"],kg=["innerHTML"],Cg={key:1},wg=["href","title"],xg={class:"street-address"},Bg=o.createElementVNode("br",null,null,-1),_g={key:0,class:"postal-code"},Eg={key:1,class:"locality"},Sg=o.createElementVNode("br",null,null,-1),Tg={key:0},Og={key:3,class:"country-name"},Ng={class:"street-address"},Vg=o.createElementVNode("br",null,null,-1),Fg={key:0,class:"postal-code"},Ag={key:1,class:"locality"},Pg=o.createElementVNode("br",null,null,-1),Lg=o.createElementVNode("br",null,null,-1),Ig={key:3,class:"country-name"};function Mg(e,t,n,r,i,s){const a=z,l=X,d=o.resolveDirective("telephone");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("dt",{class:o.normalizeClass(["cmd-address-data-item",{address:n.addressEntry.type==="address"}]),id:n.addressEntry.id},[n.addressEntry.iconClass&&n.showLabelIcons?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.addressEntry.iconClass,type:n.addressEntry.iconType,tooltip:n.addressEntry.labelText},null,8,["iconClass","type","tooltip"])):o.createCommentVNode("",!0),n.showLabelTexts?(o.openBlock(),o.createElementBlock("span",yg,o.toDisplayString(n.addressEntry.labelText),1)):o.createCommentVNode("",!0)],10,gg),n.addressEntry.type!=="address"&&(n.addressEntry.data||n.addressEntry.href)?(o.openBlock(),o.createElementBlock("dd",{key:0,class:o.normalizeClass(s.vCardClass(n.addressEntry))},[e.editing?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:s.inputType(n.addressEntry),class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry,"onUpdate:modelValue":t[0]||(t[0]=c=>i.editableAddressEntry=c)},null,8,["type","labelText","placeholder","modelValue"])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.addressEntry.href?o.withDirectives((o.openBlock(),o.createElementBlock("a",{key:0,href:s.getHref(n.addressEntry),target:n.addressEntry.type==="url"?"_blank":null,title:n.addressEntry.tooltip,"data-type":n.addressEntry.type},[o.createTextVNode(o.toDisplayString(n.addressEntry.data||n.addressEntry.href),1)],8,bg)),[[d,n.addressEntry.href]]):(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:n.addressEntry.data},null,8,kg))],64))],2)):n.addressEntry.name==="address"?(o.openBlock(),o.createElementBlock("dd",Cg,[n.linkGoogleMaps&&!e.editing?(o.openBlock(),o.createElementBlock("a",{key:0,href:s.locateAddress(n.addressEntry),target:"google-maps",title:n.addressEntry.tooltip},[n.addressEntry.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",xg,o.toDisplayString(n.addressEntry.streetNo),1),Bg],64)):o.createCommentVNode("",!0),n.addressEntry.zip||n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"city-zip":"zip-city")},[n.addressEntry.zip?(o.openBlock(),o.createElementBlock("span",_g,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",Eg,[o.createTextVNode(o.toDisplayString(n.addressEntry.city),1),n.addressEntry.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(n.addressEntry.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),Sg,n.addressEntry.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(n.addressEntry.miscInfo),1),n.addressEntry.country?(o.openBlock(),o.createElementBlock("br",Tg)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),n.addressEntry.country?(o.openBlock(),o.createElementBlock("span",Og,o.toDisplayString(n.addressEntry.country),1)):o.createCommentVNode("",!0)],8,wg)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.streetNo,"onUpdate:modelValue":t[1]||(t[1]=c=>i.editableAddressEntry.streetNo=c)},null,8,["labelText","placeholder","modelValue"]),o.createElementVNode("div",{class:o.normalizeClass([n.showCityBeforeZip?"city-zip":"zip-city","input-wrapper"])},[o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.zip,"onUpdate:modelValue":t[2]||(t[2]=c=>i.editableAddressEntry.zip=c)},null,8,["labelText","placeholder","modelValue"]),o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.city,"onUpdate:modelValue":t[3]||(t[3]=c=>i.editableAddressEntry.city=c)},null,8,["labelText","placeholder","modelValue"])],2),o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.miscInfo,"onUpdate:modelValue":t[4]||(t[4]=c=>i.editableAddressEntry.miscInfo=c)},null,8,["labelText","placeholder","modelValue"]),o.createVNode(l,{element:"select",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,selectOptions:[{text:"Germany",value:"de"},{text:"United Kingdom",value:"uk"}],modelValue:i.editableAddressEntry.country,"onUpdate:modelValue":t[5]||(t[5]=c=>i.editableAddressEntry.country=c)},null,8,["labelText","modelValue"])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.addressEntry.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",Ng,o.toDisplayString(n.addressEntry.streetNo),1),Vg],64)):o.createCommentVNode("",!0),n.addressEntry.zip||n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"city-zip":"zip-city")},[n.addressEntry.zip?(o.openBlock(),o.createElementBlock("span",Fg,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",Ag,[o.createTextVNode(o.toDisplayString(n.addressEntry.city),1),n.addressEntry.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(" "+o.toDisplayString(n.addressEntry.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),Pg,n.addressEntry.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(n.addressEntry.miscInfo),1),Lg],64)):o.createCommentVNode("",!0),n.addressEntry.country?(o.openBlock(),o.createElementBlock("span",Ig,o.toDisplayString(n.addressEntry.country),1)):o.createCommentVNode("",!0)],64))],64))])):o.createCommentVNode("",!0)],64)}const Rg=V(pg,[["render",Mg]]),Dg={name:"CmdAddressData",mixins:[Y],props:{useSlot:{type:Boolean,default:!1},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!1},showIconsOnly:{type:Boolean,default:!1},showLabels:{type:Boolean,default:!0},addressData:{type:Array,required:!0},showCityBeforeZip:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1}},data(){return{editableAddressData:[]}},computed:{websiteUrlText(){var e;return(e=this.addressData.website)==null?void 0:e.text.replace("https://","")}},methods:{onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","addressData",-1),this.itemProvider)},itemProvider(){return{name:"name",iconClass:"icon-company",data:"Your data",labelText:"Label"}},locateAddress(e){return"https://www.google.com/maps/place/"+e.streetNo+", "+e.zip+" "+e.city},getHref(e){return e.name==="phone"?"tel:"+e.href:e.name==="email"?"mailto:"+e.href:e.name==="url"?e.href:null},updateHandlerProvider(){return Q(this,{update(e,t){const n=t==null?void 0:t.find(r=>r.name==="CmdHeadline");n&&(e.cmdHeadline=e.cmdHeadline||{},n.update(e.cmdHeadline))}})}},watch:{}},jg={class:"cmd-address-data vcard"},qg={class:"adr"},zg={key:0},Hg=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],Ug=["href","target","title"],Wg=["innerHTML"],Gg=["href","title"],Jg={class:"street-address"},Kg=o.createElementVNode("br",null,null,-1),Zg={key:0,class:"postal-code"},Xg={key:1,class:"locality"},Qg=o.createElementVNode("br",null,null,-1),Yg=o.createElementVNode("br",null,null,-1),$g=o.createElementVNode("br",null,null,-1),vg={key:4,class:"country-name"},ey={class:"street-address"},ty=o.createElementVNode("br",null,null,-1),ny={key:0,class:"postal-code"},oy={key:1,class:"locality"},ry=o.createElementVNode("br",null,null,-1),iy=o.createElementVNode("br",null,null,-1),sy=o.createElementVNode("br",null,null,-1),ay={key:4,class:"country-name"};function ly(e,t,n,r,i,s){var u;const a=U,l=Rg,d=Ae,c=z;return o.openBlock(),o.createElementBlock("div",jg,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(u=n.cmdHeadline)!=null&&u.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("address",qg,[n.showLabels&&(n.showLabelTexts||n.showLabelIcons)&&!n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[e.editModeContext?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.addressData.length===0?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:t[0]||(t[0]=(...m)=>s.onAddItem&&s.onAddItem(...m))},Hg)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(m,g)=>(o.openBlock(),o.createBlock(d,{key:"x"+g,class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdAddressDataItem",componentProps:m,componentPath:["props","addressData",g]},{default:o.withCtx(()=>[o.createElementVNode("dl",null,[o.createVNode(l,{addressEntry:m,showLabelIcons:n.showLabelIcons,showLabelTexts:n.showLabelTexts},null,8,["addressEntry","showLabelIcons","showLabelTexts"])])]),_:2},1032,["componentProps","componentPath"]))),128))],64)):(o.openBlock(),o.createElementBlock("dl",zg,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(m,g)=>(o.openBlock(),o.createBlock(l,{key:g,addressEntry:m,showLabelIcons:n.showLabelIcons,showLabelTexts:n.showLabelTexts,showCityBeforeZip:n.showCityBeforeZip},null,8,["addressEntry","showLabelIcons","showLabelTexts","showCityBeforeZip"]))),128))]))],64)):(o.openBlock(),o.createElementBlock("ul",{key:1,class:o.normalizeClass(["flex-container",{vertical:!n.showIconsOnly}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(m,g)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:g},[m.href||m.name==="address"&&m.linkGoogleMaps||!n.showIconsOnly?(o.openBlock(),o.createElementBlock("li",{key:0,class:o.normalizeClass({"no-flex":n.showIconsOnly})},[m.href?(o.openBlock(),o.createElementBlock("a",{key:0,href:s.getHref(m),target:m.name==="url"?"_blank":null,title:m.tooltip},[n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(m.href),1)],64))],8,Ug)):n.showIconsOnly?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:m.data},null,8,Wg)),m.name==="address"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[m.linkGoogleMaps?(o.openBlock(),o.createElementBlock("a",{key:0,href:s.locateAddress(m),target:"google-maps",title:m.tooltip},[n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[m.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",Jg,o.toDisplayString(m.streetNo),1),Kg],64)):o.createCommentVNode("",!0),m.zip||m.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[m.zip?(o.openBlock(),o.createElementBlock("span",Zg,o.toDisplayString(m.zip)+" ",1)):o.createCommentVNode("",!0),m.city?(o.openBlock(),o.createElementBlock("span",Xg,[o.createTextVNode(o.toDisplayString(m.city),1),m.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(m.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),Qg],2)):o.createCommentVNode("",!0),m.pobox?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(m.pobox),1),Yg],64)):o.createCommentVNode("",!0),m.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createElementVNode("span",null,o.toDisplayString(m.miscInfo),1),$g],64)):o.createCommentVNode("",!0),m.country?(o.openBlock(),o.createElementBlock("span",vg,o.toDisplayString(m.country),1)):o.createCommentVNode("",!0)],64))],8,Gg)):o.createCommentVNode("",!0),!m.linkGoogleMaps&&!n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[m.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",ey,o.toDisplayString(m.streetNo),1),ty],64)):o.createCommentVNode("",!0),m.zip||m.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[m.zip?(o.openBlock(),o.createElementBlock("span",ny,o.toDisplayString(m.zip)+" ",1)):o.createCommentVNode("",!0),m.city?(o.openBlock(),o.createElementBlock("span",oy,[o.createTextVNode(o.toDisplayString(m.city),1),m.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(m.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),ry],2)):o.createCommentVNode("",!0),m.pobox?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(m.pobox),1),iy],64)):o.createCommentVNode("",!0),m.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createElementVNode("span",null,o.toDisplayString(m.miscInfo),1),sy],64)):o.createCommentVNode("",!0),m.country?(o.openBlock(),o.createElementBlock("span",ay,o.toDisplayString(m.country),1)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],64))),128))],2))])],64))])}const Ia=V(Dg,[["render",ly]]),cy={name:"CmdBackToTopButton",data(){var e;return{windowInnerHeight:window.innerHeight,windowScrollY:this.getScrollY(),scrollHeight:((e=document.querySelector(this.scrollContainer))==null?void 0:e.scrollHeight)||0}},props:{scrollContainer:{type:String,default:"body"},cmdIcon:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-up",tooltip:"Back to top",iconType:"auto"}}}},mounted(){var e;window.addEventListener("resize",this.onViewportChange),this.scrollContainer==="body"?window.addEventListener("scroll",this.onViewportChange):(e=document.querySelector(this.scrollContainer))==null||e.addEventListener("scroll",this.onViewportChange)},unmounted(){var e;window.removeEventListener("resize",this.onViewportChange),this.scrollContainer==="body"?window.addEventListener("scroll",this.onViewportChange):(e=document.querySelector(this.scrollContainer))==null||e.removeEventListener("scroll",this.onViewportChange)},computed:{show(){return this.windowScrollY>0&&this.windowInnerHeight<this.scrollHeight}},methods:{getScrollY(){var e;return this.scrollContainer==="body"?window.scrollY:((e=document.querySelector(this.scrollContainer))==null?void 0:e.scrollTop)||0},onViewportChange(){var e;this.windowInnerHeight=window.innerHeight,this.windowScrollY=this.getScrollY(),this.scrollHeight=((e=document.querySelector(this.scrollContainer))==null?void 0:e.scrollHeight)||0},onBackToTop(){var e;this.scrollContainer==="body"?window.scrollTo({top:0,left:0,behavior:"smooth"}):(e=document.querySelector(this.scrollContainer))==null||e.scrollTo({top:0,left:0,behavior:"smooth"})}}},dy=["title"];function uy(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>[s.show?(o.openBlock(),o.createElementBlock("a",{key:0,class:"cmd-back-to-top-button button",id:"back-to-top-button",href:"#",role:"button",title:n.cmdIcon.tooltip,onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.onBackToTop&&s.onBackToTop(...l),["prevent"]))},[o.createVNode(a,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,dy)):o.createCommentVNode("",!0)]),_:1})}const my=V(cy,[["render",uy]]),fy={name:"CmdBankAccountData",props:{useSlot:{type:Boolean,default:!1},accountData:{type:Array,required:!0},allowCopyByClick:{type:Boolean,default:!0},additionalInformation:{type:String,required:!1},cmdIcon:{type:Object,default(){return{iconClass:"icon-file-copy",tooltip:"Copy data to clipboard!",iconType:"auto"}}},cmdHeadline:{type:Object,required:!1}},methods:{copyToClipboard(e){const t=e.replace(/\s/g,"");navigator.clipboard.writeText(t),alert(t+" was copied to clipboard")}}},hy={class:"cmd-bank-account-data"},py={key:0},gy=["onClick","title"],yy={key:1};function by(e,t,n,r,i,s){const a=U,l=z;return o.openBlock(),o.createElementBlock("div",hy,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("dl",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.accountData,(d,c)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:c},[o.createElementVNode("dt",null,o.toDisplayString(d.text),1),n.allowCopyByClick&&d.allowCopy?(o.openBlock(),o.createElementBlock("dd",py,[o.createElementVNode("span",null,o.toDisplayString(d.value),1),o.createElementVNode("a",{href:"#",onClick:o.withModifiers(u=>s.copyToClipboard(d.value),["prevent"]),title:n.cmdIcon.tooltip},[o.createVNode(l,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,gy)])):(o.openBlock(),o.createElementBlock("dd",{key:c},o.toDisplayString(d.value),1))],64))),128))]),n.additionalInformation?(o.openBlock(),o.createElementBlock("p",yy,o.toDisplayString(n.additionalInformation),1)):o.createCommentVNode("",!0)],64))])}const ky=V(fy,[["render",by]]),Cy={name:"CmdForm",emits:["submit"],data(){return{errorOccurred:!1,formValues:{}}},props:{formAction:{type:String,required:!1},formMethod:{type:String,default:"POST",validator(e){return e==="POST"||e==="GET"}},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},useSlot:{type:Boolean,default:!0},formElements:{type:Array,required:!1},novalidate:{type:Boolean,default:!0},useValidation:{type:Boolean,default:!0},useFieldset:{type:Boolean,default:!0},submitButton:{type:Object,required:!1}},computed:{submitButtonOptions(){return{iconClass:"icon-check",text:"Submit",type:"submit",position:"insideFieldset",primary:!0,...this.submitButton}}},methods:{createHtmlId:cr,submitFormData(e){let t={};this.formElements&&this.formElements.forEach(n=>{t[n.name]=this.formValues[n.name]}),this.$emit("submit",{originalEvent:e,formdata:t})},onSubmit(e){this.useValidation?e.target.checkValidity()?(this.errorOccurred=!1,this.submitFormData(e)):(e.preventDefault(),this.errorOccurred=!0):this.submitFormData(e)}},watch:{formElements:{handler(){var e;this.formValues={},(e=this.formElements)==null||e.forEach(t=>{t.type==="checkbox"?(this.formValues[t.name]||(this.formValues[t.name]=[]),t.value!=null&&this.formValues[t.name].push(t.value)):this.formValues[t.name]=t.value??""})},immediate:!0,deep:!0}}},wy=["action","data-use-validation","novalidate","method"],xy={class:"flex-container"},By=["type"],_y={key:1},Ey={key:0,class:"button-wrapper"},Sy=["type"],Ty={key:1};function Oy(e,t,n,r,i,s){const a=X;return o.openBlock(),o.createElementBlock("form",{class:o.normalizeClass(["cmd-form",{error:i.errorOccurred}]),action:n.formAction,"data-use-validation":n.useValidation,onSubmit:t[0]||(t[0]=(...l)=>s.onSubmit&&s.onSubmit(...l)),novalidate:n.novalidate,method:n.formMethod},[n.useFieldset?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("fieldset",xy,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(n.formElements,(l,d)=>(o.openBlock(),o.createBlock(a,{key:d,element:l.element||"input",type:l.type||"text",name:l.name,class:o.normalizeClass(l.htmlClass),id:l.id||s.createHtmlId(),modelValue:i.formValues[l.name],"onUpdate:modelValue":c=>i.formValues[l.name]=c,inputValue:l.inputValue,fieldIconClass:l.innerIconClass,selectOptions:l.selectOptions,labelText:l.labelText,placeholder:l.placeholder,required:l.required,disabled:l.disabled,autocomplete:l.autocomplete,minlength:l.minlength,maxlength:l.maxlength,nativeButton:l.nativeButton},null,8,["element","type","name","class","id","modelValue","onUpdate:modelValue","inputValue","fieldIconClass","selectOptions","labelText","placeholder","required","disabled","autocomplete","minlength","maxlength","nativeButton"]))),128)),s.submitButtonOptions&&(s.submitButtonOptions.position==="insideFieldset"||s.submitButtonOptions.position===null)?(o.openBlock(),o.createElementBlock("button",{key:2,class:o.normalizeClass(["button",{primary:s.submitButtonOptions.primary}]),type:s.submitButtonOptions.type},[s.submitButtonOptions.iconClass?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(s.submitButtonOptions.iconClass)},null,2)):o.createCommentVNode("",!0),s.submitButtonOptions.text?(o.openBlock(),o.createElementBlock("span",_y,o.toDisplayString(s.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,By)):o.createCommentVNode("",!0)]),s.submitButtonOptions&&s.submitButtonOptions.position==="belowFieldset"?(o.openBlock(),o.createElementBlock("div",Ey,[o.createElementVNode("button",{class:o.normalizeClass(["button",{primary:s.submitButtonOptions.primary}]),type:s.submitButtonOptions.type||"submit"},[s.submitButtonOptions.iconClass?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(s.submitButtonOptions.iconClass)},null,2)):o.createCommentVNode("",!0),s.submitButtonOptions.text?(o.openBlock(),o.createElementBlock("span",Ty,o.toDisplayString(s.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,Sy)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"button-row")],64)):o.renderSlot(e.$slots,"default",{key:1})],42,wy)}const Ma=V(Cy,[["render",Oy]]),Ny={data(){return{defaultMessageProperties:{"basic_form.legend":"Basic Form","basic_form.labeltext.salutation_male":"Mr.","basic_form.labeltext.salutation_female":"Mrs.","basic_form.labeltext.last_name":"Last name:","basic_form.placeholder.last_name":"Last name:","basic_form.labeltext.first_name":"First name:","basic_form.placeholder.first_name":"First name:","basic_form.labeltext.email":"Email:","basic_form.placeholder.email":"Email:","basic_form.labeltext.phone":"Phone:","basic_form.placeholder.phone":"Phone:","basic_form.labeltext.street_no":"Street/No.:","basic_form.placeholder.street_no":"Street/No.:","basic_form.labeltext.zip":"Zip:","basic_form.placeholder.zip":"Zip:","basic_form.labeltext.city":"City:","basic_form.placeholder.city":"City:","basic_form.labeltext.pobox":"PO Box:","basic_form.placeholder.pobox":"PO Box:","basic_form.labeltext.country":"Country:","basic_form.labeltext.additional_address_info":"Additional address information:","basic_form.placeholder.additional_address_info":"Additional address information","basic_form.labeltext.user_message":"Your message:","basic_form.placeholder.user_message":"Your message","basic_form.text.characters_left":"Characters left","basic_form.labeltext.data_privacy":"I accept handling and saving of my personal data a mentioned in the <a href='/content/data-privacy-en.html' class='fancybox'>private policy</a>."}}}},De=class De{constructor(t){en(this,"label");this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,De.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,De.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,De.PATTERN_MESSAGE,this.label("form_error_invalid_message")),t.acceptPrivacy.error=!1,t.error=t.lastName.error||t.email.error||t.additionalText.error,t}validatePrivacy(t){return t.acceptPrivacy.error=!t.acceptPrivacy.value,t.acceptPrivacy.errorMessage=t.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",t.error=t.error||t.acceptPrivacy.error,t}validateRequired(t,n,r){return!t||t.trim().length===0?[!0,this.label("form_error_empty")]:n&&!n.test(t)?[!0,r||this.label("form_error_invalid")]:[!1,""]}};en(De,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),en(De,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),en(De,"PATTERN_MESSAGE",/^.{2,500}$/);let mr=De;function nt(e){if(e){const t=e.lastIndexOf(".");if(t>-1)return e.substring(t+1)}return""}function Ra(e,t,n,r,i){const s=[];if(e.size>r&&s.push("file too large"),t.includes(nt(e.name))||s.push("disallowed file extension"),s.length){alert(s);return}const a=new Image;a.onload=()=>{if(a.width<n&&!confirm("width ("+a.width+" px) too small - at least "+n+" px required! Use trotzdem!")){alert("Cancel");return}URL.revokeObjectURL(a.src),typeof i=="function"?i(a.src):i.src=a.src},a.src=URL.createObjectURL(e)}const Vy={name:"CmdImage",mixins:[Y],data(){return{mediumMaxWidth:1023,smallMaxWidth:600,currentWindowWidth:window.innerWidth,allowedFileExtensions:["gif","jpg","jpeg","png","webp","svg"],uploadInitiated:!1,allowDrop:!1,showFigcaption:!0,figcaptionText:null,figcaptionPosition:null,figcaptionTextAlign:null,tooltip:null,alternativeText:null,newImageSource:null,positionOptions:[{text:"Above image",value:"top"},{text:"Below image",value:"bottom"}],textAlignOptions:[{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]}},props:{image:{type:Object,required:!1},useFigureTag:{type:Boolean,default:!0},figcaption:{type:Object,required:!1},maxFileUploadSize:{type:Number,default:5e5},minImageWidth:{type:Number,default:600}},created(){window.addEventListener("resize",this.updateWindowWidth);const e=getComputedStyle(document.documentElement);this.mediumMaxWidth=parseInt(e.getPropertyValue("--medium-max-width")),this.smallMaxWidth=parseInt(e.getPropertyValue("--small-max-width"))},beforeUnmount(){window.removeEventListener("resize",this.updateWindowWidth)},computed:{imageComponentPath(){return this.componentPath||["props","cmdImage"]},imageSource(){var n;if(this.newImageSource)return this.newImageSource;const e=(n=this.image)==null?void 0:n.src;if(!e)return null;if(typeof e=="string")return e;const t=this.currentWindowWidth;return e.small&&t<=this.smallMaxWidth?e.small:e.medium&&t<=this.mediumMaxWidth?e.medium:e.large},textAlign(){var e;return(e=this.figcaption)!=null&&e.textAlign?"text-"+this.figcaption.textAlign:""},dragAndDropHandler(){return{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}},editableFigcaptionText:{get(){var e;return this.figcaptionText==null?(e=this.figcaption)==null?void 0:e.text:this.figcaptionText},set(e){this.figcaptionText=e}}},methods:{onImageLoaded(e){this.$emit("image-loaded",e)},itemProvider(){var t,n;const e=(n=(t=this.editModeConfig)==null?void 0:t.itemProviderOverwrite)==null?void 0:n.call(t);return{image:{src:"/media/images/demo-images/medium/landscape-01.jpg",alt:"Alternative Text",...(e==null?void 0:e.image)||{}},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.$refs.editComponentWrapper.editComponent()},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},fileSelected(e){e.target.files.length>0&&Ra(e.target.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,t=>this.newImageSource=t)},updateWindowWidth(){this.currentWindowWidth=window.innerWidth},getImage(){return{image:{...this.image},figcaption:{show:this.showFigcaption,position:this.figcaptionPosition,textAlign:this.figcaptionTextAlign,text:this.figcaptionText}}},dragEnter(e){this.dragOver(e)},dragOver(e){e.dataTransfer&&e.dataTransfer.items&&e.dataTransfer.items.length>0&&(e.dataTransfer.dropEffect="none",e.dataTransfer.items[0].kind==="file"&&(e.preventDefault(),e.dataTransfer.dropEffect="copy",this.allowDrop=!0))},dragLeave(){this.allowDrop=!1},drop(e){this.allowDrop=!1,e.dataTransfer&&e.dataTransfer.files&&e.dataTransfer.files.length>0&&(e.preventDefault(),Ra(e.dataTransfer.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,t=>this.newImageSource=t))},addHandlerProvider(){const e={image:{id:tt(),src:"media/images/demo-images/large/landscape-06.jpg",srcImageLarge:"media/images/demo-images/large/landscape-06.jpg",alt:"Alternative Text"},figcaption:{show:!0,position:"bottom",text:"Figcaption",textAlign:"center"}};return Q(this,{item(){return e}})},updateHandlerProvider(){const e=this.figcaptionText;return this.figcaptionText=null,Q(this,{update(t){t.figcaption||(t.figcaption={}),t.figcaption.text=e}})}},watch:{figcaption:{handler(){var e,t,n,r;this.showFigcaption=(e=this.figcaption)==null?void 0:e.show,this.figcaptionText=(t=this.figcaption)==null?void 0:t.text,this.figcaptionPosition=(n=this.figcaption)==null?void 0:n.position,this.figcaptionTextAlign=(r=this.figcaption)==null?void 0:r.textAlign},immediate:!0,deep:!0}}},Fy=["innerHTML"],Ay=o.createElementVNode("span",{class:"icon-image"},null,-1),Py=["src","alt","title"],Ly=["src","alt","title"],Iy=["innerHTML"],My=[o.createElementVNode("span",{class:"icon-add"},null,-1),o.createElementVNode("span",null,"Add new image",-1)],Ry=["innerHTML"],Dy=["src","alt","title"],jy=["innerHTML"],qy=["src","alt","title"];function zy(e,t,n,r,i,s){var d,c,u,m,g,f,h,y,p,C,T,k,A;const a=X,l=Ae;return e.editModeContext?(o.openBlock(),o.createBlock(l,{key:0,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdImage",componentProps:{image:n.image,figcaption:n.figcaption},componentPath:s.imageComponentPath,allowDeleteComponent:!!s.imageSource,itemProvider:((d=e.editModeConfig)==null?void 0:d.allowAddItem)!==!1?s.itemProvider:null},{default:o.withCtx(N=>{var b,S,F,q,L,Be,_e,Ee,Se,Te,P,de;return[o.createElementVNode("figure",{class:o.normalizeClass(["cmd-image flex-container no-gap vertical",s.textAlign])},[(b=n.figcaption)!=null&&b.show&&((S=n.figcaption)==null?void 0:S.position)==="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[N.editing?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:"text",class:o.normalizeClass([s.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",modelValue:s.editableFigcaptionText,"onUpdate:modelValue":t[0]||(t[0]=re=>s.editableFigcaptionText=re)},null,8,["class","modelValue"])):(F=n.figcaption)!=null&&F.text?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(q=n.figcaption)==null?void 0:q.text},null,8,Fy)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),N.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("a",o.mergeProps({href:"#",class:["box drop-area flex-container vertical",{"allow-drop":i.allowDrop}]},o.toHandlers(s.dragAndDropHandler,!0),{onClick:t[1]||(t[1]=o.withModifiers((...re)=>s.selectFiles&&s.selectFiles(...re),["prevent"])),title:"Drag new image to this area to replace old one!"}),[Ay,o.createElementVNode("img",{src:s.imageSource,alt:(L=n.image)==null?void 0:L.alt,title:(Be=n.image)==null?void 0:Be.tooltip},null,8,Py)],16),o.createVNode(a,{class:"hidden",element:"input",type:"file",labelText:"Select new image",disabled:i.uploadInitiated,onChange:s.fileSelected,ref:"formElement"},null,8,["disabled","onChange"])],64)):s.imageSource?(o.openBlock(),o.createElementBlock("img",{key:2,src:s.imageSource,alt:(_e=n.image)==null?void 0:_e.alt,title:(Ee=n.image)==null?void 0:Ee.tooltip},null,8,Ly)):o.createCommentVNode("",!0),(Se=n.figcaption)!=null&&Se.show&&((Te=n.figcaption)==null?void 0:Te.position)!=="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[N.editing?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:"text",class:o.normalizeClass([s.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",showLabel:!1,modelValue:s.editableFigcaptionText,"onUpdate:modelValue":t[2]||(t[2]=re=>s.editableFigcaptionText=re),placeholder:"figcaption"},null,8,["class","modelValue"])):(P=n.figcaption)!=null&&P.text?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(de=n.figcaption)==null?void 0:de.text},null,8,Iy)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),!N.editing&&!s.imageSource?(o.openBlock(),o.createElementBlock("button",{key:4,type:"button",class:"button confirm",onClick:t[3]||(t[3]=(...re)=>s.onAddItem&&s.onAddItem(...re))},My)):o.createCommentVNode("",!0)],2)]}),_:1},8,["componentProps","componentPath","allowDeleteComponent","itemProvider"])):n.useFigureTag?(o.openBlock(),o.createElementBlock("figure",{key:1,class:o.normalizeClass(["cmd-image",s.textAlign])},[((c=n.figcaption)==null?void 0:c.position)==="top"&&((u=n.figcaption)!=null&&u.text)&&((m=n.figcaption)!=null&&m.show)?(o.openBlock(),o.createElementBlock("figcaption",{key:0,innerHTML:(g=n.figcaption)==null?void 0:g.text},null,8,Ry)):o.createCommentVNode("",!0),o.createElementVNode("img",{src:s.imageSource,alt:(f=n.image)==null?void 0:f.alt,title:(h=n.image)==null?void 0:h.tooltip,onLoad:t[4]||(t[4]=(...N)=>s.onImageLoaded&&s.onImageLoaded(...N))},null,40,Dy),((y=n.figcaption)==null?void 0:y.position)!=="top"&&((p=n.figcaption)!=null&&p.text)&&((C=n.figcaption)!=null&&C.show)?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(T=n.figcaption)==null?void 0:T.text},null,8,jy)):o.createCommentVNode("",!0)],2)):(o.openBlock(),o.createElementBlock("img",{key:2,src:s.imageSource,alt:(k=n.image)==null?void 0:k.alt,title:(A=n.image)==null?void 0:A.tooltip,onLoad:t[5]||(t[5]=(...N)=>s.onImageLoaded&&s.onImageLoaded(...N))},null,40,qy))}const Ne=V(Vy,[["render",zy]]),Hy={name:"CmdSlideButton",props:{slideButtonType:{type:String,default:"next",validator(e){return e==="next"||e==="prev"||e==="up"||e==="down"}},slideButtons:{type:Object,default:function(){return{prev:{iconClass:"icon-chevron-one-stripe-left",tooltip:"Previous"},next:{iconClass:"icon-chevron-one-stripe-right",tooltip:"Next"},up:{iconClass:"icon-chevron-one-stripe-up",tooltip:"Previous"},down:{iconClass:"icon-chevron-one-stripe-down",tooltip:"Next"}}}}},computed:{getDirection(){return this.slideButtons[this.slideButtonType]?this.slideButtons[this.slideButtonType]:(console.warn("Property 'slideButtonType' does not match slideButtons-key"),{})}}},Uy=["title"];function Wy(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),class:o.normalizeClass(["cmd-slide-button","button","keep-behavior-on-small-devices",n.slideButtonType]),title:s.getDirection.tooltip},[o.createVNode(a,{type:s.getDirection.iconType||"auto",iconClass:s.getDirection.iconClass||"next"},null,8,["type","iconClass"])],10,Uy)}const bt=V(Hy,[["render",Wy]]),Gy={name:"CmdThumbnailScroller",emits:["click"],mixins:[oe,{data(){return{defaultMessageProperties:{"thumbnail_scroller.tooltip.open_large_image":"Open large image","thumbnail_scroller.tooltip.open_url":"Open URL in a new tab","thumbnail_scroller.tooltip.open":"Open"}}}},Y],data(){return{items:[],showSlidebuttons:!0}},props:{orientation:{type:String,default:"horizontal"},fullWidth:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},contentType:{type:String,default:"image",validator(e){return e==="image"||e==="text"}},executeOnClick:{type:String,default:"fancybox",validator(e){return e==="fancybox"||e==="url"||e==="emit"}},thumbnailScrollerItems:{type:Array,required:!0},allowOpenFancyBox:{type:Boolean,default:!0},activeItemIndex:{type:Number,required:!1},figcaption:{type:Object,default(){return{show:!0,position:"below-image"}}},useGalleryScroller:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1},cmdSlideButtons:{type:Object,default(){return{next:{next:{type:"next",iconClass:"icon-chevron-one-stripe-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-chevron-one-stripe-left",tooltip:"Previous"}}}}}},mounted(){const e=this.$refs["thumbnail-scroller"],t=e.querySelector("ul");new ResizeObserver(()=>this.toggleSlideButtons(t)).observe(e)},computed:{tooltip(){return this.contentType==="image"?this.getMessage("thumbnail_scroller.tooltip.open_large_image"):this.executeOnClick==="url"?this.getMessage("thumbnail_scroller.tooltip.open_url"):this.getMessage("thumbnail_scroller.tooltip.open")},fullWidthClass(){return this.orientation==="horizontal"?"full-width":null}},methods:{itemProvider(){return{image:{id:tt(),src:"/media/images/demo-images/small/landscape-01.jpg",srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",alt:"Alternative Text",tooltip:"Tooltip 1"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","thumbnailScrollerItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{id:tt(),src:"/media/images/demo-images/small/landscape-01.jpg",srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",tooltip:"Tooltip DE"}})}},toggleSlideButtons(e){this.showSlidebuttons=e.scrollWidth>e.clientWidth},showNextItem(){const e=this.items.shift();e&&this.items.push(e)},showPrevItem(){const e=this.items.pop();e&&this.items.unshift(e)},showFancyBox(e){this.allowOpenFancyBox&&qe({fancyBoxGallery:this.items,defaultGalleryIndex:e}),this.emitCurrentItemId(e)},emitCurrentItemId(e){if(this.contentType==="image"){this.$emit("click",this.items[e].image.id);return}this.$emit("click",this.items[e].id)},executeLink(e,t){this.executeOnClick==="emit"?(t.preventDefault(),this.emitCurrentItemId(e)):this.executeOnClick==="fancybox"&&(t.preventDefault(),this.showFancyBox(e))}},watch:{thumbnailScrollerItems:{handler(){this.items=this.thumbnailScrollerItems.map(e=>{let t;return this.contentType==="image"?(t={image:{...e.image},figcaption:{...e.figcaption}},t.image.srcImageSmall&&(t.image.src=t.image.srcImageSmall)):t={...e},t})},immediate:!0,deep:!0}}},Jy={class:"inner-thumbnail-wrapper"},Ky=["href","onClick","title","target"],Zy={key:1},Xy={key:1},Qy={key:0},Yy=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new thumbnail-scroller-image",-1)];function $y(e,t,n,r,i,s){var u;const a=U,l=bt,d=Ne,c=z;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":n.useGalleryScroller,"large-icons":n.largeIcons,vertical:n.orientation==="vertical"},s.fullWidthClass]),ref:"thumbnail-scroller"},[(u=n.cmdHeadline)!=null&&u.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",Jy,[i.showSlidebuttons?(o.openBlock(),o.createBlock(l,{key:0,onClick:o.withModifiers(s.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:"slide",tag:"ul"},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.items,(m,g)=>(o.openBlock(),o.createElementBlock("li",{key:g},[e.editModeContext?n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:1,image:m.image,figcaption:m.figcaption,componentPath:["props","thumbnailScrollerItems",g],editModeConfig:s.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):n.contentType==="text"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),m.text?(o.openBlock(),o.createElementBlock("span",Xy,o.toDisplayString(m.text),1)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("a",{key:0,href:n.executeOnClick==="url"?m.url:"#",onClick:f=>s.executeLink(g,f),class:o.normalizeClass([{active:n.activeItemIndex===g},m.id?"item-"+m.id:""]),title:s.tooltip,target:n.executeOnClick==="url"?"_blank":null},[n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:0,image:m.image,figcaption:m.figcaption},null,8,["image","figcaption"])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),m.text?(o.openBlock(),o.createElementBlock("span",Zy,o.toDisplayString(m.text),1)):o.createCommentVNode("",!0)],64))],10,Ky))]))),128)),!i.items.length&&n.contentType==="image"?(o.openBlock(),o.createElementBlock("li",Qy,[o.createElementVNode("button",{type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...m)=>s.onAddItem&&s.onAddItem(...m))},Yy)])):o.createCommentVNode("",!0)]),_:1}),i.showSlidebuttons?(o.openBlock(),o.createBlock(l,{key:1,onClick:o.withModifiers(s.showNextItem,["prevent"]),slideButtons:n.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):o.createCommentVNode("",!0)])],2)}const Da=V(Gy,[["render",$y]]),qe=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(ja,{...e,show:!0}).mount(t)},ja=o.defineComponent({name:"CmdFancyBox",emits:["cancel","confirm"],data(){return{fancyBoxContent:null,fancyBoxElements:null,fancyBoxImageUrl:null,index:this.defaultGalleryIndex,printInGrayscale:!1,showFancyBox:this.show}},props:{defaultAriaLabelText:{type:String,required:!1},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!1},fancyBoxOptions:{type:Object,required:!1},allowEscapeKey:{type:Boolean,default:!0},content:{type:String,required:!1},elements:{type:Array,required:!1},fancyBoxGallery:{type:Array,required:!1},defaultGalleryIndex:{type:Number,required:!1},show:{type:Boolean,default:!1},showOverlay:{type:Boolean,default:!0},cmdImage:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},created(){this.$_FancyBox_scrollHandler=()=>{window.scrollTo(0,this.$_FancyBox_verticalScrollPosition)},this.$watch(()=>[this.url,this.content,this.elements],this.updateContentOnPropertyChange,{immediate:!0})},mounted(){this.showFancyBox&&this.showDialog()},computed:{fancyBoxOptionsProperties(){var e,t,n,r,i,s,a,l,d;return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close",...(e=this.fancyBoxOptions)==null?void 0:e.closeIcon},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color",...(n=(t=this.fancyBoxOptions)==null?void 0:t.printButtons)==null?void 0:n.color},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale",...(i=(r=this.fancyBoxOptions)==null?void 0:r.printButtons)==null?void 0:i.grayscale}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel",...(a=(s=this.fancyBoxOptions)==null?void 0:s.submitButtons)==null?void 0:a.cancel},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary",...(d=(l=this.fancyBoxOptions)==null?void 0:l.submitButtons)==null?void 0:d.confirm}}}},largeGalleryImage(){const e={...this.fancyBoxGallery[this.index].image};return e.src=e.srcImageLarge,e},largeSingleImage(){var t;const e={...((t=this.cmdImage)==null?void 0:t.image)||{}};return this.fancyBoxImageUrl&&(e.src=this.fancyBoxImageUrl),e},ariaLabelText(){var e;return(e=this.fancyBoxGallery)!=null&&e.length?this.fancyBoxGallery[this.index].figcaption.text:this.defaultAriaLabelText}},methods:{printDialogContent(){const e=window.open("","","width=1000,height=600"),t=this.elements.map(i=>i.outerHTML).join("");let n=Array.from(document.head.querySelectorAll("style, link[rel='stylesheet']")).map(i=>i.outerHTML).join("");this.printInGrayscale&&(n+="<style>body { filter: grayscale(1)}</style>");const r=document.head.querySelector("title").innerText;e.document.write(`
|
1
|
+
(function(O,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(O=typeof globalThis<"u"?globalThis:O||self,o(O["comand-component-library"]={},O.Vue))})(this,function(O,o){"use strict";var CP=Object.defineProperty;var wP=(O,o,Oe)=>o in O?CP(O,o,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):O[o]=Oe;var en=(O,o,Oe)=>wP(O,typeof o!="symbol"?o+"":o,Oe);const Oe=/^[a-z0-9]+(-[a-z0-9]+)*$/,tn=(e,t,n,r="")=>{const i=e.split(":");if(e.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const l=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:l};return t&&!nn(c)?null:c}const s=i[0],a=s.split("-");if(a.length>1){const l={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!nn(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:s};return t&&!nn(l,n)?null:l}return null},nn=(e,t)=>e?!!((e.provider===""||e.provider.match(Oe))&&(t&&e.prefix===""||e.prefix.match(Oe))&&e.name.match(Oe)):!1,ra=Object.freeze({left:0,top:0,width:16,height:16}),on=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),rn=Object.freeze({...ra,...on}),Go=Object.freeze({...rn,body:"",hidden:!1});function Xf(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function ia(e,t){const n=Xf(e,t);for(const r in Go)r in on?r in e&&!(r in n)&&(n[r]=on[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Qf(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function s(a){if(n[a])return i[a]=[];if(!(a in i)){i[a]=null;const l=r[a]&&r[a].parent,d=l&&s(l);d&&(i[a]=[l].concat(d))}return i[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function Yf(e,t,n){const r=e.icons,i=e.aliases||{};let s={};function a(l){s=ia(r[l]||i[l],s)}return a(t),n.forEach(a),ia(e,s)}function sa(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=Qf(e);for(const i in r){const s=r[i];s&&(t(i,Yf(e,i,s)),n.push(i))}return n}const $f={provider:"",aliases:{},not_found:{},...ra};function Jo(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function aa(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Jo(e,$f))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(Oe)||typeof s.body!="string"||!Jo(s,Go))return null}const r=t.aliases||{};for(const i in r){const s=r[i],a=s.parent;if(!i.match(Oe)||typeof a!="string"||!n[a]&&!r[a]||!Jo(s,Go))return null}return t}const la=Object.create(null);function vf(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function je(e,t){const n=la[e]||(la[e]=Object.create(null));return n[t]||(n[t]=vf(e,t))}function Ko(e,t){return aa(t)?sa(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function eh(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let pt=!1;function ca(e){return typeof e=="boolean"&&(pt=e),pt}function th(e){const t=typeof e=="string"?tn(e,!0,pt):e;if(t){const n=je(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function nh(e,t){const n=tn(e,!0,pt);if(!n)return!1;const r=je(n.provider,n.prefix);return eh(r,n.name,t)}function da(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),pt&&!t&&!e.prefix){let i=!1;return aa(e)&&(e.prefix="",sa(e,(s,a)=>{a&&nh(s,a)&&(i=!0)})),i}const n=e.prefix;if(!nn({provider:t,prefix:n,name:"a"}))return!1;const r=je(t,n);return!!Ko(r,e)}const ua=Object.freeze({width:null,height:null}),ma=Object.freeze({...ua,...on}),oh=/(-?[0-9.]*[0-9]+[0-9.]*)/g,rh=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function fa(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(oh);if(r===null||!r.length)return e;const i=[];let s=r.shift(),a=rh.test(s);for(;;){if(a){const l=parseFloat(s);isNaN(l)?i.push(s):i.push(Math.ceil(l*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");a=!a}}function ih(e,t){const n={...rn,...e},r={...ma,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(f=>{const h=[],y=f.hFlip,p=f.vFlip;let C=f.rotate;y?p?C+=2:(h.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),h.push("scale(-1 1)"),i.top=i.left=0):p&&(h.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),h.push("scale(1 -1)"),i.top=i.left=0);let T;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:T=i.height/2+i.top,h.unshift("rotate(90 "+T.toString()+" "+T.toString()+")");break;case 2:h.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:T=i.width/2+i.left,h.unshift("rotate(-90 "+T.toString()+" "+T.toString()+")");break}C%2===1&&(i.left!==i.top&&(T=i.left,i.left=i.top,i.top=T),i.width!==i.height&&(T=i.width,i.width=i.height,i.height=T)),h.length&&(s='<g transform="'+h.join(" ")+'">'+s+"</g>")});const a=r.width,l=r.height,d=i.width,c=i.height;let u,m;return a===null?(m=l===null?"1em":l==="auto"?c:l,u=fa(m,d/c)):(u=a==="auto"?d:a,m=l===null?fa(u,c/d):l==="auto"?c:l),{attributes:{width:u.toString(),height:m.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:s}}const sh=/\sid="(\S+)"/g,ah="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let lh=0;function ch(e,t=ah){const n=[];let r;for(;r=sh.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const s=typeof t=="function"?t(i):t+(lh++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Zo=Object.create(null);function dh(e,t){Zo[e]=t}function Xo(e){return Zo[e]||Zo[""]}function Qo(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Yo=Object.create(null),gt=["https://api.simplesvg.com","https://api.unisvg.com"],sn=[];for(;gt.length>0;)gt.length===1||Math.random()>.5?sn.push(gt.shift()):sn.push(gt.pop());Yo[""]=Qo({resources:["https://api.iconify.design"].concat(sn)});function uh(e,t){const n=Qo(t);return n===null?!1:(Yo[e]=n,!0)}function $o(e){return Yo[e]}let ha=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function mh(e,t){const n=$o(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(a=>{i=Math.max(i,a.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function fh(e){return e===404}const hh=(e,t,n)=>{const r=[],i=mh(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},l=0;return n.forEach((d,c)=>{l+=d.length+1,l>=i&&c>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},l=d.length),a.icons.push(d)}),r.push(a),r};function ph(e){if(typeof e=="string"){const t=$o(e);if(t)return t.path}return"/"}const gh={prepare:hh,send:(e,t,n)=>{if(!ha){n("abort",424);return}let r=ph(t.provider);switch(t.type){case"icons":{const s=t.prefix,l=t.icons.join(","),d=new URLSearchParams({icons:l});r+=s+".json?"+d.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;ha(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(fh(a)?"abort":"next",a)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})}};function yh(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,a=i.prefix,l=i.name,d=n[s]||(n[s]=Object.create(null)),c=d[a]||(d[a]=je(s,a));let u;l in c.icons?u=t.loaded:a===""||c.missing.has(l)?u=t.missing:u=t.pending;const m={provider:s,prefix:a,name:l};u.push(m)}),t}function pa(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function bh(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const a=s.icons,l=a.pending.length;a.pending=a.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])a.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))a.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),a.pending.length!==l&&(n||pa([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let kh=0;function Ch(e,t,n){const r=kh++,i=pa.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),i}function wh(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?tn(i,t,n):i;s&&r.push(s)}),r}var xh={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Bh(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let a;if(e.random){let b=e.resources.slice(0);for(a=[];b.length>1;){const S=Math.floor(Math.random()*b.length);a.push(b[S]),b=b.slice(0,S).concat(b.slice(S+1))}a=a.concat(b)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const l=Date.now();let d="pending",c=0,u,m=null,g=[],f=[];typeof r=="function"&&f.push(r);function h(){m&&(clearTimeout(m),m=null)}function y(){d==="pending"&&(d="aborted"),h(),g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function p(b,S){S&&(f=[]),typeof b=="function"&&f.push(b)}function C(){return{startTime:l,payload:t,status:d,queriesSent:c,queriesPending:g.length,subscribe:p,abort:y}}function T(){d="failed",f.forEach(b=>{b(void 0,u)})}function k(){g.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),g=[]}function A(b,S,F){const q=S!=="success";switch(g=g.filter(L=>L!==b),d){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=F,T();return}if(q){u=F,g.length||(a.length?N():T());return}if(h(),k(),!e.random){const L=e.resources.indexOf(b.resource);L!==-1&&L!==e.index&&(e.index=L)}d="completed",f.forEach(L=>{L(F)})}function N(){if(d!=="pending")return;h();const b=a.shift();if(b===void 0){if(g.length){m=setTimeout(()=>{h(),d==="pending"&&(k(),T())},e.timeout);return}T();return}const S={status:"pending",resource:b,callback:(F,q)=>{A(S,F,q)}};g.push(S),c++,m=setTimeout(N,e.rotate),n(b,t,S.callback)}return setTimeout(N),C}function ga(e){const t={...xh,...e};let n=[];function r(){n=n.filter(l=>l().status==="pending")}function i(l,d,c){const u=Bh(t,l,d,(m,g)=>{r(),c&&c(m,g)});return n.push(u),u}function s(l){return n.find(d=>l(d))||null}return{query:i,find:s,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:r}}function ya(){}const vo=Object.create(null);function _h(e){if(!vo[e]){const t=$o(e);if(!t)return;const n=ga(t),r={config:t,redundancy:n};vo[e]=r}return vo[e]}function Eh(e,t,n){let r,i;if(typeof e=="string"){const s=Xo(e);if(!s)return n(void 0,424),ya;i=s.send;const a=_h(e);a&&(r=a.redundancy)}else{const s=Qo(e);if(s){r=ga(s);const a=e.resources?e.resources[0]:"",l=Xo(a);l&&(i=l.send)}}return!r||!i?(n(void 0,424),ya):r.query(t,i,n)().abort}const ba="iconify2",yt="iconify",ka=yt+"-count",Ca=yt+"-version",wa=36e5,Sh=168;function er(e,t){try{return e.getItem(t)}catch{}}function tr(e,t,n){try{return e.setItem(t,n),!0}catch{}}function xa(e,t){try{e.removeItem(t)}catch{}}function nr(e,t){return tr(e,ka,t.toString())}function or(e){return parseInt(er(e,ka))||0}const an={local:!0,session:!0},Ba={local:new Set,session:new Set};let rr=!1;function Th(e){rr=e}let ln=typeof window>"u"?{}:window;function _a(e){const t=e+"Storage";try{if(ln&&ln[t]&&typeof ln[t].length=="number")return ln[t]}catch{}an[e]=!1}function Ea(e,t){const n=_a(e);if(!n)return;const r=er(n,Ca);if(r!==ba){if(r){const l=or(n);for(let d=0;d<l;d++)xa(n,yt+d.toString())}tr(n,Ca,ba),nr(n,0);return}const i=Math.floor(Date.now()/wa)-Sh,s=l=>{const d=yt+l.toString(),c=er(n,d);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}xa(n,d)}};let a=or(n);for(let l=a-1;l>=0;l--)s(l)||(l===a-1?(a--,nr(n,a)):Ba[e].add(l))}function Sa(){if(!rr){Th(!0);for(const e in an)Ea(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=je(r,i);if(!Ko(s,n).length)return!1;const a=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,a):a,!0})}}function Oh(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in an)Ea(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Nh(e,t){rr||Sa();function n(r){let i;if(!an[r]||!(i=_a(r)))return;const s=Ba[r];let a;if(s.size)s.delete(a=Array.from(s).shift());else if(a=or(i),!nr(i,a+1))return;const l={cached:Math.floor(Date.now()/wa),provider:e.provider,data:t};return tr(i,yt+a.toString(),JSON.stringify(l))}t.lastModified&&!Oh(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ta(){}function Vh(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,bh(e)}))}function Fh(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;if(!i||!(s=Xo(n)))return;s.prepare(n,r,i).forEach(l=>{Eh(n,l,(d,c)=>{if(typeof d!="object"){if(c!==404)return;l.icons.forEach(u=>{e.missing.add(u)})}else try{const u=Ko(e,d);if(!u.length)return;const m=e.pendingIcons;m&&u.forEach(g=>{m.delete(g)}),Nh(e,d)}catch(u){console.error(u)}Vh(e)})})}))}const Ah=(e,t)=>{const n=wh(e,!0,ca()),r=yh(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,Ta)}),()=>{d=!1}}const i=Object.create(null),s=[];let a,l;return r.pending.forEach(d=>{const{provider:c,prefix:u}=d;if(u===l&&c===a)return;a=c,l=u,s.push(je(c,u));const m=i[c]||(i[c]=Object.create(null));m[u]||(m[u]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:u,name:m}=d,g=je(c,u),f=g.pendingIcons||(g.pendingIcons=new Set);f.has(m)||(f.add(m),i[c][u].push(m))}),s.forEach(d=>{const{provider:c,prefix:u}=d;i[c][u].length&&Fh(d,i[c][u])}),t?Ch(t,r,s):Ta};function Ph(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in ua?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const Lh=/[\s,]+/;function Ih(e,t){t.split(Lh).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Mh(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function Rh(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function Dh(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function jh(e){return'url("data:image/svg+xml,'+Dh(e)+'")'}const Oa={...ma,inline:!1},qh={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},zh={display:"inline-block"},ir={backgroundColor:"currentColor"},Na={backgroundColor:"transparent"},Va={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Fa={webkitMask:ir,mask:ir,background:Na};for(const e in Fa){const t=Fa[e];for(const n in Va)t[e+n]=Va[n]}const cn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";cn[e+"-flip"]=t,cn[e.slice(0,1)+"-flip"]=t,cn[e+"Flip"]=t});function Aa(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Pa=(e,t)=>{const n=Ph(Oa,t),r={...qh},i=t.mode||"svg",s={},a=t.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let y in t){const p=t[y];if(p!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&Ih(n,p);break;case"color":s.color=p;break;case"rotate":typeof p=="string"?n[y]=Mh(p):typeof p=="number"&&(n[y]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete r["aria-hidden"];break;default:{const C=cn[y];C?(p===!0||p==="true"||p===1)&&(n[C]=!0):Oa[y]===void 0&&(r[y]=p)}}}const d=ih(e,n),c=d.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),i==="svg"){r.style={...s,...l},Object.assign(r,c);let y=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),r.innerHTML=ch(d.body,p?()=>p+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:u,width:m,height:g}=e,f=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=Rh(u,{...c,width:m+"",height:g+""});return r.style={...s,"--svg":jh(h),width:Aa(c.width),height:Aa(c.height),...zh,...f?ir:Na,...l},o.h("span",r)};if(ca(!0),dh("",gh),typeof document<"u"&&typeof window<"u"){Sa();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!da(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;uh(n,i)||console.error(r)}catch{console.error(r)}}}}const Hh={...rn,body:""},Uh=o.defineComponent({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=tn(e,!1,!0))===null)return this.abortLoading(),null;const r=th(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:Ah([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return Pa(Hh,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Pa({...rn,...t.data},n)}}),V=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Wh={name:"CmdIcon",components:{Icon:Uh},props:{type:{type:String,default:"auto",validator(e){return e==="auto"||e==="iconify"}},iconClass:{type:String,required:!0},tooltip:{type:String,required:!1}},computed:{isIconify(){return this.type==="iconify"?!0:this.type==="auto"?this.iconClass.includes(":"):!1}}},Gh=["title"];function Jh(e,t,n,r,i,s){const a=o.resolveComponent("Icon");return s.isIconify?(o.openBlock(),o.createBlock(a,{key:0,icon:n.iconClass,title:n.tooltip,class:o.normalizeClass(e.$attrs.class)},null,8,["icon","title","class"])):(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass([n.iconClass,e.$attrs.class]),title:n.tooltip},null,10,Gh))}const z=V(Wh,[["render",Jh]]);function Ve(e,t){return dn(e,"EditComponentWrapper",t)}function Kh(e){return dn(e,"EditModeSettingsSidebar")}function Zh(e){return dn(e,"EditModeMainSidebar")}function dn(e,t,n){var r;return((r=e==null?void 0:e.$options)==null?void 0:r.name)===t&&(n==null||n(e))?e:e!=null&&e.$parent?dn(e.$parent,t,n):null}function Fe(e,...t){const n=[];for(let r=Ve(e);r;r=Ve(r.$parent))r.componentPath&&n.unshift(...r.componentPath);return n.push(...t),n}function Xh(e){return Array.isArray(e)&&e.length>0?JSON.stringify(e):""}function Q(e,t){var n;return(n=e==null?void 0:e.$options)!=null&&n.name?{name:e.$options.name,...t}:t}const Qh={name:"EditComponentWrapper",inject:{editModeContext:{default:null}},props:{allowedComponentTypes:{type:Array},componentName:{type:String},componentProps:{type:Object},componentPath:{type:Array,required:!0},allowAddComponent:{type:Boolean},allowDeleteComponent:{type:Boolean,default:!0},showComponentName:{type:Boolean,default:!0},componentTag:{type:String},itemProvider:{type:Function}},data(){return{componentIdentifier:"",editStateListeners:[],updateHandlerProviders:[],addHandlerProvider:null,showComponentSelection:!1,showAddComponentButtons:!1,addComponentLevel:""}},computed:{isOuterComponent(){return!Ve(this.$parent,e=>(e==null?void 0:e.componentName)!=="CmdContainer")},active(){return this.editModeContext?Ve(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer")?!!this.editModeContext.system.isActiveChildComponent(me(this)):!!this.editModeContext.system.isActiveComponent(me(this)):!1},editing(){var e;return(e=this.editModeContext)==null?void 0:e.content.isEditing(this.componentIdentifier)},hasSettings(){const e=`${this.componentName}Settings`;return!!o.getCurrentInstance().appContext.components[e]}},methods:{addHighlightRelatedComponent(e){e.target.parentNode.classList.add("highlight")},removeHighlightRelatedComponent(e){e.target.parentNode.classList.remove("highlight")},showActionButtons(){const e=Ve(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer");this.editModeContext.system.setActiveComponent(me(e),me(this))},deleteComponent(){var e;!this.editing&&this.allowDeleteComponent&&confirm("Delete this component and its content?")&&((e=this.editModeContext)==null||e.store.deleteContent(me(this)),this.editModeContext.settings.stopEditing())},deleteInnerComponent(){this.editModeContext.store.deleteContent(me(this)),this.editModeContext.settings.stopEditing()},cancelComponent(e){this.editing&&(e.stopPropagation(),this.editModeContext.content.stopEditing())},editComponent(e){e==null||e.stopPropagation(),e||this.showActionButtons();const t=this.$refs.editComponent;this.editModeContext.content.startEditing(this.componentIdentifier),this.$nextTick(()=>{var n;return(n=t.querySelector("input"))==null?void 0:n.focus()})},saveComponent(){this.editModeContext.store.updateContent(me(this),this.updateHandlerProviders.map(e=>e())),this.editModeContext.content.stopEditing()},editSettings(e,t){e.stopPropagation(),!this.editing&&this.hasSettings&&this.editModeContext.settings.startEditing(this.componentIdentifier,this.componentName,this.componentProps,this.allowedComponentTypes,me(this),this.saveSettings,this.deleteInnerComponent,t||"edit")},addEntry(e){this.itemProvider?this.editModeContext.content.addContent(me(this),this.itemProvider):this.editSettings(e,"add")},saveSettings(e){this.editModeContext.store.updateSettings(me(this),e),this.editModeContext.settings.stopEditing()},addEditStateListener(e){this.editStateListeners.push(e),e(this.editing)},addUpdateHandlerProvider(e){this.updateHandlerProviders.push(e)},setAddHandlerProvider(e){e&&(this.addHandlerProvider=e)}},watch:{componentPath:{handler(){this.componentIdentifier=Xh(me(this))},immediate:!0,deep:!0},editing(e){this.editStateListeners.forEach(t=>t(e))}}};function me(e){const t=[];for(let n=e;n;n=Ve(n.$parent))n.componentPath&&t.unshift(...n.componentPath);return t}const Yh={key:0,class:"action-buttons-wrapper"},$h=["data-component"],vh=["title"],ep=["href"],tp={key:0},np={key:1},op={key:0,class:"component-name"},rp=["data-component"],ip=["title"],sp=["href","title"],ap=["title"],lp={key:0},cp={key:1},dp=["title"],up=["title"];function mp(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.componentTag||"div"),{class:o.normalizeClass(["edit-component-wrapper",{active:s.active}]),tabindex:"0",onClick:o.withModifiers(s.showActionButtons,["stop"]),ref:"editComponent",title:s.active?"Select an action from the buttons in the top-left corner":"Click to select this element","data-identifier":i.componentIdentifier},{default:o.withCtx(()=>[n.componentTag==="ul"?(o.openBlock(),o.createElementBlock("li",Yh,[o.withDirectives(o.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":n.componentName},[o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button confirm",{disabled:!i.addHandlerProvider&&!n.itemProvider&&!n.allowAddComponent}]),href:"#",onClick:t[0]||(t[0]=o.withModifiers(l=>s.addEntry(l),["prevent"])),title:s.isOuterComponent?"Add new component":"Add new item/entry"},[o.createVNode(a,{iconClass:(s.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,vh)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button primary",{disabled:s.editing||!s.hasSettings}]),href:s.editing?null:"#",onClick:t[1]||(t[1]=o.withModifiers((...l)=>s.editSettings&&s.editSettings(...l),["prevent"])),title:"Edit settings of this component"},[o.createVNode(a,{iconClass:s.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,ep)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:"icon-hexagon button-delete",href:"#",onClick:t[2]||(t[2]=o.withModifiers((...l)=>s.deleteComponent&&s.deleteComponent(...l),["prevent"])),title:"Delete this component (and its content)"},[o.createVNode(a,{iconClass:"icon-trash"})])]),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",tp,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button-cancel",{disabled:!s.editing}]),href:"#",onClick:t[3]||(t[3]=o.withModifiers((...l)=>s.cancelComponent&&s.cancelComponent(...l),["prevent"])),title:"Cancel editing (changes will not be saved)"},[o.createVNode(a,{iconClass:"icon-cancel"})],2)])),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",np,[s.editing?(o.openBlock(),o.createElementBlock("a",{key:0,class:"icon-hexagon button-save",href:"#",onClick:t[4]||(t[4]=o.withModifiers((...l)=>s.saveComponent&&s.saveComponent(...l),["prevent"])),title:"Save changes of this component"},[o.createVNode(a,{iconClass:"icon-check"})])):(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["icon-hexagon button",{disabled:s.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:t[5]||(t[5]=o.withModifiers((...l)=>s.editComponent&&s.editComponent(...l),["prevent"])),title:"Edit content of this component"},[o.createVNode(a,{iconClass:"icon-edit"})],2))]))],8,$h),[[o.vShow,s.active]])])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[s.isOuterComponent?(o.openBlock(),o.createElementBlock("p",op,o.toDisplayString(n.componentName),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("ul",{class:"flex-container no-flex action-buttons","data-component":n.componentName,onMouseenter:t[12]||(t[12]=(...l)=>s.addHighlightRelatedComponent&&s.addHighlightRelatedComponent(...l)),onMouseleave:t[13]||(t[13]=(...l)=>s.removeHighlightRelatedComponent&&s.removeHighlightRelatedComponent(...l))},[o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:!i.addHandlerProvider&&!n.itemProvider&&!n.allowAddComponent}]),href:"#",onClick:t[6]||(t[6]=o.withModifiers((...l)=>s.addEntry&&s.addEntry(...l),["prevent"])),title:s.isOuterComponent?"Add new component":"Add new item/entry"},[o.createVNode(a,{iconClass:(s.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,ip)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button primary",{disabled:s.editing||!s.hasSettings}]),href:s.editing?null:"#",onClick:t[7]||(t[7]=o.withModifiers((...l)=>s.editSettings&&s.editSettings(...l),["prevent"])),title:"Edit settings for "+n.componentName},[o.createVNode(a,{iconClass:s.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,sp)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button button-delete",{disabled:s.editing||!n.allowDeleteComponent}]),href:"#",onClick:t[8]||(t[8]=o.withModifiers((...l)=>s.deleteComponent&&s.deleteComponent(...l),["prevent"])),title:"Delete "+n.componentName+" (and its content)"},[o.createVNode(a,{iconClass:"icon-trash"})],10,ap)]),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",lp,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button cancel",{disabled:!s.editing}]),href:"#",onClick:t[9]||(t[9]=o.withModifiers((...l)=>s.cancelComponent&&s.cancelComponent(...l),["prevent"])),title:"Cancel editing (changes will not be saved)"},[o.createVNode(a,{iconClass:"icon-cancel"})],2)])),s.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",cp,[s.editing?(o.openBlock(),o.createElementBlock("a",{key:0,class:"icon-hexagon use-icon-as-background button confirm",href:"#",onClick:t[10]||(t[10]=o.withModifiers((...l)=>s.saveComponent&&s.saveComponent(...l),["prevent"])),title:"Save changes of "+n.componentName},[o.createVNode(a,{iconClass:"icon-check"})],8,dp)):(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:s.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:t[11]||(t[11]=o.withModifiers((...l)=>s.editComponent&&s.editComponent(...l),["prevent"])),title:"Edit content for "+n.componentName},[o.createVNode(a,{iconClass:"icon-edit"})],10,up))]))],40,rp),[[o.vShow,s.active]])],64)),o.renderSlot(e.$slots,"default",{editing:s.editing})]),_:3},8,["class","onClick","title","data-identifier"])}const Ae=V(Qh,[["render",mp]]),Y={inject:{editModeContext:{default:null}},props:{componentPath:{type:Array},editModeConfig:{type:Object}},data(){return{editing:!1,settingsContext:!1,mainSidebarContext:!1}},mounted(){this.initializeEditMode()},methods:{initializeEditMode(){var e;if(this.$refs.editComponentWrapper)(e=this.$refs.editComponentWrapper)==null||e.addUpdateHandlerProvider(this.updateHandlerProvider);else{const t=Ve(this.$parent);t&&(t.addEditStateListener(n=>this.editing=n),t.addUpdateHandlerProvider(this.updateHandlerProvider),t.setAddHandlerProvider(this.addHandlerProvider))}this.mainSidebarContext=!!Zh(this),this.settingsContext=!!Kh(this)},updateHandlerProvider(){return{}}}},fp={name:"CmdHeadline",mixins:[Y],data(){return{editableHeadlineText:null,editablePreHeadlineText:null}},props:{headlineText:{type:String,required:!1},headlineLevel:{type:[String,Number],default:"2"},preHeadlineText:{type:String,required:!1},textAlign:{type:String,default:null,validator(e){return e==="left"||e==="center"||e==="right"}},cmdIcon:{type:Object,required:!1}},computed:{componentActive(){var e;return(e=this.editModeContext)==null?void 0:e.system.isActiveComponent(Fe(Ve(this)))},headlineComponentPath(){return this.componentPath||["props","cmdHeadline"]},headlineTag(){return this.headlineLevel?"h"+this.headlineLevel:""},headlineTextAlign(){return this.textAlign?"text-"+this.textAlign:""}},methods:{updateHandlerProvider(){const e=this.editableHeadlineText,t=this.editablePreHeadlineText,n=this.headlineLevel;return Q(this,{update(r){r.headlineText=e,r.preHeadlineText=t,r.headlineLevel=n}})},onAddItem(){this.$refs.editComponentWrapper.editComponent()}},watch:{headlineText:{handler(){this.editableHeadlineText=this.headlineText},immediate:!0},preHeadlineText:{handler(){this.editablePreHeadlineText=this.preHeadlineText},immediate:!0}}},hp={class:"pre-headline-text-wrapper"},pp=["innerHTML"],gp=["innerHTML"],yp={key:1},bp=["innerHTML"],kp={key:2},Cp={class:"pre-headline-text"},wp=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new headline",-1)];function xp(e,t,n,r,i,s){var c;const a=z,l=X,d=Ae;return!e.editModeContext||e.settingsContext||e.mainSidebarContext||n.headlineText?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["cmd-headline",{"has-pre-headline-text":n.preHeadlineText,"has-icon":(c=n.cmdIcon)==null?void 0:c.iconClass},s.headlineTextAlign])},[n.preHeadlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.headlineText?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:0},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("span",hp,[o.createElementVNode("span",{class:"pre-headline-text",innerHTML:n.preHeadlineText},null,8,pp),n.headlineText?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:n.headlineText},null,8,gp)):(o.openBlock(),o.createElementBlock("span",yp,[o.renderSlot(e.$slots,"default")]))])]),_:3})):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:1},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),n.headlineText?(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:n.headlineText},null,8,bp)):(o.openBlock(),o.createElementBlock("span",kp,[o.renderSlot(e.$slots,"default")]))]),_:3}))],2)):(o.openBlock(),o.createBlock(d,{key:1,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdHeadline",componentProps:{headlineText:n.headlineText,headlineLevel:n.headlineLevel},componentPath:s.headlineComponentPath,allowDeleteComponent:!!n.headlineText},{default:o.withCtx(u=>[u.editing?(o.openBlock(),o.createBlock(l,{key:0,element:"input",type:"text",class:o.normalizeClass(["edit-mode","headline","h"+n.headlineLevel,s.headlineTextAlign]),labelText:"Headline",showLabel:!1,placeholder:"Headline",modelValue:i.editableHeadlineText,"onUpdate:modelValue":t[0]||(t[0]=m=>i.editableHeadlineText=m)},null,8,["class","modelValue"])):n.headlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),n.preHeadlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.headlineText?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:0},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("span",Cp,o.toDisplayString(n.preHeadlineText),1),o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.headlineText),1)])]),_:3})):o.createCommentVNode("",!0)],64)):n.headlineText?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.headlineTag),{key:2},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.headlineText),1)])]),_:3})):o.createCommentVNode("",!0)],64)):s.componentActive?(o.openBlock(),o.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:t[1]||(t[1]=(...m)=>s.onAddItem&&s.onAddItem(...m))},wp)):o.createCommentVNode("",!0)]),_:3},8,["componentProps","componentPath","allowDeleteComponent"]))}const U=V(fp,[["render",xp]]),Bp={name:"CmdTooltip",data(){return{tooltipVisibility:!1,pointerX:0,pointerY:0}},props:{cmdHeadline:{type:Object,default(){}},tooltipText:{type:String,required:!1},delayToShowTooltip:{type:Number,default:0},relatedId:{type:String,required:!1},validationStatus:{type:String,required:!1,validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},scrollContainer:{type:String,default:".page-wrapper"},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel",tooltip:"Close this tooltip!"}}},toggleVisibilityByClick:{type:Boolean,default:!1}},mounted(){if(this.relatedId){const e=document.getElementById(this.relatedId);e&&(document.querySelector(this.scrollContainer).addEventListener("scroll",this.hideTooltip),document.addEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?e.addEventListener("click",this.toggleTooltipVisibility):(e.addEventListener("mouseenter",this.showTooltip),e.addEventListener("mouseleave",this.hideTooltip)))}},methods:{toggleTooltipVisibility(e){this.getPointerPosition(e),this.tooltipVisibility=!this.tooltipVisibility},showTooltip(e){this.delayToShowTooltip>0?setTimeout(()=>{this.toggleVisibility(e)},this.delayToShowTooltip):this.toggleVisibility(e)},toggleVisibility(e){this.toggleVisibilityByClick||(this.tooltipVisibility=!0),this.getPointerPosition(e)},hideTooltipOnEsc(e){this.allowEscapeKey&&(e.key==="Escape"||e.key==="Esc")&&this.hideTooltip()},hideTooltip(){this.tooltipVisibility=!1},getPointerPosition(e){this.pointerX=e.clientX,this.pointerY=e.clientY}},unmounted(){if(this.relatedId){const e=document.getElementById(this.relatedId);e&&(document.removeEventListener("scroll",this.hideTooltip),document.removeEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?e.removeEventListener("click",this.toggleTooltipVisibility):(e.removeEventListener("mouseenter",this.showTooltip),e.removeEventListener("mouseleave",this.showTooltip)))}},watch:{tooltipVisibility(){this.tooltipVisibility&&this.$nextTick(()=>{this.$refs.tooltip.style.left=this.pointerX/10+"rem",this.$refs.tooltip.style.top=(this.pointerY+25)/10+"rem"})}}},_p={key:0,class:"headline-wrapper"},Ep=["title"];function Sp(e,t,n,r,i,s){const a=U,l=z;return i.tooltipVisibility?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["cmd-tooltip",n.validationStatus]),ref:"tooltip"},[n.cmdHeadline||n.iconClose.show?(o.openBlock(),o.createElementBlock("div",_p,[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.iconClose.show&&n.toggleVisibilityByClick?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.hideTooltip&&s.hideTooltip(...d),["prevent"])),title:n.iconClose.tooltip},[o.createVNode(l,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,Ep)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.tooltipText),1)])],2)):o.createCommentVNode("",!0)}const La=V(Bp,[["render",Sp]]),oe={props:{i18n:{type:[Object,Function],default:()=>({})}},methods:{getMessage(e,...t){if(!e)return"";let n=this.i18n;if(typeof this.i18n=="function"&&(n=this.i18n.call(this,e,t),typeof n!="object"))return n;let r=n[e]||this.getDefaultMessageProperty(e)||e;return typeof r=="function"?r.call(this,t||[]):(Array.isArray(t)&&t.length&&t.forEach((i,s)=>r=r.replace("{"+s+"}",i)),r)},getDefaultMessageProperty(e){var n;if(Object.hasOwn(this,"defaultMessageProperties")&&this.defaultMessageProperties&&this.defaultMessageProperties[e])return this.defaultMessageProperties[e];const t=Object.hasOwn(this,"fieldValidationDefaultMessageProperties")?"fieldValidationDefaultMessageProperties":null;return t&&((n=this[t])!=null&&n[e])?this[t][e]:null}}},Tp={name:"CmdListOfRequirements",mixins:[oe,{data(){return{defaultMessageProperties:{"list_of_requirements.headline.requirement_for_input":"Requirement for input","list_of_requirements.headline.requirements_for_input":"Requirements for input"}}}}],props:{inputModelValue:{type:[String,Boolean,Array,Number],default:""},inputAttributes:{type:Object,required:!0},labelText:{type:String,required:!1},inputRequirements:{type:Array,required:!0},helplink:{type:Object,required:!1},iconSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"success"}}},iconError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"error"}}},showHeadline:{type:Boolean,default:!0},cmdHeadline:{type:Object,default(){return{headlineLevel:6}}}},computed:{headlineRequirements(){return this.inputRequirements.length>1?this.getMessage("list_of_requirements.headline.requirements_for_input"):this.getMessage("list_of_requirements.headline.requirement_for_input")}}},Op={class:"cmd-list-of-requirements"},Np=o.createElementVNode("br",null,null,-1),Vp=o.createElementVNode("hr",null,null,-1),Fp=["href","target"],Ap={key:1};function Pp(e,t,n,r,i,s){var d,c,u;const a=U,l=z;return o.openBlock(),o.createElementBlock("div",Op,[n.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-level":n.cmdHeadline.headlineLevel},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(s.headlineRequirements),1),n.labelText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[Np,o.createElementVNode("em",null,o.toDisplayString(n.labelText),1)],64)):o.createCommentVNode("",!0)]),_:1},8,["headline-level"])):o.createCommentVNode("",!0),o.createElementVNode("dl",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.inputRequirements,(m,g)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:g},[o.createElementVNode("dt",{"aria-live":"assertive",class:o.normalizeClass(m.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},o.toDisplayString(m.message)+":",3),o.createElementVNode("dd",{class:o.normalizeClass(m.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},[o.createVNode(l,{"aria-live":"assertive",iconClass:m.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconClass:n.iconError.iconClass,type:m.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconType:n.iconError.iconType,title:m.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.tooltip:n.iconError.tooltip},null,8,["iconClass","type","title"])],2)],64))),128))]),n.helplink&&n.helplink.show?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[Vp,n.helplink.url?(o.openBlock(),o.createElementBlock("a",{key:0,href:n.helplink.url,target:n.helplink.target,onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"]))},[(d=n.helplink.icon)!=null&&d.iconClass?(o.openBlock(),o.createBlock(l,{key:0,class:o.normalizeClass((c=n.helplink.icon)==null?void 0:c.iconClass),title:(u=n.helplink.icon)==null?void 0:u.tooltip},null,8,["class","title"])):o.createCommentVNode("",!0),n.helplink.text?(o.openBlock(),o.createElementBlock("span",Ap,o.toDisplayString(n.helplink.text),1)):o.createCommentVNode("",!0)],8,Fp)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)])}const Lp=V(Tp,[["render",Pp]]),Ip={name:"CmdTooltipForFormElements",props:{relatedId:{type:String,default:""},validationStatus:{type:String,default:"",validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},cmdListOfRequirements:{type:Object,required:!1}},computed:{cmdListOfRequirementsProperties(){return{showRequirements:!0,validationTooltip:"",inputRequirements:[],inputAttributes:{},showHeadline:!0,inputModelValue:"",helplink:{},labelText:"",...this.cmdListOfRequirements}}},methods:{hideTooltip(){this.$refs.tooltip.hideTooltip()}}};function Mp(e,t,n,r,i,s){const a=Lp,l=La;return o.openBlock(),o.createBlock(l,{ref:"tooltip",class:o.normalizeClass(["cmd-tooltip-for-form-elements box",n.validationStatus]),relatedId:n.relatedId,"toggle-visibility-by-click":!0},{default:o.withCtx(()=>[s.cmdListOfRequirementsProperties.showRequirements?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},s.cmdListOfRequirementsProperties)),null,16)):o.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const sr=V(Ip,[["render",Mp]]),ar={data(){return{defaultMessageProperties:{"form_element.validation_tooltip.an_error_occurred":"An error occurred!","form_element.validation_tooltip.information_is_filled_correctly":"This information is filled correctly!","form_element.validation_tooltip.caps_lock_is_activated":"Attention: Caps lock is activated!","form_element.validation_tooltip.open_field_requirements":"Open field requirements!","form_element.validation_tooltip.is_valid_email":"Is valid e-mail-address"}}}},lr={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[oe,{data(){return{fieldValidationDefaultMessageProperties:{"field_validation.open_detailed_help":"Open detailed help!","field_validation.information_not_filled_correctly":"This information is not filled correctly!","field_validation.information_filled_correctly":"This information is filled correctly!","field_validation.caps_lock_is_activated":"Attention: Caps lock is activated!","field_validation.required_field_is_filled":"Required field is filled!","field_validation.field_contains_special_character":"Field contains special character","field_validation.input_has_minimum_length":"Input has minimum length"}}}}],props:{validationMessage:{type:String,required:!1},helplink:{type:Object,default(){return{show:!0,url:"helpurl",target:"help",text:"Open help",icon:{iconClass:"icon-questionmark-circle",tooltip:"Open help in new tab",iconType:"auto"}}}},customRequirements:{type:Array,required:!1},showRequirements:{type:Boolean,default:!0},iconHasStateError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Error",iconType:"auto"}}},iconHasStateWarning:{type:Object,default(){return{iconClass:"icon-exclamation-circle",tooltip:"Warning",iconType:"auto"}}},iconHasStateSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"Success",iconType:"auto"}}},iconHasStateInfo:{type:Object,default(){return{iconClass:"icon-info-circle",tooltip:"Info",iconType:"auto"}}},iconCapsLock:{type:Object,default(){return{iconClass:"icon-caps-lock-circle",iconType:"auto"}}},iconPasswordVisible:{type:Object,default(){return{iconClass:"icon-visible",tooltip:"Show password",iconType:"auto"}}},iconPasswordInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},cmdListOfRequirements:{type:Object,required:!1}},computed:{listOfRequirements(){return{validationTooltip:this.validationTooltip,inputRequirements:this.inputRequirements,inputAttributes:this.$attrs,inputModelValue:this.modelValue,labelText:this.labelText,i18n:this.i18n,...this.cmdListOfRequirements}},getValidationMessage(){if(this.validationStatus!==""){if(this.validationStatus==="error")return this.validationMessage?this.validationMessage:this.getMessage("field_validation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("field_validation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("field_validation.information_filled_correctly")}return null},getStatusIconClass(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconClass:this.validationStatus==="error"?this.iconHasStateError.iconClass:this.validationStatus==="warning"?this.iconHasStateWarning.iconClass:this.validationStatus==="success"?this.iconHasStateSuccess.iconClass:this.iconHasStateInfo.iconClass:this.helplink.icon.iconClass},inputRequirements(){const e=[];if(this.$attrs.required||Object.hasOwn(this,"required")&&this.required){const t=Object.hasOwn(this,"required")?this.required:this.$attrs.required;e.push({message:this.getRequirementMessage(),valid(n,r){return!r.required&&!t||n!=null&&String(n).length>0}})}return this.$attrs.minlength&&e.push({message:this.getMessage("field_validation.input_has_minimum_length")+" ("+this.modelValue.length+"/"+this.$attrs.minlength+")",valid(t,n){return t.length>=n.minlength}}),[...e,...this.additionalStandardRequirements()||[],...this.customRequirements||[]]}},methods:{checkForCapsLock(e){["password","number","url","email"].includes(this.$attrs.type)&&e.getModifierState("CapsLock")?(this.capsLockActivated=!0,this.validationStatus="warning"):this.capsLockActivated&&this.validationStatus==="warning"&&(this.capsLockActivated=!1,this.validationStatus="")},additionalStandardRequirements(){return[]},getRequirementMessage(){return this.getMessage("field_validation.required_field_is_filled")}},watch:{validationStatus:{handler(){this.$emit("validation-status-change",this.validationStatus)}}}};function tt(){let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(t==="x"?n:n&3|8).toString(16)})}function cr(){return"cmd-"+tt()}const un={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||cr()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},dr={};function Rp(e="defaultSequence"){const t=dr[e]||0;return dr[e]=t+1,dr[e]}const ur={data(){return{tooltip:!1,tooltipId:"tooltip-"+Rp()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},Dp=["color","date","datetime-local","file","number","range"],jp={inheritAttrs:!1,name:"CmdFormElement",mixins:[oe,ar,lr,un,ur],data(){return{errorOccurred:0}},props:{modelValue:{type:[String,Boolean,Array,Number],default:""},element:{type:String,validator(e){return e==="input"||e==="select"||e==="textarea"||e==="button"},required:!0},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!1},toggleSwitch:{type:Boolean,default:!1},onLabel:{type:String,required:!1},offLabel:{type:String,required:!1},colored:{type:Boolean,required:!1},inputValue:{type:[String,Number],required:!1},replaceInputType:{type:Boolean,default:!1},inputClass:{type:String,required:!1},datalist:{type:Object,required:!1},selectOptions:{type:Array,required:!1},showStatusIcon:{type:Boolean,default:!0},nativeButton:{type:Object,default(){return{text:"",icon:{show:!0,iconClass:"",position:"left",tooltip:""}}}},fieldIconClass:{type:String,required:!1},displayLabelInline:{type:Boolean,required:!1},stretchField:{type:Boolean,default:!1},status:{type:String,required:!1,validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},showCharactersTextarea:{type:Boolean,default:!0},textCharactersLeft:{type:String,default:"Characters left:"},showSearchButton:{type:Boolean,default:!0},iconDelete:{type:Object,default(){return{show:!0,iconClass:"icon-cancel-circle",tooltip:"Delete term"}}},iconSearch:{type:Object,default(){return{show:!0,iconClass:"icon-search",tooltip:"Search"}}},iconHasStateError:{type:Object,default(){return{show:!0,iconClass:"icon-error-circle",tooltip:"Error"}}},iconHasStateWarning:{type:Object,default(){return{show:!0,iconClass:"icon-warning-circle",tooltip:"Warning"}}},iconHasStateSuccess:{type:Object,default(){return{show:!0,iconClass:"icon-check-circle",tooltip:"Success"}}},iconHasStateInfo:{type:Object,default(){return{show:!0,iconClass:"icon-info-circle",tooltip:"Info"}}},useIconsForToggleSwitch:{type:Boolean,default:!1},toggleSwitchCheckedIconClass:{type:String,default:"icon-check-circle"},toggleSwitchUncheckedIconClass:{type:String,default:"icon-cancel-circle"},iconPasswordVisible:{type:Object,default(){return{show:!0,iconClass:"icon-visible",tooltip:"Show password"}}},iconPasswordInvisible:{type:Object,default(){return{show:!0,iconClass:"icon-not-visible"}}}},computed:{elementAttributes(){const e=["name","required","readonly","disabled","autofocus"],t={input:[...e,"type","minlength","pattern","min","max","multiple","step","autocomplete","placeholder"],select:[...e,"multiple"],textarea:[...e,"placeholder"]},n={};return t[this.element]&&Object.entries(this.$attrs).filter(([r])=>t[this.element].includes(r)).forEach(([r,i])=>n[r]=i),n},buttonAttrs(){var t,n;const e={...this.$attrs};return(t=this.nativeButton.icon)!=null&&t.tooltip&&(e.title=(n=this.nativeButton.icon)==null?void 0:n.tooltip),e},tooltipHeadline(){return{text:this.labelText,level:"5"}},isChecked(){return typeof this.modelValue=="boolean"?this.modelValue:typeof this.modelValue=="string"?this.modelValue===this.inputValue:typeof this.modelValue=="number"?this.modelValue===this.inputValue:this.modelValue!==void 0?this.modelValue.includes(this.inputValue):!1},charactersLeft(){return this.getMaxLength()-this.modelValue.length},validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("form_element.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("form_element.validation_tooltip.information_is_filled_correctly"):this.capsLockActivated?this.getMessage("form_element.validation_tooltip.caps_lock_is_activated"):this.getMessage("form_element.validation_tooltip.open_field_requirements"):this.getValidationMessage},autocomplete(){return this.$attrs.type!=="file"?this.datalist?"off":"on":null},toggleSwitchIconClass(){return this.toggleSwitch&&this.useIconsForToggleSwitch&&this.toggleSwitchUncheckedIconClass&&this.toggleSwitchCheckedIconClass?this.isChecked?this.toggleSwitchCheckedIconClass:this.toggleSwitchUncheckedIconClass:null}},methods:{setFocus(){var e;(e=this.$refs.label.querySelector("input, select, textarea"))==null||e.focus()},additionalStandardRequirements(){const e=[];return this.$attrs.type==="email"&&e.push({message:this.getMessage("form_element.validation_tooltip.is_valid_email"),valid:()=>this.$refs.input.checkValidity()}),e},getDomElement(){return this.$refs.label},getMaxLength(){return this.$attrs.element==="textarea"?this.$attrs.maxlength>0?this.$attrs.maxlength:5e3:Dp.includes(this.$attrs.type)?null:this.$attrs.maxlength>0?this.$attrs.maxlength:255},validateInput(e){var n;((n=e.target.closest("form"))==null?void 0:n.dataset.useValidation)==="true"&&(!["checkbox","radio"].includes(this.$attrs.type)&&this.modelValue&&(this.validationStatus="success"),typeof e.target.checkValidity=="function"&&!e.target.checkValidity()?this.validationStatus="error":this.customRequirements&&this.customRequirements.some(i=>!i.valid(this.modelValue))&&(this.validationStatus="error"),this.$emit("validation-status-change",this.validationStatus))},onBlur(e){this.validateInput(e),this.closeTooltipOnBlur(),this.$emit("blur",e)},onInput(e){this.validateInput(e),this.$emit("update:modelValue",e.target.value)},onChange(e){if(typeof this.modelValue=="boolean")this.$emit("update:modelValue",e.target.checked);else if(typeof this.modelValue=="string")this.$emit("update:modelValue",e.target.value);else if(this.modelValue!==void 0){let t=[...this.modelValue];e.target.checked?t.push(e.target.value):t=t.filter(n=>n!==e.target.value),this.$emit("update:modelValue",t)}},datalistFocus(){this.datalist&&this.$refs.label.focus()},showPassword(){const e=this.$refs.input,t=e.value;e.nextElementSibling.classList.replace(this.iconPasswordVisible.iconClass,this.iconPasswordInvisible.iconClass),e.setAttribute("type","text"),e.setAttribute("value",t)},hidePassword(){this.$refs.input.nextElementSibling.classList.replace(this.iconPasswordInvisible.iconClass,this.iconPasswordVisible.iconClass),this.$refs.input.setAttribute("type","password")},executeSearch(){this.$emit("search",this.value)},closeTooltipOnBlur(){this.$refs.tooltip&&this.$refs.tooltip.hideTooltip()},submit(e){this.$emit("submit",e)}},watch:{status:{handler(){this.validationStatus=this.status||""},immediate:!0}}},qp=["for","title"],zp=["innerHTML"],Hp={key:2,"aria-hidden":"true"},Up=["title","aria-errormessage","id"],Wp={key:1,class:"flex-container inner-input-wrapper"},Gp=["id","autocomplete","list","value","maxlength"],Jp=["title"],Kp=["id"],Zp=["value"],Xp=["checked","value","id","disabled","aria-invalid"],Qp=["innerHTML"],Yp={key:2},$p={class:"switch-label-wrapper"},vp=["checked","value","id","disabled","aria-invalid"],eg={class:"label-text"},tg={class:"label-text"},ng=["innerHTML"],og={key:0},rg=["id"],ig=["value","selected"],sg=["id","value","maxlength"],ag={key:6,class:"characters-left-wrapper"},lg={key:0},cg={key:7,class:"search-field-wrapper flex-container no-gap"},dg=["id","maxlength","value"],ug=["title"],mg=["title"],fg={key:1};function hg(e,t,n,r,i,s){var d,c,u,m,g,f,h,y,p,C,T,k,A,N,b,S,F,q,L,Be,_e,Ee,Se,Te;const a=z,l=sr;return n.element==="input"||n.element==="select"||n.element==="textarea"?(o.openBlock(),o.createElementBlock("label",{key:0,class:o.normalizeClass(["cmd-form-element",e.validationStatus,e.$attrs.class,{disabled:e.$attrs.disabled,inline:n.displayLabelInline,"stretch-field":n.stretchField,"toggle-switch":n.toggleSwitch,colored:n.colored,"has-state":e.validationStatus}]),for:e.htmlId,title:e.$attrs.title,ref:"label"},[(n.labelText||e.$slots.labeltext)&&e.$attrs.type!=="checkbox"&&e.$attrs.type!=="radio"?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},[o.createElementVNode("span",null,[n.labelText?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:n.labelText},null,8,zp)):o.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required!=null&&e.$attrs.required!==!1?(o.openBlock(),o.createElementBlock("sup",Hp,"*")):o.createCommentVNode("",!0)]),(e.$attrs.required||e.inputRequirements.length)&&n.showStatusIcon?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),title:s.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(a,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,Up)):o.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(o.openBlock(),o.createBlock(l,{key:1,ref:"tooltip",validationStatus:e.validationStatus,relatedId:e.tooltipId,cmdListOfRequirements:e.listOfRequirements,role:e.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","relatedId","cmdListOfRequirements","role"])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),e.$attrs.type!=="checkbox"&&e.$attrs.type!=="radio"&&e.$attrs.type!=="search"?(o.openBlock(),o.createElementBlock("span",Wp,[n.fieldIconClass?(o.openBlock(),o.createBlock(a,{key:0,class:"place-inside",iconClass:n.fieldIconClass},null,8,["iconClass"])):o.createCommentVNode("",!0),n.element==="input"&&e.$attrs.type!=="search"?(o.openBlock(),o.createElementBlock("input",o.mergeProps({key:1},s.elementAttributes,{id:e.htmlId,class:n.inputClass,onFocus:t[1]||(t[1]=P=>e.tooltip=!0),onBlur:t[2]||(t[2]=(...P)=>s.onBlur&&s.onBlur(...P)),onInput:t[3]||(t[3]=(...P)=>s.onInput&&s.onInput(...P)),onMouseover:t[4]||(t[4]=(...P)=>s.datalistFocus&&s.datalistFocus(...P)),onKeyup:t[5]||(t[5]=(...P)=>e.checkForCapsLock&&e.checkForCapsLock(...P)),onChange:t[6]||(t[6]=P=>e.$emit("change",P)),autocomplete:s.autocomplete,list:n.datalist?n.datalist.id:null,value:n.modelValue,maxlength:s.getMaxLength(),ref:"input"}),null,16,Gp)):o.createCommentVNode("",!0),e.$attrs.type==="password"?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",class:"place-inside",onMousedown:t[7]||(t[7]=o.withModifiers((...P)=>s.showPassword&&s.showPassword(...P),["prevent"])),onMouseup:t[8]||(t[8]=o.withModifiers((...P)=>s.hidePassword&&s.hidePassword(...P),["prevent"])),onMouseleave:t[9]||(t[9]=o.withModifiers((...P)=>s.hidePassword&&s.hidePassword(...P),["prevent"])),onClick:t[10]||(t[10]=o.withModifiers(()=>{},["prevent"])),title:n.iconPasswordVisible.tooltip},[o.createVNode(a,{iconClass:n.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,Jp)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.datalist&&n.datalist.options.length?(o.openBlock(),o.createElementBlock("datalist",{key:2,id:n.datalist.id},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.datalist.options,(P,de)=>(o.openBlock(),o.createElementBlock("option",{key:de,value:P},null,8,Zp))),128))],8,Kp)):n.element==="input"&&(e.$attrs.type==="checkbox"||e.$attrs.type==="radio")?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[n.onLabel&&n.offLabel?n.onLabel&&n.offLabel?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("span",$p,[o.createElementVNode("input",o.mergeProps(s.elementAttributes,{onChange:t[13]||(t[13]=(...P)=>s.onChange&&s.onChange(...P)),onBlur:t[14]||(t[14]=(...P)=>s.onBlur&&s.onBlur(...P)),checked:s.isChecked,value:n.inputValue,class:{inputClass:n.inputClass,validationStatus:e.validationStatus},id:e.htmlId,disabled:e.$attrs.disabled,"aria-invalid":e.validationStatus==="error"}),null,16,vp),o.createElementVNode("span",eg,o.toDisplayString(n.onLabel),1),o.createElementVNode("span",tg,o.toDisplayString(n.offLabel),1)]),n.labelText?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},[o.createElementVNode("span",{innerHTML:n.labelText},null,8,ng),e.$attrs.required?(o.openBlock(),o.createElementBlock("sup",og,"*")):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],64)):o.renderSlot(e.$slots,"default",{key:2}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("input",o.mergeProps(s.elementAttributes,{onChange:t[11]||(t[11]=(...P)=>s.onChange&&s.onChange(...P)),onBlur:t[12]||(t[12]=(...P)=>s.onBlur&&s.onBlur(...P)),checked:s.isChecked,value:n.inputValue,class:[n.inputClass,e.validationStatus,s.toggleSwitchIconClass,{"replace-input-type":n.replaceInputType}],id:e.htmlId,disabled:e.$attrs.disabled,"aria-invalid":e.validationStatus==="error"}),null,16,Xp),n.labelText||e.$slots.labeltext?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},[o.createElementVNode("span",null,[n.labelText?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:n.labelText},null,8,Qp)):o.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required?(o.openBlock(),o.createElementBlock("sup",Yp,"*")):o.createCommentVNode("",!0)])],2)):o.createCommentVNode("",!0)],64))],64)):o.createCommentVNode("",!0),n.element==="select"?(o.openBlock(),o.createElementBlock("select",o.mergeProps({key:4},s.elementAttributes,{id:e.htmlId,onBlur:t[15]||(t[15]=(...P)=>s.onBlur&&s.onBlur(...P)),onChange:t[16]||(t[16]=P=>e.$emit("update:modelValue",P.target.value))}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectOptions,(P,de)=>(o.openBlock(),o.createElementBlock("option",{key:de,value:P.value,selected:P.value===n.modelValue},o.toDisplayString(P.text),9,ig))),128))],16,rg)):o.createCommentVNode("",!0),n.element==="textarea"?(o.openBlock(),o.createElementBlock("textarea",o.mergeProps({key:5},s.elementAttributes,{id:e.htmlId,value:n.modelValue,maxlength:s.getMaxLength(),onInput:t[17]||(t[17]=(...P)=>s.onInput&&s.onInput(...P)),onFocus:t[18]||(t[18]=P=>e.tooltip=!0),onBlur:t[19]||(t[19]=(...P)=>s.onBlur&&s.onBlur(...P))}),null,16,sg)):o.createCommentVNode("",!0),n.element==="textarea"&&n.showCharactersTextarea?(o.openBlock(),o.createElementBlock("span",ag,[n.textCharactersLeft?(o.openBlock(),o.createElementBlock("span",lg,o.toDisplayString(n.textCharactersLeft),1)):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass(["characters-left",{error:s.charactersLeft===0}])},o.toDisplayString(s.charactersLeft),3)])):n.element==="input"&&e.$attrs.type==="search"?(o.openBlock(),o.createElementBlock("span",cg,[n.fieldIconClass?(o.openBlock(),o.createBlock(a,{key:0,class:"place-inside",iconClass:n.fieldIconClass},null,8,["iconClass"])):o.createCommentVNode("",!0),o.createElementVNode("input",o.mergeProps(s.elementAttributes,{id:e.htmlId,onInput:t[20]||(t[20]=(...P)=>s.onInput&&s.onInput(...P)),maxlength:s.getMaxLength(),value:n.modelValue}),null,16,dg),n.showSearchButton?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",class:o.normalizeClass(["button no-flex",{disabled:e.$attrs.disabled}]),title:n.iconSearch.tooltip,onClick:t[21]||(t[21]=o.withModifiers((...P)=>s.executeSearch&&s.executeSearch(...P),["prevent"]))},[o.createVNode(a,{iconClass:n.iconSearch.iconClass},null,8,["iconClass"])],10,ug)):o.createCommentVNode("",!0),(d=n.iconDelete)!=null&&d.show?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",onClick:t[22]||(t[22]=o.withModifiers(P=>e.$emit("update:modelValue",""),["prevent"])),title:(c=n.iconDelete)==null?void 0:c.tooltip},[o.createVNode(a,{iconClass:(u=n.iconDelete)==null?void 0:u.iconClass,type:(m=n.iconDelete)==null?void 0:m.iconType},null,8,["iconClass","type"])],8,mg)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],10,qp)):n.element==="button"?(o.openBlock(),o.createElementBlock("button",o.mergeProps({key:1,class:"button"},s.buttonAttrs,{onClick:t[23]||(t[23]=(...P)=>s.submit&&s.submit(...P))}),[(f=(g=n.nativeButton)==null?void 0:g.icon)!=null&&f.show&&(((y=(h=n.nativeButton)==null?void 0:h.icon)==null?void 0:y.position)==="before"||!((C=(p=n.nativeButton)==null?void 0:p.icon)!=null&&C.position))?(o.openBlock(),o.createBlock(a,{key:0,iconClass:(k=(T=n.nativeButton)==null?void 0:T.icon)==null?void 0:k.iconClass,type:(N=(A=n.nativeButton)==null?void 0:A.icon)==null?void 0:N.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(b=n.nativeButton)!=null&&b.icon&&((S=n.nativeButton)!=null&&S.text)?(o.openBlock(),o.createElementBlock("span",fg,o.toDisplayString(n.nativeButton.text),1)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createTextVNode(o.toDisplayString(n.nativeButton.text),1)],64)),(q=(F=n.nativeButton)==null?void 0:F.icon)!=null&&q.show&&((Be=(L=n.nativeButton)==null?void 0:L.icon)==null?void 0:Be.position)==="after"?(o.openBlock(),o.createBlock(a,{key:3,iconClass:(Ee=(_e=n.nativeButton)==null?void 0:_e.icon)==null?void 0:Ee.iconClass,type:(Te=(Se=n.nativeButton)==null?void 0:Se.icon)==null?void 0:Te.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],16)):o.createCommentVNode("",!0)}const X=V(jp,[["render",hg]]),pg={name:"CmdAddressDataItem",mixins:[Y],data(){return{editableAddressEntry:null}},props:{addressEntry:{type:Object,default:{}},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!1},linkGoogleMaps:{type:Boolean,default:!1},showCityBeforeZip:{type:Boolean,default:!1}},methods:{vCardClass(e){if(e.type==="company")return"org";if(e.type==="address"){if(e.streetNo)return"street-address";if(e.zip)return"postal-code";if(e.city)return"locality";if(e.country)return"country-name"}return null},inputType(e){return e.type==="phone"?"tel":e.type==="email"?"email":e.type==="url"?"url":"text"},locateAddress(e){return"https://www.google.com/maps/place/"+e.streetNo+", "+e.zip+" "+e.city},getHref(e){return e.type==="phone"?"tel:"+e.href:e.type==="email"?"mailto:"+e.href:e.type==="url"?e.href:null},addHandlerProvider(){const e={type:"default",iconClass:"icon-mail",data:"Your data",labelText:"Labeltext",tooltip:"Tooltip",href:"#"};return Q(this,{item(){return e}})},updateHandlerProvider(){const e=this.editableAddressEntry;return Q(this,{update(t){typeof e=="object"?Object.entries(e).forEach(([n,r])=>t[n]=r):t.href==null?t.data=e:t.href=e}})}},watch:{addressEntry:{handler(){this.addressEntry.type==="address"?this.editableAddressEntry={streetNo:this.addressEntry.streetNo,zip:this.addressEntry.zip,city:this.addressEntry.city,state:this.addressEntry.state,miscInfo:this.addressEntry.miscInfo,country:this.addressEntry.country}:this.editableAddressEntry=(this.addressEntry.href==null?this.addressEntry.data:this.addressEntry.href)||""},immediate:!0,deep:!0}}},gg=["id"],yg={key:1},bg=["href","target","title","data-type"],kg=["innerHTML"],Cg={key:1},wg=["href","title"],xg={class:"street-address"},Bg=o.createElementVNode("br",null,null,-1),_g={key:0,class:"postal-code"},Eg={key:1,class:"locality"},Sg=o.createElementVNode("br",null,null,-1),Tg={key:0},Og={key:3,class:"country-name"},Ng={class:"street-address"},Vg=o.createElementVNode("br",null,null,-1),Fg={key:0,class:"postal-code"},Ag={key:1,class:"locality"},Pg=o.createElementVNode("br",null,null,-1),Lg=o.createElementVNode("br",null,null,-1),Ig={key:3,class:"country-name"};function Mg(e,t,n,r,i,s){const a=z,l=X,d=o.resolveDirective("telephone");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("dt",{class:o.normalizeClass(["cmd-address-data-item",{address:n.addressEntry.type==="address"}]),id:n.addressEntry.id},[n.addressEntry.iconClass&&n.showLabelIcons?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.addressEntry.iconClass,type:n.addressEntry.iconType,tooltip:n.addressEntry.labelText},null,8,["iconClass","type","tooltip"])):o.createCommentVNode("",!0),n.showLabelTexts?(o.openBlock(),o.createElementBlock("span",yg,o.toDisplayString(n.addressEntry.labelText),1)):o.createCommentVNode("",!0)],10,gg),n.addressEntry.type!=="address"&&(n.addressEntry.data||n.addressEntry.href)?(o.openBlock(),o.createElementBlock("dd",{key:0,class:o.normalizeClass(s.vCardClass(n.addressEntry))},[e.editing?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:s.inputType(n.addressEntry),class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry,"onUpdate:modelValue":t[0]||(t[0]=c=>i.editableAddressEntry=c)},null,8,["type","labelText","placeholder","modelValue"])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.addressEntry.href?o.withDirectives((o.openBlock(),o.createElementBlock("a",{key:0,href:s.getHref(n.addressEntry),target:n.addressEntry.type==="url"?"_blank":null,title:n.addressEntry.tooltip,"data-type":n.addressEntry.type},[o.createTextVNode(o.toDisplayString(n.addressEntry.data||n.addressEntry.href),1)],8,bg)),[[d,n.addressEntry.href]]):(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:n.addressEntry.data},null,8,kg))],64))],2)):n.addressEntry.name==="address"?(o.openBlock(),o.createElementBlock("dd",Cg,[n.linkGoogleMaps&&!e.editing?(o.openBlock(),o.createElementBlock("a",{key:0,href:s.locateAddress(n.addressEntry),target:"google-maps",title:n.addressEntry.tooltip},[n.addressEntry.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",xg,o.toDisplayString(n.addressEntry.streetNo),1),Bg],64)):o.createCommentVNode("",!0),n.addressEntry.zip||n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"city-zip":"zip-city")},[n.addressEntry.zip?(o.openBlock(),o.createElementBlock("span",_g,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",Eg,[o.createTextVNode(o.toDisplayString(n.addressEntry.city),1),n.addressEntry.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(n.addressEntry.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),Sg,n.addressEntry.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(n.addressEntry.miscInfo),1),n.addressEntry.country?(o.openBlock(),o.createElementBlock("br",Tg)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),n.addressEntry.country?(o.openBlock(),o.createElementBlock("span",Og,o.toDisplayString(n.addressEntry.country),1)):o.createCommentVNode("",!0)],8,wg)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.streetNo,"onUpdate:modelValue":t[1]||(t[1]=c=>i.editableAddressEntry.streetNo=c)},null,8,["labelText","placeholder","modelValue"]),o.createElementVNode("div",{class:o.normalizeClass([n.showCityBeforeZip?"city-zip":"zip-city","input-wrapper"])},[o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.zip,"onUpdate:modelValue":t[2]||(t[2]=c=>i.editableAddressEntry.zip=c)},null,8,["labelText","placeholder","modelValue"]),o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.city,"onUpdate:modelValue":t[3]||(t[3]=c=>i.editableAddressEntry.city=c)},null,8,["labelText","placeholder","modelValue"])],2),o.createVNode(l,{element:"input",type:"text",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,placeholder:n.addressEntry.labelText,modelValue:i.editableAddressEntry.miscInfo,"onUpdate:modelValue":t[4]||(t[4]=c=>i.editableAddressEntry.miscInfo=c)},null,8,["labelText","placeholder","modelValue"]),o.createVNode(l,{element:"select",class:"edit-mode","show-label":!1,labelText:n.addressEntry.labelText,selectOptions:[{text:"Germany",value:"de"},{text:"United Kingdom",value:"uk"}],modelValue:i.editableAddressEntry.country,"onUpdate:modelValue":t[5]||(t[5]=c=>i.editableAddressEntry.country=c)},null,8,["labelText","modelValue"])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.addressEntry.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",Ng,o.toDisplayString(n.addressEntry.streetNo),1),Vg],64)):o.createCommentVNode("",!0),n.addressEntry.zip||n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"city-zip":"zip-city")},[n.addressEntry.zip?(o.openBlock(),o.createElementBlock("span",Fg,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",Ag,[o.createTextVNode(o.toDisplayString(n.addressEntry.city),1),n.addressEntry.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(" "+o.toDisplayString(n.addressEntry.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),Pg,n.addressEntry.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(n.addressEntry.miscInfo),1),Lg],64)):o.createCommentVNode("",!0),n.addressEntry.country?(o.openBlock(),o.createElementBlock("span",Ig,o.toDisplayString(n.addressEntry.country),1)):o.createCommentVNode("",!0)],64))],64))])):o.createCommentVNode("",!0)],64)}const Rg=V(pg,[["render",Mg]]),Dg={name:"CmdAddressData",mixins:[Y],props:{useSlot:{type:Boolean,default:!1},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!1},showIconsOnly:{type:Boolean,default:!1},showLabels:{type:Boolean,default:!0},addressData:{type:Array,required:!0},showCityBeforeZip:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1}},data(){return{editableAddressData:[]}},computed:{websiteUrlText(){var e;return(e=this.addressData.website)==null?void 0:e.text.replace("https://","")}},methods:{onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","addressData",-1),this.itemProvider)},itemProvider(){return{name:"name",iconClass:"icon-company",data:"Your data",labelText:"Label"}},locateAddress(e){return"https://www.google.com/maps/place/"+e.streetNo+", "+e.zip+" "+e.city},getHref(e){return e.name==="phone"?"tel:"+e.href:e.name==="email"?"mailto:"+e.href:e.name==="url"?e.href:null},updateHandlerProvider(){return Q(this,{update(e,t){const n=t==null?void 0:t.find(r=>r.name==="CmdHeadline");n&&(e.cmdHeadline=e.cmdHeadline||{},n.update(e.cmdHeadline))}})}},watch:{}},jg={class:"cmd-address-data vcard"},qg={class:"adr"},zg={key:0},Hg=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],Ug=["href","target","title"],Wg=["innerHTML"],Gg=["href","title"],Jg={class:"street-address"},Kg=o.createElementVNode("br",null,null,-1),Zg={key:0,class:"postal-code"},Xg={key:1,class:"locality"},Qg=o.createElementVNode("br",null,null,-1),Yg=o.createElementVNode("br",null,null,-1),$g=o.createElementVNode("br",null,null,-1),vg={key:4,class:"country-name"},ey={class:"street-address"},ty=o.createElementVNode("br",null,null,-1),ny={key:0,class:"postal-code"},oy={key:1,class:"locality"},ry=o.createElementVNode("br",null,null,-1),iy=o.createElementVNode("br",null,null,-1),sy=o.createElementVNode("br",null,null,-1),ay={key:4,class:"country-name"};function ly(e,t,n,r,i,s){var u;const a=U,l=Rg,d=Ae,c=z;return o.openBlock(),o.createElementBlock("div",jg,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(u=n.cmdHeadline)!=null&&u.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("address",qg,[n.showLabels&&(n.showLabelTexts||n.showLabelIcons)&&!n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[e.editModeContext?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.addressData.length===0?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:t[0]||(t[0]=(...m)=>s.onAddItem&&s.onAddItem(...m))},Hg)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(m,g)=>(o.openBlock(),o.createBlock(d,{key:"x"+g,class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdAddressDataItem",componentProps:m,componentPath:["props","addressData",g]},{default:o.withCtx(()=>[o.createElementVNode("dl",null,[o.createVNode(l,{addressEntry:m,showLabelIcons:n.showLabelIcons,showLabelTexts:n.showLabelTexts},null,8,["addressEntry","showLabelIcons","showLabelTexts"])])]),_:2},1032,["componentProps","componentPath"]))),128))],64)):(o.openBlock(),o.createElementBlock("dl",zg,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(m,g)=>(o.openBlock(),o.createBlock(l,{key:g,addressEntry:m,showLabelIcons:n.showLabelIcons,showLabelTexts:n.showLabelTexts,showCityBeforeZip:n.showCityBeforeZip},null,8,["addressEntry","showLabelIcons","showLabelTexts","showCityBeforeZip"]))),128))]))],64)):(o.openBlock(),o.createElementBlock("ul",{key:1,class:o.normalizeClass(["flex-container",{vertical:!n.showIconsOnly}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(m,g)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:g},[m.href||m.name==="address"&&m.linkGoogleMaps||!n.showIconsOnly?(o.openBlock(),o.createElementBlock("li",{key:0,class:o.normalizeClass({"no-flex":n.showIconsOnly})},[m.href?(o.openBlock(),o.createElementBlock("a",{key:0,href:s.getHref(m),target:m.name==="url"?"_blank":null,title:m.tooltip},[n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(m.href),1)],64))],8,Ug)):n.showIconsOnly?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:m.data},null,8,Wg)),m.name==="address"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[m.linkGoogleMaps?(o.openBlock(),o.createElementBlock("a",{key:0,href:s.locateAddress(m),target:"google-maps",title:m.tooltip},[n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[m.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",Jg,o.toDisplayString(m.streetNo),1),Kg],64)):o.createCommentVNode("",!0),m.zip||m.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[m.zip?(o.openBlock(),o.createElementBlock("span",Zg,o.toDisplayString(m.zip)+" ",1)):o.createCommentVNode("",!0),m.city?(o.openBlock(),o.createElementBlock("span",Xg,[o.createTextVNode(o.toDisplayString(m.city),1),m.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(m.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),Qg],2)):o.createCommentVNode("",!0),m.pobox?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(m.pobox),1),Yg],64)):o.createCommentVNode("",!0),m.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createElementVNode("span",null,o.toDisplayString(m.miscInfo),1),$g],64)):o.createCommentVNode("",!0),m.country?(o.openBlock(),o.createElementBlock("span",vg,o.toDisplayString(m.country),1)):o.createCommentVNode("",!0)],64))],8,Gg)):o.createCommentVNode("",!0),!m.linkGoogleMaps&&!n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[m.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",ey,o.toDisplayString(m.streetNo),1),ty],64)):o.createCommentVNode("",!0),m.zip||m.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[m.zip?(o.openBlock(),o.createElementBlock("span",ny,o.toDisplayString(m.zip)+" ",1)):o.createCommentVNode("",!0),m.city?(o.openBlock(),o.createElementBlock("span",oy,[o.createTextVNode(o.toDisplayString(m.city),1),m.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(m.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),ry],2)):o.createCommentVNode("",!0),m.pobox?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(m.pobox),1),iy],64)):o.createCommentVNode("",!0),m.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createElementVNode("span",null,o.toDisplayString(m.miscInfo),1),sy],64)):o.createCommentVNode("",!0),m.country?(o.openBlock(),o.createElementBlock("span",ay,o.toDisplayString(m.country),1)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],64))),128))],2))])],64))])}const Ia=V(Dg,[["render",ly]]),cy={name:"CmdBackToTopButton",data(){var e;return{windowInnerHeight:window.innerHeight,windowScrollY:this.getScrollY(),scrollHeight:((e=document.querySelector(this.scrollContainer))==null?void 0:e.scrollHeight)||0}},props:{scrollContainer:{type:String,default:"body"},cmdIcon:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-up",tooltip:"Back to top",iconType:"auto"}}}},mounted(){var e;window.addEventListener("resize",this.onViewportChange),this.scrollContainer==="body"?window.addEventListener("scroll",this.onViewportChange):(e=document.querySelector(this.scrollContainer))==null||e.addEventListener("scroll",this.onViewportChange)},unmounted(){var e;window.removeEventListener("resize",this.onViewportChange),this.scrollContainer==="body"?window.addEventListener("scroll",this.onViewportChange):(e=document.querySelector(this.scrollContainer))==null||e.removeEventListener("scroll",this.onViewportChange)},computed:{show(){return this.windowScrollY>0&&this.windowInnerHeight<this.scrollHeight}},methods:{getScrollY(){var e;return this.scrollContainer==="body"?window.scrollY:((e=document.querySelector(this.scrollContainer))==null?void 0:e.scrollTop)||0},onViewportChange(){var e;this.windowInnerHeight=window.innerHeight,this.windowScrollY=this.getScrollY(),this.scrollHeight=((e=document.querySelector(this.scrollContainer))==null?void 0:e.scrollHeight)||0},onBackToTop(){var e;this.scrollContainer==="body"?window.scrollTo({top:0,left:0,behavior:"smooth"}):(e=document.querySelector(this.scrollContainer))==null||e.scrollTo({top:0,left:0,behavior:"smooth"})}}},dy=["title"];function uy(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>[s.show?(o.openBlock(),o.createElementBlock("a",{key:0,class:"cmd-back-to-top-button button",id:"back-to-top-button",href:"#",role:"button",title:n.cmdIcon.tooltip,onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.onBackToTop&&s.onBackToTop(...l),["prevent"]))},[o.createVNode(a,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,dy)):o.createCommentVNode("",!0)]),_:1})}const my=V(cy,[["render",uy]]),fy={name:"CmdBankAccountData",props:{useSlot:{type:Boolean,default:!1},accountData:{type:Array,required:!0},allowCopyByClick:{type:Boolean,default:!0},additionalInformation:{type:String,required:!1},cmdIcon:{type:Object,default(){return{iconClass:"icon-file-copy",tooltip:"Copy data to clipboard!",iconType:"auto"}}},cmdHeadline:{type:Object,required:!1}},methods:{copyToClipboard(e){const t=e.replace(/\s/g,"");navigator.clipboard.writeText(t),alert(t+" was copied to clipboard")}}},hy={class:"cmd-bank-account-data"},py={key:0},gy=["onClick","title"],yy={key:1};function by(e,t,n,r,i,s){const a=U,l=z;return o.openBlock(),o.createElementBlock("div",hy,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("dl",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.accountData,(d,c)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:c},[o.createElementVNode("dt",null,o.toDisplayString(d.text),1),n.allowCopyByClick&&d.allowCopy?(o.openBlock(),o.createElementBlock("dd",py,[o.createElementVNode("span",null,o.toDisplayString(d.value),1),o.createElementVNode("a",{href:"#",onClick:o.withModifiers(u=>s.copyToClipboard(d.value),["prevent"]),title:n.cmdIcon.tooltip},[o.createVNode(l,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,gy)])):(o.openBlock(),o.createElementBlock("dd",{key:c},o.toDisplayString(d.value),1))],64))),128))]),n.additionalInformation?(o.openBlock(),o.createElementBlock("p",yy,o.toDisplayString(n.additionalInformation),1)):o.createCommentVNode("",!0)],64))])}const ky=V(fy,[["render",by]]),Cy={name:"CmdForm",emits:["submit"],data(){return{errorOccurred:!1,formValues:{}}},props:{formAction:{type:String,required:!1},formMethod:{type:String,default:"POST",validator(e){return e==="POST"||e==="GET"}},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},useSlot:{type:Boolean,default:!0},formElements:{type:Array,required:!1},novalidate:{type:Boolean,default:!0},useValidation:{type:Boolean,default:!0},useFieldset:{type:Boolean,default:!0},submitButton:{type:Object,required:!1}},computed:{submitButtonOptions(){return{iconClass:"icon-check",text:"Submit",type:"submit",position:"insideFieldset",primary:!0,...this.submitButton}}},methods:{createHtmlId:cr,submitFormData(e){let t={};this.formElements&&this.formElements.forEach(n=>{t[n.name]=this.formValues[n.name]}),this.$emit("submit",{originalEvent:e,formdata:t})},onSubmit(e){this.useValidation?e.target.checkValidity()?(this.errorOccurred=!1,this.submitFormData(e)):(e.preventDefault(),this.errorOccurred=!0):this.submitFormData(e)}},watch:{formElements:{handler(){var e;this.formValues={},(e=this.formElements)==null||e.forEach(t=>{t.type==="checkbox"?(this.formValues[t.name]||(this.formValues[t.name]=[]),t.value!=null&&this.formValues[t.name].push(t.value)):this.formValues[t.name]=t.value??""})},immediate:!0,deep:!0}}},wy=["action","data-use-validation","novalidate","method"],xy={class:"flex-container"},By=["type"],_y={key:1},Ey={key:0,class:"button-wrapper"},Sy=["type"],Ty={key:1};function Oy(e,t,n,r,i,s){const a=X;return o.openBlock(),o.createElementBlock("form",{class:o.normalizeClass(["cmd-form",{error:i.errorOccurred}]),action:n.formAction,"data-use-validation":n.useValidation,onSubmit:t[0]||(t[0]=(...l)=>s.onSubmit&&s.onSubmit(...l)),novalidate:n.novalidate,method:n.formMethod},[n.useFieldset?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("fieldset",xy,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(n.formElements,(l,d)=>(o.openBlock(),o.createBlock(a,{key:d,element:l.element||"input",type:l.type||"text",name:l.name,class:o.normalizeClass(l.htmlClass),id:l.id||s.createHtmlId(),modelValue:i.formValues[l.name],"onUpdate:modelValue":c=>i.formValues[l.name]=c,inputValue:l.inputValue,fieldIconClass:l.innerIconClass,selectOptions:l.selectOptions,labelText:l.labelText,placeholder:l.placeholder,required:l.required,disabled:l.disabled,autocomplete:l.autocomplete,minlength:l.minlength,maxlength:l.maxlength,nativeButton:l.nativeButton},null,8,["element","type","name","class","id","modelValue","onUpdate:modelValue","inputValue","fieldIconClass","selectOptions","labelText","placeholder","required","disabled","autocomplete","minlength","maxlength","nativeButton"]))),128)),s.submitButtonOptions&&(s.submitButtonOptions.position==="insideFieldset"||s.submitButtonOptions.position===null)?(o.openBlock(),o.createElementBlock("button",{key:2,class:o.normalizeClass(["button",{primary:s.submitButtonOptions.primary}]),type:s.submitButtonOptions.type},[s.submitButtonOptions.iconClass?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(s.submitButtonOptions.iconClass)},null,2)):o.createCommentVNode("",!0),s.submitButtonOptions.text?(o.openBlock(),o.createElementBlock("span",_y,o.toDisplayString(s.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,By)):o.createCommentVNode("",!0)]),s.submitButtonOptions&&s.submitButtonOptions.position==="belowFieldset"?(o.openBlock(),o.createElementBlock("div",Ey,[o.createElementVNode("button",{class:o.normalizeClass(["button",{primary:s.submitButtonOptions.primary}]),type:s.submitButtonOptions.type||"submit"},[s.submitButtonOptions.iconClass?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(s.submitButtonOptions.iconClass)},null,2)):o.createCommentVNode("",!0),s.submitButtonOptions.text?(o.openBlock(),o.createElementBlock("span",Ty,o.toDisplayString(s.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,Sy)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"button-row")],64)):o.renderSlot(e.$slots,"default",{key:1})],42,wy)}const Ma=V(Cy,[["render",Oy]]),Ny={data(){return{defaultMessageProperties:{"basic_form.legend":"Basic Form","basic_form.labeltext.salutation_male":"Mr.","basic_form.labeltext.salutation_female":"Mrs.","basic_form.labeltext.last_name":"Last name:","basic_form.placeholder.last_name":"Last name:","basic_form.labeltext.first_name":"First name:","basic_form.placeholder.first_name":"First name:","basic_form.labeltext.email":"Email:","basic_form.placeholder.email":"Email:","basic_form.labeltext.phone":"Phone:","basic_form.placeholder.phone":"Phone:","basic_form.labeltext.street_no":"Street/No.:","basic_form.placeholder.street_no":"Street/No.:","basic_form.labeltext.zip":"Zip:","basic_form.placeholder.zip":"Zip:","basic_form.labeltext.city":"City:","basic_form.placeholder.city":"City:","basic_form.labeltext.pobox":"PO Box:","basic_form.placeholder.pobox":"PO Box:","basic_form.labeltext.country":"Country:","basic_form.labeltext.additional_address_info":"Additional address information:","basic_form.placeholder.additional_address_info":"Additional address information","basic_form.labeltext.user_message":"Your message:","basic_form.placeholder.user_message":"Your message","basic_form.text.characters_left":"Characters left","basic_form.labeltext.data_privacy":"I accept handling and saving of my personal data a mentioned in the <a href='/content/data-privacy-en.html' class='fancybox'>private policy</a>."}}}},De=class De{constructor(t){en(this,"label");this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,De.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,De.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.userMessage.error,t.userMessage.errorMessage]=this.validateRequired(t.userMessage.value,De.PATTERN_MESSAGE,this.label("form_error_invalid_message")),t.acceptPrivacy.error=!1,t.error=t.lastName.error||t.email.error||t.userMessage.error,t}validatePrivacy(t){return t.acceptPrivacy.error=!t.acceptPrivacy.value,t.acceptPrivacy.errorMessage=t.acceptPrivacy.error?this.label("form_error_missing_privacy_consent"):"",t.error=t.error||t.acceptPrivacy.error,t}validateRequired(t,n,r){return!t||t.trim().length===0?[!0,this.label("form_error_empty")]:n&&!n.test(t)?[!0,r||this.label("form_error_invalid")]:[!1,""]}};en(De,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),en(De,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),en(De,"PATTERN_MESSAGE",/^.{2,500}$/);let mr=De;function nt(e){if(e){const t=e.lastIndexOf(".");if(t>-1)return e.substring(t+1)}return""}function Ra(e,t,n,r,i){const s=[];if(e.size>r&&s.push("file too large"),t.includes(nt(e.name))||s.push("disallowed file extension"),s.length){alert(s);return}const a=new Image;a.onload=()=>{if(a.width<n&&!confirm("width ("+a.width+" px) too small - at least "+n+" px required! Use trotzdem!")){alert("Cancel");return}URL.revokeObjectURL(a.src),typeof i=="function"?i(a.src):i.src=a.src},a.src=URL.createObjectURL(e)}const Vy={name:"CmdImage",mixins:[Y],data(){return{mediumMaxWidth:1023,smallMaxWidth:600,currentWindowWidth:window.innerWidth,allowedFileExtensions:["gif","jpg","jpeg","png","webp","svg"],uploadInitiated:!1,allowDrop:!1,showFigcaption:!0,figcaptionText:null,figcaptionPosition:null,figcaptionTextAlign:null,tooltip:null,alternativeText:null,newImageSource:null,positionOptions:[{text:"Above image",value:"top"},{text:"Below image",value:"bottom"}],textAlignOptions:[{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]}},props:{image:{type:Object,required:!1},useFigureTag:{type:Boolean,default:!0},figcaption:{type:Object,required:!1},maxFileUploadSize:{type:Number,default:5e5},minImageWidth:{type:Number,default:600}},created(){window.addEventListener("resize",this.updateWindowWidth);const e=getComputedStyle(document.documentElement);this.mediumMaxWidth=parseInt(e.getPropertyValue("--medium-max-width")),this.smallMaxWidth=parseInt(e.getPropertyValue("--small-max-width"))},beforeUnmount(){window.removeEventListener("resize",this.updateWindowWidth)},computed:{imageComponentPath(){return this.componentPath||["props","cmdImage"]},imageSource(){var n;if(this.newImageSource)return this.newImageSource;const e=(n=this.image)==null?void 0:n.src;if(!e)return null;if(typeof e=="string")return e;const t=this.currentWindowWidth;return e.small&&t<=this.smallMaxWidth?e.small:e.medium&&t<=this.mediumMaxWidth?e.medium:e.large},textAlign(){var e;return(e=this.figcaption)!=null&&e.textAlign?"text-"+this.figcaption.textAlign:""},dragAndDropHandler(){return{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}},editableFigcaptionText:{get(){var e;return this.figcaptionText==null?(e=this.figcaption)==null?void 0:e.text:this.figcaptionText},set(e){this.figcaptionText=e}}},methods:{onImageLoaded(e){this.$emit("image-loaded",e)},itemProvider(){var t,n;const e=(n=(t=this.editModeConfig)==null?void 0:t.itemProviderOverwrite)==null?void 0:n.call(t);return{image:{src:"/media/images/demo-images/medium/landscape-01.jpg",alt:"Alternative Text",...(e==null?void 0:e.image)||{}},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.$refs.editComponentWrapper.editComponent()},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},fileSelected(e){e.target.files.length>0&&Ra(e.target.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,t=>this.newImageSource=t)},updateWindowWidth(){this.currentWindowWidth=window.innerWidth},getImage(){return{image:{...this.image},figcaption:{show:this.showFigcaption,position:this.figcaptionPosition,textAlign:this.figcaptionTextAlign,text:this.figcaptionText}}},dragEnter(e){this.dragOver(e)},dragOver(e){e.dataTransfer&&e.dataTransfer.items&&e.dataTransfer.items.length>0&&(e.dataTransfer.dropEffect="none",e.dataTransfer.items[0].kind==="file"&&(e.preventDefault(),e.dataTransfer.dropEffect="copy",this.allowDrop=!0))},dragLeave(){this.allowDrop=!1},drop(e){this.allowDrop=!1,e.dataTransfer&&e.dataTransfer.files&&e.dataTransfer.files.length>0&&(e.preventDefault(),Ra(e.dataTransfer.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,t=>this.newImageSource=t))},addHandlerProvider(){const e={image:{id:tt(),src:"media/images/demo-images/large/landscape-06.jpg",srcImageLarge:"media/images/demo-images/large/landscape-06.jpg",alt:"Alternative Text"},figcaption:{show:!0,position:"bottom",text:"Figcaption",textAlign:"center"}};return Q(this,{item(){return e}})},updateHandlerProvider(){const e=this.figcaptionText;return this.figcaptionText=null,Q(this,{update(t){t.figcaption||(t.figcaption={}),t.figcaption.text=e}})}},watch:{figcaption:{handler(){var e,t,n,r;this.showFigcaption=(e=this.figcaption)==null?void 0:e.show,this.figcaptionText=(t=this.figcaption)==null?void 0:t.text,this.figcaptionPosition=(n=this.figcaption)==null?void 0:n.position,this.figcaptionTextAlign=(r=this.figcaption)==null?void 0:r.textAlign},immediate:!0,deep:!0}}},Fy=["innerHTML"],Ay=o.createElementVNode("span",{class:"icon-image"},null,-1),Py=["src","alt","title"],Ly=["src","alt","title"],Iy=["innerHTML"],My=[o.createElementVNode("span",{class:"icon-add"},null,-1),o.createElementVNode("span",null,"Add new image",-1)],Ry=["innerHTML"],Dy=["src","alt","title"],jy=["innerHTML"],qy=["src","alt","title"];function zy(e,t,n,r,i,s){var d,c,u,m,g,f,h,y,p,C,T,k,A;const a=X,l=Ae;return e.editModeContext?(o.openBlock(),o.createBlock(l,{key:0,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdImage",componentProps:{image:n.image,figcaption:n.figcaption},componentPath:s.imageComponentPath,allowDeleteComponent:!!s.imageSource,itemProvider:((d=e.editModeConfig)==null?void 0:d.allowAddItem)!==!1?s.itemProvider:null},{default:o.withCtx(N=>{var b,S,F,q,L,Be,_e,Ee,Se,Te,P,de;return[o.createElementVNode("figure",{class:o.normalizeClass(["cmd-image flex-container no-gap vertical",s.textAlign])},[(b=n.figcaption)!=null&&b.show&&((S=n.figcaption)==null?void 0:S.position)==="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[N.editing?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:"text",class:o.normalizeClass([s.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",modelValue:s.editableFigcaptionText,"onUpdate:modelValue":t[0]||(t[0]=re=>s.editableFigcaptionText=re)},null,8,["class","modelValue"])):(F=n.figcaption)!=null&&F.text?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(q=n.figcaption)==null?void 0:q.text},null,8,Fy)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),N.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("a",o.mergeProps({href:"#",class:["box drop-area flex-container vertical",{"allow-drop":i.allowDrop}]},o.toHandlers(s.dragAndDropHandler,!0),{onClick:t[1]||(t[1]=o.withModifiers((...re)=>s.selectFiles&&s.selectFiles(...re),["prevent"])),title:"Drag new image to this area to replace old one!"}),[Ay,o.createElementVNode("img",{src:s.imageSource,alt:(L=n.image)==null?void 0:L.alt,title:(Be=n.image)==null?void 0:Be.tooltip},null,8,Py)],16),o.createVNode(a,{class:"hidden",element:"input",type:"file",labelText:"Select new image",disabled:i.uploadInitiated,onChange:s.fileSelected,ref:"formElement"},null,8,["disabled","onChange"])],64)):s.imageSource?(o.openBlock(),o.createElementBlock("img",{key:2,src:s.imageSource,alt:(_e=n.image)==null?void 0:_e.alt,title:(Ee=n.image)==null?void 0:Ee.tooltip},null,8,Ly)):o.createCommentVNode("",!0),(Se=n.figcaption)!=null&&Se.show&&((Te=n.figcaption)==null?void 0:Te.position)!=="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[N.editing?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:"text",class:o.normalizeClass([s.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",showLabel:!1,modelValue:s.editableFigcaptionText,"onUpdate:modelValue":t[2]||(t[2]=re=>s.editableFigcaptionText=re),placeholder:"figcaption"},null,8,["class","modelValue"])):(P=n.figcaption)!=null&&P.text?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(de=n.figcaption)==null?void 0:de.text},null,8,Iy)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),!N.editing&&!s.imageSource?(o.openBlock(),o.createElementBlock("button",{key:4,type:"button",class:"button confirm",onClick:t[3]||(t[3]=(...re)=>s.onAddItem&&s.onAddItem(...re))},My)):o.createCommentVNode("",!0)],2)]}),_:1},8,["componentProps","componentPath","allowDeleteComponent","itemProvider"])):n.useFigureTag?(o.openBlock(),o.createElementBlock("figure",{key:1,class:o.normalizeClass(["cmd-image",s.textAlign])},[((c=n.figcaption)==null?void 0:c.position)==="top"&&((u=n.figcaption)!=null&&u.text)&&((m=n.figcaption)!=null&&m.show)?(o.openBlock(),o.createElementBlock("figcaption",{key:0,innerHTML:(g=n.figcaption)==null?void 0:g.text},null,8,Ry)):o.createCommentVNode("",!0),o.createElementVNode("img",{src:s.imageSource,alt:(f=n.image)==null?void 0:f.alt,title:(h=n.image)==null?void 0:h.tooltip,onLoad:t[4]||(t[4]=(...N)=>s.onImageLoaded&&s.onImageLoaded(...N))},null,40,Dy),((y=n.figcaption)==null?void 0:y.position)!=="top"&&((p=n.figcaption)!=null&&p.text)&&((C=n.figcaption)!=null&&C.show)?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(T=n.figcaption)==null?void 0:T.text},null,8,jy)):o.createCommentVNode("",!0)],2)):(o.openBlock(),o.createElementBlock("img",{key:2,src:s.imageSource,alt:(k=n.image)==null?void 0:k.alt,title:(A=n.image)==null?void 0:A.tooltip,onLoad:t[5]||(t[5]=(...N)=>s.onImageLoaded&&s.onImageLoaded(...N))},null,40,qy))}const Ne=V(Vy,[["render",zy]]),Hy={name:"CmdSlideButton",props:{slideButtonType:{type:String,default:"next",validator(e){return e==="next"||e==="prev"||e==="up"||e==="down"}},slideButtons:{type:Object,default:function(){return{prev:{iconClass:"icon-chevron-one-stripe-left",tooltip:"Previous"},next:{iconClass:"icon-chevron-one-stripe-right",tooltip:"Next"},up:{iconClass:"icon-chevron-one-stripe-up",tooltip:"Previous"},down:{iconClass:"icon-chevron-one-stripe-down",tooltip:"Next"}}}}},computed:{getDirection(){return this.slideButtons[this.slideButtonType]?this.slideButtons[this.slideButtonType]:(console.warn("Property 'slideButtonType' does not match slideButtons-key"),{})}}},Uy=["title"];function Wy(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),class:o.normalizeClass(["cmd-slide-button","button","keep-behavior-on-small-devices",n.slideButtonType]),title:s.getDirection.tooltip},[o.createVNode(a,{type:s.getDirection.iconType||"auto",iconClass:s.getDirection.iconClass||"next"},null,8,["type","iconClass"])],10,Uy)}const bt=V(Hy,[["render",Wy]]),Gy={name:"CmdThumbnailScroller",emits:["click"],mixins:[oe,{data(){return{defaultMessageProperties:{"thumbnail_scroller.tooltip.open_large_image":"Open large image","thumbnail_scroller.tooltip.open_url":"Open URL in a new tab","thumbnail_scroller.tooltip.open":"Open"}}}},Y],data(){return{items:[],showSlidebuttons:!0}},props:{orientation:{type:String,default:"horizontal"},fullWidth:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},contentType:{type:String,default:"image",validator(e){return e==="image"||e==="text"}},executeOnClick:{type:String,default:"fancybox",validator(e){return e==="fancybox"||e==="url"||e==="emit"}},thumbnailScrollerItems:{type:Array,required:!0},allowOpenFancyBox:{type:Boolean,default:!0},activeItemIndex:{type:Number,required:!1},figcaption:{type:Object,default(){return{show:!0,position:"below-image"}}},useGalleryScroller:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1},cmdSlideButtons:{type:Object,default(){return{next:{next:{type:"next",iconClass:"icon-chevron-one-stripe-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-chevron-one-stripe-left",tooltip:"Previous"}}}}}},mounted(){const e=this.$refs["thumbnail-scroller"],t=e.querySelector("ul");new ResizeObserver(()=>this.toggleSlideButtons(t)).observe(e)},computed:{tooltip(){return this.contentType==="image"?this.getMessage("thumbnail_scroller.tooltip.open_large_image"):this.executeOnClick==="url"?this.getMessage("thumbnail_scroller.tooltip.open_url"):this.getMessage("thumbnail_scroller.tooltip.open")},fullWidthClass(){return this.orientation==="horizontal"?"full-width":null}},methods:{itemProvider(){return{image:{id:tt(),src:"/media/images/demo-images/small/landscape-01.jpg",srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",alt:"Alternative Text",tooltip:"Tooltip 1"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","thumbnailScrollerItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{id:tt(),src:"/media/images/demo-images/small/landscape-01.jpg",srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",tooltip:"Tooltip DE"}})}},toggleSlideButtons(e){this.showSlidebuttons=e.scrollWidth>e.clientWidth},showNextItem(){const e=this.items.shift();e&&this.items.push(e)},showPrevItem(){const e=this.items.pop();e&&this.items.unshift(e)},showFancyBox(e){this.allowOpenFancyBox&&qe({fancyBoxGallery:this.items,defaultGalleryIndex:e}),this.emitCurrentItemId(e)},emitCurrentItemId(e){if(this.contentType==="image"){this.$emit("click",this.items[e].image.id);return}this.$emit("click",this.items[e].id)},executeLink(e,t){this.executeOnClick==="emit"?(t.preventDefault(),this.emitCurrentItemId(e)):this.executeOnClick==="fancybox"&&(t.preventDefault(),this.showFancyBox(e))}},watch:{thumbnailScrollerItems:{handler(){this.items=this.thumbnailScrollerItems.map(e=>{let t;return this.contentType==="image"?(t={image:{...e.image},figcaption:{...e.figcaption}},t.image.srcImageSmall&&(t.image.src=t.image.srcImageSmall)):t={...e},t})},immediate:!0,deep:!0}}},Jy={class:"inner-thumbnail-wrapper"},Ky=["href","onClick","title","target"],Zy={key:1},Xy={key:1},Qy={key:0},Yy=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new thumbnail-scroller-image",-1)];function $y(e,t,n,r,i,s){var u;const a=U,l=bt,d=Ne,c=z;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":n.useGalleryScroller,"large-icons":n.largeIcons,vertical:n.orientation==="vertical"},s.fullWidthClass]),ref:"thumbnail-scroller"},[(u=n.cmdHeadline)!=null&&u.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",Jy,[i.showSlidebuttons?(o.openBlock(),o.createBlock(l,{key:0,onClick:o.withModifiers(s.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:"slide",tag:"ul"},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.items,(m,g)=>(o.openBlock(),o.createElementBlock("li",{key:g},[e.editModeContext?n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:1,image:m.image,figcaption:m.figcaption,componentPath:["props","thumbnailScrollerItems",g],editModeConfig:s.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):n.contentType==="text"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),m.text?(o.openBlock(),o.createElementBlock("span",Xy,o.toDisplayString(m.text),1)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("a",{key:0,href:n.executeOnClick==="url"?m.url:"#",onClick:f=>s.executeLink(g,f),class:o.normalizeClass([{active:n.activeItemIndex===g},m.id?"item-"+m.id:""]),title:s.tooltip,target:n.executeOnClick==="url"?"_blank":null},[n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:0,image:m.image,figcaption:m.figcaption},null,8,["image","figcaption"])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[m.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:m.iconClass,type:m.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),m.text?(o.openBlock(),o.createElementBlock("span",Zy,o.toDisplayString(m.text),1)):o.createCommentVNode("",!0)],64))],10,Ky))]))),128)),!i.items.length&&n.contentType==="image"?(o.openBlock(),o.createElementBlock("li",Qy,[o.createElementVNode("button",{type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...m)=>s.onAddItem&&s.onAddItem(...m))},Yy)])):o.createCommentVNode("",!0)]),_:1}),i.showSlidebuttons?(o.openBlock(),o.createBlock(l,{key:1,onClick:o.withModifiers(s.showNextItem,["prevent"]),slideButtons:n.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):o.createCommentVNode("",!0)])],2)}const Da=V(Gy,[["render",$y]]),qe=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(ja,{...e,show:!0}).mount(t)},ja=o.defineComponent({name:"CmdFancyBox",emits:["cancel","confirm"],data(){return{fancyBoxContent:null,fancyBoxElements:null,fancyBoxImageUrl:null,index:this.defaultGalleryIndex,printInGrayscale:!1,showFancyBox:this.show}},props:{defaultAriaLabelText:{type:String,required:!1},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!1},fancyBoxOptions:{type:Object,required:!1},allowEscapeKey:{type:Boolean,default:!0},content:{type:String,required:!1},elements:{type:Array,required:!1},fancyBoxGallery:{type:Array,required:!1},defaultGalleryIndex:{type:Number,required:!1},show:{type:Boolean,default:!1},showOverlay:{type:Boolean,default:!0},cmdImage:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},created(){this.$_FancyBox_scrollHandler=()=>{window.scrollTo(0,this.$_FancyBox_verticalScrollPosition)},this.$watch(()=>[this.url,this.content,this.elements],this.updateContentOnPropertyChange,{immediate:!0})},mounted(){this.showFancyBox&&this.showDialog()},computed:{fancyBoxOptionsProperties(){var e,t,n,r,i,s,a,l,d;return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close",...(e=this.fancyBoxOptions)==null?void 0:e.closeIcon},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color",...(n=(t=this.fancyBoxOptions)==null?void 0:t.printButtons)==null?void 0:n.color},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale",...(i=(r=this.fancyBoxOptions)==null?void 0:r.printButtons)==null?void 0:i.grayscale}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel",...(a=(s=this.fancyBoxOptions)==null?void 0:s.submitButtons)==null?void 0:a.cancel},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary",...(d=(l=this.fancyBoxOptions)==null?void 0:l.submitButtons)==null?void 0:d.confirm}}}},largeGalleryImage(){const e={...this.fancyBoxGallery[this.index].image};return e.src=e.srcImageLarge,e},largeSingleImage(){var t;const e={...((t=this.cmdImage)==null?void 0:t.image)||{}};return this.fancyBoxImageUrl&&(e.src=this.fancyBoxImageUrl),e},ariaLabelText(){var e;return(e=this.fancyBoxGallery)!=null&&e.length?this.fancyBoxGallery[this.index].figcaption.text:this.defaultAriaLabelText}},methods:{printDialogContent(){const e=window.open("","","width=1000,height=600"),t=this.elements.map(i=>i.outerHTML).join("");let n=Array.from(document.head.querySelectorAll("style, link[rel='stylesheet']")).map(i=>i.outerHTML).join("");this.printInGrayscale&&(n+="<style>body { filter: grayscale(1)}</style>");const r=document.head.querySelector("title").innerText;e.document.write(`
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>${r}</title>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
${t}
|
9
9
|
</body>
|
10
10
|
</html>
|
11
|
-
`),e.document.close(),e.print(),e.close()},printPage(e){this.printInGrayscale=e==="grayscale",this.printDialogContent()},onDialogCancel(e){if(!this.allowEscapeKey){e.preventDefault();return}this.close()},showDialog(){var e;document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),(e=this.$refs["close-dialog"])==null||e.focus()},updateContentOnPropertyChange(){this.fancyBoxImageUrl=this.fancyBoxContent=this.fancyBoxElements=null,this.url?this.loadContent(this.url):this.content?this.fancyBoxContent=this.content:this.elements&&(this.fancyBoxElements=this.elements.map(e=>e.cloneNode(!0)),this.$nextTick(()=>{this.$refs.elements.append(...this.fancyBoxElements)}))},async loadContent(e){(await vy(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(n=>n.text()).then(n=>this.fancyBoxContent=n).catch(n=>console.error(`Error loading ${this.url}: ${n}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(e){for(let t=0;t<this.fancyBoxGallery.length;t++)if(this.fancyBoxGallery[t].image.id===e){this.index=t;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){this.showFancyBox=!1,this.$emit("update:show",!1),document.querySelector("body").classList.remove("avoid-scrolling")},cancel(){this.$emit("cancel",!0),this.close()},confirm(){this.$emit("confirm",!0),this.close()}},watch:{show(e){this.showFancyBox=e},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function vy(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const eb=ja,tb=["aria-label"],nb={class:"flex-container"},ob={key:1,class:"button-wrapper no-flex"},rb=["title"],ib=["title"],sb=["title"],ab={key:0,class:"content"},lb=["innerHTML"],cb={key:2,class:"content",ref:"elements"},db={key:3,class:"content"},ub={key:4,class:"content"},mb={key:0,class:"flex-container no-flex"},fb=["title"],hb={key:1},pb=["title"],gb={key:1};function yb(e,t,n,r,i,s){var m,g,f,h,y,p,C,T,k,A,N,b,S,F,q,L,Be,_e,Ee,Se,Te,P,de,re,Yt,$t,vt;const a=U,l=z,d=Ne,c=bt,u=Da;return o.openBlock(),o.createElementBlock("dialog",{ref:"dialog",class:o.normalizeClass(["cmd-fancybox",{"show-overlay":e.showOverlay,image:e.fancyBoxImageUrl||e.fancyBoxGallery,"image-gallery":e.fancyBoxGallery}]),"aria-label":e.ariaLabelText,onCancel:t[5]||(t[5]=(...ue)=>e.onDialogCancel&&e.onDialogCancel(...ue))},[o.createElementVNode("header",nb,[(m=e.cmdHeadline)!=null&&m.headlineText?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},e.cmdHeadline)),null,16)):o.createCommentVNode("",!0),(g=e.fancyBoxOptionsProperties.printButtons)!=null&&g.color||(f=e.fancyBoxOptionsProperties.printButtons)!=null&&f.grayscale||e.fancyBoxOptionsProperties.closeIcon?(o.openBlock(),o.createElementBlock("div",ob,[e.showPrintButtons&&((h=e.fancyBoxOptionsProperties.printButtons)!=null&&h.color)?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(y=e.fancyBoxOptionsProperties.printButtons.color)==null?void 0:y.tooltip,onClick:t[0]||(t[0]=o.withModifiers(ue=>e.printPage("color"),["prevent"]))},[o.createVNode(l,{iconClass:(p=e.fancyBoxOptionsProperties.printButtons.color)==null?void 0:p.iconClass,type:(C=e.fancyBoxOptionsProperties.printButtons.color)==null?void 0:C.iconType},null,8,["iconClass","type"])],8,rb)):o.createCommentVNode("",!0),e.showPrintButtons&&((T=e.fancyBoxOptionsProperties.printButtons)!=null&&T.grayscale)?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(k=e.fancyBoxOptionsProperties.printButtons.grayscale)==null?void 0:k.tooltip,onClick:t[1]||(t[1]=o.withModifiers(ue=>e.printPage("grayscale"),["prevent"]))},[o.createVNode(l,{iconClass:(A=e.fancyBoxOptionsProperties.printButtons.grayscale)==null?void 0:A.iconClass,type:(N=e.fancyBoxOptionsProperties.printButtons.grayscale)==null?void 0:N.iconType},null,8,["iconClass","type"])],8,ib)):o.createCommentVNode("",!0),e.fancyBoxOptionsProperties.closeIcon?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",class:"button",id:"close-dialog",title:e.fancyBoxOptionsProperties.closeIcon.tooltip,ref:"close-dialog",onClick:t[2]||(t[2]=o.withModifiers((...ue)=>e.close&&e.close(...ue),["prevent"]))},[o.createVNode(l,{iconClass:e.fancyBoxOptionsProperties.closeIcon.iconClass,type:e.fancyBoxOptionsProperties.closeIcon.iconType},null,8,["iconClass","type"])],8,sb)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)]),o.createElementVNode("div",{class:o.normalizeClass(["outer-content-wrapper",{grayscale:e.printInGrayscale}])},[e.fancyBoxImageUrl||(b=e.cmdImage)!=null&&b.image?(o.openBlock(),o.createElementBlock("div",ab,[o.createVNode(d,{image:e.largeSingleImage,figcaption:(S=e.cmdImage)==null?void 0:S.figcaption},null,8,["image","figcaption"])])):e.fancyBoxContent?(o.openBlock(),o.createElementBlock("div",{key:1,class:"content",innerHTML:e.fancyBoxContent},null,8,lb)):e.fancyBoxElements?(o.openBlock(),o.createElementBlock("div",cb,null,512)):e.fancyBoxGallery?(o.openBlock(),o.createElementBlock("div",db,[o.createVNode(c,{onClick:o.withModifiers(e.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),o.createVNode(d,{image:e.largeGalleryImage,figcaption:e.fancyBoxGallery[e.index].figcaption},null,8,["image","figcaption"]),o.createVNode(c,{onClick:o.withModifiers(e.showNextItem,["prevent"])},null,8,["onClick"])])):(o.openBlock(),o.createElementBlock("div",ub,[o.renderSlot(e.$slots,"default")]))],2),e.showSubmitButtons&&e.fancyBoxOptionsProperties.submitButtons?(o.openBlock(),o.createElementBlock("footer",mb,[(F=e.fancyBoxOptionsProperties.submitButtons)!=null&&F.cancel?(o.openBlock(),o.createElementBlock("button",{key:0,onClick:t[3]||(t[3]=(...ue)=>e.cancel&&e.cancel(...ue)),title:(q=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:q.tooltip},[(L=e.fancyBoxOptionsProperties.submitButtons.cancel)!=null&&L.iconClass?(o.openBlock(),o.createBlock(l,{key:0,iconClass:(Be=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:Be.iconClass,type:(_e=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:_e.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(Ee=e.fancyBoxOptionsProperties.submitButtons.cancel)!=null&&Ee.buttonText?(o.openBlock(),o.createElementBlock("span",hb,o.toDisplayString((Se=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:Se.buttonText),1)):o.createCommentVNode("",!0)],8,fb)):o.createCommentVNode("",!0),(Te=e.fancyBoxOptionsProperties.submitButtons)!=null&&Te.confirm?(o.openBlock(),o.createElementBlock("button",{key:1,onClick:t[4]||(t[4]=(...ue)=>e.confirm&&e.confirm(...ue)),title:(P=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:P.tooltip},[(de=e.fancyBoxOptionsProperties.submitButtons.confirm)!=null&&de.iconClass?(o.openBlock(),o.createBlock(l,{key:0,iconClass:(re=e.fancyBoxOptionsProperties.submitButtons.confirm)==null?void 0:re.iconClass,type:(Yt=e.fancyBoxOptionsProperties.submitButtons.confirm)==null?void 0:Yt.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),($t=e.fancyBoxOptionsProperties.submitButtons.confirm)!=null&&$t.buttonText?(o.openBlock(),o.createElementBlock("span",gb,o.toDisplayString((vt=e.fancyBoxOptionsProperties.submitButtons.confirm)==null?void 0:vt.buttonText),1)):o.createCommentVNode("",!0)],8,pb)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.fancyBoxGallery?(o.openBlock(),o.createBlock(u,{key:1,thumbnailScrollerItems:[...e.fancyBoxGallery],allowOpenFancyBox:!1,onClick:e.showItem,activeItemIndex:e.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):o.createCommentVNode("",!0)],42,tb)}const bb=V(eb,[["render",yb]]),kb={emits:["submit"],mixins:[oe,Ny],inject:{editModeContext:{default:null}},data(){return{validator:new mr(e=>e),formData:{salutation:{value:this.configuration.salutation.default},lastName:{value:""},firstName:{value:""},email:{value:""},phone:{value:""},streetNo:{value:""},zip:{value:""},city:{value:""},pobox:{value:""},country:{value:""},additionalAddressInfo:{value:""},userMessage:{value:""},acceptPrivacy:{value:!1}},cityBeforeZip:this.showCityBeforeZip}},props:{useNativeSubmit:{type:Boolean,default:!1},formAction:{type:String,required:!1},legend:{type:Object,default(){return{show:!0,align:"right",text:"Legend"}}},configuration:{type:Object,default(){return{salutation:{default:"m",replaceInputType:!0},lastName:{required:!0,type:"text"},firstName:{required:!1,type:"text"},email:{required:!0,type:"email"},phone:{required:!1,type:"phone"},country:{required:!1,element:"select",selectOptions:[{text:"Please select...",value:""},{text:"United States",value:"us"},{text:"Germany",value:"de"}]},streetNo:{required:!1,type:"text"},zip:{required:!1,type:"number"},city:{required:!1,type:"text"},additionalAddressInfo:{required:!1,type:"text"},userMessage:{required:!1,element:"textarea"},acceptPrivacy:{required:!0,replaceInputType:!0}}}},showCityBeforeZip:{type:Boolean,default:!1},receiverEmailAddress:{type:String,default:""},submitButton:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1},cmdForm:{type:Object,required:!1}},mounted(){var e,t;(t=(e=this.$refs.dataPrivacy)==null?void 0:e.querySelector(".component-fancybox"))==null||t.addEventListener("click",n=>{n.preventDefault(),qe({url:n.target.getAttribute("href")})})},computed:{submitButtonProperties(){return{iconClass:"icon-message-send",text:"Send mail",type:"submit",position:"belowFieldset",primary:!0,...this.submitButton}}},methods:{onSubmit(e){if(this.onValidate(),this.formData=Object.assign({},this.validator.validatePrivacy(this.formData)),this.formData.error||this.useNativeSubmit){this.formData.error&&e.originalEvent.preventDefault();return}const t=new FormData,n=Object.keys(this.configuration);for(let r=0;r<n.length;r++)t.set(n[r],this.formData[n[r]].value);fetch(this.formAction,{method:"POST",body:t}).then(r=>{r.ok?console.log("CmdBasicForm","ok"):console.log("CmdBasicForm","fail")}).catch(r=>{console.error(r)}),e.originalEvent.preventDefault()},onCountrySelect(e){this.cityBeforeZip=e==="us"||e==="uk"},onValidate(){this.formData=Object.assign({},this.validator.validate(this.formData))},executeLink(e,t){e.fancybox&&(t.preventDefault(),qe({url:e}))},openDataPrivacy(e){qe({url:e})}},watch:{showCityBeforeZip(){this.cityBeforeZip=this.showCityBeforeZip}}},Cb={class:"cmd-pages-basic-form"},wb={key:0,class:"flex-container no-flex order-male-female"},xb={key:1,class:"flex-container order-lastname-firstname"},Bb={key:2,class:"flex-container order-phone-email"},_b={key:3,class:"flex-container"},Eb=["innerHTML"];function Sb(e,t,n,r,i,s){const a=U,l=X,d=Ma;return o.openBlock(),o.createElementBlock("div",Cb,[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createVNode(d,o.mergeProps({onSubmit:s.onSubmit,novalidate:"novalidate"},n.cmdForm,{legend:n.legend,submitButton:s.submitButtonProperties,formAction:n.formAction}),{default:o.withCtx(()=>{var c,u,m,g,f,h,y,p,C,T,k,A,N,b,S,F,q,L,Be,_e,Ee,Se,Te,P,de,re,Yt,$t,vt,ue,Df,jf,qf,zf,Hf,Uf,Wf,Gf,Jf,Kf,Zf;return[n.configuration.salutation?(o.openBlock(),o.createElementBlock("div",wb,[o.createVNode(l,{element:"input",type:"radio",labelText:e.getMessage("basic_form.labeltext.salutation_male"),name:((c=n.configuration.salutation)==null?void 0:c.name)||"salutation",inputValue:"m",replaceInputType:(u=n.configuration.salutation)==null?void 0:u.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":t[0]||(t[0]=H=>i.formData.salutation.value=H),i18n:e.i18n,onValidate:s.onValidate},null,8,["labelText","name","replaceInputType","modelValue","i18n","onValidate"]),o.createVNode(l,{element:"input",type:"radio",labelText:e.getMessage("basic_form.labeltext.salutation_female"),name:((m=n.configuration.salutation)==null?void 0:m.name)||"salutation",inputValue:"f",replaceInputType:(g=n.configuration.salutation)==null?void 0:g.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":t[1]||(t[1]=H=>i.formData.salutation.value=H),i18n:e.i18n,onValidate:s.onValidate},null,8,["labelText","name","replaceInputType","modelValue","i18n","onValidate"])])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"top"),n.configuration.lastName||n.configuration.firstName?(o.openBlock(),o.createElementBlock("div",xb,[n.configuration.lastName?(o.openBlock(),o.createBlock(l,{key:0,element:"input",type:((f=n.configuration.lastName)==null?void 0:f.type)||"text",iconClass:"icon-user-profile",labelText:e.getMessage("basic_form.labeltext.last_name"),required:(h=n.configuration.lastName)==null?void 0:h.required,name:((y=n.configuration.lastName)==null?void 0:y.name)||"last-name",placeholder:e.getMessage("basic_form.placeholder.last_name"),modelValue:i.formData.lastName.value,"onUpdate:modelValue":t[2]||(t[2]=H=>i.formData.lastName.value=H),status:i.formData.lastName.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","required","name","placeholder","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.firstName?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((p=n.configuration.firstName)==null?void 0:p.type)||"text",iconClass:"icon-user-profile",labelText:e.getMessage("basic_form.labeltext.first_name"),placeholder:e.getMessage("basic_form.placeholder.first_name"),required:(C=n.configuration.firstName)==null?void 0:C.required,name:((T=n.configuration.firstName)==null?void 0:T.name)||"first-name",modelValue:i.formData.firstName.value,"onUpdate:modelValue":t[3]||(t[3]=H=>i.formData.firstName.value=H),status:i.formData.firstName.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.email||n.configuration.phone?(o.openBlock(),o.createElementBlock("div",Bb,[n.configuration.email?(o.openBlock(),o.createBlock(l,{key:0,element:"input",type:((k=n.configuration.email)==null?void 0:k.type)||"email",iconClass:"icon-mail",labelText:e.getMessage("basic_form.labeltext.email"),placeholder:e.getMessage("basic_form.placeholder.email"),required:(A=n.configuration.email)==null?void 0:A.required,name:((N=n.configuration.email)==null?void 0:N.name)||"email",modelValue:i.formData.email.value,"onUpdate:modelValue":t[4]||(t[4]=H=>i.formData.email.value=H),status:i.formData.email.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.phone?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((b=n.configuration.phone)==null?void 0:b.type)||"tel",iconClass:"icon-phone",labelText:e.getMessage("basic_form.labeltext.phone"),placeholder:e.getMessage("basic_form.placeholder.phone"),modelValue:i.formData.phone.value,"onUpdate:modelValue":t[5]||(t[5]=H=>i.formData.phone.value=H),required:(S=n.configuration.phone)==null?void 0:S.required,name:((F=n.configuration.phone)==null?void 0:F.name)||"phone",status:i.formData.phone.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","modelValue","required","name","status","i18n","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.streetNo||n.configuration.streetNo||n.configuration.zip&&n.configuration.city?(o.openBlock(),o.createElementBlock("div",_b,[n.configuration.country?(o.openBlock(),o.createBlock(l,{key:0,element:"select",labelText:e.getMessage("basic_form.labeltext.country"),selectOptions:(q=n.configuration.country)==null?void 0:q.selectOptions,required:(L=n.configuration.country)==null?void 0:L.required,name:((Be=n.configuration.country)==null?void 0:Be.name)||"country",modelValue:i.formData.country.value,"onUpdate:modelValue":[t[6]||(t[6]=H=>i.formData.country.value=H),s.onCountrySelect],status:i.formData.country.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["labelText","selectOptions","required","name","modelValue","status","i18n","onValidate","onUpdate:modelValue"])):o.createCommentVNode("",!0),n.configuration.streetNo?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((_e=n.configuration.streetNo)==null?void 0:_e.type)||"text",labelText:e.getMessage("basic_form.labeltext.street_no"),placeholder:e.getMessage("basic_form.placeholder.street_no"),required:(Ee=n.configuration.streetNo)==null?void 0:Ee.required,name:((Se=n.configuration.streetNo)==null?void 0:Se.name)||"street-no",modelValue:i.formData.streetNo.value,"onUpdate:modelValue":t[7]||(t[7]=H=>i.formData.streetNo.value=H),status:i.formData.streetNo.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.pobox?(o.openBlock(),o.createBlock(l,{key:2,element:"input",type:((Te=n.configuration.pobox)==null?void 0:Te.type)||"text",labelText:e.getMessage("basic_form.labeltext.pobox"),placeholder:e.getMessage("basic_form.placeholder.pobox"),required:(P=n.configuration.pobox)==null?void 0:P.required,name:((de=n.configuration.pobox)==null?void 0:de.name)||"pobox",modelValue:i.formData.pobox.value,"onUpdate:modelValue":t[8]||(t[8]=H=>i.formData.pobox.value=H),status:i.formData.pobox.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["input-wrapper",i.cityBeforeZip?"order-city-zip":"order-zip-city"])},[n.configuration.zip?(o.openBlock(),o.createBlock(l,{key:0,element:"input",class:"input-zip",type:((re=n.configuration.zip)==null?void 0:re.type)||"number",labelText:e.getMessage("basic_form.labeltext.zip"),placeholder:e.getMessage("basic_form.placeholder.zip"),required:(Yt=n.configuration.zip)==null?void 0:Yt.required,name:(($t=n.configuration.zip)==null?void 0:$t.name)||"zip",modelValue:i.formData.zip.value,"onUpdate:modelValue":t[9]||(t[9]=H=>i.formData.zip.value=H),status:i.formData.zip.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.city?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((vt=n.configuration.city)==null?void 0:vt.type)||"text",labelText:e.getMessage("basic_form.labeltext.city"),placeholder:e.getMessage("basic_form.placeholder.city"),required:(ue=n.configuration.city)==null?void 0:ue.required,name:((Df=n.configuration.city)==null?void 0:Df.name)||"city",modelValue:i.formData.city.value,"onUpdate:modelValue":t[10]||(t[10]=H=>i.formData.city.value=H),status:i.formData.city.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)],2),n.configuration.additionalAddressInfo?(o.openBlock(),o.createBlock(l,{key:3,element:"input",type:((jf=n.configuration.additionalAddressInfo)==null?void 0:jf.type)||"text",labelText:e.getMessage("basic_form.labeltext.additional_address_info"),placeholder:e.getMessage("basic_form.placeholder.additional_address_info"),required:(qf=n.configuration.additionalAddressInfo)==null?void 0:qf.required,name:((zf=n.configuration.additionalAddressInfo)==null?void 0:zf.name)||"additional-address-info",modelValue:i.formData.additionalAddressInfo.value,"onUpdate:modelValue":t[11]||(t[11]=H=>i.formData.additionalAddressInfo.value=H),status:i.formData.additionalAddressInfo.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.userMessage?(o.openBlock(),o.createBlock(l,{key:4,element:((Hf=n.configuration.userMessage)==null?void 0:Hf.element)||"textarea",labelText:e.getMessage("basic_form.labeltext.user_message"),placeholder:e.getMessage("basic_form.placeholder.user_message"),required:(Uf=n.configuration.userMessage)==null?void 0:Uf.required,name:((Wf=n.configuration.userMessage)==null?void 0:Wf.name)||"user-message",textCharactersLeft:e.getMessage("basic_form.text.characters_left"),maxlength:(Gf=n.configuration.userMessage)==null?void 0:Gf.maxLength,modelValue:i.formData.userMessage.value,"onUpdate:modelValue":t[12]||(t[12]=H=>i.formData.userMessage.value=H),status:i.formData.userMessage.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["element","labelText","placeholder","required","name","textCharactersLeft","maxlength","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"bottom"),n.configuration.acceptPrivacy?(o.openBlock(),o.createBlock(l,{key:5,element:"input",type:"checkbox",required:(Jf=n.configuration.acceptPrivacy)==null?void 0:Jf.required,name:((Kf=n.configuration.acceptPrivacy)==null?void 0:Kf.name)||"accept-privacy",replaceInputType:(Zf=n.configuration.acceptPrivacy)==null?void 0:Zf.replaceInputType,modelValue:i.formData.acceptPrivacy.value,"onUpdate:modelValue":t[13]||(t[13]=H=>i.formData.acceptPrivacy.value=H),status:i.formData.acceptPrivacy.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},{labeltext:o.withCtx(()=>[o.createElementVNode("span",{ref:"dataPrivacy",innerHTML:e.getMessage("basic_form.labeltext.data_privacy")},null,8,Eb)]),_:1},8,["required","name","replaceInputType","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)]}),_:3},16,["onSubmit","legend","submitButton","formAction"])])}const qa=V(kb,[["render",Sb]]),Tb={name:"CmdInnerLink",props:{icon:{type:Object,default:{}},text:{type:String,default:""}}},Ob=["title"],Nb={key:1},Vb=["title"];function Fb(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock(o.Fragment,null,[n.icon.iconClass&&n.icon.position==="left"||n.icon.position==="top"?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(n.icon.iconClass),title:n.icon.tooltip},null,10,Ob)):o.createCommentVNode("",!0),n.text?(o.openBlock(),o.createElementBlock("span",Nb,o.toDisplayString(n.text),1)):o.createCommentVNode("",!0),n.icon.iconClass&&n.icon.position==="right"||n.icon.position==="bottom"?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(n.icon.iconClass),title:n.icon.tooltip},null,10,Vb)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64)}const Ab=V(Tb,[["render",Fb]]),Pb={name:"CmdLink",emits:["click"],props:{linkType:{type:String,default:"href",validator(e){return e==="href"||e==="router"||e==="button"}},path:{type:[String,Object],default:"#"},target:{type:String,default:""},icon:{type:Object,default:{}},text:{type:String,default:""},styleAsButton:{type:Boolean,default:!1},styleAsBox:{type:Boolean,default:!1},primaryButton:{type:Boolean,default:!1},fancybox:{type:Boolean,default:!1}},methods:{emitClick(e,t){this.$emit("click",{originalEvent:e,linkType:t})}}},Lb=["href","target","title"],Ib=["title"];function Mb(e,t,n,r,i,s){var d,c,u;const a=Ab,l=o.resolveComponent("router-link");return n.linkType==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:n.path,target:n.target,class:o.normalizeClass(["cmd-link",{button:n.styleAsButton,primary:n.primaryButton,box:n.styleAsBox,fancybox:n.fancybox}]),onClick:t[0]||(t[0]=m=>s.emitClick(m,"href")),title:(d=n.icon)==null?void 0:d.tooltip},[o.createVNode(a,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],10,Lb)):n.linkType==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:n.path,class:o.normalizeClass(["cmd-link",{button:n.styleAsButton,primary:n.primaryButton,box:n.styleAsBox,fancybox:n.fancybox}]),onClick:t[1]||(t[1]=m=>s.emitClick(m,"router")),title:(c=n.icon)==null?void 0:c.tooltip},{default:o.withCtx(()=>[o.createVNode(a,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])]),_:3},8,["to","class","title"])):n.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:2,class:o.normalizeClass(["cmd-link button",{primary:n.primaryButton,box:n.styleAsBox,fancybox:n.fancybox}]),type:"submit",onClick:t[2]||(t[2]=m=>s.emitClick(m,"button")),title:(u=n.icon)==null?void 0:u.tooltip},[o.createVNode(a,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],10,Ib)):o.createCommentVNode("",!0)}const ot=V(Pb,[["render",Mb]]),Rb={name:"CmdListOfLinksItem",inheritAttrs:!1,mixins:[Y],data(){var e;return{editableText:(e=this.link)==null?void 0:e.text}},props:{link:{type:Object,required:!1}},methods:{updateHandlerProvider(){const e=this.editableText;return Q(this,{update(t){t.text=e}})}}},Db={key:0,class:"cmd-list-of-links-item"},jb={key:0},qb={key:1,class:"input-wrapper"};function zb(e,t,n,r,i,s){var c;const a=ot,l=o.resolveComponent("CmdListOfLinksItem",!0),d=X;return e.editing?(o.openBlock(),o.createElementBlock("div",qb,[o.createVNode(d,{element:"input",type:"text",labelText:"Linktext",showLabel:!1,placeholder:"Linktext",modelValue:i.editableText,"onUpdate:modelValue":t[0]||(t[0]=u=>i.editableText=u)},null,8,["modelValue"])])):(o.openBlock(),o.createElementBlock("li",Db,[o.createVNode(a,o.normalizeProps(o.guardReactiveProps(n.link)),null,16),e.editModeContext?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("ul",jb,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList((c=n.link)==null?void 0:c.children,(u,m)=>(o.openBlock(),o.createBlock(l,{key:m,link:u},null,8,["link"]))),128))]))]))}const Hb=V(Rb,[["render",zb]]),Ub={name:"CmdListOfLinks",emits:["click"],mixins:[Y],props:{useGap:{type:Boolean,default:!0},styleAsBox:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},sectionAnchors:{type:Boolean,default:!1},activeSection:{type:Number,default:0},showListStyleItems:{type:Boolean,default:!1},align:{type:String,default:"left",validator(e){return e==="left"||e==="center"||e==="right"}},links:{type:Array,required:!1},orientation:{type:String,default:"vertical",validator(e){return e==="horizontal"||e==="vertical"}},cmdHeadline:{type:Object,required:!1}},computed:{setStretchClass(){return this.largeIcons&&this.orientation==="horizontal"?"stretch":null}},methods:{onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","links",-1),this.itemProvider)},itemProvider(){return{iconClass:"icon-user-profile",type:"href",text:"Linktext",path:"#",tooltip:"Tooltip",target:"_blank"}},updateHandlerProvider(){return Q(this,{update(e,t){const n=t==null?void 0:t.find(r=>r.name==="CmdHeadline");n&&(e.cmdHeadline=e.cmdHeadline||{},n.update(e.cmdHeadline))}})}}},Wb={key:1},Gb=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)];function Jb(e,t,n,r,i,s){var c;const a=U,l=Hb,d=Ae;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-list-of-links",{box:n.styleAsBox,horizontal:n.orientation==="horizontal","section-anchors":n.sectionAnchors,"large-icons":n.largeIcons,"show-list-style-items":n.showListStyleItems}])},[(c=n.cmdHeadline)!=null&&c.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("ul",{class:o.normalizeClass(["flex-container",{"no-gap":!n.useGap},"align-"+n.align,s.setStretchClass])},[e.editModeContext?(o.openBlock(),o.createElementBlock("li",Wb,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.links,(u,m)=>(o.openBlock(),o.createBlock(d,{key:"x"+m,class:"edit-items",showComponentName:!1,componentTag:"ul",componentName:"CmdLinkItem",componentProps:u,allowedComponentTypes:[],componentPath:["props","links",m],itemProvider:s.itemProvider},{default:o.withCtx(()=>[o.createVNode(l,{class:o.normalizeClass({active:n.sectionAnchors&&n.activeSection===m}),link:u},null,8,["class","link"])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128)),n.links.length===0?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:t[0]||(t[0]=(...u)=>s.onAddItem&&s.onAddItem(...u))},Gb)):o.createCommentVNode("",!0)])):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.links,(u,m)=>(o.openBlock(),o.createBlock(l,{key:m,class:o.normalizeClass({active:n.sectionAnchors&&n.activeSection===m}),link:u},null,8,["class","link"]))),128))],2)],2)}const fr=V(Ub,[["render",Jb]]),hr={name:"CmdBox",mixins:[oe,{data(){return{defaultMessageProperties:{"box.productbox.new":"New","box.productbox.article_no":"Article No:","box.contentbox.collapse_text":"Collapse text","box.contentbox.expand_text":"Expand text"}}}},{props:{globalCurrency:{type:Object,default(){return{symbol:"€",name:"Euro"}}}}}],emits:["click","toggle-collapse"],data(){return{open:this.collapsible?this.openCollapsedBox:!0,active:!0,showCutOffText:!1,calculatedBodyHeight:this.maxBoxBodyHeight}},props:{openCollapsedBox:{type:Boolean,required:!1},rowView:{type:Boolean,default:!1},boxType:{type:String,default:"content",validator(e){return e==="content"||e==="product"||e==="user"}},allowContentToScroll:{type:Boolean,default:!1},maxBoxBodyHeight:{type:String,default:"20rem"},collapsible:{type:Boolean,default:!1},cutoffTextLines:{type:Number,default:0},useBoxBodyPadding:{type:Boolean,default:!0},fadeLastLine:{type:Boolean,default:!1},useTransition:{type:Boolean,default:!0},boxBodyClass:{type:String,required:!1},defaultProfileIconClass:{type:String,default:"icon-user-profile"},product:{type:Object,required:!1},user:{type:Object,required:!1},profileType:{type:String,default:"business",validator(e){return e==="business"||e==="influencer"||e==="dating"}},useSlots:{type:Array,required:!1},cmdImage:{type:Object,required:!1},textBody:{type:String,default:""},iconOpen:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-up",tooltip:"Close content",iconType:"auto"}}},iconClosed:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-down",tooltip:"Show content",iconType:"auto"}}},stretchHorizontally:{type:Boolean,default:!0},stretchVertically:{type:Boolean,default:!0},headlinePosition:{type:String,default:"header",validator(e){return e==="header"||e==="body"}},cmdHeadline:{type:Object,required:!1},cmdLink:{type:Object,default:{}},cmdIcon:{type:Object,required:!1}},computed:{toggleTransition(){return this.useTransition?"fade":""}},methods:{toggleContentVisibility(){this.open=!this.open,this.active=!this.active,this.$emit("toggle-collapse",this.open)},toggleCutOffText(){this.showCutOffText=!this.showCutOffText,this.$emit("toggle-cutofftext",this.showCutOffText)},clickOnProduct(e){this.$emit("click",e)},setFocus(){this.$nextTick(()=>{if(this.open){const e=this.$refs.cmdBox.querySelector(":is(input, select, textarea):first-of-type");e&&e.focus()}})}},watch:{openCollapsedBox(){this.collapsible&&(this.open=this.openCollapsedBox,this.setFocus())},open(){this.setFocus()}}},za=()=>{o.useCssVars(e=>({"83433e5e":e.cutoffTextLines}))},Ha=hr.setup;hr.setup=Ha?(e,t)=>(za(),Ha(e,t)):za;const Kb=["title"],Zb={key:0,class:"box-header"},Xb={key:1,class:"body-icon-wrapper"},Qb=["innerHTML"],Yb={key:0,class:"body-icon-wrapper"},$b=["innerHTML"],vb={key:2,class:"box-footer"},e0={key:3,class:"box-footer"},t0={class:"box-header flex-container vertical"},n0={key:0},o0=["src","alt"],r0={key:1},i0={key:2,class:"ribbon-new"},s0={key:3,class:"ribbon-discount"},a0={class:"box-body"},l0={key:0},c0={key:1,class:"price"},d0=["title"],u0={key:2},m0={class:"box-header flex-container vertical"},f0={key:0},h0=["src","alt"],p0={key:0,class:"user-name"},g0={key:0,class:"user-age"},y0={key:1},b0=["title"],k0={key:0,class:"user-name"},C0={class:"box-body"},w0={key:0,class:"user-name"},x0={key:1},B0={key:2},_0={key:3,class:"description"},E0={key:0,class:"tags"},S0={key:1,class:"box-footer"};function T0(e,t,n,r,i,s){var m,g,f,h,y,p,C,T,k,A,N;const a=U,l=z,d=Ne,c=ot,u=fr;return n.boxType==="content"?(o.openBlock(),o.createElementBlock("div",{key:0,ref:"cmdBox",class:o.normalizeClass(["cmd-box box content",{open:i.open,collapsible:n.collapsible,"stretch-vertically":n.stretchVertically&&!n.collapsible,"stretch-horizontally":n.stretchHorizontally,"row-view":n.rowView}])},[n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"box-header",title:i.open?n.iconOpen.tooltip:n.iconClosed.tooltip,onClick:t[0]||(t[0]=o.withModifiers((...b)=>s.toggleContentVisibility&&s.toggleContentVisibility(...b),["prevent"]))},[(m=n.useSlots)!=null&&m.includes("header")?o.renderSlot(e.$slots,"header",{key:0}):(g=n.cmdHeadline)!=null&&g.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createVNode(l,{iconClass:i.open?n.iconOpen.iconClass:n.iconClosed.iconClass,type:i.open?n.iconOpen.iconType:n.iconClosed.iconType},null,8,["iconClass","type"])],8,Kb)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(f=n.useSlots)!=null&&f.includes("header")||(h=n.cmdHeadline)!=null&&h.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createElementBlock("div",Zb,[(y=n.useSlots)!=null&&y.includes("header")?o.renderSlot(e.$slots,"header",{key:0}):o.createCommentVNode("",!0),(p=n.cmdHeadline)!=null&&p.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],64)),o.withDirectives(o.createElementVNode("div",{class:o.normalizeClass(["box-body",n.boxBodyClass]),"aria-expanded":"true",role:"article"},[(C=n.useSlots)!=null&&C.includes("body")?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["inner-box-body-wrapper",{"box-body-padding":n.useBoxBodyPadding,"allow-scroll":n.allowContentToScroll}]),ref:"boxBody",style:o.normalizeStyle(n.allowContentToScroll?"max-height: "+i.calculatedBodyHeight:null)},[o.renderSlot(e.$slots,"body",{},()=>{var b;return[(b=n.cmdHeadline)!=null&&b.headlineText&&n.headlinePosition==="body"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.cmdIcon!==void 0?(o.openBlock(),o.createElementBlock("div",Xb,[o.createVNode(l,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.type},null,8,["iconClass","type"])])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:s.toggleTransition},{default:o.withCtx(()=>[n.textBody?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass({"cutoff-text":n.cutoffTextLines>0,"fade-last-line":n.fadeLastLine&&!i.showCutOffText,"show-text":i.showCutOffText}),innerHTML:n.textBody},null,10,Qb)):o.createCommentVNode("",!0),n.cutoffTextLines>0?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:t[1]||(t[1]=o.withModifiers((...S)=>s.toggleCutOffText&&s.toggleCutOffText(...S),["prevent"]))},o.toDisplayString(i.showCutOffText?e.getMessage("box.contentbox.collapse_text"):e.getMessage("box.contentbox.expand_text")),1)):o.createCommentVNode("",!0)]),_:1},8,["name"])]})],6)):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(["inner-box-body-wrapper",{"allow-scroll":n.allowContentToScroll}])},[n.cmdImage?(o.openBlock(),o.createBlock(d,o.normalizeProps(o.mergeProps({key:0},n.cmdImage)),null,16)):o.createCommentVNode("",!0),(T=n.cmdHeadline)!=null&&T.headlineText&&n.headlinePosition==="body"||n.textBody?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass({"box-body-padding":n.useBoxBodyPadding,"allow-scroll":n.allowContentToScroll})},[n.cmdIcon!==void 0?(o.openBlock(),o.createElementBlock("div",Yb,[o.createVNode(l,o.normalizeProps(o.guardReactiveProps(n.cmdIcon)),null,16)])):o.createCommentVNode("",!0),(k=n.cmdHeadline)!=null&&k.headlineText&&n.headlinePosition==="body"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.textBody?(o.openBlock(),o.createElementBlock("p",{key:2,innerHTML:n.textBody},null,8,$b)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],2))],2),[[o.vShow,i.open]]),(A=n.cmdLink)!=null&&A.linkType?(o.openBlock(),o.createElementBlock("div",vb,[o.createVNode(c,o.normalizeProps(o.guardReactiveProps(n.cmdLink)),null,16)])):o.createCommentVNode("",!0),(N=n.useSlots)!=null&&N.includes("footer")?(o.openBlock(),o.createElementBlock("div",e0,[o.renderSlot(e.$slots,"footer")])):o.createCommentVNode("",!0)],2)):n.boxType==="product"&&n.product?(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["cmd-box box product",{"stretch-vertically":n.stretchVertically,"stretch-horizontally":n.stretchHorizontally,"row-view":n.rowView}]),href:"#",onClick:t[2]||(t[2]=o.withModifiers(b=>s.clickOnProduct(n.product),["prevent"]))},[o.createElementVNode("div",t0,[n.product.image!==void 0?(o.openBlock(),o.createElementBlock("figure",n0,[o.createElementVNode("img",{src:n.product.image.src,alt:n.product.image.alt},null,8,o0),o.createElementVNode("figcaption",null,o.toDisplayString(n.product.name),1)])):(o.openBlock(),o.createElementBlock("p",r0,o.toDisplayString(n.product.name),1)),n.product.new?(o.openBlock(),o.createElementBlock("div",i0,[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("box.productbox.new")),1)])):o.createCommentVNode("",!0),n.product.discount?(o.openBlock(),o.createElementBlock("div",s0,[o.createElementVNode("span",null,o.toDisplayString(n.product.discount),1)])):o.createCommentVNode("",!0)]),o.createElementVNode("div",a0,[n.product.articleNumber?(o.openBlock(),o.createElementBlock("p",l0,o.toDisplayString(e.getMessage("box.productbox.article_no"))+" "+o.toDisplayString(n.product.articleNumber),1)):o.createCommentVNode("",!0),n.product.price?(o.openBlock(),o.createElementBlock("p",c0,[o.createElementVNode("span",null,o.toDisplayString(n.product.price),1),o.createElementVNode("span",{title:e.globalCurrency.name},o.toDisplayString(e.globalCurrency.symbol),9,d0)])):o.createCommentVNode("",!0),n.product.description?(o.openBlock(),o.createElementBlock("p",u0,o.toDisplayString(n.product.description),1)):o.createCommentVNode("",!0)])],2)):n.boxType==="user"&&n.user?(o.openBlock(),o.createElementBlock("div",{key:2,class:o.normalizeClass(["cmd-box box user",n.profileType,{"stretch-vertically":n.stretchVertically,"stretch-horizontally":n.stretchHorizontally,"row-view":n.rowView}])},[o.createElementVNode("div",m0,[n.user.image?(o.openBlock(),o.createElementBlock("figure",f0,[o.createElementVNode("img",{src:n.user.image.src,alt:n.user.image.alt},null,8,h0),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("figcaption",p0,[o.createTextVNode(o.toDisplayString(n.user.name),1),n.user.age?(o.openBlock(),o.createElementBlock("span",g0," ("+o.toDisplayString(n.user.age)+")",1)):o.createCommentVNode("",!0)]))])):(o.openBlock(),o.createElementBlock("div",y0,[o.createElementVNode("span",{class:o.normalizeClass(n.defaultProfileIconClass),title:n.user.name},null,10,b0),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("p",k0,o.toDisplayString(n.user.name),1))]))]),o.createElementVNode("div",C0,[n.rowView?(o.openBlock(),o.createElementBlock("p",w0,o.toDisplayString(n.user.name),1)):o.createCommentVNode("",!0),n.user.profession?(o.openBlock(),o.createElementBlock("p",x0,o.toDisplayString(n.user.profession),1)):o.createCommentVNode("",!0),n.user.position?(o.openBlock(),o.createElementBlock("p",B0,o.toDisplayString(n.user.position),1)):o.createCommentVNode("",!0),n.user.description?(o.openBlock(),o.createElementBlock("p",_0,o.toDisplayString(n.user.description),1)):o.createCommentVNode("",!0)]),n.user.tags&&n.user.tags.length?(o.openBlock(),o.createElementBlock("ul",E0,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.user.tags,(b,S)=>(o.openBlock(),o.createElementBlock("li",{key:S},o.toDisplayString(b),1))),128))])):o.createCommentVNode("",!0),n.user.links&&n.user.links.length?(o.openBlock(),o.createElementBlock("div",S0,[o.createVNode(u,{links:n.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)}const Ua=V(hr,[["render",T0]]),pr={name:"CmdBoxWrapper",data(){return{rowView:this.useRowViewAsDefault,collapsingBoxesOpen:!0,currentOpenBox:[],oneBoxPerRow:!1}},props:{openBoxesByDefault:{type:Array,required:!1},useGap:{type:Boolean,default:!1},useRowViewAsDefault:{type:Boolean,default:!1},stretchBoxesVertically:{type:Boolean,default:!0},allowUserToToggleOrientation:{type:Boolean,default:!0},collapseBoxesIcon:{type:Object,default(){return{iconClass:"icon-chevron-two-stripes-down",tooltip:"Collapse all boxes"}}},expandBoxesIcon:{type:Object,default(){return{iconClass:"icon-chevron-two-stripes-up",tooltip:"Expand all boxes"}}},useFlexbox:{type:Boolean,default:!1},boxesPerRow:{type:[Number,Array],default:4},allowMultipleExpandedBoxes:{type:Boolean,default:!0},iconGridView:{type:Object,default(){return{iconClass:"icon-blocks-small",tooltip:"Toggle to row view"}}},iconRowView:{type:Object,default(){return{iconClass:"icon-rows",tooltip:"Toggle to grid view"}}},cmdHeadline:{type:Object,default(){return{headlineText:"",headlineLevel:4}}}},computed:{boxesPerRowLarge(){return this.boxesPerRowResponsive(0,4)},boxesPerRowMedium(){return this.boxesPerRowResponsive(1,3)},boxesPerRowSmall(){return this.boxesPerRowResponsive(2,1)}},methods:{toggleOrientation(){this.rowView=!this.rowView,this.oneBoxPerRow=this.rowView},boxIsOpen(e){return this.currentOpenBox.includes(e)},boxIsToggled(e){alert(e)},boxesPerRowResponsive(e,t){return this.oneBoxPerRow?1:typeof this.boxesPerRow=="number"?e===0?this.boxesPerRow:Math.min(this.boxesPerRow,t):this.boxesPerRow.length>e?this.boxesPerRow[e]:t},toggleCollapsingBoxes(){this.collapsingBoxesOpen=!this.collapsingBoxesOpen},boxToggled(e,t){if(this.allowMultipleExpandedBoxes)if(t)this.currentOpenBox.push(e);else{let n=this.currentOpenBox.indexOf(e);this.currentOpenBox.splice(n,1)}else this.currentOpenBox=[],t&&this.currentOpenBox.push(e)}},watch:{openBoxesByDefault:{handler(){this.currentOpenBox=[...this.openBoxesByDefault||[]]},immediate:!0},useRowViewAsDefault:{handler(){this.oneBoxPerRow=this.useRowViewAsDefault},immediate:!0}}},Wa=()=>{o.useCssVars(e=>({"7dc17307":e.boxesPerRowLarge,"3c53d129":e.boxesPerRowMedium,"7e294cd3":e.boxesPerRowSmall}))},Ga=pr.setup;pr.setup=Ga?(e,t)=>(Wa(),Ga(e,t)):Wa;const O0={class:"cmd-box-wrapper"},N0={key:0,class:"flex-container headline-wrapper"},V0={key:1,class:"options-wrapper"},F0=["title"];function A0(e,t,n,r,i,s){const a=U,l=z;return o.openBlock(),o.createElementBlock("div",O0,[n.cmdHeadline.headlineText||n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",N0,[n.cmdHeadline.headlineText?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",V0,[o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.toggleOrientation&&s.toggleOrientation(...d),["prevent"])),title:i.rowView?n.iconRowView.tooltip:n.iconGridView.tooltip},[o.createVNode(l,{iconClass:i.rowView?n.iconGridView.iconClass:n.iconRowView.iconClass,type:i.rowView?n.iconGridView.iconType:n.iconRowView.iconType},null,8,["iconClass","type"])],8,F0)])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["inner-box-wrapper",n.useFlexbox?"flex-container":"grid-container-create-columns",{"no-gap":!n.useGap,"row-view":i.rowView,"stretch-boxes-vertically":n.stretchBoxesVertically}])},[o.renderSlot(e.$slots,"default",{collapsingBoxesOpen:i.collapsingBoxesOpen,boxToggled:s.boxToggled,boxIsOpen:s.boxIsOpen,rowView:i.rowView,onToggleCollapse:t[1]||(t[1]=(...d)=>s.boxIsToggled&&s.boxIsToggled(...d))})],2)])}const Ja=V(pr,[["render",A0]]);function rt(e){return e.path?e.path:((e.route==null||typeof e.route!="object"||!e.route.path&&!e.route.name)&&console.error("Error in router configuration. Expected object with 'path' or 'name', got",e.route),e.route)}const P0={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(e){return rt(e)}}},L0={class:"cmd-breadcrumbs"},I0={key:0,class:"breadcrumb-label"},M0=["href"],R0={key:1},D0={key:1},j0={key:2},q0={key:1},z0={key:3,class:"separator"};function H0(e,t,n,r,i,s){const a=z,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("ul",L0,[n.breadcrumbLabel?(o.openBlock(),o.createElementBlock("li",I0,o.toDisplayString(n.breadcrumbLabel),1)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.breadcrumbLinks||[],(d,c)=>(o.openBlock(),o.createElementBlock("li",{key:c},[d.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:d.path},[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",R0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)],8,M0)):d.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(d)},{default:o.withCtx(()=>[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",D0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)]),_:2},1032,["to"])):(o.openBlock(),o.createElementBlock("span",j0,[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",q0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)])),c<n.breadcrumbLinks.length-1?(o.openBlock(),o.createElementBlock("span",z0,o.toDisplayString(n.breadcrumbSeparator),1)):o.createCommentVNode("",!0)]))),128))])}const Ka=V(P0,[["render",H0]]),U0={name:"CmdCompanyLogo",data(){return{prefersColorScheme:""}},props:{link:{type:Object,required:!1},pathDefaultLogo:{type:String,required:!0},pathDarkmodeLogo:{type:String,required:!1},altText:{type:String,required:!0}},computed:{pathCurrentLogo(){return this.prefersColorScheme==="light"||!this.pathDarkmodeLogo?this.pathDefaultLogo:this.pathDarkmodeLogo},image(){return{src:this.pathCurrentLogo,alt:this.altText}}},created(){this.toggleColorScheme(),window.matchMedia("(prefers-color-scheme: light)").addEventListener("change",this.onColorSchemeChange);const e=document.querySelector("html");this.$_observer=new MutationObserver(this.observeDom),this.$_observer.observe(e,{attributes:!0})},beforeUnmount(){window.matchMedia("(prefers-color-scheme: light)").removeEventListener("change",this.onColorSchemeChange),this.$_observer.disconnect()},methods:{onImageLoaded(e){this.$emit("image-loaded",e)},onColorSchemeChange(e){this.prefersColorScheme=e.matches?"light":"dark"},observeDom(e){for(let t=0;t<e.length;t++)if(e[t].type==="attributes"){this.toggleColorScheme();break}},getRoute(e){return rt(e)},toggleColorScheme(){document.querySelector("html").classList.contains("light-mode")?this.prefersColorScheme="light":document.querySelector("html").classList.contains("dark-mode")?this.prefersColorScheme="dark":matchMedia("(prefers-color-scheme: light)").matches?this.prefersColorScheme="light":this.prefersColorScheme="dark"}}},W0={class:"cmd-company-logo company-logo"},G0=["href","title"];function J0(e,t,n,r,i,s){var d,c,u,m,g,f;const a=Ne,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",W0,[((d=n.link)==null?void 0:d.type)==="router"?(o.openBlock(),o.createBlock(l,{key:0,to:(c=n.link)==null?void 0:c.path,title:(u=n.link)==null?void 0:u.tooltip},{default:o.withCtx(()=>[o.createVNode(a,{image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"])]),_:1},8,["to","title"])):((m=n.link)==null?void 0:m.type)==="href"?(o.openBlock(),o.createElementBlock("a",{key:1,href:(g=n.link)==null?void 0:g.path,title:(f=n.link)==null?void 0:f.tooltip},[o.createVNode(a,{image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"])],8,G0)):(o.openBlock(),o.createBlock(a,{key:2,image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"]))])}const Za=V(U0,[["render",J0]]),K0={name:"CmdContainer",props:{contentAboveSlot:{type:String,required:!1},innerText:{type:String,required:!1},contentBelowSlot:{type:String,required:!1},containerType:{type:String,required:!1},contentOrientation:{type:String,default:"vertical",validator(e){return e==="horizontal"||e==="vertical"}},innerClass:{type:String,required:!1},cmdHeadline:{type:Object,required:!1}},methods:{addHandlerProvider(){return""},oneSlotItem(){if(typeof this.$slots.default!="function")return!1;const e=this.$slots.default();return e.length===1&&typeof e[0].type=="symbol"&&Array.isArray(e[0].children)?e[0].children.length===1:e.length===1&&typeof e[0].type=="object"&&e[0].type.name==="RenderComponents"&&typeof e[0].props=="object"&&Array.isArray(e[0].props.components)?e[0].props.components.length===1:e.length===1}},computed:{setInnerClass(){let e=this.innerClass||"";switch(this.containerType){case"grid":e+=" grid-container-create-columns";break;case"flex":this.contentOrientation==="horizontal"?e+=" flex-container":this.contentOrientation==="vertical"&&(e+=" flex-container vertical");break}return e}}},Z0={class:"cmd-container"},X0=["innerHTML"],Q0=["innerHTML"];function Y0(e,t,n,r,i,s){const a=U;return o.openBlock(),o.createElementBlock("div",Z0,[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.contentAboveSlot?(o.openBlock(),o.createElementBlock("div",{key:1,innerHTML:n.contentAboveSlot},null,8,X0)):o.createCommentVNode("",!0),s.oneSlotItem()?o.renderSlot(e.$slots,"default",{key:2}):(o.openBlock(),o.createElementBlock("div",{key:3,class:o.normalizeClass([s.setInnerClass,"inner-slot-wrapper"])},[o.renderSlot(e.$slots,"default",{},()=>[o.createElementVNode("p",null,o.toDisplayString(n.innerText),1)])],2)),n.contentBelowSlot?(o.openBlock(),o.createElementBlock("div",{key:4,innerHTML:n.contentBelowSlot},null,8,Q0)):o.createCommentVNode("",!0)])}const $0=V(K0,[["render",Y0]]),v0={name:"CmdCookieDisclaimer",mixins:[oe,{data(){return{defaultMessageProperties:{"cookie_disclaimer.title.cookie_cannot_be_disabled":"This cookie cannot be disabled, because it is required for functionality!","cookie_disclaimer.title.toggle_to_accept_cookie":"Toggle to accept or reject this cookie!","cookie_disclaimer.title.toggle_box_content":"Toggle description visibility"}}}}],data(){return{showCookieDisclaimer:!0,dataPrivacyContent:"",openBoxes:[]}},props:{iconClassBoxCollapsed:{type:String,default:"icon-chevron-one-stripe-down"},iconClassBoxExpanded:{type:String,default:"icon-chevron-one-stripe-up"},useSlot:{type:Boolean,default:!1},modelValue:{type:Array,required:!1},cmdHeadlineCookieDisclaimer:{type:Object,default(){return{show:!0,headlineText:"Cookie disclaimer",headlineLevel:2}}},cmdBoxRequiredCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Required cookies",headlineLevel:3}}},cmdBoxOptionalCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Optional cookies",headlineLevel:3}}},cookieOptions:{type:Object,required:!1},privacyText:{type:String,required:!1},buttonLabelAcceptAllCookies:{type:String,default:"Accept all cookies!"},buttonLabelAcceptCurrentSettings:{type:String,default:"Proceed with current settings!"}},computed:{acceptedCookies:{get(){var n,r;const e=this.modelValue?[...this.modelValue]:[],t=((r=(n=this.cookieOptions)==null?void 0:n.required)==null?void 0:r.cookies)||[];for(let i=0;i<t.length;i++)e.includes(t[i].value)||e.push(t[i].value);return e},set(e){this.$emit("update:modelValue",e)}}},methods:{boxIsOpen(e){return console.log("boxOpen",this.openBoxes.includes(e)),console.log("cookieId",e),this.openBoxes.includes(e)},toggleBoxBody(e){const t=this.openBoxes.indexOf(e);t===-1?this.openBoxes.push(e):this.openBoxes.splice(t,1)},acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var r,i,s,a;const e=[],t=(i=(r=this.cookieOptions)==null?void 0:r.required)==null?void 0:i.cookies;if(t)for(let l=0;l<t.length;l++)e.push(t[l].value);const n=(a=(s=this.cookieOptions)==null?void 0:s.optional)==null?void 0:a.cookies;if(n)for(let l=0;l<n.length;l++)e.push(n[l].value);this.$emit("close-cookie-disclaimer",e)},openDataPrivacy(e){e.target.target||(e.preventDefault(),fetch(e.target.href).then(t=>t.text()).then(t=>{this.dataPrivacyContent=t}))}}},ek={class:"cmd-cookie-disclaimer flex-container vertical"},tk={key:1},nk={key:0,class:"flex-container vertical"},ok=["onClick","title"],rk={class:"collapsible-box-body"},ik={key:0},sk={key:1},ak=["href","target"],lk=["innerHTML"],ck=o.createElementVNode("hr",null,null,-1),dk={key:1,class:"flex-container vertical"},uk=["onClick","title"],mk={class:"collapsible-box-body"},fk={key:0},hk={key:1},pk=["href","target"],gk=["innerHTML"],yk=["innerHTML"],bk={class:"button-wrapper align-center"};function kk(e,t,n,r,i,s){const a=U,l=X;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var d,c,u;return[o.createElementVNode("div",ek,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock("div",tk,[(d=n.cmdHeadlineCookieDisclaimer)!=null&&d.show&&((c=n.cmdHeadlineCookieDisclaimer)!=null&&c.headlineText)&&((u=n.cmdHeadlineCookieDisclaimer)!=null&&u.headlineLevel)?(o.openBlock(),o.createBlock(a,{key:0,headlineText:n.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:n.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"cookie-options",{},()=>{var m,g,f,h,y,p,C,T;return[(m=n.cookieOptions)!=null&&m.required?(o.openBlock(),o.createElementBlock("div",nk,[(g=n.cmdBoxRequiredCookies)!=null&&g.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-text":(f=n.cmdBoxRequiredCookies)==null?void 0:f.headlineText,"headline-level":(h=n.cmdBoxRequiredCookies)==null?void 0:h.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.required.cookies||[],(k,A)=>(o.openBlock(),o.createElementBlock("div",{key:A,class:"collapsible-box"},[o.createElementVNode("header",null,[o.createVNode(l,{element:"input",type:"checkbox",modelValue:s.acceptedCookies,"onUpdate:modelValue":t[0]||(t[0]=N=>s.acceptedCookies=N),inputValue:k.value,labelText:k.labelText,disabled:k.disabled,id:k.id,toggleSwitch:!0,title:e.getMessage("cookie_disclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"]),o.createElementVNode("a",{href:"#",onClick:o.withModifiers(N=>s.toggleBoxBody(k.id),["prevent"]),title:e.getMessage("cookie_disclaimer.title.toggle_box_content")},[o.createElementVNode("span",{class:o.normalizeClass(s.boxIsOpen(k.id)?n.iconClassBoxExpanded:n.iconClassBoxCollapsed)},null,2)],8,ok)]),o.withDirectives(o.createElementVNode("div",rk,[k.description?(o.openBlock(),o.createElementBlock("p",ik,o.toDisplayString(k.description),1)):o.createCommentVNode("",!0),k.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",sk,[o.createTextVNode(o.toDisplayString(k.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[1]||(t[1]=(...N)=>s.openDataPrivacy&&s.openDataPrivacy(...N)),href:k.linkDataPrivacy.link,target:k.linkDataPrivacy.target},o.toDisplayString(k.linkDataPrivacy.linkText),9,ak)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,lk)):o.createCommentVNode("",!0)],512),[[o.vShow,s.boxIsOpen(k.id)]])]))),128))])):o.createCommentVNode("",!0),ck,(y=n.cookieOptions)!=null&&y.optional?(o.openBlock(),o.createElementBlock("div",dk,[(p=n.cmdBoxOptionalCookies)!=null&&p.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-text":(C=n.cmdBoxOptionalCookies)==null?void 0:C.headlineText,"headline-level":(T=n.cmdBoxOptionalCookies)==null?void 0:T.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.optional.cookies||[],(k,A)=>(o.openBlock(),o.createElementBlock("div",{key:A,class:"collapsible-box"},[o.createElementVNode("header",null,[o.createVNode(l,{element:"input",type:"checkbox",modelValue:s.acceptedCookies,"onUpdate:modelValue":t[2]||(t[2]=N=>s.acceptedCookies=N),inputValue:k.value,labelText:k.labelText,disabled:k.disabled,id:k.id,toggleSwitch:!0,title:e.getMessage("cookie_disclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"]),o.createElementVNode("a",{href:"#",onClick:o.withModifiers(N=>s.toggleBoxBody(k.id),["prevent"]),title:e.getMessage("cookie_disclaimer.title.toggle_box_content")},[o.createElementVNode("span",{class:o.normalizeClass(s.boxIsOpen(k.id)?n.iconClassBoxExpanded:n.iconClassBoxCollapsed)},null,2)],8,uk)]),o.withDirectives(o.createElementVNode("div",mk,[k.description?(o.openBlock(),o.createElementBlock("p",fk,o.toDisplayString(k.description),1)):o.createCommentVNode("",!0),k.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",hk,[o.createTextVNode(o.toDisplayString(k.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[3]||(t[3]=(...N)=>s.openDataPrivacy&&s.openDataPrivacy(...N)),href:k.linkDataPrivacy.link,target:k.linkDataPrivacy.target},o.toDisplayString(k.linkDataPrivacy.linkText),9,pk)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,gk)):o.createCommentVNode("",!0)],512),[[o.vShow,s.boxIsOpen(k.id)]])]))),128))])):o.createCommentVNode("",!0)]}),n.privacyText?(o.openBlock(),o.createElementBlock("div",{key:1,class:"privacy-text",innerHTML:n.privacyText},null,8,yk)):o.createCommentVNode("",!0),o.createElementVNode("div",bk,[n.buttonLabelAcceptCurrentSettings?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",onClick:t[4]||(t[4]=(...m)=>s.acceptCurrentCookies&&s.acceptCurrentCookies(...m))},[o.createElementVNode("span",null,o.toDisplayString(n.buttonLabelAcceptCurrentSettings),1)])):o.createCommentVNode("",!0),n.buttonLabelAcceptAllCookies?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"primary",onClick:t[5]||(t[5]=(...m)=>s.acceptAllCookies&&s.acceptAllCookies(...m))},[o.createElementVNode("span",null,o.toDisplayString(n.buttonLabelAcceptAllCookies),1)])):o.createCommentVNode("",!0)])]))])]}),_:3})}const Ck=V(v0,[["render",kk]]),wk={name:"CmdCopyrightWrapper"},xk={class:"cmd-copyright-information",role:"contentinfo"},Bk=[o.createElementVNode("a",{href:"https://www.comand-ui.com",target:"comand-ui-website",lang:"en",title:"CoManD-UI-Website"},"© CoManD-UI",-1)];function _k(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("div",xk,Bk)}const Ek=V(wk,[["render",_k]]),Sk={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[oe,{data(){return{defaultMessageProperties:{"fake_select.headline.requirements_for_input":"Requirements for input","fake_select.linktext.deselect_all_options":"Deselect all options","fake_select.linktext.select_all_options":"Select all options","fake_select.headline.an_option_is_selected":"An option is selected","fake_select.option.options_selected":"{0} options selected",...ar.data().defaultMessageProperties}}}},lr,un,ur],data(){return{showOptions:!1,validationStatus:"",allOptionsSelected:!1}},props:{type:{type:String,default:"default",validator(e){return e==="default"||e==="color"||e==="country"||e==="content"||e==="checkboxOptions"}},optionLinkType:{type:String,default:"href",validator(e){return e==="href"||e==="router"}},modelValue:{type:[String,Number,Array],default:""},selectData:{type:Array,required:!1},showSelectAllOptions:{type:Boolean,default:!0},status:{type:String,required:!1,validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},iconDropdown:{type:Object,default(){return{iconClass:"icon-chevron-one-stripe-down",tooltip:"Toggle dropdown visibility",iconType:"auto"}}},labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},showStatusIcon:{type:Boolean,default:!0},pathFlags:{type:String,default:"/media/images/flags"},textPleaseSelect:{type:String,default:"Please select…"},iconSelectAllOptions:{type:Object,default(){return{iconClass:"icon-check",iconType:"auto"}}},iconDeselectAllOptions:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validation_tooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validation_tooltip.open_field_requirements"):this.getValidationMessage},optionName(){var e,t;if(this.type!=="checkboxOptions"&&this.type!=="content"&&this.modelValue){const n=this.selectData.find(r=>r.value===this.modelValue);if(n)return n.text}else if(this.type==="checkboxOptions"){if(this.modelValue.length===1)return(e=this.selectData.find(n=>String(n.value)===String(this.modelValue[0])))==null?void 0:e.text;if(this.modelValue.length>1)return this.getMessage("fake_select.option.options_selected",this.modelValue.length)}else if((t=this.selectData)!=null&&t.length)return this.selectData[0].text;return this.textPleaseSelect},optionIcon(){if(this.type==="default"){const e=this.selectData.find(t=>t.value===this.modelValue);return{iconClass:e==null?void 0:e.iconClass,tooltip:e==null?void 0:e.tooltip}}return null},optionCountry(){var e,t;return this.type==="country"?this.modelValue||((t=(e=this.selectData)==null?void 0:e[0])==null?void 0:t.value):null},optionColor(){var e,t;return this.type==="color"?this.modelValue||((t=(e=this.selectData)==null?void 0:e[0])==null?void 0:t.value):null},selectAllOptionsText(){return Array.isArray(this.modelValue)&&this.modelValue.length===this.selectData.length?(this.allOptionsSelected=!0,this.getMessage("fake_select.linktext.deselect_all_options")):(this.allOptionsSelected=!1,this.getMessage("fake_select.linktext.select_all_options"))}},methods:{toggleAllOptions(){this.validationStatus="success";const e=[];if(this.modelValue.length===this.selectData.length)this.$attrs.required&&(this.validationStatus="error");else for(let t=0;t<this.selectData.length;t++)e.push(String(this.selectData[t].value));this.$emit("update:modelValue",e)},toggleOptions(){this.$attrs.disabled!=="disabled"&&(this.showOptions=!this.showOptions)},compareValues(e){return this.modelValue.some(t=>t===e||t===String(e))},selectOption(e){this.validationStatus="success",this.$attrs.required!==void 0&&(e||(this.validationStatus="error")),this.showOptions=!1,this.$emit("update:modelValue",e)},optionSelect(e){this.validationStatus="success";let t=[...this.modelValue];e.target.checked?t.push(e.target.value):t=t.filter(n=>n!==e.target.value&&String(n)!==e.target.value),this.$attrs.required!==void 0&&!t.length&&(this.validationStatus="error"),this.$emit("update:modelValue",t)},closeOptions(){this.showOptions=!1},pathFlag(e){return this.pathFlags+"/flag-"+e+".svg"},onBlur(){this.validationStatus="success",this.$attrs.required!==void 0&&(!this.modelValue||this.modelValue.length===0)&&(this.validationStatus="error")},getRequirementMessage(){return this.getMessage("fake_select.headline.an_option_is_selected")}},watch:{status:{handler(){this.validationStatus=this.status},immediate:!0},selectData:{handler(){var e;this.type==="default"&&((e=this.selectData)!=null&&e.length)&&!this.selectData.some(t=>t.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},Tk=["title","aria-labelledby","aria-required"],Ok={key:0,class:"label-text"},Nk=["id"],Vk={key:0,"aria-hidden":"true"},Fk=["title","aria-errormessage","id"],Ak=["aria-expanded"],Pk=["title"],Lk=["src","alt"],Ik={key:3,class:"option-name"},Mk={key:0,role:"listbox"},Rk=["aria-selected"],Dk=["onClick","title"],jk={key:1},qk=["aria-expanded"],zk=["for"],Hk=["value","checked","id"],Uk=["onClick"],Wk=["src","alt"],Gk=["onClick"],Jk={key:0,class:"select-all-options"};function Kk(e,t,n,r,i,s){var c,u,m,g;const a=z,l=sr,d=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([i.validationStatus,"cmd-fake-select label",{color:n.type==="color","has-state":i.validationStatus&&i.validationStatus!=="none",disabled:e.$attrs.disabled}]),title:e.$attrs.title,role:"listbox","aria-labelledby":e.htmlId,"aria-required":e.$attrs.required!==void 0,ref:"fakeselect"},[n.showLabel?(o.openBlock(),o.createElementBlock("span",Ok,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),e.$attrs.required!==void 0?(o.openBlock(),o.createElementBlock("sup",Vk,"*")):o.createCommentVNode("",!0)],8,Nk),(e.$attrs.required||e.inputRequirements.length)&&n.showStatusIcon?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),title:s.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(a,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,Fk)):o.createCommentVNode("",!0),e.useCustomTooltip&&(i.validationStatus===""||i.validationStatus==="error")?(o.openBlock(),o.createBlock(l,{key:1,ref:"tooltip",validationStatus:i.validationStatus,validationMessage:e.getValidationMessage,relatedId:e.tooltipId,cmdListOfRequirements:e.listOfRequirements,role:i.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("ul",{class:o.normalizeClass({open:i.showOptions}),onClickout:t[5]||(t[5]=(...f)=>s.closeOptions&&s.closeOptions(...f)),"aria-expanded":i.showOptions},[o.createElementVNode("li",null,[o.createElementVNode("a",{href:"#",onClick:t[1]||(t[1]=o.withModifiers((...f)=>s.toggleOptions&&s.toggleOptions(...f),["prevent"])),onBlur:t[2]||(t[2]=(...f)=>s.onBlur&&s.onBlur(...f)),title:(c=s.optionIcon)==null?void 0:c.tooltip},[n.type==="country"&&s.optionCountry?(o.openBlock(),o.createElementBlock("img",{key:0,src:s.pathFlag(s.optionCountry),alt:s.optionCountry,class:o.normalizeClass(["flag",s.optionCountry])},null,10,Lk)):n.type==="color"?(o.openBlock(),o.createElementBlock("span",{key:1,style:o.normalizeStyle("background: "+s.optionColor)},null,4)):o.createCommentVNode("",!0),(u=s.optionIcon)!=null&&u.iconClass?(o.openBlock(),o.createBlock(a,{key:2,type:(m=s.optionIcon)==null?void 0:m.iconType,iconClass:(g=s.optionIcon)==null?void 0:g.iconClass},null,8,["type","iconClass"])):o.createCommentVNode("",!0),s.optionName?(o.openBlock(),o.createElementBlock("span",Ik,o.toDisplayString(s.optionName),1)):o.createCommentVNode("",!0),n.iconDropdown?(o.openBlock(),o.createBlock(a,{key:4,iconClass:n.iconDropdown.iconClass,type:n.iconDropdown.iconType,title:n.iconDropdown.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0)],40,Pk),n.type==="default"&&i.showOptions?(o.openBlock(),o.createElementBlock("ul",Mk,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectData,(f,h)=>(o.openBlock(),o.createElementBlock("li",{key:h,role:"option","aria-selected":f.value===n.modelValue},[n.optionLinkType==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue}),title:f.tooltip},[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",jk,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0)],10,Dk)):o.createCommentVNode("",!0),n.optionLinkType==="router"?(o.openBlock(),o.createBlock(d,{key:1,to:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},{default:o.withCtx(()=>[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),o.createElementVNode("span",null,o.toDisplayString(f.text),1)]),_:2},1032,["onClick","class"])):o.createCommentVNode("",!0)],8,Rk))),128))])):n.type!=="default"&&n.type!=="content"&&i.showOptions?(o.openBlock(),o.createElementBlock("ul",{key:1,class:o.normalizeClass({"checkbox-options":n.type==="checkboxOptions"}),"aria-expanded":i.showOptions},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectData,(f,h)=>(o.openBlock(),o.createElementBlock("li",{key:h},[n.type==="checkboxOptions"?(o.openBlock(),o.createElementBlock("label",{key:0,for:"option-"+(h+1),class:o.normalizeClass({active:n.modelValue.includes(`${f.value}`)})},[o.createElementVNode("input",{type:"checkbox",value:f.value,onChange:t[3]||(t[3]=(...y)=>s.optionSelect&&s.optionSelect(...y)),checked:s.compareValues(f.value),id:"option-"+(h+1)},null,40,Hk),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,zk)):n.type==="country"?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},[o.createElementVNode("img",{class:"flag",src:s.pathFlag(f.value),alt:f.text},null,8,Wk),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,Uk)):n.type==="color"?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},[o.createElementVNode("span",{class:"color",style:o.normalizeStyle("background: "+f.value)},null,4),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,Gk)):o.createCommentVNode("",!0)]))),128)),n.showSelectAllOptions&&n.type==="checkboxOptions"?(o.openBlock(),o.createElementBlock("li",Jk,[o.createElementVNode("a",{href:"#",onClick:t[4]||(t[4]=o.withModifiers((...f)=>s.toggleAllOptions&&s.toggleAllOptions(...f),["prevent"]))},[i.allOptionsSelected?(o.openBlock(),o.createBlock(a,{key:1,iconClass:n.iconDeselectAllOptions.iconClass,type:n.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.iconSelectAllOptions.iconClass,type:n.iconSelectAllOptions.iconType},null,8,["iconClass","type"])),o.createElementVNode("span",null,o.toDisplayString(s.selectAllOptionsText),1)])])):o.createCommentVNode("",!0)],10,qk)):n.type==="content"&&i.showOptions?o.renderSlot(e.$slots,"default",{key:2}):o.createCommentVNode("",!0)])],42,Ak)],10,Tk)}const Xa=V(Sk,[["render",Kk]]),Zk={name:"CmdFormFilters",data(){return{options:[]}},props:{modelValue:{type:Array,required:!0},linkDeleteAllFilters:{type:Object,default(){return{text:"Delete all filters",icon:{show:!0,iconClass:"icon-error-circle",tooltip:""}}}},deleteFilterIcon:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Delete this filter",type:"auto"}}},selectedOptionsName:{type:Function,required:!0}},methods:{deleteAllFilters(){this.options=[],this.updateSelectedOptions()},deleteClickedFilter(e){this.options.splice(e,1),this.updateSelectedOptions()},updateSelectedOptions(){this.$emit("update:modelValue",this.options)}},watch:{modelValue:{handler(){this.modelValue?this.options=JSON.parse(JSON.stringify(this.modelValue)):this.options=[]},immediate:!0,deep:!0}}},Xk={key:0,class:"cmd-form-filters"},Qk={key:0},Yk={key:1},$k=["onClick","title"];function vk(e,t,n,r,i,s){const a=z;return i.options.length?(o.openBlock(),o.createElementBlock("ul",Xk,[i.options.length>1?(o.openBlock(),o.createElementBlock("li",Qk,[o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.deleteAllFilters&&s.deleteAllFilters(...l),["prevent"]))},[n.linkDeleteAllFilters.icon&&n.linkDeleteAllFilters.icon.show?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.linkDeleteAllFilters.icon.iconClass,title:n.linkDeleteAllFilters.icon.tooltip},null,8,["iconClass","title"])):o.createCommentVNode("",!0),n.linkDeleteAllFilters.text?(o.openBlock(),o.createElementBlock("span",Yk,o.toDisplayString(n.linkDeleteAllFilters.text),1)):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.options,(l,d)=>(o.openBlock(),o.createElementBlock("li",{key:d},[o.createElementVNode("a",{href:"#",onClick:o.withModifiers(c=>s.deleteClickedFilter(d),["prevent"]),title:n.deleteFilterIcon.tooltip},[o.createElementVNode("span",null,o.toDisplayString(n.selectedOptionsName(l)),1),o.createVNode(a,{iconClass:n.deleteFilterIcon.iconClass,type:n.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,$k)]))),128))])):o.createCommentVNode("",!0)}const Qa=V(Zk,[["render",vk]]),eC={name:"CmdSystemMessage",mixins:[un],data(){return{showSystemMessage:!0}},props:{useTransition:{type:Boolean,default:!0},validationStatus:{type:String,required:!0,validator(e){return e==="error"||e==="warning"||e==="success"||e==="info"}},fullWidth:{type:Boolean,default:!0},iconMessage:{type:Object,default:function(){return{show:!0,iconClass:"icon-warning",type:"auto"}}},systemMessage:{type:String,required:!1},messageHeadlineLevel:{type:[Number,String],default(){return 6}},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel-circle",tooltip:"Close this message"}}}},computed:{headlineIcon(){return this.iconMessage.show?{iconClass:this.iconMessage.iconClass,type:this.iconMessage.type}:null}},watch:{message(){this.showSystemMessage=!0}}},tC=["role","aria-labelledby"],nC=["title"];function oC(e,t,n,r,i,s){const a=z,l=U;return o.openBlock(),o.createBlock(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[i.showSystemMessage?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["cmd-system-message","system-message","flex-container","vertical",{"full-width":n.fullWidth},n.validationStatus]),role:n.validationStatus==="error"?"alert":"dialog","aria-labelledby":e.htmlId},[n.iconClose.show&&n.iconClose.iconClass?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"close-button",onClick:t[0]||(t[0]=o.withModifiers(d=>i.showSystemMessage=!1,["prevent"])),title:n.iconClose.tooltip},[o.createVNode(a,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,nC)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createVNode(l,{class:"message-headline",cmdIcon:s.headlineIcon,headlineText:n.systemMessage,headlineLevel:n.messageHeadlineLevel,id:e.htmlId},null,8,["cmdIcon","headlineText","headlineLevel","id"])])],10,tC)):o.createCommentVNode("",!0)]),_:3},8,["name"])}const gr=V(eC,[["render",oC]]),rC={data(){return{defaultMessageProperties:{"google_maps.system_message.accept_terms":"You must accept cookies to view the map.","google_maps.button_text.accept_required_cookies":"Accept required cookies"}}}},Ya="acceptedCookies";function $a(e,t=365){const n=[...yr(),...e].join(",");let r="";const i=new Date;i.setTime(i.getTime()+t*24*60*60*1e3),r="; expires="+i.toUTCString(),document.cookie=Ya+"="+encodeURIComponent(n)+r+"; SameSite=strict; path=/"}function yr(){const e=document.cookie.split(";").map(t=>t.trim()).find(t=>t.startsWith(Ya+"="));if(e){const t=e.indexOf("=");return decodeURIComponent(e.slice(t+1)).split(",")}return[]}const iC={name:"CmdGoogleMaps",mixins:[oe,rC],data(){return{cookiesAccepted:!1}},props:{cookiesAlreadyAccepted:{type:Boolean,default:!1},address:{type:Object,required:!0}},mounted(){yr().includes("google-maps")&&(this.cookiesAccepted=!0)},computed:{locateAddress(){if(this.address){const e=new URL("https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed");return e.searchParams.set("hl","de"),e.searchParams.set("q",[this.address.streetNo,this.address.zip,this.address.city,this.address.latitude,this.address.longitude,this.address.location].join(" ").trim()),e.href}return"https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed"}},methods:{acceptCookies(){$a(["google-maps"]),this.cookiesAccepted=!0,this.$emit("click",this.cookiesAccepted)}},watch:{cookiesAlreadyAccepted:{handler(){this.cookiesAccepted=this.cookiesAlreadyAccepted},immediate:!0}}},sC={class:"cmd-google-maps responsive-wrapper"},aC=["src"];function lC(e,t,n,r,i,s){const a=gr;return o.openBlock(),o.createElementBlock("div",sC,[i.cookiesAccepted?(o.openBlock(),o.createElementBlock("iframe",{key:1,src:s.locateAddress},null,8,aC)):(o.openBlock(),o.createBlock(a,{key:0,validationStatus:"warning"},{default:o.withCtx(()=>[o.createElementVNode("p",null,o.toDisplayString(e.getMessage("google_maps.system_message.accept_terms")),1),o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.acceptCookies&&s.acceptCookies(...l),["prevent"]))},o.toDisplayString(e.getMessage("google_maps.button_text.accept_required_cookies")),1)]),_:1}))])}const va=V(iC,[["render",lC]]),cC={name:"CmdImageGallery",mixins:[Y],props:{cmdHeadline:{type:Object,required:!1},useFancyboxForLargeImages:{type:Boolean,default:!0},images:{type:Array,required:!0},figcaptionPosition:{type:String,required:!1,validator(e){return e==="top"||e==="bottom"}}},methods:{itemProvider(){return{image:{src:"/media/images/demo-images/medium/landscape-01.jpg",alt:"Alternative Text"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},figcaption(e){const t={...e.figcaption};return this.figcaptionPosition&&(t.position=this.figcaptionPosition),t},onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","images",-1),this.itemProvider)},showFancyBox(e){qe({fancyBoxGallery:this.images,defaultGalleryIndex:e})},getMessage(){return""},imageStructure(){return{itemProviderOverwrite:()=>({image:{srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",tooltip:"Tooltip DE"}})}},updateHandlerProvider(){const e=this.editableHtmlContent;return Q(this,{update(t,n){t.htmlContent=e;const r=n==null?void 0:n.find(i=>i.name==="CmdHeadline");r&&(t.cmdHeadline=t.cmdHeadline||{},r.update(t.cmdHeadline))}})}}},dC={class:"grid-container-create-columns cmd-image-gallery"},uC=["onClick","title"],mC=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new gallery-image",-1)];function fC(e,t,n,r,i,s){var d;const a=U,l=Ne;return o.openBlock(),o.createElementBlock("div",dC,[(d=n.cmdHeadline)!=null&&d.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),e.editModeContext?n.images.length?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:2},o.renderList(n.images,(c,u)=>(o.openBlock(),o.createBlock(l,{key:u,class:"image-wrapper",image:c.image,figcaption:c.figcaption,componentPath:["props","images",u],editModeConfig:s.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"]))),128)):(o.openBlock(),o.createElementBlock("button",{key:3,type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...c)=>s.onAddItem&&s.onAddItem(...c))},mC)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.useFancyboxForLargeImages?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.images,(c,u)=>(o.openBlock(),o.createElementBlock("a",{class:"image-wrapper",key:u,href:"#",onClick:o.withModifiers(m=>s.showFancyBox(u),["prevent"]),title:s.getMessage("image_gallery.tooltip.open_large_image")},[o.createVNode(l,{image:c.image,figcaption:s.figcaption(c)},null,8,["image","figcaption"])],8,uC))),128)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(n.images,(c,u)=>(o.openBlock(),o.createElementBlock("div",{key:`i${u}`,class:"image-wrapper"},[o.createVNode(l,{image:c.image,figcaption:s.figcaption(c)},null,8,["image","figcaption"])]))),128))],64))])}const hC=V(cC,[["render",fC]]),pC={name:"CmdImageZoom",props:{imageSmall:{type:Object,required:!0},imageLarge:{type:Object,required:!0}},data(){return{showLargeImage:!1}},methods:{onMouseOver(e){this.showLargeImage=!0,this.$nextTick(()=>{const t=window.innerHeight-this.$el.getBoundingClientRect().y-10,n=this.$el.querySelector(".zoom-container");n.style.height=`${t}px`,el(this,e)})},onMouseMove(e){el(this,e)},onMouseOut(){this.showLargeImage=!1}}};function el(e,t){const n=e.$el.querySelector(".zoom-container"),r=n.querySelector("img"),i=e.$el.querySelector(".zoom-overlay"),s=t.target.getBoundingClientRect().width,a=t.target.getBoundingClientRect().height,l=r.getBoundingClientRect().width,d=r.getBoundingClientRect().height,c=t.pageX-t.target.getBoundingClientRect().x-window.pageXOffset,u=t.pageY-t.target.getBoundingClientRect().y-window.pageYOffset,m=Math.min(s,n.getBoundingClientRect().width/l*s),g=Math.min(a,n.getBoundingClientRect().height/d*a),f=tl(c-m/2,0,s-m),h=tl(u-g/2,0,a-g),y=-(f*(l/s)),p=-(h*(d/a));i.style.left=`${f}px`,i.style.top=`${h}px`,i.style.width=`${m}px`,i.style.height=`${g}px`,i.style.display="block",r.style.marginLeft=`${y}px`,r.style.marginTop=`${p}px`}function tl(e,t,n){return e<t?t:e>n?n:e}const gC={class:"cmd-image-zoom flex-container"},yC=["title"],bC={class:"zoom-container"},kC=o.createElementVNode("div",{class:"zoom-overlay"},null,-1);function CC(e,t,n,r,i,s){const a=Ne;return o.openBlock(),o.createElementBlock("div",gC,[o.createElementVNode("a",{href:"#",class:"no-flex thumbnails-imagezoom",title:n.imageSmall.image.tooltip},[o.createVNode(a,o.mergeProps(n.imageSmall,{figcaption:{},onMouseover:s.onMouseOver,onMousemove:s.onMouseMove,onMouseout:s.onMouseOut}),null,16,["onMouseover","onMousemove","onMouseout"])],8,yC),o.createElementVNode("div",bC,[o.createVNode(a,o.mergeProps(n.imageLarge,{useFigureTag:!1}),null,16)]),kC])}const wC=V(pC,[["render",CC]]),xC={mixins:[ar,lr,un,ur],props:{modelValue:{type:[Array,String],required:!1},required:{type:Boolean,default:!1},showStatusIcon:{type:Boolean,default:!0},inputElements:{type:Array,required:!1},inputTypes:{type:String,default:"radio",validator(e){return e==="checkbox"||e==="radio"}},status:{type:String,required:!1,validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},replaceInputType:{type:Boolean,default:!1},toggleSwitches:{type:Boolean,default:!1},useSlot:{type:Boolean,default:!1},multipleSwitch:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!0},labelInline:{type:Boolean,default:!1},stretchHorizontally:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{updateStatus(){var e;if(this.required){if((e=this.inputValue)!=null&&e.length){this.validationStatus="success";return}this.validationStatus="error";return}this.validationStatus=this.status}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validation_tooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validation_tooltip.open_field_requirements"):this.getValidationMessage},inputValue:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},watch:{status:{handler(){this.updateStatus()},immediate:!0},modelValue:{handler(){this.updateStatus()},immediate:!0}}},BC=["aria-labelledby"],_C={class:"label-text"},EC=["id"],SC={key:0,"aria-hidden":"true"},TC=["title","aria-errormessage","id"],OC=["for"],NC=["type","id","name","value","disabled"],VC={key:1,class:"label-text"},FC={key:1,class:"flex-container no-flex"};function AC(e,t,n,r,i,s){const a=z,l=sr;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-input-group label",e.validationStatus,{inline:n.labelInline,"multiple-switch":n.multipleSwitch,disabled:n.disabled,"toggle-switches":n.toggleSwitches,"has-state":e.validationStatus}]),"aria-labelledby":e.htmlId},[o.withDirectives(o.createElementVNode("span",_C,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),n.required?(o.openBlock(),o.createElementBlock("sup",SC,"*")):o.createCommentVNode("",!0)],8,EC),(n.required||e.inputRequirements.length>0)&&n.showStatusIcon?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),title:s.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(a,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,TC)):o.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(o.openBlock(),o.createBlock(l,{key:1,ref:"tooltip",showRequirements:e.showRequirements,cmdListOfRequirements:e.listOfRequirements,validationStatus:e.validationStatus,validationMessage:e.getValidationMessage,inputAttributes:e.$attrs,inputModelValue:n.modelValue,helplink:e.helplink,relatedId:e.tooltipId,role:e.validationStatus==="error"?"alert":"dialog"},null,8,["showRequirements","cmdListOfRequirements","validationStatus","validationMessage","inputAttributes","inputModelValue","helplink","relatedId","role"])):o.createCommentVNode("",!0)],512),[[o.vShow,n.showLabel]]),n.useSlot?(o.openBlock(),o.createElementBlock("div",FC,[o.renderSlot(e.$slots,"default")])):(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["flex-container",{"no-flex":!n.stretchHorizontally,"no-gap":n.multipleSwitch}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.inputElements,(d,c)=>(o.openBlock(),o.createElementBlock("label",{key:c,for:d.id,class:o.normalizeClass({"toggle-switch":n.toggleSwitches})},[o.withDirectives(o.createElementVNode("input",{type:n.inputTypes,id:d.id,name:d.name,value:d.value,"onUpdate:modelValue":t[1]||(t[1]=u=>s.inputValue=u),disabled:n.disabled,class:o.normalizeClass({"replace-input-type":n.replaceInputType})},null,10,NC),[[o.vModelDynamic,s.inputValue]]),n.multipleSwitch&&d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.labelText?(o.openBlock(),o.createElementBlock("span",VC,o.toDisplayString(d.labelText),1)):o.createCommentVNode("",!0)],10,OC))),128))],2))],10,BC)}const nl=V(xC,[["render",AC]]),PC={name:"CmdLoginForm",data(){return{usernameValidationStatus:!1,passwordValidationStatus:!1,emailValidationStatus:!1,sendLoginMail:"",sendLogin:!1}},props:{modelValue:{type:Object,default(){return{username:"",password:""}}},orientation:{type:String,default:null,validator(e){return e==="vertical"||e==="horizontal"}},legendLoginForm:{type:Object,default(){return{show:!0,align:"right",text:"Login form"}}},legendForgotLoginForm:{type:Object,default(){return{show:!0,align:'right"',text:"Forgot login form"}}},cmdHeadlineLoginForm:{type:Object,required:!1},cmdHeadlineSendLoginForm:{type:Object,required:!1},cmdFormElementUsername:{type:Object,required:!1},cmdFormElementPassword:{type:Object,required:!1},cmdFormElementSendLogin:{type:Object,required:!1},options:{type:Object,default(){return{forgotPassword:{icon:{show:!0,iconClass:"icon-questionmark-circle",tooltip:""},text:"Forgot password"},createAccount:{linkType:"href",path:"#",icon:{show:!0,iconClass:"icon-register",tooltip:""},text:"Create new account"},backToLoginForm:{icon:{show:!0,iconClass:"icon-chevron-one-stripe-left",tooltip:""},text:"Back to login form"}}}},buttonLogin:{type:Object,required:!1},buttonSendLogin:{type:Object,required:!1}},computed:{cmdFormElementUsernameOptions(){return{labelText:"Username:",placeholder:"Type in username",fieldIconClass:"icon-user-profile",name:"login-username",id:"login-username",required:!0,...this.cmdFormElementUsername}},cmdFormElementPasswordOptions(){return{labelText:"Password:",placeholder:"Type in password",fieldIconClass:"icon-security-settings",name:"login-password",id:"login-password",required:!0,...this.cmdFormElementPassword}},cmdFormElementSendLoginOptions(){return{labelText:"Email-address:",placeholder:"Type in email-address you are registered with",fieldIconClass:"icon-mail",name:"login-send-login",id:"login-send-login",required:!0,...this.cmdFormElementSendLogin}},buttonLoginOptions(){return{linkType:"button",type:"submit",path:"",text:"Login",primary:!0,icon:{show:!0,iconClass:"icon-logon",tooltip:""},...this.buttonLogin}},buttonSendLoginOptions(){return{linkType:"button",type:"submit",path:"",text:"Send login",primary:!0,icon:{show:!0,iconClass:"icon-mail",tooltip:""},...this.buttonSendLogin}},buttonLoginDisabled(){return!(this.usernameValidationStatus&&this.passwordValidationStatus)},buttonSendLoginDisabled(){return!this.emailValidationStatus},username:{get(){return this.modelValue.username},set(e){this.$emit("update:modelValue",{username:e,password:this.password})}},password:{get(){return this.modelValue.password},set(e){this.$emit("update:modelValue",{username:this.username,password:e})}}},methods:{toggleSendLoginView(){this.sendLogin=!this.sendLogin,this.$nextTick(()=>{this.sendLogin?this.$refs.sendPassword.setFocus():this.$refs.username.setFocus()})},modelChange(){this.$emit("update:modelValue",{username:this.username,password:this.password})},onClick(e){this.$emit("click",e)},getRoute(e){return rt(e)},checkValidationStatus(e,t){e!=null&&(t==="username"?this.usernameValidationStatus=e==="success":t==="password"?this.passwordValidationStatus=e==="success":this.emailValidationStatus=e==="success")}},watch:{username(){this.modelChange()},password(){this.modelChange()}}},LC={class:"cmd-login-form flex-container"},IC={class:"option-wrapper flex-container"},MC={key:1},RC=["type","disabled"],DC={key:1},jC={class:"cmd-login-form flex-container"},qC={class:"option-wrapper flex-container"},zC={key:1},HC=["type","disabled"],UC={key:1};function WC(e,t,n,r,i,s){var u,m,g,f,h,y,p,C;const a=U,l=X,d=z,c=ot;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.withDirectives(o.createElementVNode("fieldset",LC,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legendLoginForm.show,"align-left":n.legendLoginForm.align==="left"})},o.toDisplayString(n.legendLoginForm.text),3),n.cmdHeadlineLoginForm?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineLoginForm)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["login-fields flex-container",{vertical:n.orientation==="vertical"}])},[o.createVNode(l,o.mergeProps({element:"input",type:"text",ref:"username",modelValue:s.username,"onUpdate:modelValue":t[0]||(t[0]=T=>s.username=T)},s.cmdFormElementUsernameOptions,{onValidationStatusChange:t[1]||(t[1]=T=>s.checkValidationStatus(T,"username"))}),null,16,["modelValue"]),o.createVNode(l,o.mergeProps({element:"input",type:"password",modelValue:s.password,"onUpdate:modelValue":t[2]||(t[2]=T=>s.password=T)},s.cmdFormElementPasswordOptions,{onValidationStatusChange:t[3]||(t[3]=T=>s.checkValidationStatus(T,"password"))}),null,16,["modelValue"])],2),o.renderSlot(e.$slots,"login"),o.createElementVNode("div",IC,[n.options.forgotPassword||n.options.createAccount?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.options.forgotPassword?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[4]||(t[4]=o.withModifiers((...T)=>s.toggleSendLoginView&&s.toggleSendLoginView(...T),["prevent"]))},[(u=n.options.forgotPassword.icon)!=null&&u.show&&((m=n.options.forgotPassword.icon)!=null&&m.iconClass)?(o.openBlock(),o.createBlock(d,{key:0,iconClass:n.options.forgotPassword.icon.iconClass,type:n.options.forgotPassword.icon.iconType,title:n.options.forgotPassword.icon.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0),n.options.forgotPassword.text?(o.openBlock(),o.createElementBlock("span",MC,o.toDisplayString(n.options.forgotPassword.text),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.options.createAccount?(o.openBlock(),o.createBlock(c,{key:1,linkType:n.options.createAccount.linkType,path:n.options.createAccount.path,text:n.options.createAccount.text,icon:{iconClass:(g=n.options.createAccount.icon)==null?void 0:g.iconClass,tooltip:(f=n.options.createAccount.icon)==null?void 0:f.tooltip,position:(h=n.options.createAccount.icon)==null?void 0:h.position}},null,8,["linkType","path","text","icon"])):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),s.buttonLoginOptions.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:1,type:s.buttonLoginOptions.type==="submit"?"submit":"button",class:o.normalizeClass(["button",{primary:s.buttonLoginOptions.primary}]),onClick:t[5]||(t[5]=(...T)=>s.onClick&&s.onClick(...T)),disabled:s.buttonLoginDisabled},[s.buttonLoginOptions.icon.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:s.buttonLoginOptions.icon.iconClass,type:s.buttonLoginOptions.icon.iconType,title:s.buttonLoginOptions.icon.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0),s.buttonLoginOptions.text?(o.openBlock(),o.createElementBlock("span",DC,o.toDisplayString(s.buttonLoginOptions.text),1)):o.createCommentVNode("",!0)],10,RC)):o.createCommentVNode("",!0)])],512),[[o.vShow,!i.sendLogin]]),o.withDirectives(o.createElementVNode("fieldset",jC,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legendForgotLoginForm.show,"align-left":n.legendForgotLoginForm.align==="left"})},o.toDisplayString(n.legendForgotLoginForm.text),3),n.cmdHeadlineSendLoginForm?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineSendLoginForm)),null,16)):o.createCommentVNode("",!0),o.createVNode(l,o.mergeProps({ref:"sendPassword",element:"input",type:"email",onValidationStatusChange:t[6]||(t[6]=T=>s.checkValidationStatus(T,"email")),modelValue:i.sendLoginMail,"onUpdate:modelValue":t[7]||(t[7]=T=>i.sendLoginMail=T)},s.cmdFormElementSendLoginOptions),null,16,["modelValue"]),o.renderSlot(e.$slots,"send-login"),o.createElementVNode("div",qC,[n.options.backToLoginForm?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[8]||(t[8]=o.withModifiers((...T)=>s.toggleSendLoginView&&s.toggleSendLoginView(...T),["prevent"]))},[n.options.backToLoginForm&&n.options.backToLoginForm.icon&&n.options.backToLoginForm.icon.show&&n.options.backToLoginForm.icon.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:n.options.backToLoginForm.icon.iconClass,type:n.options.backToLoginForm.icon.iconType,title:n.options.backToLoginForm.icon.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0),n.options.backToLoginForm.text?(o.openBlock(),o.createElementBlock("span",zC,o.toDisplayString(n.options.backToLoginForm.text),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),s.buttonSendLoginOptions.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:1,type:s.buttonSendLoginOptions.type==="submit"?"submit":"button",class:o.normalizeClass(["button",{primary:s.buttonSendLoginOptions.primary}]),disabled:s.buttonSendLoginDisabled},[(y=s.buttonSendLoginOptions.icon)!=null&&y.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:(p=s.buttonSendLoginOptions.icon)==null?void 0:p.iconClass,title:(C=s.buttonSendLoginOptions.icon)==null?void 0:C.tooltip},null,8,["iconClass","title"])):o.createCommentVNode("",!0),s.buttonSendLoginOptions.text?(o.openBlock(),o.createElementBlock("span",UC,o.toDisplayString(s.buttonSendLoginOptions.text),1)):o.createCommentVNode("",!0)],10,HC)):o.createCommentVNode("",!0)])],512),[[o.vShow,i.sendLogin]])],64)}const GC=V(PC,[["render",WC]]),JC={name:"CmdMainNavigation",data(){return{showOffcanvas:!1,showSubNavigations:!0,openEntry:-1,openSubentry:-1}},emits:["offcanvas"],props:{stretchMainItems:{type:Boolean,default:!1},persistOnMobile:{type:Boolean,default:!1},showContentOverlay:{type:Boolean,default:!0},navigationEntries:{type:Array,required:!0},closeOffcanvas:{type:Object,default:function(){return{iconClass:"icon-cancel",text:"Close navigation",showText:!0}}},offcanvasPosition:{type:String,default:"right",validator(e){return e==="right"||e==="left"}},buttonOffcanvas:{type:Object,default:function(){return{iconClass:"icon-bars",text:"Open navigation",showText:!1}}},subentriesIconClass:{type:String,default:"icon-chevron-one-stripe-down"},subSubentriesIconClass:{type:String,default:"icon-chevron-one-stripe-right"}},methods:{closeAllSubentries(e){e||(this.openEntry=-1),this.openSubentry=-1},executeLink(e,t,n,r){var i;if(t.target||t.path.length>1)return this.showOffcanvas=!1,!0;if((i=t==null?void 0:t.subentries)!=null&&i.length){e.preventDefault(),r?this.openSubentry=this.openSubentry===n?-1:n:(this.openEntry=this.openEntry===n?-1:n,this.openSubentry=-1);return}(t.path==="#"||t.path==="")&&(e.preventDefault(),this.$emit("click",t.path)),this.showOffcanvas=!1},getRoute(e){return rt(e)},closeOffcanvasNavigation(){this.showOffcanvas=!1,document.getElementById("toggle-offcanvas").focus()},toggleOffcanvasNavigation(){this.showOffcanvas?this.closeOffcanvasNavigation():(this.showOffcanvas=!0,this.$nextTick(()=>document.getElementById("close-offcanvas").focus()))}},watch:{showOffcanvas(){this.$emit("offcanvas",{open:this.showOffcanvas})}}},KC={key:0,class:"close-nav"},ZC=["href","title","target","onClick"],XC={key:1},QC={key:1},YC=["aria-expanded"],$C=["href","title","target","onClick"],vC={key:1},ew={key:1},tw=["aria-expanded"],nw=["href","title","target","onClick"],ow={key:1},rw={key:1};function iw(e,t,n,r,i,s){const a=z,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-main-navigation main-navigation-wrapper",{"hide-sub-navigation":!i.showSubNavigations,"open-off-canvas":i.showOffcanvas,"persist-on-mobile":n.persistOnMobile,"show-content-overlay":n.showContentOverlay,"off-canvas-right":n.offcanvasPosition==="right"}])},[o.createElementVNode("nav",null,[o.createElementVNode("ul",{class:o.normalizeClass({"stretch-items":n.stretchMainItems})},[i.showOffcanvas?(o.openBlock(),o.createElementBlock("li",KC,[o.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.closeOffcanvasNavigation&&s.closeOffcanvasNavigation(...d),["prevent"]))},[n.closeOffcanvas.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.closeOffcanvas.iconClass,type:n.closeOffcanvas.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass({hidden:!n.closeOffcanvas.showText})},o.toDisplayString(n.closeOffcanvas.text),3)])])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.navigationEntries,(d,c)=>{var u,m,g;return o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass({active:d.active,open:i.openEntry===c,"has-subentries":(u=d==null?void 0:d.subentries)==null?void 0:u.length})},[d.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:d.path,title:d.tooltip,target:d.target,onClick:f=>s.executeLink(f,d,c),onMouseover:t[1]||(t[1]=f=>s.closeAllSubentries()),onFocus:t[2]||(t[2]=f=>s.closeAllSubentries())},[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",XC,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0),(m=d==null?void 0:d.subentries)!=null&&m.length?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],40,ZC)):o.createCommentVNode("",!0),d.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(d),title:d.tooltip},{default:o.withCtx(()=>[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",QC,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0),d.subentries&&d.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)]),_:2},1032,["to","title"])):o.createCommentVNode("",!0),(g=d==null?void 0:d.subentries)!=null&&g.length?(o.openBlock(),o.createElementBlock("ul",{key:2,"aria-expanded":i.openEntry?"true":"false"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(d.subentries,(f,h)=>{var y;return o.openBlock(),o.createElementBlock("li",{key:h,class:o.normalizeClass({open:i.openSubentry===h})},[f.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:f.path,title:f.tooltip,target:f.target,onClick:p=>s.executeLink(p,f,h,1),onMouseover:t[3]||(t[3]=p=>s.closeAllSubentries(1)),onFocus:t[4]||(t[4]=p=>s.closeAllSubentries(1))},[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",vC,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0),f.subentries&&f.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],40,$C)):o.createCommentVNode("",!0),f.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(f),title:f.tooltip},{default:o.withCtx(()=>[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",ew,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0),f.subentries&&f.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)]),_:2},1032,["to","title"])):o.createCommentVNode("",!0),(y=f.subentries)!=null&&y.length?(o.openBlock(),o.createElementBlock("ul",{key:2,"aria-expanded":i.openSubentry?"true":"false"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(f.subentries,(p,C)=>(o.openBlock(),o.createElementBlock("li",{key:C},[p.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:p.path,title:p.tooltip,target:p.target,onClick:T=>s.executeLink(T,p)},[p.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),p.text?(o.openBlock(),o.createElementBlock("span",ow,o.toDisplayString(p.text),1)):o.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],8,nw)):o.createCommentVNode("",!0),p.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(p),target:p.target},{default:o.withCtx(()=>[p.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),p.text?(o.openBlock(),o.createElementBlock("span",rw,o.toDisplayString(p.text),1)):o.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)]),_:2},1032,["to","target"])):o.createCommentVNode("",!0)]))),128))],8,tw)):o.createCommentVNode("",!0)],2)}),128))],8,YC)):o.createCommentVNode("",!0)],2)}),128))],2)]),n.persistOnMobile===!1?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"button",id:"toggle-offcanvas",onClick:t[5]||(t[5]=o.withModifiers((...d)=>s.toggleOffcanvasNavigation&&s.toggleOffcanvasNavigation(...d),["prevent"]))},[o.createVNode(a,{iconClass:n.buttonOffcanvas.iconClass,type:n.buttonOffcanvas.iconType},null,8,["iconClass","type"]),o.createElementVNode("span",{class:o.normalizeClass({hidden:!n.buttonOffcanvas.showText})},o.toDisplayString(n.buttonOffcanvas.text),3)])):o.createCommentVNode("",!0)],2)}const ol=V(JC,[["render",iw]]),sw={name:"CmdMultistepFormProgressBar",data(){return{activeLink:0}},props:{showStepNumber:{type:Boolean,default:!1},multisteps:{type:Array,required:!0},separatorIconClass:{type:String,default(){return"icon-chevron-one-stripe-right"}},useGap:{type:Boolean,default:!0}},methods:{clickedStep(e,t){this.activeLink=t,this.$emit("click",{event:e,index:t,stepPath:this.multisteps[t].path})},getRoute(e){return rt(e)}}},aw={key:0,class:"number"},lw={key:2};function cw(e,t,n,r,i,s){const a=z,l=ot;return o.openBlock(),o.createElementBlock("ol",{class:o.normalizeClass(["cmd-multistep-form-progress-bar",{"use-gap":n.useGap}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.multisteps,(d,c)=>(o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass({active:i.activeLink===c})},[o.createVNode(l,{linkType:d.type,path:d.path,title:d.tooltip,onClick:o.withModifiers(u=>s.clickedStep(u,c),["stop","prevent"])},{default:o.withCtx(()=>[n.showStepNumber?(o.openBlock(),o.createElementBlock("span",aw,o.toDisplayString(c+1),1)):o.createCommentVNode("",!0),d.iconClass?(o.openBlock(),o.createBlock(a,{key:1,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",lw,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass(n.separatorIconClass)},null,2)]),_:2},1032,["linkType","path","title","onClick"])],2))),128))],2)}const dw=V(sw,[["render",cw]]),uw={name:"CmdNewsletterSubscription",emits:["button-click"],data(){return{buttonDisabled:!0}},props:{modelValue:{type:Object,default(){return{subscription:"subscribe",email:""}}},buttonType:{type:String,default:"button",validator(e){return e==="submit"||e==="button"}},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},cmdInputGroup:{type:Object,default:function(){return{labelText:"Choose option",showLabel:!1,inputElements:[{labelText:"Subscribe",id:"radio-subscribe",name:"cmd-subscribe-group",value:"subscribe"},{labelText:"Unsubscribe",id:"radio-unsubscribe",name:"cmd-subscribe-group",value:"unsubscribe"}]}}},cmdFormElementEmail:{type:Object,default:function(){return{labelText:"Email-Address:",placeholder:"Enter your email-address",required:!0}}},cmdFormElementSubmit:{type:Object,default:function(){return{text:"Submit",icon:{show:!0,iconClass:"icon-message-send",position:"before",tooltip:""}}}}},computed:{cmdFormElementSubmitDynamicLabel(){return this.updateButtonLabelText},updateButtonLabelText(){const e={...this.cmdFormElementSubmit};return e.text=this.subscription==="subscribe"?"Subscribe now":"Unsubscribe from list",e},subscription:{get(){return this.modelValue.subscription||"subscribe"},set(e){this.$emit("update:modelValue",{subscription:e,email:this.email})}},email:{get(){return this.modelValue.email},set(e){this.$emit("update:modelValue",{subscription:this.subscription,email:e})}}},methods:{sendData(e){this.$emit("button-click",{subscription:this.subscription,email:this.email,originalEvent:e})},checkValidationStatus(e){this.buttonDisabled=e!=="success"}},watch:{modelValue:{handler(){return this.updateButtonLabelText},deep:!0,immediate:!0}}},mw={class:"cmd-newsletter-subscription flex-container"},fw={class:"button-wrapper"};function hw(e,t,n,r,i,s){const a=nl,l=X;return o.openBlock(),o.createElementBlock("fieldset",mw,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),o.createVNode(a,{inputTypes:"radio",labelText:n.cmdInputGroup.labelText,showLabel:n.cmdInputGroup.showLabel,inputElements:n.cmdInputGroup.inputElements,modelValue:s.subscription,"onUpdate:modelValue":t[0]||(t[0]=d=>s.subscription=d)},null,8,["labelText","showLabel","inputElements","modelValue"]),o.createVNode(l,{element:"input",type:"email",placeholder:n.cmdFormElementEmail.placeholder,labelText:n.cmdFormElementEmail.labelText,id:"cmd-email-newsletter-subscription",required:n.cmdFormElementEmail.required,useCustomTooltip:n.cmdFormElementEmail.useCustomTooltip,modelValue:s.email,"onUpdate:modelValue":t[1]||(t[1]=d=>s.email=d),onValidationStatusChange:s.checkValidationStatus},null,8,["placeholder","labelText","required","useCustomTooltip","modelValue","onValidationStatusChange"]),o.createElementVNode("div",fw,[o.createVNode(l,{element:"button",type:n.buttonType,disabled:i.buttonDisabled,nativeButton:s.cmdFormElementSubmitDynamicLabel,onClick:s.sendData},null,8,["type","disabled","nativeButton","onClick"])])])}const pw=V(uw,[["render",hw]]);function rl(e,t,n,r=!0,i=!0){function s(a,l){return l&&a<10?"0"+a:a}return(a,l)=>{if(n){let d=a,c=t;return d>12&&(i||(d-=12),c=n),s(d,r)+e+s(l,!0)+c}return s(a,r)+e+s(l,!0)+t}}const gw={name:"CmdOpeningHoursItem",mixins:[Y],data(){return{editableDay:{}}},props:{use24HoursFormat:{type:Boolean,required:!1},day:{type:Object,required:!0},separator:{type:String,default:"–"},abbreviationTextAm:{type:String,default:"am"},abbreviationTextPm:{type:String,default:"pm"},timeFormatter:{type:Function,required:!1}},methods:{toggleClosedStatus(e){e==="am"?this.editableDay.amClosed=!this.editableDay.amClosed:this.editableDay.pmClosed=!this.editableDay.pmClosed},getTime(e){return this.timeFormatter?this.timeFormatter(e.hours,e.mins):rl(":"," "+this.abbreviationTextAm," "+this.abbreviationTextPm,!1,this.use24HoursFormat)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableDay;return Q(this,{update(t){t.day=e.day,t.am||(t.am={}),t.am.fromTime=e.amFrom,t.am.tillTime=e.amTill,t.am.displayText=e.amClosed?e.amDisplayText:"",t.pm||(t.pm={}),t.pm.fromTime=e.pmFrom,t.pm.tillTime=e.pmTill,t.pm.displayText=e.pmClosed?e.pmDisplayText:""}})}},watch:{day:{handler(){const e=rl(":","","",!0,this.use24HoursFormat);this.editableDay={day:this.day.day,amFrom:e(this.day.am.fromTime.hours,this.day.am.fromTime.mins),amTill:e(this.day.am.tillTime.hours,this.day.am.tillTime.mins),amDisplayText:this.day.am.displayText,amClosed:!!this.day.am.displayText,pmFrom:e(this.day.pm.fromTime.hours,this.day.pm.fromTime.mins),pmTill:e(this.day.pm.tillTime.hours,this.day.pm.tillTime.mins),pmClosed:!!this.day.pm.displayText,pmDisplayText:this.day.pm.displayText}},immediate:!0,deep:!0}}},yw={class:"cmd-opening-hours-item"},bw={key:0,class:"am"},kw={key:1,class:"pm"},Cw={class:"flex-container no-flex"},ww={class:"flex-container no-flex am-wrapper"},xw={key:1,class:"input-wrapper"},Bw=["title"],_w={class:"flex-container no-flex pm-wrapper"},Ew={key:1,class:"input-wrapper"},Sw=["title"];function Tw(e,t,n,r,i,s){const a=X;return e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("dt",null,[o.createVNode(a,{element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for weekday",placeholder:"Text for weekday",modelValue:i.editableDay.day,"onUpdate:modelValue":t[0]||(t[0]=l=>i.editableDay.day=l)},null,8,["modelValue"])]),o.createElementVNode("dd",Cw,[o.createElementVNode("div",ww,[i.editableDay.amClosed?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:i.editableDay.amDisplayText,"onUpdate:modelValue":t[1]||(t[1]=l=>i.editableDay.amDisplayText=l)},null,8,["modelValue"])):o.createCommentVNode("",!0),i.editableDay.amClosed?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",xw,[o.createVNode(a,{element:"input",type:"time",class:"edit-mode",showLabel:!1,labelText:"Text for AM from",placeholder:"Text for AM from",modelValue:i.editableDay.amFrom,"onUpdate:modelValue":t[2]||(t[2]=l=>i.editableDay.amFrom=l)},null,8,["modelValue"]),o.createVNode(a,{element:"input",type:"time",showLabel:!1,class:"edit-mode",min:i.editableDay.amFrom,labelText:"Text for AM till",placeholder:"Text for AM till",modelValue:i.editableDay.amTill,"onUpdate:modelValue":t[3]||(t[3]=l=>i.editableDay.amTill=l)},null,8,["min","modelValue"])])),o.createElementVNode("a",{href:"#",onClick:t[4]||(t[4]=o.withModifiers(l=>s.toggleClosedStatus("am"),["prevent"])),title:i.editableDay.amClosed?"Set to open":"Set to closed",class:o.normalizeClass(i.editableDay.amClosed?"icon-clock":"icon-blocked")},null,10,Bw)]),o.createElementVNode("div",_w,[i.editableDay.pmClosed?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:i.editableDay.pmDisplayText,"onUpdate:modelValue":t[5]||(t[5]=l=>i.editableDay.pmDisplayText=l)},null,8,["modelValue"])):o.createCommentVNode("",!0),i.editableDay.pmClosed?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Ew,[o.createVNode(a,{element:"input",type:"time",showLabel:!1,class:"edit-mode",labelText:"Text for PM from",placeholder:"Text for PM from",modelValue:i.editableDay.pmFrom,"onUpdate:modelValue":t[6]||(t[6]=l=>i.editableDay.pmFrom=l)},null,8,["modelValue"]),o.createVNode(a,{element:"input",type:"time",showLabel:!1,class:"edit-mode",min:i.editableDay.pmFrom,labelText:"Text for PM till",placeholder:"Text for PM till",modelValue:i.editableDay.pmTill,"onUpdate:modelValue":t[7]||(t[7]=l=>i.editableDay.pmTill=l)},null,8,["min","modelValue"])])),o.createElementVNode("a",{href:"#",onClick:t[8]||(t[8]=o.withModifiers(l=>s.toggleClosedStatus("pm"),["prevent"])),title:i.editableDay.pmClosed?"Set to open":"Set to closed",class:o.normalizeClass(i.editableDay.pmClosed?"icon-clock":"icon-blocked")},null,10,Sw)])])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("dt",yw,o.toDisplayString(n.day.day),1),o.createElementVNode("dd",null,[n.day.am?(o.openBlock(),o.createElementBlock("span",bw,[n.day.am.displayText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(n.day.am.displayText),1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(s.getTime(n.day.am.fromTime,n.abbreviationTextAm))+" "+o.toDisplayString(n.separator)+" "+o.toDisplayString(s.getTime(n.day.am.tillTime)),1)],64))])):o.createCommentVNode("",!0),n.day.pm?(o.openBlock(),o.createElementBlock("span",kw,[n.day.pm.displayText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(n.day.pm.displayText),1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(s.getTime(n.day.pm.fromTime,n.abbreviationTextPm))+" "+o.toDisplayString(n.separator)+" "+o.toDisplayString(s.getTime(n.day.pm.tillTime)),1)],64))])):o.createCommentVNode("",!0)])],64))}const Ow=V(gw,[["render",Tw]]);function Nw(e,t,n,r=!0){function i(s,a){return a&&s<10?"0"+s:s}return(s,a)=>i(s,r)+e+i(a,!0)+t}const Vw={name:"CmdOpeningHours",mixins:[Y],data(){return{currentTime:new Date,editableOpeningHours:[],editableTextOpen:null,editableTextClosed:null,editableTextHolidays:null,editableTextMiscInfo:null}},props:{closed:{type:Boolean,default:!1},textOpen:{type:String,default:"Open right now!"},textClosed:{type:String,default:"Closed right now!"},separator:{type:String,default:"–"},abbreviationTextAm:{type:String,default:"am"},abbreviationTextPm:{type:String,default:"pm"},openingHours:{type:Array,required:!0},textHolidays:{type:String,required:!1},textMiscInfo:{type:String,required:!1},timeFormatter:{type:Function,required:!1},componentHandlesClosedStatus:{type:Boolean,default:!0},checkInterval:{type:Number,default:5e3},showOpenStatus:{type:Boolean,default:!0},use24HoursFormat:{type:Boolean,default:!0},cmdLink:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},mounted(){this.componentHandlesClosedStatus&&this.checkInterval>0&&(this.$_CmdOpeningHours_intervalId=setInterval(()=>{this.currentTime=new Date},this.checkInterval))},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)},computed:{openingHoursFormatted(){const e=[];for(let t=0;t<this.openingHours.length;t++){const n={},r=this.openingHours[t].am.fromTime.split(/[:.]/),i=this.openingHours[t].am.tillTime.split(/[:.]/),s=this.openingHours[t].pm.fromTime.split(/[:.]/),a=this.openingHours[t].pm.tillTime.split(/[:.]/);n.day=this.openingHours[t].day,n.am={...this.openingHours[t].am},n.am.fromTime={hours:parseInt(r[0]),mins:parseInt(r[1])},n.am.tillTime={hours:parseInt(i[0]),mins:parseInt(i[1])},n.pm={...this.openingHours[t].pm},n.pm.fromTime={hours:parseInt(s[0]),mins:parseInt(s[1])},n.pm.tillTime={hours:parseInt(a[0]),mins:parseInt(a[1])},e.push(n)}return e},textOpenModel:{get(){return this.editableTextOpen==null?this.textOpen:this.editableTextOpen},set(e){this.editableTextOpen=e}},textClosedModel:{get(){return this.editableTextClosed==null?this.textClosed:this.editableTextClosed},set(e){this.editableTextClosed=e}},textHolidaysModel:{get(){return this.editableTextHolidays==null?this.textHolidays:this.editableTextHolidays},set(e){this.editableTextHolidays=e}},textMiscInfoModel:{get(){return this.editableTextMiscInfo==null?this.textMiscInfo:this.editableTextMiscInfo},set(e){this.editableTextMiscInfo=e}},textOpenClosed(){return this.isClosed?this.textClosed:this.textOpen},isClosed(){if(!this.componentHandlesClosedStatus)return this.closed;let e=this.currentTime.getDay();e===0?e=6:e-=1;const t=this.openingHoursFormatted[e];if(this.openingHoursFormatted[e]){const n=new Date;n.setHours(t.am.fromTime.hours,t.am.fromTime.mins);const r=new Date;r.setHours(t.am.tillTime.hours,t.am.tillTime.mins);const i=new Date;i.setHours(t.pm.fromTime.hours,t.pm.fromTime.mins);const s=new Date;if(s.setHours(t.pm.tillTime.hours,t.pm.tillTime.mins),n<=this.currentTime&&this.currentTime<=r&&i<=this.currentTime&&this.currentTime<=s)return!1}return!0}},methods:{onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","openingHours",-1),this.itemProvider)},itemProvider(){return{day:"Weekday",am:{fromTime:"00:00",tillTime:"00:00"},pm:{fromTime:"00:00",tillTime:"00:00"}}},getTime(e){return this.timeFormatter?this.timeFormatter(e.hours,e.mins):Nw(":"," hrs","",!1)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableOpeningHours,t=this.editableTextOpen,n=this.editableTextClosed,r=this.editableTextHolidays,i=this.editableTextMiscInfo;return Q(this,{update(s,a){s.openingHours=e,s.textOpen=t,s.textClosed=n,s.textHolidays=r,s.textMiscInfo=i;const l=a==null?void 0:a.find(d=>d.name==="CmdHeadline");l&&(s.cmdHeadline=s.cmdHeadline||{},l.update(s.cmdHeadline))}})}}},Fw={class:"cmd-opening-hours"},Aw={key:2,class:"flex-container"},Pw={key:3},Lw=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],Iw={class:"edit-mode-opening-hours-item"},Mw={key:5},Rw={key:0},Dw={key:1},jw={key:6,class:"flex-container vertical"};function qw(e,t,n,r,i,s){var m,g;const a=U,l=ot,d=X,c=Ow,u=Ae;return o.openBlock(),o.createElementBlock("div",Fw,[(m=n.cmdHeadline)!=null&&m.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),!e.editing&&n.showOpenStatus?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(g=n.cmdLink)!=null&&g.path?(o.openBlock(),o.createBlock(l,o.mergeProps({key:0,linkType:n.cmdLink.type||"href"},n.cmdLink,{class:{closed:s.isClosed}}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(s.textOpenClosed),1)]),_:1},16,["linkType","class"])):(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass({closed:s.isClosed})},o.toDisplayString(s.textOpenClosed),3))],64)):e.editing?(o.openBlock(),o.createElementBlock("div",Aw,[o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'open'",placeholder:"Text for 'open'",modelValue:s.textOpenModel,"onUpdate:modelValue":t[0]||(t[0]=f=>s.textOpenModel=f)},null,8,["modelValue"]),o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:s.textClosedModel,"onUpdate:modelValue":t[1]||(t[1]=f=>s.textClosedModel=f)},null,8,["modelValue"])])):o.createCommentVNode("",!0),e.editModeContext?(o.openBlock(),o.createElementBlock(o.Fragment,{key:4},[s.openingHoursFormatted.length===0?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:t[2]||(t[2]=(...f)=>s.onAddItem&&s.onAddItem(...f))},Lw)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(s.openingHoursFormatted,(f,h)=>(o.openBlock(),o.createBlock(u,{key:"x"+h,class:"edit-items",showComponentName:!1,componentName:"CmdOpeningHoursItem",componentProps:f,allowedComponentTypes:[],componentPath:["props","openingHours",h],itemProvider:s.itemProvider},{default:o.withCtx(()=>[o.createElementVNode("dl",Iw,[o.createVNode(c,{day:f,separator:n.separator,abbreviationTextAm:n.abbreviationTextAm,abbreviationTextPm:n.abbreviationTextPm,use24HoursFormat:n.use24HoursFormat},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm","use24HoursFormat"])])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128))],64)):(o.openBlock(),o.createElementBlock("dl",Pw,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.openingHoursFormatted,(f,h)=>(o.openBlock(),o.createBlock(c,{key:h,day:f,separator:n.separator,abbreviationTextAm:n.abbreviationTextAm,abbreviationTextPm:n.abbreviationTextPm,use24HoursFormat:n.use24HoursFormat},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm","use24HoursFormat"]))),128))])),!e.editing&&(n.textHolidays||n.textMiscInfo)?(o.openBlock(),o.createElementBlock("div",Mw,[n.textHolidays?(o.openBlock(),o.createElementBlock("p",Rw,[o.createElementVNode("strong",null,o.toDisplayString(n.textHolidays),1)])):o.createCommentVNode("",!0),n.textMiscInfo?(o.openBlock(),o.createElementBlock("p",Dw,o.toDisplayString(n.textMiscInfo),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.editing?(o.openBlock(),o.createElementBlock("div",jw,[o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'holidays'",placeholder:"Text for 'holidays'",modelValue:s.textHolidaysModel,"onUpdate:modelValue":t[3]||(t[3]=f=>s.textHolidaysModel=f)},null,8,["modelValue"]),o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Miscellaneous information",placeholder:"Miscellaneous information",modelValue:s.textMiscInfoModel,"onUpdate:modelValue":t[4]||(t[4]=f=>s.textMiscInfoModel=f)},null,8,["modelValue"])])):o.createCommentVNode("",!0)])}const zw=V(Vw,[["render",qw]]),Hw={name:"CmdPagination",mixins:[oe,{data(){return{defaultMessageProperties:{"pagination.tooltip.go_to_page":"Go to page {0}","pagination.tooltip.not_possible":"Not possible (current page is shown already)"}}}}],emits:["click"],data(){return{currentPage:1}},props:{pages:{type:Number,required:!0},itemsPerPage:{type:Number,required:!0},showPageNumbers:{type:Boolean,default:!0},linkType:{type:String,default:"href",validator(e){return e==="href"||e==="button"}},prevLink:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-left",text:"prev",showText:!0}}},nextLink:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-right",text:"next",showText:!0}}}},computed:{numberOfPages(){return Math.ceil(this.pages/this.itemsPerPage)},getPreviousHref(){return this.currentPage===1?null:"#"},getNextHref(){return this.currentPage===this.numberOfPages?null:"#"}},methods:{getHref(e){return this.linkType!=="href"||this.currentPage===e?null:"#"},showPage(e){this.currentPage=e,this.$emit("click",e)},nextPage(){this.currentPage<this.numberOfPages&&this.showPage(this.currentPage+1)},previousPage(){this.currentPage>1&&this.showPage(this.currentPage-1)}}},Uw={class:"cmd-pagination"},Ww=["href","title"],Gw={key:0},Jw={class:"page-index"},Kw={class:"flex-container"},Zw=["href","title","onClick"],Xw=["href","title"],Qw={key:0};function Yw(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("div",Uw,[o.createElementVNode("a",{href:s.getPreviousHref,class:o.normalizeClass(["page-change",{disabled:i.currentPage===1,button:n.linkType==="button"}]),onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.previousPage&&s.previousPage(...l),["prevent"])),title:n.prevLink.showText?null:n.prevLink.text},[o.createVNode(a,{iconClass:n.prevLink.iconClass,type:n.prevLink.iconType},null,8,["iconClass","type"]),n.prevLink.showText?(o.openBlock(),o.createElementBlock("span",Gw,o.toDisplayString(n.prevLink.text),1)):o.createCommentVNode("",!0)],10,Ww),o.createElementVNode("div",Jw,[o.createElementVNode("div",Kw,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.pages,(l,d)=>(o.openBlock(),o.createElementBlock("a",{href:s.getHref(l),class:o.normalizeClass({disabled:i.currentPage===d+1,button:n.linkType==="button",hidden:!n.showPageNumbers}),title:i.currentPage!==d+1?e.getMessage("pagination.tooltip.go_to_page",d+1):e.getMessage("pagination.tooltip.not_possible"),key:d,onClick:o.withModifiers(c=>s.showPage(l),["stop","prevent"]),"aria-live":"polite"},[o.createElementVNode("span",null,o.toDisplayString(d+1),1)],10,Zw))),128))])]),o.createElementVNode("a",{href:s.getNextHref,class:o.normalizeClass(["page-change",{disabled:i.currentPage===s.numberOfPages,button:n.linkType==="button"}]),onClick:t[1]||(t[1]=o.withModifiers((...l)=>s.nextPage&&s.nextPage(...l),["prevent"])),title:n.nextLink.showText?null:n.nextLink.text},[n.nextLink.showText?(o.openBlock(),o.createElementBlock("span",Qw,o.toDisplayString(n.nextLink.text),1)):o.createCommentVNode("",!0),o.createVNode(a,{iconClass:n.nextLink.iconClass,type:n.nextLink.iconType},null,8,["iconClass","type"])],10,Xw)])}const $w=V(Hw,[["render",Yw]]),vw={name:"CmdSocialNetworksItem",data(){return{editablePath:null,editableTooltip:null,editableLinktext:null}},mixins:[Y],props:{network:{type:Object,required:!0},userMustAcceptDataPrivacy:{type:Boolean},page:{type:String,required:!1},appendPage:{type:Boolean,default:!0},buttonTextAlign:{type:String,default:"left",validator(e){return e==="left"||e==="right"}},dataPrivacyAccepted:{type:Boolean},tooltipAcceptDataPrivacy:{type:String,default:"You must accept data privacy conditions!"}},methods:{getUrl(e){return this.userMustAcceptDataPrivacy&&this.dataPrivacyAccepted?this.appendPage?this.page?e.path+encodeURIComponent(this.page):e.path+encodeURIComponent(location.href):e.path:"#"},preventOnDisabled(e){let t=e.target;t.tagName!=="A"&&(t=t.closest("a")),t.getAttribute("href")==="#"&&e.preventDefault()},tooltip(e){return this.userMustAcceptDataPrivacy?this.dataPrivacyAccepted?e:this.tooltipAcceptDataPrivacy:e},addHandlerProvider(){const e={id:"social-network-facebook",path:"https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fdevelopment.comand-cms.com%2Fmodule%2Fteam.html",tooltip:"Share this page on facebook",iconClass:"icon-facebook",linkText:"Share"};return Q(this,{item(){return e}})},updateHandlerProvider(){const e=tt(),t=this.editablePath,n=this.editableTooltip,r=this.editableLinktext;return Q(this,{update(i){i.id=e,i.path=t,i.tooltip=n,i.linkText=r}})}}},ex={class:"cmd-social-networks-item"},tx=["id","href","title"],nx={key:1};function ox(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("li",ex,[(o.openBlock(),o.createElementBlock("a",{key:n.network.path,class:o.normalizeClass(["button",{disabled:n.userMustAcceptDataPrivacy&&!n.dataPrivacyAccepted},"text-align-"+n.buttonTextAlign]),id:n.network.id,href:s.getUrl(n.network),onClick:t[0]||(t[0]=(...l)=>s.preventOnDisabled&&s.preventOnDisabled(...l)),target:"_blank",title:s.tooltip(n.network.tooltip)},[n.network.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.network.iconClass,type:n.network.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),n.network.linkText?(o.openBlock(),o.createElementBlock("span",nx,o.toDisplayString(n.network.linkText),1)):o.createCommentVNode("",!0)],10,tx))])}const rx=V(vw,[["render",ox]]),ix={name:"CmdSocialNetworks",mixins:[Y],data(){return{dataPrivacyAccepted:!1}},props:{modelValue:{type:[String,Number,Array],default:""},align:{type:String,default:"left",validator(e){return e==="left"||e==="center"||e==="right"}},useGap:{type:Boolean,default:!0},stretchButtons:{type:Boolean,default:!1},networks:{type:Array,required:!0},page:{type:String,required:!1},appendPage:{type:Boolean,default:!0},userMustAcceptDataPrivacy:{type:Boolean,default:!0},tooltipAcceptDataPrivacy:{type:String,default:"You must accept data privacy conditions!"},buttonTextAlign:{type:String,default:"right",validator(e){return e==="left"||e==="right"}},cmdFormElement:{type:Object,default(){return{toggleSwitch:!0,labelText:"I accept that anonymous data will be send to the platform I share this page on!",required:!0}}},cmdHeadline:{type:Object,required:!1}},computed:{validNetworks(){return this.networks.filter(e=>e.path)},alignment(){return"align-"+this.align}},methods:{onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","networks",-1),this.itemProvider)},itemProvider(){return{id:"social-network-facebook",path:"https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fdevelopment.comand-cms.com%2Fmodule%2Fteam.html",tooltip:"Share this page on facebook",iconClass:"icon-facebook",linkText:"Share"}},preventOnDisabled(e){let t=e.target;t.tagName!=="A"&&(t=t.closest("a")),t.getAttribute("href")==="#"&&e.preventDefault()},tooltip(e){return this.userMustAcceptDataPrivacy?this.dataPrivacyAccepted?e:this.tooltipAcceptDataPrivacy:e},onPersist(e){return{editModeContextData:{...this.editModeContextData||{}},update(t){t.cmdHeadline={...t.cmdHeadline||{}},Array.isArray(e)&&e.length>0&&(t.cmdHeadline.headlineText=e[0].headlineText)}}}}},sx=[o.createElementVNode("span",{class:"icon-plus"},null,-1)];function ax(e,t,n,r,i,s){var u,m;const a=U,l=X,d=rx,c=Ae;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-social-networks",{stretch:n.stretchButtons},s.alignment])},[(u=n.cmdHeadline)!=null&&u.headlineText||(m=e.editModeContext)!=null&&m.editing?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline||{})),null,16)):o.createCommentVNode("",!0),n.userMustAcceptDataPrivacy?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1,element:"input",type:"checkbox"},n.cmdFormElement,{modelValue:i.dataPrivacyAccepted,"onUpdate:modelValue":t[0]||(t[0]=g=>i.dataPrivacyAccepted=g)}),null,16,["modelValue"])):o.createCommentVNode("",!0),s.validNetworks.length>0?(o.openBlock(),o.createElementBlock("ul",{key:2,class:o.normalizeClass(["button-wrapper",{"no-gap":!n.useGap}])},[e.editModeContext?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(s.validNetworks,(g,f)=>(o.openBlock(),o.createBlock(c,{key:"x"+f,class:"edit-items",componentName:"CmdSocialNetworksItem",componentProps:g,componentPath:["props","networks",f],showComponentName:!1},{default:o.withCtx(()=>[o.createVNode(d,{network:g,userMustAcceptDataPrivacy:n.userMustAcceptDataPrivacy,buttonTextAlign:n.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted"])]),_:2},1032,["componentProps","componentPath"]))),128)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.validNetworks,(g,f)=>(o.openBlock(),o.createBlock(d,{key:f,network:g,userMustAcceptDataPrivacy:n.userMustAcceptDataPrivacy,buttonTextAlign:n.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted,page:n.page,appendPage:n.appendPage},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted","page","appendPage"]))),128)),o.renderSlot(e.$slots,"default")],64))],2)):(o.openBlock(),o.createElementBlock("button",{key:3,class:"button small",title:"Add new item",onClick:t[1]||(t[1]=(...g)=>s.onAddItem&&s.onAddItem(...g))},sx))],2)}const il=V(ix,[["render",ax]]),lx={name:"CmdPageFooter",props:{buttonPrintView:{type:Object,default(){return{show:!0,primary:!1,icon:{show:!0,iconClass:"icon-print-preview",tooltip:"Open print preview"},text:"Print preview"}}},useSmallButtons:{type:Boolean,default:!0},containerToPrint:{type:String,default:"main"},cmdSocialNetworks:{type:Object,required:!1},cmdFancyBox:{type:Object,default(){return{showPrintButtons:!0,defaultAriaLabelText:"print-preview"}}}},computed:{buttonPrintViewOptions(){var t;const e={show:!0,primary:!1,icon:{show:!0,iconClass:"icon-print-preview",tooltip:"Open print preview"},text:"Print preview"};return{...e,...this.buttonPrintView,icon:{...e.icon,...(t=this.buttonPrintView)==null?void 0:t.icon}}}},methods:{showFancyBox(){let e=[];typeof this.cmdFancyBox.elements=="function"?e=this.cmdFancyBox.elements():e=[document.querySelector(this.containerToPrint)],qe({elements:e,fancyBoxOptions:this.cmdFancyBox.fancyBoxOptions,showPrintButtons:this.cmdFancyBox.showPrintButtons,defaultAriaLabelText:this.cmdFancyBox.defaultAriaLabelText,cmdHeadline:this.cmdFancyBox.cmdHeadline,showOverlay:this.cmdFancyBox.showOverlay,showSubmitButtons:this.cmdFancyBox.showSubmitButtons,allowEscapeKey:this.cmdFancyBox.allowEscapeKey,id:this.cmdFancyBox.id||"print-preview"})}}},cx={class:"button-wrapper"},dx=["title"],ux={key:1};function mx(e,t,n,r,i,s){var l,d,c,u;const a=il;return o.openBlock(),o.createElementBlock("footer",{class:o.normalizeClass(["cmd-page-footer flex-container",{"small-buttons":n.useSmallButtons}])},[n.cmdSocialNetworks?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdSocialNetworks)),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"cmd-social-networks")]),_:3},16)):o.createCommentVNode("",!0),o.createElementVNode("div",cx,[o.renderSlot(e.$slots,"default"),(l=s.buttonPrintViewOptions)!=null&&l.show?(o.openBlock(),o.createElementBlock("button",{key:0,class:o.normalizeClass(["button",{primary:s.buttonPrintViewOptions.primary}]),id:"print-view-button",title:s.buttonPrintViewOptions.text?(d=s.buttonPrintViewOptions.icon)==null?void 0:d.tooltip:null,onClick:t[0]||(t[0]=(...m)=>s.showFancyBox&&s.showFancyBox(...m))},[(c=s.buttonPrintViewOptions.icon)!=null&&c.show?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass((u=s.buttonPrintViewOptions.icon)==null?void 0:u.iconClass)},null,2)):o.createCommentVNode("",!0),s.buttonPrintViewOptions.text?(o.openBlock(),o.createElementBlock("span",ux,o.toDisplayString(s.buttonPrintViewOptions.text),1)):o.createCommentVNode("",!0)],10,dx)):o.createCommentVNode("",!0)])],2)}const fx=V(lx,[["render",mx]]),hx={name:"CmdPageHeader",props:{cmdBreadcrumbs:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}}},px={key:0,class:"cmd-page-header flex-container"},gx={key:0,class:"headline-wrapper flex-container vertical"};function yx(e,t,n,r,i,s){const a=Ka,l=U;return n.cmdBreadcrumbs||n.cmdHeadline||e.$slots.default?(o.openBlock(),o.createElementBlock("header",px,[n.cmdBreadcrumbs||n.cmdHeadline?(o.openBlock(),o.createElementBlock("div",gx,[n.cmdBreadcrumbs?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdBreadcrumbs)),null,16)):o.createCommentVNode("",!0),n.cmdHeadline.headlineText?(o.openBlock(),o.createBlock(l,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.$slots.default?o.renderSlot(e.$slots,"default",{key:1}):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)}const bx=V(hx,[["render",yx]]),kx={name:"CmdProgressBar",inheritAttrs:!1,data(){return{loadingStatus:30}},props:{labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},showLoadingStatus:{type:Boolean,default:!0},id:{type:String,required:!0}}},Cx=["for"],wx={class:"progressbar"},xx={key:0},Bx=["id","value"];function _x(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("label",{class:"cmd-progressbar",for:n.id},[o.createElementVNode("span",{class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},o.toDisplayString(n.labelText),3),o.createElementVNode("span",wx,[n.showLoadingStatus?(o.openBlock(),o.createElementBlock("span",xx,o.toDisplayString(i.loadingStatus)+" %",1)):o.createCommentVNode("",!0),o.createElementVNode("progress",o.mergeProps(e.$attrs,{id:n.id,value:i.loadingStatus}),null,16,Bx)])],8,Cx)}const Ex=V(kx,[["render",_x]]),Sx={name:"CmdSidebar",data(){return{open:!0}},props:{collapsible:{type:Boolean,default:!0},openSidebar:{type:Boolean,default:!0},styledAsBox:{type:Boolean,default:!0},collapseToLeft:{type:Boolean,default:!0},cmdHeadline:{type:Object,required:!1}},computed:{wrapperClass(){return this.open?"open":"closed"},iconClassOpenCollapse(){return this.collapseToLeft?this.open?"icon-chevron-one-stripe-left":"icon-chevron-one-stripe-right":this.open?"icon-chevron-one-stripe-right":"icon-chevron-one-stripe-left"}},methods:{toggleSidebar(){this.open=!this.open,this.$emit("toggleSidebar",this.open)}},watch:{openSidebar:{handler(){this.open=this.openSidebar},immediate:!0}}},Tx={class:"inner-sidebar-wrapper"},Ox={key:1,class:"open-slot-wrapper"},Nx={key:2,class:"closed-slot-wrapper"},Vx=["title"];function Fx(e,t,n,r,i,s){var l;const a=U;return o.openBlock(),o.createElementBlock("aside",{class:o.normalizeClass(["cmd-sidebar",s.wrapperClass,{box:n.styledAsBox,"collapse-to-right":!n.collapseToLeft}])},[o.createElementVNode("div",Tx,[(l=n.cmdHeadline)!=null&&l.headlineText&&i.open?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0},n.cmdHeadline,{headlineLevel:n.cmdHeadline.headlineLevel||3,class:"sidebar-main-headline"}),null,16,["headlineLevel"])):o.createCommentVNode("",!0),i.open?(o.openBlock(),o.createElementBlock("div",Ox,[o.renderSlot(e.$slots,"open",{openBoxStatus:i.open})])):(o.openBlock(),o.createElementBlock("div",Nx,[o.renderSlot(e.$slots,"closed",{openBoxStatus:i.open})]))]),n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",title:i.open?"Collapse sidebar":"Expand sidebar",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.toggleSidebar&&s.toggleSidebar(...d),["prevent"]))},[o.createElementVNode("span",{class:o.normalizeClass(s.iconClassOpenCollapse)},null,2)],8,Vx)):o.createCommentVNode("",!0)],2)}const Ax=V(Sx,[["render",Fx]]),Px={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal",validator(e){return e==="horizontal"||e==="vertical"}}}},Lx={class:"cmd-site-footer site-footer"};function Ix(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("div",Lx,[o.createElementVNode("footer",{class:o.normalizeClass(["flex-container",{vertical:n.orientation==="vertical"}])},[o.renderSlot(e.$slots,"default")],2)])}const Mx=V(Px,[["render",Ix]]),Rx={name:"CmdSiteHeader",emits:["offcanvas"],data(){return{defaultLogoHeight:""}},props:{closeOffcanvas:{type:Object,required:!1},sticky:{type:Boolean,default:!0},navigationInline:{type:Boolean,default:!1},resizeHeaderOnScroll:{type:Boolean,default:!0},scrollContainerToResizeHeader:{type:String,default:".page-wrapper"},useGrid:{type:Boolean,default:!0},cmdCompanyLogo:{type:Object,required:!1},cmdMainNavigation:{type:Object,required:!1}},mounted(){if(this.resizeHeaderOnScroll){const e=document.querySelector(this.scrollContainerToResizeHeader);e.addEventListener("scroll",function(){const t=document.querySelector(".cmd-site-header > header");e.scrollTop>0?t.classList.add("resize-on-scroll"):t.classList.remove("resize-on-scroll")})}},methods:{onImageLoaded(e){this.defaultLogoHeight=e.target.height/10+"rem"},emitOffcanvasStatus(e){this.$emit("offcanvas",e)}},watch:{defaultLogoHeight(){const e=this.$refs["site-header"].querySelector(".cmd-company-logo img");e.style.height=this.defaultLogoHeight}}},Dx={key:0,class:"top-header"};function jx(e,t,n,r,i,s){var d,c,u,m,g,f,h,y,p;const a=Za,l=ol;return o.openBlock(),o.createElementBlock("div",{ref:"site-header",class:o.normalizeClass(["cmd-site-header site-header",{sticky:n.sticky,"navigation-inline":n.navigationInline,"off-canvas-right":((d=n.cmdMainNavigation)==null?void 0:d.offcanvasPosition)==="right"}]),role:"banner"},[e.$slots.topheader?(o.openBlock(),o.createElementBlock("div",Dx,[o.renderSlot(e.$slots,"topheader")])):o.createCommentVNode("",!0),o.createElementVNode("header",{class:o.normalizeClass([n.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((u=(c=n.cmdMainNavigation)==null?void 0:c.navigationEntries)==null?void 0:u.length)&&n.navigationInline||e.$slots.navigation}])},[e.$slots.logo||e.$slots.header||e.$slots.navigation?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.renderSlot(e.$slots,"logo"),o.renderSlot(e.$slots,"header"),o.renderSlot(e.$slots,"navigation")],64)):o.createCommentVNode("",!0),n.cmdCompanyLogo||(g=(m=n.cmdMainNavigation)==null?void 0:m.navigationEntries)!=null&&g.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdCompanyLogo?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0},n.cmdCompanyLogo,{onImageLoaded:s.onImageLoaded}),null,16,["onImageLoaded"])):o.createCommentVNode("",!0),(h=(f=n.cmdMainNavigation)==null?void 0:f.navigationEntries)!=null&&h.length&&n.navigationInline?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:s.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],2),(p=(y=n.cmdMainNavigation)==null?void 0:y.navigationEntries)!=null&&p.length&&!n.navigationInline?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:s.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):o.createCommentVNode("",!0)],2)}const qx=V(Rx,[["render",jx]]),zx={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[oe,{data(){return{defaultMessageProperties:{"site_search.show_filter_options":"Show filter options","site_search.hide_filter_options":"Hide filter options"}}}}],data(){return{showFilters:!1}},props:{modelValueInput1:{type:String,required:!1},modelValueInput2:{type:String,required:!1},modelValueRadius:{type:[String,Number],required:!1},modelValueSearchFilters:{type:Array,required:!1},useFilters:{type:Boolean,default:!0},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},results:{type:[Function,Number],required:!1},cmdHeadline:{type:Object,required:!1},cmdFormElementInput1:{type:Object,default(){return{type:"search",showLabel:!1,required:!0,labelText:"What do you like to search for?",placeholder:"What do you like to search for?",showSearchButton:!1}}},cmdFormElementInput2:{type:Object,default(){return{show:!0,type:"text",showLabel:!1,required:!0,labelText:"Where do you like to search?",placeholder:"Enter city, zip, country"}}},cmdFormElementRadius:{type:Object,required:!1},cmdFormElementSearchButton:{type:Object,default(){return{icon:{show:!0,position:"before",iconClass:"icon-search"},text:"Search"}}},cmdFakeSelect:{type:Object,required:!1},cmdIcon:{type:Object,default(){return{showFilters:{iconClass:"icon-chevron-one-stripe-up",type:"auto"},hideFilters:{iconClass:"icon-chevron-one-stripe-down",type:"auto"}}}}},computed:{cmdFormElementRadiusOptions(){return{show:!0,showLabel:!1,required:!1,labelText:"Radius",selectOptions:[{text:"None",value:0},{text:"5 Km",value:5},{text:"10 Km",value:10},{text:"15 Km",value:15},{text:"50 Km",value:50},{text:"100 Km",value:100}],...this.cmdFormElementRadius}},searchValue1:{get(){return this.modelValueInput1},set(e){this.$emit("update:modelValueInput1",e)}},searchValue2:{get(){return this.modelValueInput2},set(e){this.$emit("update:modelValueInput2",e)}},radius:{get(){return this.modelValueRadius},set(e){this.$emit("update:modelValueRadius",e)}},searchFilters:{get(){return this.modelValueSearchFilters},set(e){this.$emit("update:modelValueSearchFilters",e)}},buttonSearchDisabled(){const e=!this.cmdFormElementInput1.required||this.searchValue1.trim(),t=!this.cmdFormElementInput2.show||!this.cmdFormElementInput2.required||this.searchValue2.trim(),n=!this.cmdFormElementRadiusOptions.show||!this.cmdFormElementRadiusOptions.required||this.radius;return!(e&&t&&n)}},methods:{onSearchButtonClick(){this.$emit("search",{searchValue1:this.searchValue1,searchValue2:this.searchValue2,searchFilters:this.searchFilters,radius:this.radius})},getOptionName(e){for(let t=0;t<this.cmdFakeSelect.selectData.length;t++)if(e===this.cmdFakeSelect.selectData[t].value)return this.cmdFakeSelect.selectData[t].text;return null}},watch:{cmdFormElementRadius:{handler(){var e,t;(e=this.cmdFormElementRadiusOptions)!=null&&e.selectOptions&&((t=this.cmdFormElementRadiusOptions)!=null&&t.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadiusOptions.selectOptions[0].value)},immediate:!0,deep:!0}}},Hx={class:"cmd-box-site-search flex-container"},Ux={class:"flex-container align-bottom"},Wx={class:"input-wrapper align-bottom"},Gx={key:0},Jx={key:1},Kx={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Zx(e,t,n,r,i,s){var m,g,f,h,y,p,C,T;const a=U,l=X,d=z,c=Xa,u=Qa;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("fieldset",Hx,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",Ux,[o.createVNode(l,{element:"input",type:n.cmdFormElementInput1.type,"show-label":n.cmdFormElementInput1.showLabel,labelText:n.cmdFormElementInput1.labelText,placeholder:n.cmdFormElementInput1.placeholder,required:n.cmdFormElementInput1.required,showSearchButton:n.cmdFormElementInput1.showSearchButton,modelValue:s.searchValue1,"onUpdate:modelValue":t[0]||(t[0]=k=>s.searchValue1=k)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),o.createElementVNode("div",Wx,[n.cmdFormElementInput2.show?(o.openBlock(),o.createBlock(l,{key:0,element:"input",type:n.cmdFormElementInput2.type,"show-label":n.cmdFormElementInput2.showLabel,labelText:n.cmdFormElementInput2.labelText,placeholder:n.cmdFormElementInput2.placeholder,required:n.cmdFormElementInput2.required,modelValue:s.searchValue2,"onUpdate:modelValue":t[1]||(t[1]=k=>s.searchValue2=k)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):o.createCommentVNode("",!0),s.cmdFormElementRadiusOptions.show?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1,element:"select",class:"no-flex",modelValue:s.radius,"onUpdate:modelValue":t[2]||(t[2]=k=>s.radius=k)},s.cmdFormElementRadiusOptions),null,16,["modelValue"])):o.createCommentVNode("",!0)]),o.createVNode(l,{element:"button",class:"stretch-on-small-devices",nativeButton:n.cmdFormElementSearchButton,onClick:s.onSearchButtonClick,disabled:s.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),n.useFilters?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("a",{class:"filter-options",href:"#",onClick:t[3]||(t[3]=o.withModifiers(k=>i.showFilters=!i.showFilters,["prevent"]))},[o.createVNode(d,{iconClass:i.showFilters?(g=(m=n.cmdIcon)==null?void 0:m.showFilters)==null?void 0:g.iconClass:(h=(f=n.cmdIcon)==null?void 0:f.hideFilters)==null?void 0:h.iconClass,type:i.showFilters?(p=(y=n.cmdIcon)==null?void 0:y.showFilters)==null?void 0:p.iconType:(T=(C=n.cmdIcon)==null?void 0:C.hideFilters)==null?void 0:T.iconType},null,8,["iconClass","type"]),i.showFilters?(o.openBlock(),o.createElementBlock("span",Gx,o.toDisplayString(e.getMessage("site_search.hide_filter_options")),1)):(o.openBlock(),o.createElementBlock("span",Jx,o.toDisplayString(e.getMessage("site_search.show_filter_options")),1))]),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var k,A,N,b,S;return[i.showFilters&&((k=n.cmdFakeSelect)!=null&&k.selectData.length)?(o.openBlock(),o.createElementBlock("div",Kx,[o.createVNode(c,{role:"option",selectData:(A=n.cmdFakeSelect)==null?void 0:A.selectData,modelValue:s.searchFilters,"onUpdate:modelValue":t[4]||(t[4]=F=>s.searchFilters=F),defaultOptionName:(N=n.cmdFakeSelect)==null?void 0:N.defaultOptionName,type:(b=n.cmdFakeSelect)==null?void 0:b.type,labelText:(S=n.cmdFakeSelect)==null?void 0:S.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):o.createCommentVNode("",!0)]}),_:1})],64)):o.createCommentVNode("",!0)]),n.useFilters?(o.openBlock(),o.createBlock(u,{key:0,modelValue:s.searchFilters,"onUpdate:modelValue":t[5]||(t[5]=k=>s.searchFilters=k),selectedOptionsName:s.getOptionName},null,8,["modelValue","selectedOptionsName"])):o.createCommentVNode("",!0)],64)}const Xx=V(zx,[["render",Zx]]),Qx={name:"CmdSlideshow",mixins:[Y],data(){return{index:0,pause:!1,hnd:null,fullWidth:!1,currentSlotItem:0,slideshowItemEditing:!1}},props:{useSlot:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},autoplayInterval:{type:Number,default:5e3},showQuickLinkIcons:{type:Boolean,default:!0},showCounter:{type:Boolean,default:!1},slideshowItems:{type:Array,required:!0},showSlideButtons:{type:Boolean,default:!1},cmdSlideButtons:{type:Object,default(){return{next:{next:{iconClass:"icon-chevron-one-stripe-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-chevron-one-stripe-left",tooltip:"Previous"}}}}}},beforeUnmount(){this.stopAutoplay()},methods:{stopAutoplay(){this.hnd!==null&&(window.clearInterval(this.hnd),this.hnd=null)},itemProvider(){return{image:{src:{large:"/media/images/slideshow-images/large/slide1.jpg",medium:"/media/images/slideshow-images/medium/slide1.jpg",small:"/media/images/slideshow-images/small/slide1.jpg"},alt:"Alternative Text",tooltip:"Tooltip DE"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","slideshowItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{src:{large:"/media/images/slideshow-images/large/slide1.jpg",medium:"/media/images/slideshow-images/medium/slide1.jpg",small:"/media/images/slideshow-images/small/slide1.jpg"},tooltip:"Tooltip DE"}})}},showPrevItem(){this.slideshowItemEditing||(this.useSlot&&(this.currentSlotItem>0?this.currentSlotItem--:this.currentSlotItem=Object.keys(this.$slots).length-1),this.index>0?this.index--:this.index=this.slideshowItems.length-1)},showItem(e){!this.slideshowItemEditing&&e>=0&&e<this.slideshowItems.length&&(this.index=e)},showNextItem(){this.slideshowItemEditing||(this.useSlot&&(this.currentSlotItem<Object.keys(this.$slots).length-1?this.currentSlotItem++:this.currentSlotItem=0),this.index<this.slideshowItems.length-1?this.index++:this.index=0)},setupSlider(){this.autoplay&&this.hnd===null&&(this.hnd=window.setInterval(()=>this.pause||this.showNextItem(),this.autoplayInterval))}},computed:{tooltipForSlidebuttons(){return this.slideshowItemEditing?{title:"Not allowed while editing!"}:{}},currentItem(){return this.slideshowItems.length<=this.index?null:this.slideshowItems[this.index]}},watch:{slideshowItems:{handler(){this.index=0,this.setupSlider()},immediate:!0,deep:!0},autoplay(){this.autoplay?this.setupSlider():this.stopAutoplay()},autoplayInterval(){this.autoplay&&(this.stopAutoplay(),this.setupSlider())},currentItem(){this.$nextTick(()=>{var e;(e=this.$refs.slideshowItemComponentWrapper)==null||e.addEditStateListener(t=>this.slideshowItemEditing=t)})}}},Yx=["href","title"],$x=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new slideshow-image",-1)],vx={key:2},e1=["onClick","aria-label","title"],t1={key:3,class:"item-counter"};function n1(e,t,n,r,i,s){const a=bt,l=Ne;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-slideshow",{"full-width":i.fullWidth}])},[o.createElementVNode("div",{class:"inner-slideshow-wrapper",onMouseenter:t[1]||(t[1]=d=>i.pause=!0),onMouseleave:t[2]||(t[2]=d=>i.pause=!1)},[n.showSlideButtons?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0,onClick:o.withModifiers(s.showPrevItem,["prevent"]),slideButtonType:"prev",class:{disabled:i.slideshowItemEditing}},s.tooltipForSlidebuttons),null,16,["onClick","class"])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:"fade"},{default:o.withCtx(()=>{var d,c,u,m,g,f,h,y,p,C,T,k;return[s.currentItem?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.useSlot?(o.openBlock(),o.createElementBlock("div",{class:"slot-wrapper",key:i.index,style:o.normalizeStyle("background-image: url("+s.currentItem.image.srcLarge+")")},[o.renderSlot(e.$slots,"item"+i.currentSlotItem)],4)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[e.editModeContext?n.slideshowItems.length?(o.openBlock(),o.createBlock(l,{key:1,image:(T=s.currentItem)==null?void 0:T.image,figcaption:(k=s.currentItem)==null?void 0:k.figcaption,componentPath:["props","slideshowItems",i.index],editModeConfig:s.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[(c=(d=s.currentItem)==null?void 0:d.link)!=null&&c.href?(o.openBlock(),o.createElementBlock("a",{key:0,href:(m=(u=s.currentItem)==null?void 0:u.link)==null?void 0:m.href,title:(f=(g=s.currentItem)==null?void 0:g.link)==null?void 0:f.tooltip},[o.createVNode(l,{image:(h=s.currentItem)==null?void 0:h.image,figcaption:(y=s.currentItem)==null?void 0:y.figcaption},null,8,["image","figcaption"])],8,Yx)):(o.openBlock(),o.createBlock(l,{key:1,image:(p=s.currentItem)==null?void 0:p.image,figcaption:(C=s.currentItem)==null?void 0:C.figcaption},null,8,["image","figcaption"]))],64))],64))],64)):e.editModeContext?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...A)=>s.onAddItem&&s.onAddItem(...A))},$x)):o.createCommentVNode("",!0)]}),_:3}),n.showSlideButtons?(o.openBlock(),o.createBlock(a,o.mergeProps({key:1,onClick:o.withModifiers(s.showNextItem,["prevent"]),class:{disabled:i.slideshowItemEditing}},s.tooltipForSlidebuttons),null,16,["onClick","class"])):o.createCommentVNode("",!0),n.showQuickLinkIcons?(o.openBlock(),o.createElementBlock("ol",vx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.slideshowItems,(d,c)=>(o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass({active:c===i.index})},[o.createElementVNode("a",{href:"#",class:o.normalizeClass({disabled:i.slideshowItemEditing}),onClick:o.withModifiers(u=>s.showItem(c),["prevent"]),"aria-label":i.index,title:i.slideshowItemEditing?"Not allowed while editing!":"Switch to image #"+(c+1)},null,10,e1)],2))),128))])):o.createCommentVNode("",!0),n.showCounter?(o.openBlock(),o.createElementBlock("span",t1,o.toDisplayString(i.index+1)+"/"+o.toDisplayString(n.slideshowItems.length),1)):o.createCommentVNode("",!0)],32)],2)}const o1=V(Qx,[["render",n1]]),r1=Object.freeze(Object.defineProperty({__proto__:null,de:Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='850.394px'%20height='566.929px'%20viewBox='0%200%20850.394%20566.929'%20enable-background='new%200%200%20850.394%20566.929'%20xml:space='preserve'%3e%3cg%20id='it'%3e%3cg%3e%3crect%20fill='%23078E46'%20width='283.465'%20height='566.929'/%3e%3crect%20x='283.465'%20fill='%23FBFDFF'%20width='283.465'%20height='566.929'/%3e%3crect%20x='566.93'%20fill='%23D3242C'%20width='283.465'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='de'%3e%3cg%3e%3cdesc%3eFlag%20of%20Germany%3c/desc%3e%3crect%20id='black_stripe'%20x='0.901'%20fill='%23010202'%20width='849.492'%20height='566.929'/%3e%3crect%20id='red_stripe'%20x='0.901'%20y='188.977'%20fill='%23DD0B15'%20width='849.492'%20height='377.953'/%3e%3crect%20id='gold_stripe'%20x='0.901'%20y='377.953'%20fill='%23FFCE05'%20width='849.492'%20height='188.976'/%3e%3c/g%3e%3c/g%3e%3cg%20id='fr'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20x='0.901'%20fill='%23CF1327'%20width='849.492'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%23FFFFFF'%20width='566.328'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%231D2C4E'%20width='283.164'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='ru'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20fill='%23FFFFFF'%20width='850.395'%20height='283.465'/%3e%3crect%20y='283.465'%20fill='%23D52D1E'%20width='850.395'%20height='283.464'/%3e%3crect%20y='188.977'%20fill='%231E4295'%20width='850.395'%20height='188.977'/%3e%3c/g%3e%3c/g%3e%3cg%20id='cn'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20x='0.901'%20fill='%23DF2B14'%20width='849.493'%20height='566.929'/%3e%3cg%20transform='translate(5,5)%20scale(3)'%3e%3cpath%20id='s'%20fill='%23FFDE08'%20d='M142.483,56.693l49.932,153.838L61.692,115.454h161.583L92.551,210.531L142.483,56.693z'/%3e%3c/g%3e%3cg%20transform='translate(10,2)%20rotate(23.036243)'%3e%3cpath%20id='s_1_'%20fill='%23FFDE08'%20d='M295.146,30.607l-4.728,53.71l-27.711-46.234l49.566,21.099l-52.488,12.096L295.146,30.607z'/%3e%3c/g%3e%3cg%20transform='translate(12,4)%20rotate(45.869898)'%3e%3cpath%20id='s_2_'%20fill='%23FFDE08'%20d='M361.022,93.648l-25.178,47.665l-7.617-53.376l37.503,38.701l-53.064-9.243L361.022,93.648z'/%3e%3c/g%3e%3cg%20transform='translate(12,7)%20rotate(69.945396)'%3e%3cpath%20id='s_3_'%20fill='%23FFDE08'%20d='M367.298,188.705l-42.412,33.236l14.797-51.844l18.47,50.649l-44.682-30.108L367.298,188.705z'%20/%3e%3c/g%3e%3cg%20transform='translate(10,9)%20rotate(20.659808)'%3e%3cpath%20id='s_4_'%20fill='%23FFDE08'%20d='M294.056,228.595l-2.5,53.86l-29.603-45.045l50.397,19.024l-51.942,14.264L294.056,228.595z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='uk'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20y='0.002'%20fill='%23FFFFFF'%20width='850.16'%20height='566.865'/%3e%3cpolygon%20fill='%23CF172C'%20points='382.569,0%20382.569,226.625%200,226.625%200,339.948%20382.569,339.948%20382.569,566.863%20467.592,566.863%20467.592,339.948%20850.16,339.948%20850.16,226.625%20467.592,226.625%20467.592,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,0%20495.946,183.497%20771.202,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,566.863%20771.202,566.863%20495.946,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,566.863%20354.214,566.863%20354.214,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,0%20354.214,183.497%20354.214,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0.003,188.95%20204.392,188.95%200.003,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,188.95%20850.16,188.95%20850.16,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,377.913%20850.16,514.171%20850.16,377.913%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0,377.913%200,514.171%20204.392,377.913%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='802.938,0%20520.004,188.95%20567.223,188.95%20850.605,0%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='330.156,377.909%20282.937,377.909%200,566.852%2047.219,566.852%20330.602,377.909%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='0,0%200,31.692%20236.091,189.098%20283.311,189.098%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='566.696,377.832%20850.008,566.929%20850.01,535.239%20613.92,377.832%20'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e"},Symbol.toStringTag,{value:"Module"})),en:Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='850.394px'%20height='566.929px'%20viewBox='0%200%20850.394%20566.929'%20enable-background='new%200%200%20850.394%20566.929'%20xml:space='preserve'%3e%3cg%20id='it'%3e%3cg%3e%3crect%20fill='%23078E46'%20width='283.465'%20height='566.929'/%3e%3crect%20x='283.465'%20fill='%23FBFDFF'%20width='283.465'%20height='566.929'/%3e%3crect%20x='566.93'%20fill='%23D3242C'%20width='283.465'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='de'%3e%3cg%3e%3cdesc%3eFlag%20of%20Germany%3c/desc%3e%3crect%20id='black_stripe'%20x='0.901'%20fill='%23010202'%20width='849.492'%20height='566.929'/%3e%3crect%20id='red_stripe'%20x='0.901'%20y='188.977'%20fill='%23DD0B15'%20width='849.492'%20height='377.953'/%3e%3crect%20id='gold_stripe'%20x='0.901'%20y='377.953'%20fill='%23FFCE05'%20width='849.492'%20height='188.976'/%3e%3c/g%3e%3c/g%3e%3cg%20id='fr'%3e%3cg%3e%3crect%20x='0.901'%20fill='%23CF1327'%20width='849.492'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%23FFFFFF'%20width='566.328'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%231D2C4E'%20width='283.164'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='ru'%3e%3cg%3e%3crect%20fill='%23FFFFFF'%20width='850.395'%20height='283.465'/%3e%3crect%20y='283.465'%20fill='%23D52D1E'%20width='850.395'%20height='283.464'/%3e%3crect%20y='188.977'%20fill='%231E4295'%20width='850.395'%20height='188.977'/%3e%3c/g%3e%3c/g%3e%3cg%20id='cn'%3e%3cg%3e%3crect%20x='0.901'%20fill='%23DF2B14'%20width='849.493'%20height='566.929'/%3e%3cg%20transform='translate(5,5)%20scale(3)'%3e%3cpath%20id='s'%20fill='%23FFDE08'%20d='M142.483,56.693l49.932,153.838L61.692,115.454h161.583L92.551,210.531L142.483,56.693z'/%3e%3c/g%3e%3cg%20transform='translate(10,2)%20rotate(23.036243)'%3e%3cpath%20id='s_1_'%20fill='%23FFDE08'%20d='M295.146,30.607l-4.728,53.71l-27.711-46.234l49.566,21.099l-52.488,12.096L295.146,30.607z'/%3e%3c/g%3e%3cg%20transform='translate(12,4)%20rotate(45.869898)'%3e%3cpath%20id='s_2_'%20fill='%23FFDE08'%20d='M361.022,93.648l-25.178,47.665l-7.617-53.376l37.503,38.701l-53.064-9.243L361.022,93.648z'/%3e%3c/g%3e%3cg%20transform='translate(12,7)%20rotate(69.945396)'%3e%3cpath%20id='s_3_'%20fill='%23FFDE08'%20d='M367.298,188.705l-42.412,33.236l14.797-51.844l18.47,50.649l-44.682-30.108L367.298,188.705z'%20/%3e%3c/g%3e%3cg%20transform='translate(10,9)%20rotate(20.659808)'%3e%3cpath%20id='s_4_'%20fill='%23FFDE08'%20d='M294.056,228.595l-2.5,53.86l-29.603-45.045l50.397,19.024l-51.942,14.264L294.056,228.595z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='uk'%3e%3cg%3e%3crect%20y='0.002'%20fill='%23FFFFFF'%20width='850.16'%20height='566.865'/%3e%3cpolygon%20fill='%23CF172C'%20points='382.569,0%20382.569,226.625%200,226.625%200,339.948%20382.569,339.948%20382.569,566.863%20467.592,566.863%20467.592,339.948%20850.16,339.948%20850.16,226.625%20467.592,226.625%20467.592,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,0%20495.946,183.497%20771.202,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,566.863%20771.202,566.863%20495.946,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,566.863%20354.214,566.863%20354.214,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,0%20354.214,183.497%20354.214,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0.003,188.95%20204.392,188.95%200.003,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,188.95%20850.16,188.95%20850.16,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,377.913%20850.16,514.171%20850.16,377.913%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0,377.913%200,514.171%20204.392,377.913%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='802.938,0%20520.004,188.95%20567.223,188.95%20850.605,0%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='330.156,377.909%20282.937,377.909%200,566.852%2047.219,566.852%20330.602,377.909%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='0,0%200,31.692%20236.091,189.098%20283.311,189.098%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='566.696,377.832%20850.008,566.929%20850.01,535.239%20613.92,377.832%20'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e"},Symbol.toStringTag,{value:"Module"}))},Symbol.toStringTag,{value:"Module"})),i1={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(e){return rt(e)},activeLanguage(e){return e.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async e=>{const t=e.iso2;this.imageSources.push(r1[t].default)})},immediate:!0,deep:!0}}},s1={class:"cmd-switch-language"},a1=["href","title","onClick"],l1=["src","alt"],c1=["src","alt"];function d1(e,t,n,r,i,s){const a=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",s1,[o.createElementVNode("ul",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.languages,(l,d)=>(o.openBlock(),o.createElementBlock("li",{key:d},[l.link.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:l.link.path,class:o.normalizeClass(["flag",l.iso2,{active:s.activeLanguage(l)}]),title:l.tooltip,onClick:c=>e.$emit("click",{originalEvent:c,language:l})},[o.createElementVNode("img",{src:i.imageSources[d],alt:l.name},null,8,l1)],10,a1)):(o.openBlock(),o.createBlock(a,{key:1,class:o.normalizeClass(["flag",l.iso2]),to:s.getRoute(l),title:l.tooltip,onClick:c=>e.$emit("click",{originalEvent:c,language:l})},{default:o.withCtx(()=>[o.createElementVNode("img",{src:i.imageSources[d],alt:l.name},null,8,c1)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const u1=V(i1,[["render",d1]]),m1={name:"CmdTable",data(){return{showTableData:!0,fullWidth:!1,hasOverflow:!1}},props:{useTransition:{type:Boolean,default:!0},tableData:{type:Object,required:!0},caption:{type:Object,required:!1},collapsible:{type:Boolean,default:!1},fullWidthOnDefault:{type:Boolean,default:!1},userCanToggleWidth:{type:Boolean,default:!0},showSlideButtons:{type:Boolean,default:!0},iconExpand:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-down",tooltip:"Expand table"}}},iconCollapse:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-up",tooltip:"Collapse table"}}},iconToggleWidth:{type:Object,default:function(){return{iconClass:"icon-toggle-table-width",tooltip:"Toggle table width"}}},iconStretch:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-right",tooltip:"Stretch table"}}}},mounted(){this.hasOverflow=this.$refs.table.clientWidth>this.$refs.innerWrapper.clientWidth},computed:{hasCaption(){var e,t;return this.hideCaption?!1:((e=this.tableData.caption)==null?void 0:e.text)||((t=this.caption)==null?void 0:t.text)},hideCaption(){var e,t,n;return((e=this.caption)==null?void 0:e.show)===!1||((t=this.caption)==null?void 0:t.show)!==!0&&!((n=this.tableData.caption)!=null&&n.show)}},methods:{scrollLeft(){this.$refs.innerWrapper.scrollLeft=0,this.$refs.table.previousElementSibling.style.cssText="left: 0;",this.updatePosition()},scrollRight(){this.$refs.table.querySelector("th:last-child").scrollIntoView(),this.$refs.table.nextElementSibling.style.cssText="right: auto;",this.updatePosition()},updatePosition(){const e=this.$refs.table.previousElementSibling,t=this.$refs.table.nextElementSibling,n=this.$refs.innerWrapper,r=n.getBoundingClientRect(),i=r.width+n.scrollLeft-t.getBoundingClientRect().width,s=n.scrollLeft;console.log("parentRect",r),e.style.left=`${s}px`,t.style.left=`${i}px`,s===0?e.style.display="none":e.style.display="flex",s===n.scrollLeftMax?t.style.display="none":t.style.display="flex"}},watch:{fullWidthOnDefault:{handler(){this.fullWidth=this.fullWidthOnDefault},immediate:!0}}},f1={key:0,class:"button-wrapper"},h1=["title"],p1=["title"],g1={"aria-expanded":"true"},y1={key:0,"aria-expanded":"true"};function b1(e,t,n,r,i,s){var d,c,u,m;const a=z,l=bt;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-table-wrapper",{collapsed:!i.showTableData,"full-width":i.fullWidth,"has-caption":s.hasCaption,"has-overflow":i.hasOverflow}])},[n.collapsible||n.userCanToggleWidth?(o.openBlock(),o.createElementBlock("div",f1,[n.userCanToggleWidth?(o.openBlock(),o.createElementBlock("a",{key:0,class:"button",href:"#",onClick:t[0]||(t[0]=o.withModifiers(g=>i.fullWidth=!i.fullWidth,["prevent"])),title:n.iconToggleWidth.tooltip},[o.createVNode(a,{iconClass:n.iconToggleWidth.iconClass,type:n.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,h1)):o.createCommentVNode("",!0),n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:1,class:"button",href:"#",onClick:t[1]||(t[1]=o.withModifiers(g=>i.showTableData=!i.showTableData,["prevent"])),title:i.showTableData?n.iconCollapse.tooltip:n.iconExpand.tooltip},[o.createVNode(a,{iconClass:i.showTableData?n.iconCollapse.iconClass:n.iconExpand.iconClass,type:i.showTableData?n.iconCollapse.iconType:n.iconExpand.iconType},null,8,["iconClass","type"])],8,p1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"inner-wrapper",ref:"innerWrapper",onScroll:t[2]||(t[2]=(...g)=>s.updatePosition&&s.updatePosition(...g))},[n.showSlideButtons?(o.openBlock(),o.createBlock(l,{key:0,onClick:o.withModifiers(s.scrollLeft,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):o.createCommentVNode("",!0),o.createElementVNode("table",{ref:"table",class:o.normalizeClass({"full-width":i.fullWidth})},[(d=n.tableData.caption)!=null&&d.text||(c=n.caption)!=null&&c.text?(o.openBlock(),o.createElementBlock("caption",{key:0,class:o.normalizeClass({hidden:s.hideCaption})},o.toDisplayString(((u=n.caption)==null?void 0:u.text)||((m=n.tableData.caption)==null?void 0:m.text)),3)):o.createCommentVNode("",!0),o.createElementVNode("thead",null,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.thead,(g,f)=>(o.openBlock(),o.createElementBlock("th",{key:f},o.toDisplayString(g),1))),128))])]),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("tbody",g1,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tbody,(g,f)=>(o.openBlock(),o.createElementBlock("tr",{class:o.normalizeClass({active:n.tableData.rowIndexHighlighted===f}),key:f},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(g,(h,y)=>(o.openBlock(),o.createElementBlock("td",{class:o.normalizeClass({active:n.tableData.columnIndexHighlighted===y}),key:y},o.toDisplayString(h),3))),128))],2))),128))],512),[[o.vShow,i.showTableData]])]),_:1},8,["name"]),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[n.tableData.tfoot&&n.tableData.tfoot.length&&i.showTableData?(o.openBlock(),o.createElementBlock("tfoot",y1,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tfoot,(g,f)=>(o.openBlock(),o.createElementBlock("td",{class:o.normalizeClass({active:n.tableData.columnIndexHighlighted===f}),key:f},o.toDisplayString(g),3))),128))])])):o.createCommentVNode("",!0)]),_:1},8,["name"])],2),n.showSlideButtons?(o.openBlock(),o.createBlock(l,{key:1,onClick:o.withModifiers(s.scrollRight,["prevent"])},null,8,["onClick"])):o.createCommentVNode("",!0)],544)],2)}const k1=V(m1,[["render",b1]]);da({prefix:"cmd",icons:{"3d-cursor":{body:'<path d="M13 4H4v9.01h2V6h7V4z" fill="currentColor"/><path d="M29.49 13.12l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 10 14v10a1 1 0 0 0 .52.87l9 5A1 1 0 0 0 20 30a1.05 1.05 0 0 0 .49-.13l9-5A1 1 0 0 0 30 24V14a1 1 0 0 0-.51-.88zM19 27.3l-7-3.89v-7.72l7 3.89zm1-9.45L13.06 14L20 10.14L26.94 14zm8 5.56l-7 3.89v-7.72l7-3.89z" fill="currentColor"/>',hidden:!0},building:{body:'<path fill="currentColor" d="M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2ZM9 28v-7h4v7Zm19 0H15v-8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v8H4V16h12V4h12Z"/><path fill="currentColor" d="M18 8h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2z"/>'},linkedin:{body:`<path fill="currentColor" d="M12,12h5.535v2.837h0.078C18.384,13.456,20.27,12,23.078,12C28.92,12,30,15.637,30,20.367V30h-5.77v-8.54
|
11
|
+
`),e.document.close(),e.print(),e.close()},printPage(e){this.printInGrayscale=e==="grayscale",this.printDialogContent()},onDialogCancel(e){if(!this.allowEscapeKey){e.preventDefault();return}this.close()},showDialog(){var e;document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),(e=this.$refs["close-dialog"])==null||e.focus()},updateContentOnPropertyChange(){this.fancyBoxImageUrl=this.fancyBoxContent=this.fancyBoxElements=null,this.url?this.loadContent(this.url):this.content?this.fancyBoxContent=this.content:this.elements&&(this.fancyBoxElements=this.elements.map(e=>e.cloneNode(!0)),this.$nextTick(()=>{this.$refs.elements.append(...this.fancyBoxElements)}))},async loadContent(e){(await vy(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(n=>n.text()).then(n=>this.fancyBoxContent=n).catch(n=>console.error(`Error loading ${this.url}: ${n}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(e){for(let t=0;t<this.fancyBoxGallery.length;t++)if(this.fancyBoxGallery[t].image.id===e){this.index=t;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){this.showFancyBox=!1,this.$emit("update:show",!1),document.querySelector("body").classList.remove("avoid-scrolling")},cancel(){this.$emit("cancel",!0),this.close()},confirm(){this.$emit("confirm",!0),this.close()}},watch:{show(e){this.showFancyBox=e},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function vy(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const eb=ja,tb=["aria-label"],nb={class:"flex-container"},ob={key:1,class:"button-wrapper no-flex"},rb=["title"],ib=["title"],sb=["title"],ab={key:0,class:"content"},lb=["innerHTML"],cb={key:2,class:"content",ref:"elements"},db={key:3,class:"content"},ub={key:4,class:"content"},mb={key:0,class:"flex-container no-flex"},fb=["title"],hb={key:1},pb=["title"],gb={key:1};function yb(e,t,n,r,i,s){var m,g,f,h,y,p,C,T,k,A,N,b,S,F,q,L,Be,_e,Ee,Se,Te,P,de,re,Yt,$t,vt;const a=U,l=z,d=Ne,c=bt,u=Da;return o.openBlock(),o.createElementBlock("dialog",{ref:"dialog",class:o.normalizeClass(["cmd-fancybox",{"show-overlay":e.showOverlay,image:e.fancyBoxImageUrl||e.fancyBoxGallery,"image-gallery":e.fancyBoxGallery}]),"aria-label":e.ariaLabelText,onCancel:t[5]||(t[5]=(...ue)=>e.onDialogCancel&&e.onDialogCancel(...ue))},[o.createElementVNode("header",nb,[(m=e.cmdHeadline)!=null&&m.headlineText?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},e.cmdHeadline)),null,16)):o.createCommentVNode("",!0),(g=e.fancyBoxOptionsProperties.printButtons)!=null&&g.color||(f=e.fancyBoxOptionsProperties.printButtons)!=null&&f.grayscale||e.fancyBoxOptionsProperties.closeIcon?(o.openBlock(),o.createElementBlock("div",ob,[e.showPrintButtons&&((h=e.fancyBoxOptionsProperties.printButtons)!=null&&h.color)?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(y=e.fancyBoxOptionsProperties.printButtons.color)==null?void 0:y.tooltip,onClick:t[0]||(t[0]=o.withModifiers(ue=>e.printPage("color"),["prevent"]))},[o.createVNode(l,{iconClass:(p=e.fancyBoxOptionsProperties.printButtons.color)==null?void 0:p.iconClass,type:(C=e.fancyBoxOptionsProperties.printButtons.color)==null?void 0:C.iconType},null,8,["iconClass","type"])],8,rb)):o.createCommentVNode("",!0),e.showPrintButtons&&((T=e.fancyBoxOptionsProperties.printButtons)!=null&&T.grayscale)?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(k=e.fancyBoxOptionsProperties.printButtons.grayscale)==null?void 0:k.tooltip,onClick:t[1]||(t[1]=o.withModifiers(ue=>e.printPage("grayscale"),["prevent"]))},[o.createVNode(l,{iconClass:(A=e.fancyBoxOptionsProperties.printButtons.grayscale)==null?void 0:A.iconClass,type:(N=e.fancyBoxOptionsProperties.printButtons.grayscale)==null?void 0:N.iconType},null,8,["iconClass","type"])],8,ib)):o.createCommentVNode("",!0),e.fancyBoxOptionsProperties.closeIcon?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",class:"button",id:"close-dialog",title:e.fancyBoxOptionsProperties.closeIcon.tooltip,ref:"close-dialog",onClick:t[2]||(t[2]=o.withModifiers((...ue)=>e.close&&e.close(...ue),["prevent"]))},[o.createVNode(l,{iconClass:e.fancyBoxOptionsProperties.closeIcon.iconClass,type:e.fancyBoxOptionsProperties.closeIcon.iconType},null,8,["iconClass","type"])],8,sb)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)]),o.createElementVNode("div",{class:o.normalizeClass(["outer-content-wrapper",{grayscale:e.printInGrayscale}])},[e.fancyBoxImageUrl||(b=e.cmdImage)!=null&&b.image?(o.openBlock(),o.createElementBlock("div",ab,[o.createVNode(d,{image:e.largeSingleImage,figcaption:(S=e.cmdImage)==null?void 0:S.figcaption},null,8,["image","figcaption"])])):e.fancyBoxContent?(o.openBlock(),o.createElementBlock("div",{key:1,class:"content",innerHTML:e.fancyBoxContent},null,8,lb)):e.fancyBoxElements?(o.openBlock(),o.createElementBlock("div",cb,null,512)):e.fancyBoxGallery?(o.openBlock(),o.createElementBlock("div",db,[o.createVNode(c,{onClick:o.withModifiers(e.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),o.createVNode(d,{image:e.largeGalleryImage,figcaption:e.fancyBoxGallery[e.index].figcaption},null,8,["image","figcaption"]),o.createVNode(c,{onClick:o.withModifiers(e.showNextItem,["prevent"])},null,8,["onClick"])])):(o.openBlock(),o.createElementBlock("div",ub,[o.renderSlot(e.$slots,"default")]))],2),e.showSubmitButtons&&e.fancyBoxOptionsProperties.submitButtons?(o.openBlock(),o.createElementBlock("footer",mb,[(F=e.fancyBoxOptionsProperties.submitButtons)!=null&&F.cancel?(o.openBlock(),o.createElementBlock("button",{key:0,onClick:t[3]||(t[3]=(...ue)=>e.cancel&&e.cancel(...ue)),title:(q=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:q.tooltip},[(L=e.fancyBoxOptionsProperties.submitButtons.cancel)!=null&&L.iconClass?(o.openBlock(),o.createBlock(l,{key:0,iconClass:(Be=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:Be.iconClass,type:(_e=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:_e.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(Ee=e.fancyBoxOptionsProperties.submitButtons.cancel)!=null&&Ee.buttonText?(o.openBlock(),o.createElementBlock("span",hb,o.toDisplayString((Se=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:Se.buttonText),1)):o.createCommentVNode("",!0)],8,fb)):o.createCommentVNode("",!0),(Te=e.fancyBoxOptionsProperties.submitButtons)!=null&&Te.confirm?(o.openBlock(),o.createElementBlock("button",{key:1,onClick:t[4]||(t[4]=(...ue)=>e.confirm&&e.confirm(...ue)),title:(P=e.fancyBoxOptionsProperties.submitButtons.cancel)==null?void 0:P.tooltip},[(de=e.fancyBoxOptionsProperties.submitButtons.confirm)!=null&&de.iconClass?(o.openBlock(),o.createBlock(l,{key:0,iconClass:(re=e.fancyBoxOptionsProperties.submitButtons.confirm)==null?void 0:re.iconClass,type:(Yt=e.fancyBoxOptionsProperties.submitButtons.confirm)==null?void 0:Yt.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),($t=e.fancyBoxOptionsProperties.submitButtons.confirm)!=null&&$t.buttonText?(o.openBlock(),o.createElementBlock("span",gb,o.toDisplayString((vt=e.fancyBoxOptionsProperties.submitButtons.confirm)==null?void 0:vt.buttonText),1)):o.createCommentVNode("",!0)],8,pb)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.fancyBoxGallery?(o.openBlock(),o.createBlock(u,{key:1,thumbnailScrollerItems:[...e.fancyBoxGallery],allowOpenFancyBox:!1,onClick:e.showItem,activeItemIndex:e.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):o.createCommentVNode("",!0)],42,tb)}const bb=V(eb,[["render",yb]]),kb={emits:["submit"],mixins:[oe,Ny],inject:{editModeContext:{default:null}},data(){return{validator:new mr(e=>e),formData:{salutation:{value:this.configuration.salutation.default},lastName:{value:""},firstName:{value:""},email:{value:""},phone:{value:""},streetNo:{value:""},zip:{value:""},city:{value:""},pobox:{value:""},country:{value:""},additionalAddressInfo:{value:""},userMessage:{value:""},acceptPrivacy:{value:!1}},cityBeforeZip:this.showCityBeforeZip}},props:{useNativeSubmit:{type:Boolean,default:!1},formAction:{type:String,required:!1},legend:{type:Object,default(){return{show:!0,align:"right",text:"Legend"}}},configuration:{type:Object,default(){return{salutation:{default:"m",replaceInputType:!0},lastName:{required:!0,type:"text"},firstName:{required:!1,type:"text"},email:{required:!0,type:"email"},phone:{required:!1,type:"phone"},country:{required:!1,element:"select",selectOptions:[{text:"Please select...",value:""},{text:"United States",value:"us"},{text:"Germany",value:"de"}]},streetNo:{required:!1,type:"text"},zip:{required:!1,type:"number"},city:{required:!1,type:"text"},additionalAddressInfo:{required:!1,type:"text"},userMessage:{required:!1,element:"textarea"},acceptPrivacy:{required:!0,replaceInputType:!0}}}},showCityBeforeZip:{type:Boolean,default:!1},receiverEmailAddress:{type:String,default:""},submitButton:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1},cmdForm:{type:Object,required:!1}},mounted(){var e,t;(t=(e=this.$refs.dataPrivacy)==null?void 0:e.querySelector(".component-fancybox"))==null||t.addEventListener("click",n=>{n.preventDefault(),qe({url:n.target.getAttribute("href")})})},computed:{submitButtonProperties(){return{iconClass:"icon-message-send",text:"Send mail",type:"submit",position:"belowFieldset",primary:!0,...this.submitButton}}},methods:{onSubmit(e){if(this.onValidate(),this.formData=Object.assign({},this.validator.validatePrivacy(this.formData)),this.formData.error||this.useNativeSubmit){this.formData.error&&e.originalEvent.preventDefault();return}const t=new FormData,n=Object.keys(this.configuration);for(let r=0;r<n.length;r++)t.set(n[r],this.formData[n[r]].value);fetch(this.formAction,{method:this.cmdForm.formMethod||"POST",body:t}).then(r=>{r.ok?console.log("CmdBasicForm","ok"):console.log("CmdBasicForm","fail")}).catch(r=>{console.error(r)}),e.originalEvent.preventDefault()},onCountrySelect(e){this.cityBeforeZip=e==="us"||e==="uk"},onValidate(){this.formData=Object.assign({},this.validator.validate(this.formData))},executeLink(e,t){e.fancybox&&(t.preventDefault(),qe({url:e}))},openDataPrivacy(e){qe({url:e})}},watch:{showCityBeforeZip(){this.cityBeforeZip=this.showCityBeforeZip}}},Cb={class:"cmd-pages-basic-form"},wb={key:0,class:"flex-container no-flex order-male-female"},xb={key:1,class:"flex-container order-lastname-firstname"},Bb={key:2,class:"flex-container order-phone-email"},_b={key:3,class:"flex-container"},Eb=["innerHTML"];function Sb(e,t,n,r,i,s){const a=U,l=X,d=Ma;return o.openBlock(),o.createElementBlock("div",Cb,[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createVNode(d,o.mergeProps({onSubmit:s.onSubmit,novalidate:"novalidate"},n.cmdForm,{legend:n.legend,submitButton:s.submitButtonProperties,formAction:n.formAction}),{default:o.withCtx(()=>{var c,u,m,g,f,h,y,p,C,T,k,A,N,b,S,F,q,L,Be,_e,Ee,Se,Te,P,de,re,Yt,$t,vt,ue,Df,jf,qf,zf,Hf,Uf,Wf,Gf,Jf,Kf,Zf;return[n.configuration.salutation?(o.openBlock(),o.createElementBlock("div",wb,[o.createVNode(l,{element:"input",type:"radio",labelText:e.getMessage("basic_form.labeltext.salutation_male"),name:((c=n.configuration.salutation)==null?void 0:c.name)||"salutation",inputValue:"m",replaceInputType:(u=n.configuration.salutation)==null?void 0:u.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":t[0]||(t[0]=H=>i.formData.salutation.value=H),i18n:e.i18n,onValidate:s.onValidate},null,8,["labelText","name","replaceInputType","modelValue","i18n","onValidate"]),o.createVNode(l,{element:"input",type:"radio",labelText:e.getMessage("basic_form.labeltext.salutation_female"),name:((m=n.configuration.salutation)==null?void 0:m.name)||"salutation",inputValue:"f",replaceInputType:(g=n.configuration.salutation)==null?void 0:g.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":t[1]||(t[1]=H=>i.formData.salutation.value=H),i18n:e.i18n,onValidate:s.onValidate},null,8,["labelText","name","replaceInputType","modelValue","i18n","onValidate"])])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"top"),n.configuration.lastName||n.configuration.firstName?(o.openBlock(),o.createElementBlock("div",xb,[n.configuration.lastName?(o.openBlock(),o.createBlock(l,{key:0,element:"input",type:((f=n.configuration.lastName)==null?void 0:f.type)||"text",iconClass:"icon-user-profile",labelText:e.getMessage("basic_form.labeltext.last_name"),required:(h=n.configuration.lastName)==null?void 0:h.required,name:((y=n.configuration.lastName)==null?void 0:y.name)||"last-name",placeholder:e.getMessage("basic_form.placeholder.last_name"),modelValue:i.formData.lastName.value,"onUpdate:modelValue":t[2]||(t[2]=H=>i.formData.lastName.value=H),status:i.formData.lastName.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","required","name","placeholder","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.firstName?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((p=n.configuration.firstName)==null?void 0:p.type)||"text",iconClass:"icon-user-profile",labelText:e.getMessage("basic_form.labeltext.first_name"),placeholder:e.getMessage("basic_form.placeholder.first_name"),required:(C=n.configuration.firstName)==null?void 0:C.required,name:((T=n.configuration.firstName)==null?void 0:T.name)||"first-name",modelValue:i.formData.firstName.value,"onUpdate:modelValue":t[3]||(t[3]=H=>i.formData.firstName.value=H),status:i.formData.firstName.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.email||n.configuration.phone?(o.openBlock(),o.createElementBlock("div",Bb,[n.configuration.email?(o.openBlock(),o.createBlock(l,{key:0,element:"input",type:((k=n.configuration.email)==null?void 0:k.type)||"email",iconClass:"icon-mail",labelText:e.getMessage("basic_form.labeltext.email"),placeholder:e.getMessage("basic_form.placeholder.email"),required:(A=n.configuration.email)==null?void 0:A.required,name:((N=n.configuration.email)==null?void 0:N.name)||"email",modelValue:i.formData.email.value,"onUpdate:modelValue":t[4]||(t[4]=H=>i.formData.email.value=H),status:i.formData.email.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.phone?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((b=n.configuration.phone)==null?void 0:b.type)||"tel",iconClass:"icon-phone",labelText:e.getMessage("basic_form.labeltext.phone"),placeholder:e.getMessage("basic_form.placeholder.phone"),modelValue:i.formData.phone.value,"onUpdate:modelValue":t[5]||(t[5]=H=>i.formData.phone.value=H),required:(S=n.configuration.phone)==null?void 0:S.required,name:((F=n.configuration.phone)==null?void 0:F.name)||"phone",status:i.formData.phone.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","modelValue","required","name","status","i18n","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.streetNo||n.configuration.streetNo||n.configuration.zip&&n.configuration.city?(o.openBlock(),o.createElementBlock("div",_b,[n.configuration.country?(o.openBlock(),o.createBlock(l,{key:0,element:"select",labelText:e.getMessage("basic_form.labeltext.country"),selectOptions:(q=n.configuration.country)==null?void 0:q.selectOptions,required:(L=n.configuration.country)==null?void 0:L.required,name:((Be=n.configuration.country)==null?void 0:Be.name)||"country",modelValue:i.formData.country.value,"onUpdate:modelValue":[t[6]||(t[6]=H=>i.formData.country.value=H),s.onCountrySelect],status:i.formData.country.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["labelText","selectOptions","required","name","modelValue","status","i18n","onValidate","onUpdate:modelValue"])):o.createCommentVNode("",!0),n.configuration.streetNo?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((_e=n.configuration.streetNo)==null?void 0:_e.type)||"text",labelText:e.getMessage("basic_form.labeltext.street_no"),placeholder:e.getMessage("basic_form.placeholder.street_no"),required:(Ee=n.configuration.streetNo)==null?void 0:Ee.required,name:((Se=n.configuration.streetNo)==null?void 0:Se.name)||"street-no",modelValue:i.formData.streetNo.value,"onUpdate:modelValue":t[7]||(t[7]=H=>i.formData.streetNo.value=H),status:i.formData.streetNo.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.pobox?(o.openBlock(),o.createBlock(l,{key:2,element:"input",type:((Te=n.configuration.pobox)==null?void 0:Te.type)||"text",labelText:e.getMessage("basic_form.labeltext.pobox"),placeholder:e.getMessage("basic_form.placeholder.pobox"),required:(P=n.configuration.pobox)==null?void 0:P.required,name:((de=n.configuration.pobox)==null?void 0:de.name)||"pobox",modelValue:i.formData.pobox.value,"onUpdate:modelValue":t[8]||(t[8]=H=>i.formData.pobox.value=H),status:i.formData.pobox.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["input-wrapper",i.cityBeforeZip?"order-city-zip":"order-zip-city"])},[n.configuration.zip?(o.openBlock(),o.createBlock(l,{key:0,element:"input",class:"input-zip",type:((re=n.configuration.zip)==null?void 0:re.type)||"number",labelText:e.getMessage("basic_form.labeltext.zip"),placeholder:e.getMessage("basic_form.placeholder.zip"),required:(Yt=n.configuration.zip)==null?void 0:Yt.required,name:(($t=n.configuration.zip)==null?void 0:$t.name)||"zip",modelValue:i.formData.zip.value,"onUpdate:modelValue":t[9]||(t[9]=H=>i.formData.zip.value=H),status:i.formData.zip.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),n.configuration.city?(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:((vt=n.configuration.city)==null?void 0:vt.type)||"text",labelText:e.getMessage("basic_form.labeltext.city"),placeholder:e.getMessage("basic_form.placeholder.city"),required:(ue=n.configuration.city)==null?void 0:ue.required,name:((Df=n.configuration.city)==null?void 0:Df.name)||"city",modelValue:i.formData.city.value,"onUpdate:modelValue":t[10]||(t[10]=H=>i.formData.city.value=H),status:i.formData.city.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)],2),n.configuration.additionalAddressInfo?(o.openBlock(),o.createBlock(l,{key:3,element:"input",type:((jf=n.configuration.additionalAddressInfo)==null?void 0:jf.type)||"text",labelText:e.getMessage("basic_form.labeltext.additional_address_info"),placeholder:e.getMessage("basic_form.placeholder.additional_address_info"),required:(qf=n.configuration.additionalAddressInfo)==null?void 0:qf.required,name:((zf=n.configuration.additionalAddressInfo)==null?void 0:zf.name)||"additional-address-info",modelValue:i.formData.additionalAddressInfo.value,"onUpdate:modelValue":t[11]||(t[11]=H=>i.formData.additionalAddressInfo.value=H),status:i.formData.additionalAddressInfo.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.userMessage?(o.openBlock(),o.createBlock(l,{key:4,element:((Hf=n.configuration.userMessage)==null?void 0:Hf.element)||"textarea",labelText:e.getMessage("basic_form.labeltext.user_message"),placeholder:e.getMessage("basic_form.placeholder.user_message"),required:(Uf=n.configuration.userMessage)==null?void 0:Uf.required,name:((Wf=n.configuration.userMessage)==null?void 0:Wf.name)||"user-message",textCharactersLeft:e.getMessage("basic_form.text.characters_left"),maxlength:(Gf=n.configuration.userMessage)==null?void 0:Gf.maxLength,modelValue:i.formData.userMessage.value,"onUpdate:modelValue":t[12]||(t[12]=H=>i.formData.userMessage.value=H),status:i.formData.userMessage.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},null,8,["element","labelText","placeholder","required","name","textCharactersLeft","maxlength","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"bottom"),n.configuration.acceptPrivacy?(o.openBlock(),o.createBlock(l,{key:5,element:"input",type:"checkbox",required:(Jf=n.configuration.acceptPrivacy)==null?void 0:Jf.required,name:((Kf=n.configuration.acceptPrivacy)==null?void 0:Kf.name)||"accept-privacy",replaceInputType:(Zf=n.configuration.acceptPrivacy)==null?void 0:Zf.replaceInputType,modelValue:i.formData.acceptPrivacy.value,"onUpdate:modelValue":t[13]||(t[13]=H=>i.formData.acceptPrivacy.value=H),status:i.formData.acceptPrivacy.error?"error":"",i18n:e.i18n,onValidate:s.onValidate},{labeltext:o.withCtx(()=>[o.createElementVNode("span",{ref:"dataPrivacy",innerHTML:e.getMessage("basic_form.labeltext.data_privacy")},null,8,Eb)]),_:1},8,["required","name","replaceInputType","modelValue","status","i18n","onValidate"])):o.createCommentVNode("",!0)]}),_:3},16,["onSubmit","legend","submitButton","formAction"])])}const qa=V(kb,[["render",Sb]]),Tb={name:"CmdInnerLink",props:{icon:{type:Object,default:{}},text:{type:String,default:""}}},Ob=["title"],Nb={key:1},Vb=["title"];function Fb(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock(o.Fragment,null,[n.icon.iconClass&&n.icon.position==="left"||n.icon.position==="top"||!n.icon.position?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(n.icon.iconClass),title:n.icon.tooltip},null,10,Ob)):o.createCommentVNode("",!0),n.text?(o.openBlock(),o.createElementBlock("span",Nb,o.toDisplayString(n.text),1)):o.createCommentVNode("",!0),n.icon.iconClass&&n.icon.position==="right"||n.icon.position==="bottom"?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(n.icon.iconClass),title:n.icon.tooltip},null,10,Vb)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64)}const Ab=V(Tb,[["render",Fb]]),Pb={name:"CmdLink",emits:["click"],props:{linkType:{type:String,default:"href",validator(e){return e==="href"||e==="router"||e==="button"}},path:{type:[String,Object],default:"#"},target:{type:String,default:""},icon:{type:Object,default:{}},text:{type:String,default:""},styleAsButton:{type:Boolean,default:!1},styleAsBox:{type:Boolean,default:!1},primaryButton:{type:Boolean,default:!1},fancybox:{type:Boolean,default:!1}},methods:{emitClick(e,t){this.$emit("click",{originalEvent:e,linkType:t})}}},Lb=["href","target","title"],Ib=["title"];function Mb(e,t,n,r,i,s){var d,c,u;const a=Ab,l=o.resolveComponent("router-link");return n.linkType==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:n.path,target:n.target,class:o.normalizeClass(["cmd-link",{button:n.styleAsButton,primary:n.primaryButton,box:n.styleAsBox,fancybox:n.fancybox}]),onClick:t[0]||(t[0]=m=>s.emitClick(m,"href")),title:(d=n.icon)==null?void 0:d.tooltip},[o.createVNode(a,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],10,Lb)):n.linkType==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:n.path,class:o.normalizeClass(["cmd-link",{button:n.styleAsButton,primary:n.primaryButton,box:n.styleAsBox,fancybox:n.fancybox}]),onClick:t[1]||(t[1]=m=>s.emitClick(m,"router")),title:(c=n.icon)==null?void 0:c.tooltip},{default:o.withCtx(()=>[o.createVNode(a,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])]),_:3},8,["to","class","title"])):n.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:2,class:o.normalizeClass(["cmd-link button",{primary:n.primaryButton,box:n.styleAsBox,fancybox:n.fancybox}]),type:"submit",onClick:t[2]||(t[2]=m=>s.emitClick(m,"button")),title:(u=n.icon)==null?void 0:u.tooltip},[o.createVNode(a,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],10,Ib)):o.createCommentVNode("",!0)}const ot=V(Pb,[["render",Mb]]),Rb={name:"CmdListOfLinksItem",inheritAttrs:!1,mixins:[Y],data(){var e;return{editableText:(e=this.link)==null?void 0:e.text}},props:{link:{type:Object,required:!1}},methods:{updateHandlerProvider(){const e=this.editableText;return Q(this,{update(t){t.text=e}})}}},Db={key:0,class:"cmd-list-of-links-item"},jb={key:0},qb={key:1,class:"input-wrapper"};function zb(e,t,n,r,i,s){var c;const a=ot,l=o.resolveComponent("CmdListOfLinksItem",!0),d=X;return e.editing?(o.openBlock(),o.createElementBlock("div",qb,[o.createVNode(d,{element:"input",type:"text",labelText:"Linktext",showLabel:!1,placeholder:"Linktext",modelValue:i.editableText,"onUpdate:modelValue":t[0]||(t[0]=u=>i.editableText=u)},null,8,["modelValue"])])):(o.openBlock(),o.createElementBlock("li",Db,[o.createVNode(a,o.normalizeProps(o.guardReactiveProps(n.link)),null,16),e.editModeContext?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("ul",jb,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList((c=n.link)==null?void 0:c.children,(u,m)=>(o.openBlock(),o.createBlock(l,{key:m,link:u},null,8,["link"]))),128))]))]))}const Hb=V(Rb,[["render",zb]]),Ub={name:"CmdListOfLinks",emits:["click"],mixins:[Y],props:{useGap:{type:Boolean,default:!0},styleAsBox:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},sectionAnchors:{type:Boolean,default:!1},activeSection:{type:Number,default:0},showListStyleItems:{type:Boolean,default:!1},align:{type:String,default:"left",validator(e){return e==="left"||e==="center"||e==="right"}},links:{type:Array,required:!1},orientation:{type:String,default:"vertical",validator(e){return e==="horizontal"||e==="vertical"}},cmdHeadline:{type:Object,required:!1}},computed:{setStretchClass(){return this.largeIcons&&this.orientation==="horizontal"?"stretch":null}},methods:{onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","links",-1),this.itemProvider)},itemProvider(){return{iconClass:"icon-user-profile",type:"href",text:"Linktext",path:"#",tooltip:"Tooltip",target:"_blank"}},updateHandlerProvider(){return Q(this,{update(e,t){const n=t==null?void 0:t.find(r=>r.name==="CmdHeadline");n&&(e.cmdHeadline=e.cmdHeadline||{},n.update(e.cmdHeadline))}})}}},Wb={key:1},Gb=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)];function Jb(e,t,n,r,i,s){var c;const a=U,l=Hb,d=Ae;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-list-of-links",{box:n.styleAsBox,horizontal:n.orientation==="horizontal","section-anchors":n.sectionAnchors,"large-icons":n.largeIcons,"show-list-style-items":n.showListStyleItems}])},[(c=n.cmdHeadline)!=null&&c.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("ul",{class:o.normalizeClass(["flex-container",{"no-gap":!n.useGap},"align-"+n.align,s.setStretchClass])},[e.editModeContext?(o.openBlock(),o.createElementBlock("li",Wb,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.links,(u,m)=>(o.openBlock(),o.createBlock(d,{key:"x"+m,class:"edit-items",showComponentName:!1,componentTag:"ul",componentName:"CmdLinkItem",componentProps:u,allowedComponentTypes:[],componentPath:["props","links",m],itemProvider:s.itemProvider},{default:o.withCtx(()=>[o.createVNode(l,{class:o.normalizeClass({active:n.sectionAnchors&&n.activeSection===m}),link:u},null,8,["class","link"])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128)),n.links.length===0?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:t[0]||(t[0]=(...u)=>s.onAddItem&&s.onAddItem(...u))},Gb)):o.createCommentVNode("",!0)])):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.links,(u,m)=>(o.openBlock(),o.createBlock(l,{key:m,class:o.normalizeClass({active:n.sectionAnchors&&n.activeSection===m}),link:u},null,8,["class","link"]))),128))],2)],2)}const fr=V(Ub,[["render",Jb]]),hr={name:"CmdBox",mixins:[oe,{data(){return{defaultMessageProperties:{"box.productbox.new":"New","box.productbox.article_no":"Article No:","box.contentbox.collapse_text":"Collapse text","box.contentbox.expand_text":"Expand text"}}}},{props:{globalCurrency:{type:Object,default(){return{symbol:"€",name:"Euro"}}}}}],emits:["click","toggle-collapse"],data(){return{open:this.collapsible?this.openCollapsedBox:!0,active:!0,showCutOffText:!1,calculatedBodyHeight:this.maxBoxBodyHeight}},props:{openCollapsedBox:{type:Boolean,required:!1},rowView:{type:Boolean,default:!1},boxType:{type:String,default:"content",validator(e){return e==="content"||e==="product"||e==="user"}},allowContentToScroll:{type:Boolean,default:!1},maxBoxBodyHeight:{type:String,default:"20rem"},collapsible:{type:Boolean,default:!1},cutoffTextLines:{type:Number,default:0},useBoxBodyPadding:{type:Boolean,default:!0},fadeLastLine:{type:Boolean,default:!1},useTransition:{type:Boolean,default:!0},boxBodyClass:{type:String,required:!1},defaultProfileIconClass:{type:String,default:"icon-user-profile"},product:{type:Object,required:!1},user:{type:Object,required:!1},profileType:{type:String,default:"business",validator(e){return e==="business"||e==="influencer"||e==="dating"}},useSlots:{type:Array,required:!1},cmdImage:{type:Object,required:!1},textBody:{type:String,default:""},iconOpen:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-up",tooltip:"Close content",iconType:"auto"}}},iconClosed:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-down",tooltip:"Show content",iconType:"auto"}}},stretchHorizontally:{type:Boolean,default:!0},stretchVertically:{type:Boolean,default:!0},headlinePosition:{type:String,default:"header",validator(e){return e==="header"||e==="body"}},cmdHeadline:{type:Object,required:!1},cmdLink:{type:Object,default:{}},cmdIcon:{type:Object,required:!1}},computed:{toggleTransition(){return this.useTransition?"fade":""}},methods:{toggleContentVisibility(){this.open=!this.open,this.active=!this.active,this.$emit("toggle-collapse",this.open)},toggleCutOffText(){this.showCutOffText=!this.showCutOffText,this.$emit("toggle-cutofftext",this.showCutOffText)},clickOnProduct(e){this.$emit("click",e)},setFocus(){this.$nextTick(()=>{if(this.open){const e=this.$refs.cmdBox.querySelector(":is(input, select, textarea):first-of-type");e&&e.focus()}})}},watch:{openCollapsedBox(){this.collapsible&&(this.open=this.openCollapsedBox,this.setFocus())},open(){this.setFocus()}}},za=()=>{o.useCssVars(e=>({"83433e5e":e.cutoffTextLines}))},Ha=hr.setup;hr.setup=Ha?(e,t)=>(za(),Ha(e,t)):za;const Kb=["title"],Zb={key:0,class:"box-header"},Xb={key:1,class:"body-icon-wrapper"},Qb=["innerHTML"],Yb={key:0,class:"body-icon-wrapper"},$b=["innerHTML"],vb={key:2,class:"box-footer"},e0={key:3,class:"box-footer"},t0={class:"box-header flex-container vertical"},n0={key:0},o0=["src","alt"],r0={key:1},i0={key:2,class:"ribbon-new"},s0={key:3,class:"ribbon-discount"},a0={class:"box-body"},l0={key:0},c0={key:1,class:"price"},d0=["title"],u0={key:2},m0={class:"box-header flex-container vertical"},f0={key:0},h0=["src","alt"],p0={key:0,class:"user-name"},g0={key:0,class:"user-age"},y0={key:1},b0=["title"],k0={key:0,class:"user-name"},C0={class:"box-body"},w0={key:0,class:"user-name"},x0={key:1},B0={key:2},_0={key:3,class:"description"},E0={key:0,class:"tags"},S0={key:1,class:"box-footer"};function T0(e,t,n,r,i,s){var m,g,f,h,y,p,C,T,k,A,N;const a=U,l=z,d=Ne,c=ot,u=fr;return n.boxType==="content"?(o.openBlock(),o.createElementBlock("div",{key:0,ref:"cmdBox",class:o.normalizeClass(["cmd-box box content",{open:i.open,collapsible:n.collapsible,"stretch-vertically":n.stretchVertically&&!n.collapsible,"stretch-horizontally":n.stretchHorizontally,"row-view":n.rowView}])},[n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"box-header",title:i.open?n.iconOpen.tooltip:n.iconClosed.tooltip,onClick:t[0]||(t[0]=o.withModifiers((...b)=>s.toggleContentVisibility&&s.toggleContentVisibility(...b),["prevent"]))},[(m=n.useSlots)!=null&&m.includes("header")?o.renderSlot(e.$slots,"header",{key:0}):(g=n.cmdHeadline)!=null&&g.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createVNode(l,{iconClass:i.open?n.iconOpen.iconClass:n.iconClosed.iconClass,type:i.open?n.iconOpen.iconType:n.iconClosed.iconType},null,8,["iconClass","type"])],8,Kb)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(f=n.useSlots)!=null&&f.includes("header")||(h=n.cmdHeadline)!=null&&h.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createElementBlock("div",Zb,[(y=n.useSlots)!=null&&y.includes("header")?o.renderSlot(e.$slots,"header",{key:0}):o.createCommentVNode("",!0),(p=n.cmdHeadline)!=null&&p.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],64)),o.withDirectives(o.createElementVNode("div",{class:o.normalizeClass(["box-body",n.boxBodyClass]),"aria-expanded":"true",role:"article"},[(C=n.useSlots)!=null&&C.includes("body")?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["inner-box-body-wrapper",{"box-body-padding":n.useBoxBodyPadding,"allow-scroll":n.allowContentToScroll}]),ref:"boxBody",style:o.normalizeStyle(n.allowContentToScroll?"max-height: "+i.calculatedBodyHeight:null)},[o.renderSlot(e.$slots,"body",{},()=>{var b;return[(b=n.cmdHeadline)!=null&&b.headlineText&&n.headlinePosition==="body"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.cmdIcon!==void 0?(o.openBlock(),o.createElementBlock("div",Xb,[o.createVNode(l,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.type},null,8,["iconClass","type"])])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:s.toggleTransition},{default:o.withCtx(()=>[n.textBody?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass({"cutoff-text":n.cutoffTextLines>0,"fade-last-line":n.fadeLastLine&&!i.showCutOffText,"show-text":i.showCutOffText}),innerHTML:n.textBody},null,10,Qb)):o.createCommentVNode("",!0),n.cutoffTextLines>0?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:t[1]||(t[1]=o.withModifiers((...S)=>s.toggleCutOffText&&s.toggleCutOffText(...S),["prevent"]))},o.toDisplayString(i.showCutOffText?e.getMessage("box.contentbox.collapse_text"):e.getMessage("box.contentbox.expand_text")),1)):o.createCommentVNode("",!0)]),_:1},8,["name"])]})],6)):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(["inner-box-body-wrapper",{"allow-scroll":n.allowContentToScroll}])},[n.cmdImage?(o.openBlock(),o.createBlock(d,o.normalizeProps(o.mergeProps({key:0},n.cmdImage)),null,16)):o.createCommentVNode("",!0),(T=n.cmdHeadline)!=null&&T.headlineText&&n.headlinePosition==="body"||n.textBody?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass({"box-body-padding":n.useBoxBodyPadding,"allow-scroll":n.allowContentToScroll})},[n.cmdIcon!==void 0?(o.openBlock(),o.createElementBlock("div",Yb,[o.createVNode(l,o.normalizeProps(o.guardReactiveProps(n.cmdIcon)),null,16)])):o.createCommentVNode("",!0),(k=n.cmdHeadline)!=null&&k.headlineText&&n.headlinePosition==="body"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.textBody?(o.openBlock(),o.createElementBlock("p",{key:2,innerHTML:n.textBody},null,8,$b)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],2))],2),[[o.vShow,i.open]]),(A=n.cmdLink)!=null&&A.linkType?(o.openBlock(),o.createElementBlock("div",vb,[o.createVNode(c,o.normalizeProps(o.guardReactiveProps(n.cmdLink)),null,16)])):o.createCommentVNode("",!0),(N=n.useSlots)!=null&&N.includes("footer")?(o.openBlock(),o.createElementBlock("div",e0,[o.renderSlot(e.$slots,"footer")])):o.createCommentVNode("",!0)],2)):n.boxType==="product"&&n.product?(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["cmd-box box product",{"stretch-vertically":n.stretchVertically,"stretch-horizontally":n.stretchHorizontally,"row-view":n.rowView}]),href:"#",onClick:t[2]||(t[2]=o.withModifiers(b=>s.clickOnProduct(n.product),["prevent"]))},[o.createElementVNode("div",t0,[n.product.image!==void 0?(o.openBlock(),o.createElementBlock("figure",n0,[o.createElementVNode("img",{src:n.product.image.src,alt:n.product.image.alt},null,8,o0),o.createElementVNode("figcaption",null,o.toDisplayString(n.product.name),1)])):(o.openBlock(),o.createElementBlock("p",r0,o.toDisplayString(n.product.name),1)),n.product.new?(o.openBlock(),o.createElementBlock("div",i0,[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("box.productbox.new")),1)])):o.createCommentVNode("",!0),n.product.discount?(o.openBlock(),o.createElementBlock("div",s0,[o.createElementVNode("span",null,o.toDisplayString(n.product.discount),1)])):o.createCommentVNode("",!0)]),o.createElementVNode("div",a0,[n.product.articleNumber?(o.openBlock(),o.createElementBlock("p",l0,o.toDisplayString(e.getMessage("box.productbox.article_no"))+" "+o.toDisplayString(n.product.articleNumber),1)):o.createCommentVNode("",!0),n.product.price?(o.openBlock(),o.createElementBlock("p",c0,[o.createElementVNode("span",null,o.toDisplayString(n.product.price),1),o.createElementVNode("span",{title:e.globalCurrency.name},o.toDisplayString(e.globalCurrency.symbol),9,d0)])):o.createCommentVNode("",!0),n.product.description?(o.openBlock(),o.createElementBlock("p",u0,o.toDisplayString(n.product.description),1)):o.createCommentVNode("",!0)])],2)):n.boxType==="user"&&n.user?(o.openBlock(),o.createElementBlock("div",{key:2,class:o.normalizeClass(["cmd-box box user",n.profileType,{"stretch-vertically":n.stretchVertically,"stretch-horizontally":n.stretchHorizontally,"row-view":n.rowView}])},[o.createElementVNode("div",m0,[n.user.image?(o.openBlock(),o.createElementBlock("figure",f0,[o.createElementVNode("img",{src:n.user.image.src,alt:n.user.image.alt},null,8,h0),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("figcaption",p0,[o.createTextVNode(o.toDisplayString(n.user.name),1),n.user.age?(o.openBlock(),o.createElementBlock("span",g0," ("+o.toDisplayString(n.user.age)+")",1)):o.createCommentVNode("",!0)]))])):(o.openBlock(),o.createElementBlock("div",y0,[o.createElementVNode("span",{class:o.normalizeClass(n.defaultProfileIconClass),title:n.user.name},null,10,b0),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("p",k0,o.toDisplayString(n.user.name),1))]))]),o.createElementVNode("div",C0,[n.rowView?(o.openBlock(),o.createElementBlock("p",w0,o.toDisplayString(n.user.name),1)):o.createCommentVNode("",!0),n.user.profession?(o.openBlock(),o.createElementBlock("p",x0,o.toDisplayString(n.user.profession),1)):o.createCommentVNode("",!0),n.user.position?(o.openBlock(),o.createElementBlock("p",B0,o.toDisplayString(n.user.position),1)):o.createCommentVNode("",!0),n.user.description?(o.openBlock(),o.createElementBlock("p",_0,o.toDisplayString(n.user.description),1)):o.createCommentVNode("",!0)]),n.user.tags&&n.user.tags.length?(o.openBlock(),o.createElementBlock("ul",E0,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.user.tags,(b,S)=>(o.openBlock(),o.createElementBlock("li",{key:S},o.toDisplayString(b),1))),128))])):o.createCommentVNode("",!0),n.user.links&&n.user.links.length?(o.openBlock(),o.createElementBlock("div",S0,[o.createVNode(u,{links:n.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)}const Ua=V(hr,[["render",T0]]),pr={name:"CmdBoxWrapper",data(){return{rowView:this.useRowViewAsDefault,collapsingBoxesOpen:!0,currentOpenBox:[],oneBoxPerRow:!1}},props:{openBoxesByDefault:{type:Array,required:!1},useGap:{type:Boolean,default:!1},useRowViewAsDefault:{type:Boolean,default:!1},stretchBoxesVertically:{type:Boolean,default:!0},allowUserToToggleOrientation:{type:Boolean,default:!0},collapseBoxesIcon:{type:Object,default(){return{iconClass:"icon-chevron-two-stripes-down",tooltip:"Collapse all boxes"}}},expandBoxesIcon:{type:Object,default(){return{iconClass:"icon-chevron-two-stripes-up",tooltip:"Expand all boxes"}}},useFlexbox:{type:Boolean,default:!1},boxesPerRow:{type:[Number,Array],default:4},allowMultipleExpandedBoxes:{type:Boolean,default:!0},iconGridView:{type:Object,default(){return{iconClass:"icon-blocks-small",tooltip:"Toggle to row view"}}},iconRowView:{type:Object,default(){return{iconClass:"icon-rows",tooltip:"Toggle to grid view"}}},cmdHeadline:{type:Object,default(){return{headlineText:"",headlineLevel:4}}}},computed:{boxesPerRowLarge(){return this.boxesPerRowResponsive(0,4)},boxesPerRowMedium(){return this.boxesPerRowResponsive(1,3)},boxesPerRowSmall(){return this.boxesPerRowResponsive(2,1)}},methods:{toggleOrientation(){this.rowView=!this.rowView,this.oneBoxPerRow=this.rowView},boxIsOpen(e){return this.currentOpenBox.includes(e)},boxIsToggled(e){alert(e)},boxesPerRowResponsive(e,t){return this.oneBoxPerRow?1:typeof this.boxesPerRow=="number"?e===0?this.boxesPerRow:Math.min(this.boxesPerRow,t):this.boxesPerRow.length>e?this.boxesPerRow[e]:t},toggleCollapsingBoxes(){this.collapsingBoxesOpen=!this.collapsingBoxesOpen},boxToggled(e,t){if(this.allowMultipleExpandedBoxes)if(t)this.currentOpenBox.push(e);else{let n=this.currentOpenBox.indexOf(e);this.currentOpenBox.splice(n,1)}else this.currentOpenBox=[],t&&this.currentOpenBox.push(e)}},watch:{openBoxesByDefault:{handler(){this.currentOpenBox=[...this.openBoxesByDefault||[]]},immediate:!0},useRowViewAsDefault:{handler(){this.oneBoxPerRow=this.useRowViewAsDefault},immediate:!0}}},Wa=()=>{o.useCssVars(e=>({"7dc17307":e.boxesPerRowLarge,"3c53d129":e.boxesPerRowMedium,"7e294cd3":e.boxesPerRowSmall}))},Ga=pr.setup;pr.setup=Ga?(e,t)=>(Wa(),Ga(e,t)):Wa;const O0={class:"cmd-box-wrapper"},N0={key:0,class:"flex-container headline-wrapper"},V0={key:1,class:"options-wrapper"},F0=["title"];function A0(e,t,n,r,i,s){const a=U,l=z;return o.openBlock(),o.createElementBlock("div",O0,[n.cmdHeadline.headlineText||n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",N0,[n.cmdHeadline.headlineText?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",V0,[o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.toggleOrientation&&s.toggleOrientation(...d),["prevent"])),title:i.rowView?n.iconRowView.tooltip:n.iconGridView.tooltip},[o.createVNode(l,{iconClass:i.rowView?n.iconGridView.iconClass:n.iconRowView.iconClass,type:i.rowView?n.iconGridView.iconType:n.iconRowView.iconType},null,8,["iconClass","type"])],8,F0)])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["inner-box-wrapper",n.useFlexbox?"flex-container":"grid-container-create-columns",{"no-gap":!n.useGap,"row-view":i.rowView,"stretch-boxes-vertically":n.stretchBoxesVertically}])},[o.renderSlot(e.$slots,"default",{collapsingBoxesOpen:i.collapsingBoxesOpen,boxToggled:s.boxToggled,boxIsOpen:s.boxIsOpen,rowView:i.rowView,onToggleCollapse:t[1]||(t[1]=(...d)=>s.boxIsToggled&&s.boxIsToggled(...d))})],2)])}const Ja=V(pr,[["render",A0]]);function rt(e){return e.path?e.path:((e.route==null||typeof e.route!="object"||!e.route.path&&!e.route.name)&&console.error("Error in router configuration. Expected object with 'path' or 'name', got",e.route),e.route)}const P0={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(e){return rt(e)}}},L0={class:"cmd-breadcrumbs"},I0={key:0,class:"breadcrumb-label"},M0=["href"],R0={key:1},D0={key:1},j0={key:2},q0={key:1},z0={key:3,class:"separator"};function H0(e,t,n,r,i,s){const a=z,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("ul",L0,[n.breadcrumbLabel?(o.openBlock(),o.createElementBlock("li",I0,o.toDisplayString(n.breadcrumbLabel),1)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.breadcrumbLinks||[],(d,c)=>(o.openBlock(),o.createElementBlock("li",{key:c},[d.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:d.path},[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",R0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)],8,M0)):d.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(d)},{default:o.withCtx(()=>[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",D0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)]),_:2},1032,["to"])):(o.openBlock(),o.createElementBlock("span",j0,[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",q0,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)])),c<n.breadcrumbLinks.length-1?(o.openBlock(),o.createElementBlock("span",z0,o.toDisplayString(n.breadcrumbSeparator),1)):o.createCommentVNode("",!0)]))),128))])}const Ka=V(P0,[["render",H0]]),U0={name:"CmdCompanyLogo",data(){return{prefersColorScheme:""}},props:{link:{type:Object,required:!1},pathDefaultLogo:{type:String,required:!0},pathDarkmodeLogo:{type:String,required:!1},altText:{type:String,required:!0}},computed:{pathCurrentLogo(){return this.prefersColorScheme==="light"||!this.pathDarkmodeLogo?this.pathDefaultLogo:this.pathDarkmodeLogo},image(){return{src:this.pathCurrentLogo,alt:this.altText}}},created(){this.toggleColorScheme(),window.matchMedia("(prefers-color-scheme: light)").addEventListener("change",this.onColorSchemeChange);const e=document.querySelector("html");this.$_observer=new MutationObserver(this.observeDom),this.$_observer.observe(e,{attributes:!0})},beforeUnmount(){window.matchMedia("(prefers-color-scheme: light)").removeEventListener("change",this.onColorSchemeChange),this.$_observer.disconnect()},methods:{onImageLoaded(e){this.$emit("image-loaded",e)},onColorSchemeChange(e){this.prefersColorScheme=e.matches?"light":"dark"},observeDom(e){for(let t=0;t<e.length;t++)if(e[t].type==="attributes"){this.toggleColorScheme();break}},getRoute(e){return rt(e)},toggleColorScheme(){document.querySelector("html").classList.contains("light-mode")?this.prefersColorScheme="light":document.querySelector("html").classList.contains("dark-mode")?this.prefersColorScheme="dark":matchMedia("(prefers-color-scheme: light)").matches?this.prefersColorScheme="light":this.prefersColorScheme="dark"}}},W0={class:"cmd-company-logo company-logo"},G0=["href","title"];function J0(e,t,n,r,i,s){var d,c,u,m,g,f;const a=Ne,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",W0,[((d=n.link)==null?void 0:d.type)==="router"?(o.openBlock(),o.createBlock(l,{key:0,to:(c=n.link)==null?void 0:c.path,title:(u=n.link)==null?void 0:u.tooltip},{default:o.withCtx(()=>[o.createVNode(a,{image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"])]),_:1},8,["to","title"])):((m=n.link)==null?void 0:m.type)==="href"?(o.openBlock(),o.createElementBlock("a",{key:1,href:(g=n.link)==null?void 0:g.path,title:(f=n.link)==null?void 0:f.tooltip},[o.createVNode(a,{image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"])],8,G0)):(o.openBlock(),o.createBlock(a,{key:2,image:s.image,onImageLoaded:s.onImageLoaded},null,8,["image","onImageLoaded"]))])}const Za=V(U0,[["render",J0]]),K0={name:"CmdContainer",props:{contentAboveSlot:{type:String,required:!1},innerText:{type:String,required:!1},contentBelowSlot:{type:String,required:!1},containerType:{type:String,required:!1},contentOrientation:{type:String,default:"vertical",validator(e){return e==="horizontal"||e==="vertical"}},innerClass:{type:String,required:!1},cmdHeadline:{type:Object,required:!1}},methods:{addHandlerProvider(){return""},oneSlotItem(){if(typeof this.$slots.default!="function")return!1;const e=this.$slots.default();return e.length===1&&typeof e[0].type=="symbol"&&Array.isArray(e[0].children)?e[0].children.length===1:e.length===1&&typeof e[0].type=="object"&&e[0].type.name==="RenderComponents"&&typeof e[0].props=="object"&&Array.isArray(e[0].props.components)?e[0].props.components.length===1:e.length===1}},computed:{setInnerClass(){let e=this.innerClass||"";switch(this.containerType){case"grid":e+=" grid-container-create-columns";break;case"flex":this.contentOrientation==="horizontal"?e+=" flex-container":this.contentOrientation==="vertical"&&(e+=" flex-container vertical");break}return e}}},Z0={class:"cmd-container"},X0=["innerHTML"],Q0=["innerHTML"];function Y0(e,t,n,r,i,s){const a=U;return o.openBlock(),o.createElementBlock("div",Z0,[n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.contentAboveSlot?(o.openBlock(),o.createElementBlock("div",{key:1,innerHTML:n.contentAboveSlot},null,8,X0)):o.createCommentVNode("",!0),s.oneSlotItem()?o.renderSlot(e.$slots,"default",{key:2}):(o.openBlock(),o.createElementBlock("div",{key:3,class:o.normalizeClass([s.setInnerClass,"inner-slot-wrapper"])},[o.renderSlot(e.$slots,"default",{},()=>[o.createElementVNode("p",null,o.toDisplayString(n.innerText),1)])],2)),n.contentBelowSlot?(o.openBlock(),o.createElementBlock("div",{key:4,innerHTML:n.contentBelowSlot},null,8,Q0)):o.createCommentVNode("",!0)])}const $0=V(K0,[["render",Y0]]),v0={name:"CmdCookieDisclaimer",mixins:[oe,{data(){return{defaultMessageProperties:{"cookie_disclaimer.title.cookie_cannot_be_disabled":"This cookie cannot be disabled, because it is required for functionality!","cookie_disclaimer.title.toggle_to_accept_cookie":"Toggle to accept or reject this cookie!","cookie_disclaimer.title.toggle_box_content":"Toggle description visibility"}}}}],data(){return{showCookieDisclaimer:!0,dataPrivacyContent:"",openBoxes:[]}},props:{iconClassBoxCollapsed:{type:String,default:"icon-chevron-one-stripe-down"},iconClassBoxExpanded:{type:String,default:"icon-chevron-one-stripe-up"},useSlot:{type:Boolean,default:!1},modelValue:{type:Array,required:!1},cmdHeadlineCookieDisclaimer:{type:Object,default(){return{show:!0,headlineText:"Cookie disclaimer",headlineLevel:2}}},cmdBoxRequiredCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Required cookies",headlineLevel:3}}},cmdBoxOptionalCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Optional cookies",headlineLevel:3}}},cookieOptions:{type:Object,required:!1},privacyText:{type:String,required:!1},buttonLabelAcceptAllCookies:{type:String,default:"Accept all cookies!"},buttonLabelAcceptCurrentSettings:{type:String,default:"Proceed with current settings!"}},computed:{acceptedCookies:{get(){var n,r;const e=this.modelValue?[...this.modelValue]:[],t=((r=(n=this.cookieOptions)==null?void 0:n.required)==null?void 0:r.cookies)||[];for(let i=0;i<t.length;i++)e.includes(t[i].value)||e.push(t[i].value);return e},set(e){this.$emit("update:modelValue",e)}}},methods:{boxIsOpen(e){return this.openBoxes.includes(e)},toggleBoxBody(e){const t=this.openBoxes.indexOf(e);t===-1?this.openBoxes.push(e):this.openBoxes.splice(t,1)},acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var r,i,s,a;const e=[],t=(i=(r=this.cookieOptions)==null?void 0:r.required)==null?void 0:i.cookies;if(t)for(let l=0;l<t.length;l++)e.push(t[l].value);const n=(a=(s=this.cookieOptions)==null?void 0:s.optional)==null?void 0:a.cookies;if(n)for(let l=0;l<n.length;l++)e.push(n[l].value);this.$emit("close-cookie-disclaimer",e)},openDataPrivacy(e){e.target.target||(e.preventDefault(),fetch(e.target.href).then(t=>t.text()).then(t=>{this.dataPrivacyContent=t}))}}},ek={class:"cmd-cookie-disclaimer flex-container vertical"},tk={key:1},nk={key:0,class:"flex-container vertical"},ok=["onClick","title"],rk={class:"collapsible-box-body"},ik={key:0},sk={key:1},ak=["href","target"],lk=["innerHTML"],ck=o.createElementVNode("hr",null,null,-1),dk={key:1,class:"flex-container vertical"},uk=["onClick","title"],mk={class:"collapsible-box-body"},fk={key:0},hk={key:1},pk=["href","target"],gk=["innerHTML"],yk=["innerHTML"],bk={class:"button-wrapper align-center"};function kk(e,t,n,r,i,s){const a=U,l=X;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var d,c,u;return[o.createElementVNode("div",ek,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock("div",tk,[(d=n.cmdHeadlineCookieDisclaimer)!=null&&d.show&&((c=n.cmdHeadlineCookieDisclaimer)!=null&&c.headlineText)&&((u=n.cmdHeadlineCookieDisclaimer)!=null&&u.headlineLevel)?(o.openBlock(),o.createBlock(a,{key:0,headlineText:n.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:n.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"cookie-options",{},()=>{var m,g,f,h,y,p,C,T;return[(m=n.cookieOptions)!=null&&m.required?(o.openBlock(),o.createElementBlock("div",nk,[(g=n.cmdBoxRequiredCookies)!=null&&g.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-text":(f=n.cmdBoxRequiredCookies)==null?void 0:f.headlineText,"headline-level":(h=n.cmdBoxRequiredCookies)==null?void 0:h.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.required.cookies||[],(k,A)=>(o.openBlock(),o.createElementBlock("div",{key:A,class:"collapsible-box"},[o.createElementVNode("header",null,[o.createVNode(l,{element:"input",type:"checkbox",modelValue:s.acceptedCookies,"onUpdate:modelValue":t[0]||(t[0]=N=>s.acceptedCookies=N),inputValue:k.value,labelText:k.labelText,disabled:k.disabled,id:k.id,toggleSwitch:!0,title:e.getMessage("cookie_disclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"]),o.createElementVNode("a",{href:"#",onClick:o.withModifiers(N=>s.toggleBoxBody(k.id),["prevent"]),title:e.getMessage("cookie_disclaimer.title.toggle_box_content")},[o.createElementVNode("span",{class:o.normalizeClass(s.boxIsOpen(k.id)?n.iconClassBoxExpanded:n.iconClassBoxCollapsed)},null,2)],8,ok)]),o.withDirectives(o.createElementVNode("div",rk,[k.description?(o.openBlock(),o.createElementBlock("p",ik,o.toDisplayString(k.description),1)):o.createCommentVNode("",!0),k.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",sk,[o.createTextVNode(o.toDisplayString(k.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[1]||(t[1]=(...N)=>s.openDataPrivacy&&s.openDataPrivacy(...N)),href:k.linkDataPrivacy.link,target:k.linkDataPrivacy.target},o.toDisplayString(k.linkDataPrivacy.linkText),9,ak)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,lk)):o.createCommentVNode("",!0)],512),[[o.vShow,s.boxIsOpen(k.id)]])]))),128))])):o.createCommentVNode("",!0),ck,(y=n.cookieOptions)!=null&&y.optional?(o.openBlock(),o.createElementBlock("div",dk,[(p=n.cmdBoxOptionalCookies)!=null&&p.showHeadline?(o.openBlock(),o.createBlock(a,{key:0,"headline-text":(C=n.cmdBoxOptionalCookies)==null?void 0:C.headlineText,"headline-level":(T=n.cmdBoxOptionalCookies)==null?void 0:T.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.optional.cookies||[],(k,A)=>(o.openBlock(),o.createElementBlock("div",{key:A,class:"collapsible-box"},[o.createElementVNode("header",null,[o.createVNode(l,{element:"input",type:"checkbox",modelValue:s.acceptedCookies,"onUpdate:modelValue":t[2]||(t[2]=N=>s.acceptedCookies=N),inputValue:k.value,labelText:k.labelText,disabled:k.disabled,id:k.id,toggleSwitch:!0,title:e.getMessage("cookie_disclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"]),o.createElementVNode("a",{href:"#",onClick:o.withModifiers(N=>s.toggleBoxBody(k.id),["prevent"]),title:e.getMessage("cookie_disclaimer.title.toggle_box_content")},[o.createElementVNode("span",{class:o.normalizeClass(s.boxIsOpen(k.id)?n.iconClassBoxExpanded:n.iconClassBoxCollapsed)},null,2)],8,uk)]),o.withDirectives(o.createElementVNode("div",mk,[k.description?(o.openBlock(),o.createElementBlock("p",fk,o.toDisplayString(k.description),1)):o.createCommentVNode("",!0),k.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",hk,[o.createTextVNode(o.toDisplayString(k.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[3]||(t[3]=(...N)=>s.openDataPrivacy&&s.openDataPrivacy(...N)),href:k.linkDataPrivacy.link,target:k.linkDataPrivacy.target},o.toDisplayString(k.linkDataPrivacy.linkText),9,pk)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,gk)):o.createCommentVNode("",!0)],512),[[o.vShow,s.boxIsOpen(k.id)]])]))),128))])):o.createCommentVNode("",!0)]}),n.privacyText?(o.openBlock(),o.createElementBlock("div",{key:1,class:"privacy-text",innerHTML:n.privacyText},null,8,yk)):o.createCommentVNode("",!0),o.createElementVNode("div",bk,[n.buttonLabelAcceptCurrentSettings?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",onClick:t[4]||(t[4]=(...m)=>s.acceptCurrentCookies&&s.acceptCurrentCookies(...m))},[o.createElementVNode("span",null,o.toDisplayString(n.buttonLabelAcceptCurrentSettings),1)])):o.createCommentVNode("",!0),n.buttonLabelAcceptAllCookies?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"primary",onClick:t[5]||(t[5]=(...m)=>s.acceptAllCookies&&s.acceptAllCookies(...m))},[o.createElementVNode("span",null,o.toDisplayString(n.buttonLabelAcceptAllCookies),1)])):o.createCommentVNode("",!0)])]))])]}),_:3})}const Ck=V(v0,[["render",kk]]),wk={name:"CmdCopyrightWrapper"},xk={class:"cmd-copyright-information",role:"contentinfo"},Bk=[o.createElementVNode("a",{href:"https://www.comand-ui.com",target:"comand-ui-website",lang:"en",title:"CoManD-UI-Website"},"© CoManD-UI",-1)];function _k(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("div",xk,Bk)}const Ek=V(wk,[["render",_k]]),Sk={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[oe,{data(){return{defaultMessageProperties:{"fake_select.headline.requirements_for_input":"Requirements for input","fake_select.linktext.deselect_all_options":"Deselect all options","fake_select.linktext.select_all_options":"Select all options","fake_select.headline.an_option_is_selected":"An option is selected","fake_select.option.options_selected":"{0} options selected",...ar.data().defaultMessageProperties}}}},lr,un,ur],data(){return{showOptions:!1,validationStatus:"",allOptionsSelected:!1}},props:{type:{type:String,default:"default",validator(e){return e==="default"||e==="color"||e==="country"||e==="content"||e==="checkboxOptions"}},optionLinkType:{type:String,default:"href",validator(e){return e==="href"||e==="router"}},modelValue:{type:[String,Number,Array],default:""},selectData:{type:Array,required:!1},showSelectAllOptions:{type:Boolean,default:!0},status:{type:String,required:!1,validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},iconDropdown:{type:Object,default(){return{iconClass:"icon-chevron-one-stripe-down",tooltip:"Toggle dropdown visibility",iconType:"auto"}}},labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},showStatusIcon:{type:Boolean,default:!0},pathFlags:{type:String,default:"/media/images/flags"},textPleaseSelect:{type:String,default:"Please select…"},iconSelectAllOptions:{type:Object,default(){return{iconClass:"icon-check",iconType:"auto"}}},iconDeselectAllOptions:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validation_tooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validation_tooltip.open_field_requirements"):this.getValidationMessage},optionName(){var e,t;if(this.type!=="checkboxOptions"&&this.type!=="content"&&this.modelValue){const n=this.selectData.find(r=>r.value===this.modelValue);if(n)return n.text}else if(this.type==="checkboxOptions"){if(this.modelValue.length===1)return(e=this.selectData.find(n=>String(n.value)===String(this.modelValue[0])))==null?void 0:e.text;if(this.modelValue.length>1)return this.getMessage("fake_select.option.options_selected",this.modelValue.length)}else if((t=this.selectData)!=null&&t.length)return this.selectData[0].text;return this.textPleaseSelect},optionIcon(){if(this.type==="default"){const e=this.selectData.find(t=>t.value===this.modelValue);return{iconClass:e==null?void 0:e.iconClass,tooltip:e==null?void 0:e.tooltip}}return null},optionCountry(){var e,t;return this.type==="country"?this.modelValue||((t=(e=this.selectData)==null?void 0:e[0])==null?void 0:t.value):null},optionColor(){var e,t;return this.type==="color"?this.modelValue||((t=(e=this.selectData)==null?void 0:e[0])==null?void 0:t.value):null},selectAllOptionsText(){return Array.isArray(this.modelValue)&&this.modelValue.length===this.selectData.length?(this.allOptionsSelected=!0,this.getMessage("fake_select.linktext.deselect_all_options")):(this.allOptionsSelected=!1,this.getMessage("fake_select.linktext.select_all_options"))}},methods:{toggleAllOptions(){this.validationStatus="success";const e=[];if(this.modelValue.length===this.selectData.length)this.$attrs.required&&(this.validationStatus="error");else for(let t=0;t<this.selectData.length;t++)e.push(String(this.selectData[t].value));this.$emit("update:modelValue",e)},toggleOptions(){this.$attrs.disabled!=="disabled"&&(this.showOptions=!this.showOptions)},compareValues(e){return this.modelValue.some(t=>t===e||t===String(e))},selectOption(e){this.validationStatus="success",this.$attrs.required!==void 0&&(e||(this.validationStatus="error")),this.showOptions=!1,this.$emit("update:modelValue",e)},optionSelect(e){this.validationStatus="success";let t=[...this.modelValue];e.target.checked?t.push(e.target.value):t=t.filter(n=>n!==e.target.value&&String(n)!==e.target.value),this.$attrs.required!==void 0&&!t.length&&(this.validationStatus="error"),this.$emit("update:modelValue",t)},closeOptions(){this.showOptions=!1},pathFlag(e){return this.pathFlags+"/flag-"+e+".svg"},onBlur(){this.validationStatus="success",this.$attrs.required!==void 0&&(!this.modelValue||this.modelValue.length===0)&&(this.validationStatus="error")},getRequirementMessage(){return this.getMessage("fake_select.headline.an_option_is_selected")}},watch:{status:{handler(){this.validationStatus=this.status},immediate:!0},selectData:{handler(){var e;this.type==="default"&&((e=this.selectData)!=null&&e.length)&&!this.selectData.some(t=>t.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},Tk=["title","aria-labelledby","aria-required"],Ok={key:0,class:"label-text"},Nk=["id"],Vk={key:0,"aria-hidden":"true"},Fk=["title","aria-errormessage","id"],Ak=["aria-expanded"],Pk=["title"],Lk=["src","alt"],Ik={key:3,class:"option-name"},Mk={key:0,role:"listbox"},Rk=["aria-selected"],Dk=["onClick","title"],jk={key:1},qk=["aria-expanded"],zk=["for"],Hk=["value","checked","id"],Uk=["onClick"],Wk=["src","alt"],Gk=["onClick"],Jk={key:0,class:"select-all-options"};function Kk(e,t,n,r,i,s){var c,u,m,g;const a=z,l=sr,d=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([i.validationStatus,"cmd-fake-select label",{color:n.type==="color","has-state":i.validationStatus&&i.validationStatus!=="none",disabled:e.$attrs.disabled}]),title:e.$attrs.title,role:"listbox","aria-labelledby":e.htmlId,"aria-required":e.$attrs.required!==void 0,ref:"fakeselect"},[n.showLabel?(o.openBlock(),o.createElementBlock("span",Ok,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),e.$attrs.required!==void 0?(o.openBlock(),o.createElementBlock("sup",Vk,"*")):o.createCommentVNode("",!0)],8,Nk),(e.$attrs.required||e.inputRequirements.length)&&n.showStatusIcon?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),title:s.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(a,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,Fk)):o.createCommentVNode("",!0),e.useCustomTooltip&&(i.validationStatus===""||i.validationStatus==="error")?(o.openBlock(),o.createBlock(l,{key:1,ref:"tooltip",validationStatus:i.validationStatus,validationMessage:e.getValidationMessage,relatedId:e.tooltipId,cmdListOfRequirements:e.listOfRequirements,role:i.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("ul",{class:o.normalizeClass({open:i.showOptions}),onClickout:t[5]||(t[5]=(...f)=>s.closeOptions&&s.closeOptions(...f)),"aria-expanded":i.showOptions},[o.createElementVNode("li",null,[o.createElementVNode("a",{href:"#",onClick:t[1]||(t[1]=o.withModifiers((...f)=>s.toggleOptions&&s.toggleOptions(...f),["prevent"])),onBlur:t[2]||(t[2]=(...f)=>s.onBlur&&s.onBlur(...f)),title:(c=s.optionIcon)==null?void 0:c.tooltip},[n.type==="country"&&s.optionCountry?(o.openBlock(),o.createElementBlock("img",{key:0,src:s.pathFlag(s.optionCountry),alt:s.optionCountry,class:o.normalizeClass(["flag",s.optionCountry])},null,10,Lk)):n.type==="color"?(o.openBlock(),o.createElementBlock("span",{key:1,style:o.normalizeStyle("background: "+s.optionColor)},null,4)):o.createCommentVNode("",!0),(u=s.optionIcon)!=null&&u.iconClass?(o.openBlock(),o.createBlock(a,{key:2,type:(m=s.optionIcon)==null?void 0:m.iconType,iconClass:(g=s.optionIcon)==null?void 0:g.iconClass},null,8,["type","iconClass"])):o.createCommentVNode("",!0),s.optionName?(o.openBlock(),o.createElementBlock("span",Ik,o.toDisplayString(s.optionName),1)):o.createCommentVNode("",!0),n.iconDropdown?(o.openBlock(),o.createBlock(a,{key:4,iconClass:n.iconDropdown.iconClass,type:n.iconDropdown.iconType,title:n.iconDropdown.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0)],40,Pk),n.type==="default"&&i.showOptions?(o.openBlock(),o.createElementBlock("ul",Mk,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectData,(f,h)=>(o.openBlock(),o.createElementBlock("li",{key:h,role:"option","aria-selected":f.value===n.modelValue},[n.optionLinkType==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue}),title:f.tooltip},[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",jk,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0)],10,Dk)):o.createCommentVNode("",!0),n.optionLinkType==="router"?(o.openBlock(),o.createBlock(d,{key:1,to:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},{default:o.withCtx(()=>[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),o.createElementVNode("span",null,o.toDisplayString(f.text),1)]),_:2},1032,["onClick","class"])):o.createCommentVNode("",!0)],8,Rk))),128))])):n.type!=="default"&&n.type!=="content"&&i.showOptions?(o.openBlock(),o.createElementBlock("ul",{key:1,class:o.normalizeClass({"checkbox-options":n.type==="checkboxOptions"}),"aria-expanded":i.showOptions},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectData,(f,h)=>(o.openBlock(),o.createElementBlock("li",{key:h},[n.type==="checkboxOptions"?(o.openBlock(),o.createElementBlock("label",{key:0,for:"option-"+(h+1),class:o.normalizeClass({active:n.modelValue.includes(`${f.value}`)})},[o.createElementVNode("input",{type:"checkbox",value:f.value,onChange:t[3]||(t[3]=(...y)=>s.optionSelect&&s.optionSelect(...y)),checked:s.compareValues(f.value),id:"option-"+(h+1)},null,40,Hk),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,zk)):n.type==="country"?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},[o.createElementVNode("img",{class:"flag",src:s.pathFlag(f.value),alt:f.text},null,8,Wk),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,Uk)):n.type==="color"?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",onClick:o.withModifiers(y=>s.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},[o.createElementVNode("span",{class:"color",style:o.normalizeStyle("background: "+f.value)},null,4),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,Gk)):o.createCommentVNode("",!0)]))),128)),n.showSelectAllOptions&&n.type==="checkboxOptions"?(o.openBlock(),o.createElementBlock("li",Jk,[o.createElementVNode("a",{href:"#",onClick:t[4]||(t[4]=o.withModifiers((...f)=>s.toggleAllOptions&&s.toggleAllOptions(...f),["prevent"]))},[i.allOptionsSelected?(o.openBlock(),o.createBlock(a,{key:1,iconClass:n.iconDeselectAllOptions.iconClass,type:n.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.iconSelectAllOptions.iconClass,type:n.iconSelectAllOptions.iconType},null,8,["iconClass","type"])),o.createElementVNode("span",null,o.toDisplayString(s.selectAllOptionsText),1)])])):o.createCommentVNode("",!0)],10,qk)):n.type==="content"&&i.showOptions?o.renderSlot(e.$slots,"default",{key:2}):o.createCommentVNode("",!0)])],42,Ak)],10,Tk)}const Xa=V(Sk,[["render",Kk]]),Zk={name:"CmdFormFilters",data(){return{options:[]}},props:{modelValue:{type:Array,required:!0},linkDeleteAllFilters:{type:Object,default(){return{text:"Delete all filters",icon:{show:!0,iconClass:"icon-error-circle",tooltip:""}}}},deleteFilterIcon:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Delete this filter",type:"auto"}}},selectedOptionsName:{type:Function,required:!0}},methods:{deleteAllFilters(){this.options=[],this.updateSelectedOptions()},deleteClickedFilter(e){this.options.splice(e,1),this.updateSelectedOptions()},updateSelectedOptions(){this.$emit("update:modelValue",this.options)}},watch:{modelValue:{handler(){this.modelValue?this.options=JSON.parse(JSON.stringify(this.modelValue)):this.options=[]},immediate:!0,deep:!0}}},Xk={key:0,class:"cmd-form-filters"},Qk={key:0},Yk={key:1},$k=["onClick","title"];function vk(e,t,n,r,i,s){const a=z;return i.options.length?(o.openBlock(),o.createElementBlock("ul",Xk,[i.options.length>1?(o.openBlock(),o.createElementBlock("li",Qk,[o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.deleteAllFilters&&s.deleteAllFilters(...l),["prevent"]))},[n.linkDeleteAllFilters.icon&&n.linkDeleteAllFilters.icon.show?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.linkDeleteAllFilters.icon.iconClass,title:n.linkDeleteAllFilters.icon.tooltip},null,8,["iconClass","title"])):o.createCommentVNode("",!0),n.linkDeleteAllFilters.text?(o.openBlock(),o.createElementBlock("span",Yk,o.toDisplayString(n.linkDeleteAllFilters.text),1)):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.options,(l,d)=>(o.openBlock(),o.createElementBlock("li",{key:d},[o.createElementVNode("a",{href:"#",onClick:o.withModifiers(c=>s.deleteClickedFilter(d),["prevent"]),title:n.deleteFilterIcon.tooltip},[o.createElementVNode("span",null,o.toDisplayString(n.selectedOptionsName(l)),1),o.createVNode(a,{iconClass:n.deleteFilterIcon.iconClass,type:n.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,$k)]))),128))])):o.createCommentVNode("",!0)}const Qa=V(Zk,[["render",vk]]),eC={name:"CmdSystemMessage",mixins:[un],data(){return{showSystemMessage:!0}},props:{useTransition:{type:Boolean,default:!0},validationStatus:{type:String,required:!0,validator(e){return e==="error"||e==="warning"||e==="success"||e==="info"}},fullWidth:{type:Boolean,default:!0},iconMessage:{type:Object,default:function(){return{show:!0,iconClass:"icon-warning",type:"auto"}}},systemMessage:{type:String,required:!1},messageHeadlineLevel:{type:[Number,String],default(){return 6}},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel-circle",tooltip:"Close this message"}}}},computed:{headlineIcon(){return this.iconMessage.show?{iconClass:this.iconMessage.iconClass,type:this.iconMessage.type}:null}},watch:{message(){this.showSystemMessage=!0}}},tC=["role","aria-labelledby"],nC=["title"];function oC(e,t,n,r,i,s){const a=z,l=U;return o.openBlock(),o.createBlock(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[i.showSystemMessage?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["cmd-system-message","system-message","flex-container","vertical",{"full-width":n.fullWidth},n.validationStatus]),role:n.validationStatus==="error"?"alert":"dialog","aria-labelledby":e.htmlId},[n.iconClose.show&&n.iconClose.iconClass?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"close-button",onClick:t[0]||(t[0]=o.withModifiers(d=>i.showSystemMessage=!1,["prevent"])),title:n.iconClose.tooltip},[o.createVNode(a,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,nC)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createVNode(l,{class:"message-headline",cmdIcon:s.headlineIcon,headlineText:n.systemMessage,headlineLevel:n.messageHeadlineLevel,id:e.htmlId},null,8,["cmdIcon","headlineText","headlineLevel","id"])])],10,tC)):o.createCommentVNode("",!0)]),_:3},8,["name"])}const gr=V(eC,[["render",oC]]),rC={data(){return{defaultMessageProperties:{"google_maps.system_message.accept_terms":"You must accept cookies to view the map.","google_maps.button_text.accept_required_cookies":"Accept required cookies"}}}},Ya="acceptedCookies";function $a(e,t=365){const n=[...yr(),...e].join(",");let r="";const i=new Date;i.setTime(i.getTime()+t*24*60*60*1e3),r="; expires="+i.toUTCString(),document.cookie=Ya+"="+encodeURIComponent(n)+r+"; SameSite=strict; path=/"}function yr(){const e=document.cookie.split(";").map(t=>t.trim()).find(t=>t.startsWith(Ya+"="));if(e){const t=e.indexOf("=");return decodeURIComponent(e.slice(t+1)).split(",")}return[]}const iC={name:"CmdGoogleMaps",mixins:[oe,rC],data(){return{cookiesAccepted:!1}},props:{cookiesAlreadyAccepted:{type:Boolean,default:!1},address:{type:Object,required:!0}},mounted(){yr().includes("google-maps")&&(this.cookiesAccepted=!0)},computed:{locateAddress(){if(this.address){const e=new URL("https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed");return e.searchParams.set("hl","de"),e.searchParams.set("q",[this.address.streetNo,this.address.zip,this.address.city,this.address.latitude,this.address.longitude,this.address.location].join(" ").trim()),e.href}return"https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed"}},methods:{acceptCookies(){$a(["google-maps"]),this.cookiesAccepted=!0,this.$emit("click",this.cookiesAccepted)}},watch:{cookiesAlreadyAccepted:{handler(){this.cookiesAccepted=this.cookiesAlreadyAccepted},immediate:!0}}},sC={class:"cmd-google-maps responsive-wrapper"},aC=["src"];function lC(e,t,n,r,i,s){const a=gr;return o.openBlock(),o.createElementBlock("div",sC,[i.cookiesAccepted?(o.openBlock(),o.createElementBlock("iframe",{key:1,src:s.locateAddress},null,8,aC)):(o.openBlock(),o.createBlock(a,{key:0,validationStatus:"warning"},{default:o.withCtx(()=>[o.createElementVNode("p",null,o.toDisplayString(e.getMessage("google_maps.system_message.accept_terms")),1),o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.acceptCookies&&s.acceptCookies(...l),["prevent"]))},o.toDisplayString(e.getMessage("google_maps.button_text.accept_required_cookies")),1)]),_:1}))])}const va=V(iC,[["render",lC]]),cC={name:"CmdImageGallery",mixins:[Y],props:{cmdHeadline:{type:Object,required:!1},useFancyboxForLargeImages:{type:Boolean,default:!0},images:{type:Array,required:!0},figcaptionPosition:{type:String,required:!1,validator(e){return e==="top"||e==="bottom"}}},methods:{itemProvider(){return{image:{src:"/media/images/demo-images/medium/landscape-01.jpg",alt:"Alternative Text"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},figcaption(e){const t={...e.figcaption};return this.figcaptionPosition&&(t.position=this.figcaptionPosition),t},onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","images",-1),this.itemProvider)},showFancyBox(e){qe({fancyBoxGallery:this.images,defaultGalleryIndex:e})},getMessage(){return""},imageStructure(){return{itemProviderOverwrite:()=>({image:{srcImageLarge:"/media/images/demo-images/large/landscape-01.jpg",tooltip:"Tooltip DE"}})}},updateHandlerProvider(){const e=this.editableHtmlContent;return Q(this,{update(t,n){t.htmlContent=e;const r=n==null?void 0:n.find(i=>i.name==="CmdHeadline");r&&(t.cmdHeadline=t.cmdHeadline||{},r.update(t.cmdHeadline))}})}}},dC={class:"grid-container-create-columns cmd-image-gallery"},uC=["onClick","title"],mC=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new gallery-image",-1)];function fC(e,t,n,r,i,s){var d;const a=U,l=Ne;return o.openBlock(),o.createElementBlock("div",dC,[(d=n.cmdHeadline)!=null&&d.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),e.editModeContext?n.images.length?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:2},o.renderList(n.images,(c,u)=>(o.openBlock(),o.createBlock(l,{key:u,class:"image-wrapper",image:c.image,figcaption:c.figcaption,componentPath:["props","images",u],editModeConfig:s.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"]))),128)):(o.openBlock(),o.createElementBlock("button",{key:3,type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...c)=>s.onAddItem&&s.onAddItem(...c))},mC)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.useFancyboxForLargeImages?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.images,(c,u)=>(o.openBlock(),o.createElementBlock("a",{class:"image-wrapper",key:u,href:"#",onClick:o.withModifiers(m=>s.showFancyBox(u),["prevent"]),title:s.getMessage("image_gallery.tooltip.open_large_image")},[o.createVNode(l,{image:c.image,figcaption:s.figcaption(c)},null,8,["image","figcaption"])],8,uC))),128)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(n.images,(c,u)=>(o.openBlock(),o.createElementBlock("div",{key:`i${u}`,class:"image-wrapper"},[o.createVNode(l,{image:c.image,figcaption:s.figcaption(c)},null,8,["image","figcaption"])]))),128))],64))])}const hC=V(cC,[["render",fC]]),pC={name:"CmdImageZoom",props:{imageSmall:{type:Object,required:!0},imageLarge:{type:Object,required:!0}},data(){return{showLargeImage:!1}},methods:{onMouseOver(e){this.showLargeImage=!0,this.$nextTick(()=>{const t=window.innerHeight-this.$el.getBoundingClientRect().y-10,n=this.$el.querySelector(".zoom-container");n.style.height=`${t}px`,el(this,e)})},onMouseMove(e){el(this,e)},onMouseOut(){this.showLargeImage=!1}}};function el(e,t){const n=e.$el.querySelector(".zoom-container"),r=n.querySelector("img"),i=e.$el.querySelector(".zoom-overlay"),s=t.target.getBoundingClientRect().width,a=t.target.getBoundingClientRect().height,l=r.getBoundingClientRect().width,d=r.getBoundingClientRect().height,c=t.pageX-t.target.getBoundingClientRect().x-window.pageXOffset,u=t.pageY-t.target.getBoundingClientRect().y-window.pageYOffset,m=Math.min(s,n.getBoundingClientRect().width/l*s),g=Math.min(a,n.getBoundingClientRect().height/d*a),f=tl(c-m/2,0,s-m),h=tl(u-g/2,0,a-g),y=-(f*(l/s)),p=-(h*(d/a));i.style.left=`${f}px`,i.style.top=`${h}px`,i.style.width=`${m}px`,i.style.height=`${g}px`,i.style.display="block",r.style.marginLeft=`${y}px`,r.style.marginTop=`${p}px`}function tl(e,t,n){return e<t?t:e>n?n:e}const gC={class:"cmd-image-zoom flex-container"},yC=["title"],bC={class:"zoom-container"},kC=o.createElementVNode("div",{class:"zoom-overlay"},null,-1);function CC(e,t,n,r,i,s){const a=Ne;return o.openBlock(),o.createElementBlock("div",gC,[o.createElementVNode("a",{href:"#",class:"no-flex thumbnails-imagezoom",title:n.imageSmall.image.tooltip},[o.createVNode(a,o.mergeProps(n.imageSmall,{figcaption:{},onMouseover:s.onMouseOver,onMousemove:s.onMouseMove,onMouseout:s.onMouseOut}),null,16,["onMouseover","onMousemove","onMouseout"])],8,yC),o.createElementVNode("div",bC,[o.createVNode(a,o.mergeProps(n.imageLarge,{useFigureTag:!1}),null,16)]),kC])}const wC=V(pC,[["render",CC]]),xC={mixins:[ar,lr,un,ur],props:{modelValue:{type:[Array,String],required:!1},required:{type:Boolean,default:!1},showStatusIcon:{type:Boolean,default:!0},inputElements:{type:Array,required:!1},inputTypes:{type:String,default:"radio",validator(e){return e==="checkbox"||e==="radio"}},status:{type:String,required:!1,validator(e){return e===""||e==="error"||e==="warning"||e==="success"||e==="info"}},replaceInputType:{type:Boolean,default:!1},toggleSwitches:{type:Boolean,default:!1},useSlot:{type:Boolean,default:!1},multipleSwitch:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!0},labelInline:{type:Boolean,default:!1},stretchHorizontally:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{updateStatus(){var e;if(this.required){if((e=this.inputValue)!=null&&e.length){this.validationStatus="success";return}this.validationStatus="error";return}this.validationStatus=this.status}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validation_tooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validation_tooltip.open_field_requirements"):this.getValidationMessage},inputValue:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},watch:{status:{handler(){this.updateStatus()},immediate:!0},modelValue:{handler(){this.updateStatus()},immediate:!0}}},BC=["aria-labelledby"],_C={class:"label-text"},EC=["id"],SC={key:0,"aria-hidden":"true"},TC=["title","aria-errormessage","id"],OC=["for"],NC=["type","id","name","value","disabled"],VC={key:1,class:"label-text"},FC={key:1,class:"flex-container no-flex"};function AC(e,t,n,r,i,s){const a=z,l=sr;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-input-group label",e.validationStatus,{inline:n.labelInline,"multiple-switch":n.multipleSwitch,disabled:n.disabled,"toggle-switches":n.toggleSwitches,"has-state":e.validationStatus}]),"aria-labelledby":e.htmlId},[o.withDirectives(o.createElementVNode("span",_C,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),n.required?(o.openBlock(),o.createElementBlock("sup",SC,"*")):o.createCommentVNode("",!0)],8,EC),(n.required||e.inputRequirements.length>0)&&n.showStatusIcon?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[0]||(t[0]=o.withModifiers(()=>{},["prevent"])),title:s.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(a,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,TC)):o.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(o.openBlock(),o.createBlock(l,{key:1,ref:"tooltip",showRequirements:e.showRequirements,cmdListOfRequirements:e.listOfRequirements,validationStatus:e.validationStatus,validationMessage:e.getValidationMessage,inputAttributes:e.$attrs,inputModelValue:n.modelValue,helplink:e.helplink,relatedId:e.tooltipId,role:e.validationStatus==="error"?"alert":"dialog"},null,8,["showRequirements","cmdListOfRequirements","validationStatus","validationMessage","inputAttributes","inputModelValue","helplink","relatedId","role"])):o.createCommentVNode("",!0)],512),[[o.vShow,n.showLabel]]),n.useSlot?(o.openBlock(),o.createElementBlock("div",FC,[o.renderSlot(e.$slots,"default")])):(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["flex-container",{"no-flex":!n.stretchHorizontally,"no-gap":n.multipleSwitch}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.inputElements,(d,c)=>(o.openBlock(),o.createElementBlock("label",{key:c,for:d.id,class:o.normalizeClass({"toggle-switch":n.toggleSwitches})},[o.withDirectives(o.createElementVNode("input",{type:n.inputTypes,id:d.id,name:d.name,value:d.value,"onUpdate:modelValue":t[1]||(t[1]=u=>s.inputValue=u),disabled:n.disabled,class:o.normalizeClass({"replace-input-type":n.replaceInputType})},null,10,NC),[[o.vModelDynamic,s.inputValue]]),n.multipleSwitch&&d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.labelText?(o.openBlock(),o.createElementBlock("span",VC,o.toDisplayString(d.labelText),1)):o.createCommentVNode("",!0)],10,OC))),128))],2))],10,BC)}const nl=V(xC,[["render",AC]]),PC={name:"CmdLoginForm",data(){return{usernameValidationStatus:!1,passwordValidationStatus:!1,emailValidationStatus:!1,sendLoginMail:"",sendLogin:!1}},props:{modelValue:{type:Object,default(){return{username:"",password:""}}},orientation:{type:String,default:null,validator(e){return e==="vertical"||e==="horizontal"}},legendLoginForm:{type:Object,default(){return{show:!0,align:"right",text:"Login form"}}},legendForgotLoginForm:{type:Object,default(){return{show:!0,align:'right"',text:"Forgot login form"}}},cmdHeadlineLoginForm:{type:Object,required:!1},cmdHeadlineSendLoginForm:{type:Object,required:!1},cmdFormElementUsername:{type:Object,required:!1},cmdFormElementPassword:{type:Object,required:!1},cmdFormElementSendLogin:{type:Object,required:!1},options:{type:Object,default(){return{forgotPassword:{icon:{show:!0,iconClass:"icon-questionmark-circle",tooltip:""},text:"Forgot password"},createAccount:{linkType:"href",path:"#",icon:{show:!0,iconClass:"icon-register",tooltip:""},text:"Create new account"},backToLoginForm:{icon:{show:!0,iconClass:"icon-chevron-one-stripe-left",tooltip:""},text:"Back to login form"}}}},buttonLogin:{type:Object,required:!1},buttonSendLogin:{type:Object,required:!1}},computed:{cmdFormElementUsernameOptions(){return{labelText:"Username:",placeholder:"Type in username",fieldIconClass:"icon-user-profile",name:"login-username",id:"login-username",required:!0,...this.cmdFormElementUsername}},cmdFormElementPasswordOptions(){return{labelText:"Password:",placeholder:"Type in password",fieldIconClass:"icon-security-settings",name:"login-password",id:"login-password",required:!0,...this.cmdFormElementPassword}},cmdFormElementSendLoginOptions(){return{labelText:"Email-address:",placeholder:"Type in email-address you are registered with",fieldIconClass:"icon-mail",name:"login-send-login",id:"login-send-login",required:!0,...this.cmdFormElementSendLogin}},buttonLoginOptions(){return{linkType:"button",type:"submit",path:"",text:"Login",primary:!0,icon:{show:!0,iconClass:"icon-logon",tooltip:""},...this.buttonLogin}},buttonSendLoginOptions(){return{linkType:"button",type:"submit",path:"",text:"Send login",primary:!0,icon:{show:!0,iconClass:"icon-mail",tooltip:""},...this.buttonSendLogin}},buttonLoginDisabled(){return!(this.usernameValidationStatus&&this.passwordValidationStatus)},buttonSendLoginDisabled(){return!this.emailValidationStatus},username:{get(){return this.modelValue.username},set(e){this.$emit("update:modelValue",{username:e,password:this.password})}},password:{get(){return this.modelValue.password},set(e){this.$emit("update:modelValue",{username:this.username,password:e})}}},methods:{toggleSendLoginView(){this.sendLogin=!this.sendLogin,this.$nextTick(()=>{this.sendLogin?this.$refs.sendPassword.setFocus():this.$refs.username.setFocus()})},modelChange(){this.$emit("update:modelValue",{username:this.username,password:this.password})},onClick(e){this.$emit("click",e)},getRoute(e){return rt(e)},checkValidationStatus(e,t){e!=null&&(t==="username"?this.usernameValidationStatus=e==="success":t==="password"?this.passwordValidationStatus=e==="success":this.emailValidationStatus=e==="success")}},watch:{username(){this.modelChange()},password(){this.modelChange()}}},LC={class:"cmd-login-form flex-container"},IC={class:"option-wrapper flex-container"},MC={key:1},RC=["type","disabled"],DC={key:1},jC={class:"cmd-login-form flex-container"},qC={class:"option-wrapper flex-container"},zC={key:1},HC=["type","disabled"],UC={key:1};function WC(e,t,n,r,i,s){var u,m,g,f,h,y,p,C;const a=U,l=X,d=z,c=ot;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.withDirectives(o.createElementVNode("fieldset",LC,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legendLoginForm.show,"align-left":n.legendLoginForm.align==="left"})},o.toDisplayString(n.legendLoginForm.text),3),n.cmdHeadlineLoginForm?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineLoginForm)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["login-fields flex-container",{vertical:n.orientation==="vertical"}])},[o.createVNode(l,o.mergeProps({element:"input",type:"text",ref:"username",modelValue:s.username,"onUpdate:modelValue":t[0]||(t[0]=T=>s.username=T)},s.cmdFormElementUsernameOptions,{onValidationStatusChange:t[1]||(t[1]=T=>s.checkValidationStatus(T,"username"))}),null,16,["modelValue"]),o.createVNode(l,o.mergeProps({element:"input",type:"password",modelValue:s.password,"onUpdate:modelValue":t[2]||(t[2]=T=>s.password=T)},s.cmdFormElementPasswordOptions,{onValidationStatusChange:t[3]||(t[3]=T=>s.checkValidationStatus(T,"password"))}),null,16,["modelValue"])],2),o.renderSlot(e.$slots,"login"),o.createElementVNode("div",IC,[n.options.forgotPassword||n.options.createAccount?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.options.forgotPassword?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[4]||(t[4]=o.withModifiers((...T)=>s.toggleSendLoginView&&s.toggleSendLoginView(...T),["prevent"]))},[(u=n.options.forgotPassword.icon)!=null&&u.show&&((m=n.options.forgotPassword.icon)!=null&&m.iconClass)?(o.openBlock(),o.createBlock(d,{key:0,iconClass:n.options.forgotPassword.icon.iconClass,type:n.options.forgotPassword.icon.iconType,title:n.options.forgotPassword.icon.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0),n.options.forgotPassword.text?(o.openBlock(),o.createElementBlock("span",MC,o.toDisplayString(n.options.forgotPassword.text),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.options.createAccount?(o.openBlock(),o.createBlock(c,{key:1,linkType:n.options.createAccount.linkType,path:n.options.createAccount.path,text:n.options.createAccount.text,icon:{iconClass:(g=n.options.createAccount.icon)==null?void 0:g.iconClass,tooltip:(f=n.options.createAccount.icon)==null?void 0:f.tooltip,position:(h=n.options.createAccount.icon)==null?void 0:h.position}},null,8,["linkType","path","text","icon"])):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),s.buttonLoginOptions.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:1,type:s.buttonLoginOptions.type==="submit"?"submit":"button",class:o.normalizeClass(["button",{primary:s.buttonLoginOptions.primary}]),onClick:t[5]||(t[5]=(...T)=>s.onClick&&s.onClick(...T)),disabled:s.buttonLoginDisabled},[s.buttonLoginOptions.icon.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:s.buttonLoginOptions.icon.iconClass,type:s.buttonLoginOptions.icon.iconType,title:s.buttonLoginOptions.icon.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0),s.buttonLoginOptions.text?(o.openBlock(),o.createElementBlock("span",DC,o.toDisplayString(s.buttonLoginOptions.text),1)):o.createCommentVNode("",!0)],10,RC)):o.createCommentVNode("",!0)])],512),[[o.vShow,!i.sendLogin]]),o.withDirectives(o.createElementVNode("fieldset",jC,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legendForgotLoginForm.show,"align-left":n.legendForgotLoginForm.align==="left"})},o.toDisplayString(n.legendForgotLoginForm.text),3),n.cmdHeadlineSendLoginForm?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineSendLoginForm)),null,16)):o.createCommentVNode("",!0),o.createVNode(l,o.mergeProps({ref:"sendPassword",element:"input",type:"email",onValidationStatusChange:t[6]||(t[6]=T=>s.checkValidationStatus(T,"email")),modelValue:i.sendLoginMail,"onUpdate:modelValue":t[7]||(t[7]=T=>i.sendLoginMail=T)},s.cmdFormElementSendLoginOptions),null,16,["modelValue"]),o.renderSlot(e.$slots,"send-login"),o.createElementVNode("div",qC,[n.options.backToLoginForm?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[8]||(t[8]=o.withModifiers((...T)=>s.toggleSendLoginView&&s.toggleSendLoginView(...T),["prevent"]))},[n.options.backToLoginForm&&n.options.backToLoginForm.icon&&n.options.backToLoginForm.icon.show&&n.options.backToLoginForm.icon.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:n.options.backToLoginForm.icon.iconClass,type:n.options.backToLoginForm.icon.iconType,title:n.options.backToLoginForm.icon.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0),n.options.backToLoginForm.text?(o.openBlock(),o.createElementBlock("span",zC,o.toDisplayString(n.options.backToLoginForm.text),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),s.buttonSendLoginOptions.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:1,type:s.buttonSendLoginOptions.type==="submit"?"submit":"button",class:o.normalizeClass(["button",{primary:s.buttonSendLoginOptions.primary}]),disabled:s.buttonSendLoginDisabled},[(y=s.buttonSendLoginOptions.icon)!=null&&y.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:(p=s.buttonSendLoginOptions.icon)==null?void 0:p.iconClass,title:(C=s.buttonSendLoginOptions.icon)==null?void 0:C.tooltip},null,8,["iconClass","title"])):o.createCommentVNode("",!0),s.buttonSendLoginOptions.text?(o.openBlock(),o.createElementBlock("span",UC,o.toDisplayString(s.buttonSendLoginOptions.text),1)):o.createCommentVNode("",!0)],10,HC)):o.createCommentVNode("",!0)])],512),[[o.vShow,i.sendLogin]])],64)}const GC=V(PC,[["render",WC]]),JC={name:"CmdMainNavigation",data(){return{showOffcanvas:!1,showSubNavigations:!0,openEntry:-1,openSubentry:-1}},emits:["offcanvas"],props:{stretchMainItems:{type:Boolean,default:!1},persistOnMobile:{type:Boolean,default:!1},showContentOverlay:{type:Boolean,default:!0},navigationEntries:{type:Array,required:!0},closeOffcanvas:{type:Object,default:function(){return{iconClass:"icon-cancel",text:"Close navigation",showText:!0}}},offcanvasPosition:{type:String,default:"right",validator(e){return e==="right"||e==="left"}},buttonOffcanvas:{type:Object,default:function(){return{iconClass:"icon-bars",text:"Open navigation",showText:!1}}},subentriesIconClass:{type:String,default:"icon-chevron-one-stripe-down"},subSubentriesIconClass:{type:String,default:"icon-chevron-one-stripe-right"}},methods:{closeAllSubentries(e){e||(this.openEntry=-1),this.openSubentry=-1},executeLink(e,t,n,r){var i;if(t.target||t.path.length>1)return this.showOffcanvas=!1,!0;if((i=t==null?void 0:t.subentries)!=null&&i.length){e.preventDefault(),r?this.openSubentry=this.openSubentry===n?-1:n:(this.openEntry=this.openEntry===n?-1:n,this.openSubentry=-1);return}(t.path==="#"||t.path==="")&&(e.preventDefault(),this.$emit("click",t.path)),this.showOffcanvas=!1},getRoute(e){return rt(e)},closeOffcanvasNavigation(){this.showOffcanvas=!1,document.getElementById("toggle-offcanvas").focus()},toggleOffcanvasNavigation(){this.showOffcanvas?this.closeOffcanvasNavigation():(this.showOffcanvas=!0,this.$nextTick(()=>document.getElementById("close-offcanvas").focus()))}},watch:{showOffcanvas(){this.$emit("offcanvas",{open:this.showOffcanvas})}}},KC={key:0,class:"close-nav"},ZC=["href","title","target","onClick"],XC={key:1},QC={key:1},YC=["aria-expanded"],$C=["href","title","target","onClick"],vC={key:1},ew={key:1},tw=["aria-expanded"],nw=["href","title","target","onClick"],ow={key:1},rw={key:1};function iw(e,t,n,r,i,s){const a=z,l=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-main-navigation main-navigation-wrapper",{"hide-sub-navigation":!i.showSubNavigations,"open-off-canvas":i.showOffcanvas,"persist-on-mobile":n.persistOnMobile,"show-content-overlay":n.showContentOverlay,"off-canvas-right":n.offcanvasPosition==="right"}])},[o.createElementVNode("nav",null,[o.createElementVNode("ul",{class:o.normalizeClass({"stretch-items":n.stretchMainItems})},[i.showOffcanvas?(o.openBlock(),o.createElementBlock("li",KC,[o.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.closeOffcanvasNavigation&&s.closeOffcanvasNavigation(...d),["prevent"]))},[n.closeOffcanvas.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.closeOffcanvas.iconClass,type:n.closeOffcanvas.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass({hidden:!n.closeOffcanvas.showText})},o.toDisplayString(n.closeOffcanvas.text),3)])])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.navigationEntries,(d,c)=>{var u,m,g;return o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass({active:d.active,open:i.openEntry===c,"has-subentries":(u=d==null?void 0:d.subentries)==null?void 0:u.length})},[d.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:d.path,title:d.tooltip,target:d.target,onClick:f=>s.executeLink(f,d,c),onMouseover:t[1]||(t[1]=f=>s.closeAllSubentries()),onFocus:t[2]||(t[2]=f=>s.closeAllSubentries())},[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",XC,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0),(m=d==null?void 0:d.subentries)!=null&&m.length?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],40,ZC)):o.createCommentVNode("",!0),d.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(d),title:d.tooltip},{default:o.withCtx(()=>[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",QC,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0),d.subentries&&d.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)]),_:2},1032,["to","title"])):o.createCommentVNode("",!0),(g=d==null?void 0:d.subentries)!=null&&g.length?(o.openBlock(),o.createElementBlock("ul",{key:2,"aria-expanded":i.openEntry?"true":"false"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(d.subentries,(f,h)=>{var y;return o.openBlock(),o.createElementBlock("li",{key:h,class:o.normalizeClass({open:i.openSubentry===h})},[f.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:f.path,title:f.tooltip,target:f.target,onClick:p=>s.executeLink(p,f,h,1),onMouseover:t[3]||(t[3]=p=>s.closeAllSubentries(1)),onFocus:t[4]||(t[4]=p=>s.closeAllSubentries(1))},[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",vC,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0),f.subentries&&f.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],40,$C)):o.createCommentVNode("",!0),f.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(f),title:f.tooltip},{default:o.withCtx(()=>[f.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",ew,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0),f.subentries&&f.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)]),_:2},1032,["to","title"])):o.createCommentVNode("",!0),(y=f.subentries)!=null&&y.length?(o.openBlock(),o.createElementBlock("ul",{key:2,"aria-expanded":i.openSubentry?"true":"false"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(f.subentries,(p,C)=>(o.openBlock(),o.createElementBlock("li",{key:C},[p.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:p.path,title:p.tooltip,target:p.target,onClick:T=>s.executeLink(T,p)},[p.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),p.text?(o.openBlock(),o.createElementBlock("span",ow,o.toDisplayString(p.text),1)):o.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],8,nw)):o.createCommentVNode("",!0),p.type==="router"?(o.openBlock(),o.createBlock(l,{key:1,to:s.getRoute(p),target:p.target},{default:o.withCtx(()=>[p.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),p.text?(o.openBlock(),o.createElementBlock("span",rw,o.toDisplayString(p.text),1)):o.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)]),_:2},1032,["to","target"])):o.createCommentVNode("",!0)]))),128))],8,tw)):o.createCommentVNode("",!0)],2)}),128))],8,YC)):o.createCommentVNode("",!0)],2)}),128))],2)]),n.persistOnMobile===!1?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"button",id:"toggle-offcanvas",onClick:t[5]||(t[5]=o.withModifiers((...d)=>s.toggleOffcanvasNavigation&&s.toggleOffcanvasNavigation(...d),["prevent"]))},[o.createVNode(a,{iconClass:n.buttonOffcanvas.iconClass,type:n.buttonOffcanvas.iconType},null,8,["iconClass","type"]),o.createElementVNode("span",{class:o.normalizeClass({hidden:!n.buttonOffcanvas.showText})},o.toDisplayString(n.buttonOffcanvas.text),3)])):o.createCommentVNode("",!0)],2)}const ol=V(JC,[["render",iw]]),sw={name:"CmdMultistepFormProgressBar",data(){return{activeLink:0}},props:{showStepNumber:{type:Boolean,default:!1},multisteps:{type:Array,required:!0},separatorIconClass:{type:String,default(){return"icon-chevron-one-stripe-right"}},useGap:{type:Boolean,default:!0}},methods:{clickedStep(e,t){this.activeLink=t,this.$emit("click",{event:e,index:t,stepPath:this.multisteps[t].path})},getRoute(e){return rt(e)}}},aw={key:0,class:"number"},lw={key:2};function cw(e,t,n,r,i,s){const a=z,l=ot;return o.openBlock(),o.createElementBlock("ol",{class:o.normalizeClass(["cmd-multistep-form-progress-bar",{"use-gap":n.useGap}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.multisteps,(d,c)=>(o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass({active:i.activeLink===c})},[o.createVNode(l,{linkType:d.type,path:d.path,title:d.tooltip,onClick:o.withModifiers(u=>s.clickedStep(u,c),["stop","prevent"])},{default:o.withCtx(()=>[n.showStepNumber?(o.openBlock(),o.createElementBlock("span",aw,o.toDisplayString(c+1),1)):o.createCommentVNode("",!0),d.iconClass?(o.openBlock(),o.createBlock(a,{key:1,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",lw,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass(n.separatorIconClass)},null,2)]),_:2},1032,["linkType","path","title","onClick"])],2))),128))],2)}const dw=V(sw,[["render",cw]]),uw={name:"CmdNewsletterSubscription",emits:["button-click"],data(){return{buttonDisabled:!0}},props:{modelValue:{type:Object,default(){return{subscription:"subscribe",email:""}}},buttonType:{type:String,default:"button",validator(e){return e==="submit"||e==="button"}},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},cmdInputGroup:{type:Object,default:function(){return{labelText:"Choose option",showLabel:!1,inputElements:[{labelText:"Subscribe",id:"radio-subscribe",name:"cmd-subscribe-group",value:"subscribe"},{labelText:"Unsubscribe",id:"radio-unsubscribe",name:"cmd-subscribe-group",value:"unsubscribe"}]}}},cmdFormElementEmail:{type:Object,default:function(){return{labelText:"Email-Address:",placeholder:"Enter your email-address",required:!0}}},cmdFormElementSubmit:{type:Object,default:function(){return{text:"Submit",icon:{show:!0,iconClass:"icon-message-send",position:"before",tooltip:""}}}}},computed:{cmdFormElementSubmitDynamicLabel(){return this.updateButtonLabelText},updateButtonLabelText(){const e={...this.cmdFormElementSubmit};return e.text=this.subscription==="subscribe"?"Subscribe now":"Unsubscribe from list",e},subscription:{get(){return this.modelValue.subscription||"subscribe"},set(e){this.$emit("update:modelValue",{subscription:e,email:this.email})}},email:{get(){return this.modelValue.email},set(e){this.$emit("update:modelValue",{subscription:this.subscription,email:e})}}},methods:{sendData(e){this.$emit("button-click",{subscription:this.subscription,email:this.email,originalEvent:e})},checkValidationStatus(e){this.buttonDisabled=e!=="success"}},watch:{modelValue:{handler(){return this.updateButtonLabelText},deep:!0,immediate:!0}}},mw={class:"cmd-newsletter-subscription flex-container"},fw={class:"button-wrapper"};function hw(e,t,n,r,i,s){const a=nl,l=X;return o.openBlock(),o.createElementBlock("fieldset",mw,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),o.createVNode(a,{inputTypes:"radio",labelText:n.cmdInputGroup.labelText,showLabel:n.cmdInputGroup.showLabel,inputElements:n.cmdInputGroup.inputElements,modelValue:s.subscription,"onUpdate:modelValue":t[0]||(t[0]=d=>s.subscription=d)},null,8,["labelText","showLabel","inputElements","modelValue"]),o.createVNode(l,{element:"input",type:"email",placeholder:n.cmdFormElementEmail.placeholder,labelText:n.cmdFormElementEmail.labelText,id:"cmd-email-newsletter-subscription",required:n.cmdFormElementEmail.required,useCustomTooltip:n.cmdFormElementEmail.useCustomTooltip,modelValue:s.email,"onUpdate:modelValue":t[1]||(t[1]=d=>s.email=d),onValidationStatusChange:s.checkValidationStatus},null,8,["placeholder","labelText","required","useCustomTooltip","modelValue","onValidationStatusChange"]),o.createElementVNode("div",fw,[o.createVNode(l,{element:"button",type:n.buttonType,disabled:i.buttonDisabled,nativeButton:s.cmdFormElementSubmitDynamicLabel,onClick:s.sendData},null,8,["type","disabled","nativeButton","onClick"])])])}const pw=V(uw,[["render",hw]]);function rl(e,t,n,r=!0,i=!0){function s(a,l){return l&&a<10?"0"+a:a}return(a,l)=>{if(n){let d=a,c=t;return d>12&&(i||(d-=12),c=n),s(d,r)+e+s(l,!0)+c}return s(a,r)+e+s(l,!0)+t}}const gw={name:"CmdOpeningHoursItem",mixins:[Y],data(){return{editableDay:{}}},props:{use24HoursFormat:{type:Boolean,required:!1},day:{type:Object,required:!0},separator:{type:String,default:"–"},abbreviationTextAm:{type:String,default:"am"},abbreviationTextPm:{type:String,default:"pm"},timeFormatter:{type:Function,required:!1}},methods:{toggleClosedStatus(e){e==="am"?this.editableDay.amClosed=!this.editableDay.amClosed:this.editableDay.pmClosed=!this.editableDay.pmClosed},getTime(e){return this.timeFormatter?this.timeFormatter(e.hours,e.mins):rl(":"," "+this.abbreviationTextAm," "+this.abbreviationTextPm,!1,this.use24HoursFormat)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableDay;return Q(this,{update(t){t.day=e.day,t.am||(t.am={}),t.am.fromTime=e.amFrom,t.am.tillTime=e.amTill,t.am.displayText=e.amClosed?e.amDisplayText:"",t.pm||(t.pm={}),t.pm.fromTime=e.pmFrom,t.pm.tillTime=e.pmTill,t.pm.displayText=e.pmClosed?e.pmDisplayText:""}})}},watch:{day:{handler(){const e=rl(":","","",!0,this.use24HoursFormat);this.editableDay={day:this.day.day,amFrom:e(this.day.am.fromTime.hours,this.day.am.fromTime.mins),amTill:e(this.day.am.tillTime.hours,this.day.am.tillTime.mins),amDisplayText:this.day.am.displayText,amClosed:!!this.day.am.displayText,pmFrom:e(this.day.pm.fromTime.hours,this.day.pm.fromTime.mins),pmTill:e(this.day.pm.tillTime.hours,this.day.pm.tillTime.mins),pmClosed:!!this.day.pm.displayText,pmDisplayText:this.day.pm.displayText}},immediate:!0,deep:!0}}},yw={class:"cmd-opening-hours-item"},bw={key:0,class:"am"},kw={key:1,class:"pm"},Cw={class:"flex-container no-flex"},ww={class:"flex-container no-flex am-wrapper"},xw={key:1,class:"input-wrapper"},Bw=["title"],_w={class:"flex-container no-flex pm-wrapper"},Ew={key:1,class:"input-wrapper"},Sw=["title"];function Tw(e,t,n,r,i,s){const a=X;return e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("dt",null,[o.createVNode(a,{element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for weekday",placeholder:"Text for weekday",modelValue:i.editableDay.day,"onUpdate:modelValue":t[0]||(t[0]=l=>i.editableDay.day=l)},null,8,["modelValue"])]),o.createElementVNode("dd",Cw,[o.createElementVNode("div",ww,[i.editableDay.amClosed?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:i.editableDay.amDisplayText,"onUpdate:modelValue":t[1]||(t[1]=l=>i.editableDay.amDisplayText=l)},null,8,["modelValue"])):o.createCommentVNode("",!0),i.editableDay.amClosed?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",xw,[o.createVNode(a,{element:"input",type:"time",class:"edit-mode",showLabel:!1,labelText:"Text for AM from",placeholder:"Text for AM from",modelValue:i.editableDay.amFrom,"onUpdate:modelValue":t[2]||(t[2]=l=>i.editableDay.amFrom=l)},null,8,["modelValue"]),o.createVNode(a,{element:"input",type:"time",showLabel:!1,class:"edit-mode",min:i.editableDay.amFrom,labelText:"Text for AM till",placeholder:"Text for AM till",modelValue:i.editableDay.amTill,"onUpdate:modelValue":t[3]||(t[3]=l=>i.editableDay.amTill=l)},null,8,["min","modelValue"])])),o.createElementVNode("a",{href:"#",onClick:t[4]||(t[4]=o.withModifiers(l=>s.toggleClosedStatus("am"),["prevent"])),title:i.editableDay.amClosed?"Set to open":"Set to closed",class:o.normalizeClass(i.editableDay.amClosed?"icon-clock":"icon-blocked")},null,10,Bw)]),o.createElementVNode("div",_w,[i.editableDay.pmClosed?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:"text",class:"edit-mode",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:i.editableDay.pmDisplayText,"onUpdate:modelValue":t[5]||(t[5]=l=>i.editableDay.pmDisplayText=l)},null,8,["modelValue"])):o.createCommentVNode("",!0),i.editableDay.pmClosed?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Ew,[o.createVNode(a,{element:"input",type:"time",showLabel:!1,class:"edit-mode",labelText:"Text for PM from",placeholder:"Text for PM from",modelValue:i.editableDay.pmFrom,"onUpdate:modelValue":t[6]||(t[6]=l=>i.editableDay.pmFrom=l)},null,8,["modelValue"]),o.createVNode(a,{element:"input",type:"time",showLabel:!1,class:"edit-mode",min:i.editableDay.pmFrom,labelText:"Text for PM till",placeholder:"Text for PM till",modelValue:i.editableDay.pmTill,"onUpdate:modelValue":t[7]||(t[7]=l=>i.editableDay.pmTill=l)},null,8,["min","modelValue"])])),o.createElementVNode("a",{href:"#",onClick:t[8]||(t[8]=o.withModifiers(l=>s.toggleClosedStatus("pm"),["prevent"])),title:i.editableDay.pmClosed?"Set to open":"Set to closed",class:o.normalizeClass(i.editableDay.pmClosed?"icon-clock":"icon-blocked")},null,10,Sw)])])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("dt",yw,o.toDisplayString(n.day.day),1),o.createElementVNode("dd",null,[n.day.am?(o.openBlock(),o.createElementBlock("span",bw,[n.day.am.displayText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(n.day.am.displayText),1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(s.getTime(n.day.am.fromTime,n.abbreviationTextAm))+" "+o.toDisplayString(n.separator)+" "+o.toDisplayString(s.getTime(n.day.am.tillTime)),1)],64))])):o.createCommentVNode("",!0),n.day.pm?(o.openBlock(),o.createElementBlock("span",kw,[n.day.pm.displayText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(n.day.pm.displayText),1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(s.getTime(n.day.pm.fromTime,n.abbreviationTextPm))+" "+o.toDisplayString(n.separator)+" "+o.toDisplayString(s.getTime(n.day.pm.tillTime)),1)],64))])):o.createCommentVNode("",!0)])],64))}const Ow=V(gw,[["render",Tw]]);function Nw(e,t,n,r=!0){function i(s,a){return a&&s<10?"0"+s:s}return(s,a)=>i(s,r)+e+i(a,!0)+t}const Vw={name:"CmdOpeningHours",mixins:[Y],data(){return{currentTime:new Date,editableOpeningHours:[],editableTextOpen:null,editableTextClosed:null,editableTextHolidays:null,editableTextMiscInfo:null}},props:{closed:{type:Boolean,default:!1},textOpen:{type:String,default:"Open right now!"},textClosed:{type:String,default:"Closed right now!"},separator:{type:String,default:"–"},abbreviationTextAm:{type:String,default:"am"},abbreviationTextPm:{type:String,default:"pm"},openingHours:{type:Array,required:!0},textHolidays:{type:String,required:!1},textMiscInfo:{type:String,required:!1},timeFormatter:{type:Function,required:!1},componentHandlesClosedStatus:{type:Boolean,default:!0},checkInterval:{type:Number,default:5e3},showOpenStatus:{type:Boolean,default:!0},use24HoursFormat:{type:Boolean,default:!0},cmdLink:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},mounted(){this.componentHandlesClosedStatus&&this.checkInterval>0&&(this.$_CmdOpeningHours_intervalId=setInterval(()=>{this.currentTime=new Date},this.checkInterval))},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)},computed:{openingHoursFormatted(){const e=[];for(let t=0;t<this.openingHours.length;t++){const n={},r=this.openingHours[t].am.fromTime.split(/[:.]/),i=this.openingHours[t].am.tillTime.split(/[:.]/),s=this.openingHours[t].pm.fromTime.split(/[:.]/),a=this.openingHours[t].pm.tillTime.split(/[:.]/);n.day=this.openingHours[t].day,n.am={...this.openingHours[t].am},n.am.fromTime={hours:parseInt(r[0]),mins:parseInt(r[1])},n.am.tillTime={hours:parseInt(i[0]),mins:parseInt(i[1])},n.pm={...this.openingHours[t].pm},n.pm.fromTime={hours:parseInt(s[0]),mins:parseInt(s[1])},n.pm.tillTime={hours:parseInt(a[0]),mins:parseInt(a[1])},e.push(n)}return e},textOpenModel:{get(){return this.editableTextOpen==null?this.textOpen:this.editableTextOpen},set(e){this.editableTextOpen=e}},textClosedModel:{get(){return this.editableTextClosed==null?this.textClosed:this.editableTextClosed},set(e){this.editableTextClosed=e}},textHolidaysModel:{get(){return this.editableTextHolidays==null?this.textHolidays:this.editableTextHolidays},set(e){this.editableTextHolidays=e}},textMiscInfoModel:{get(){return this.editableTextMiscInfo==null?this.textMiscInfo:this.editableTextMiscInfo},set(e){this.editableTextMiscInfo=e}},textOpenClosed(){return this.isClosed?this.textClosed:this.textOpen},isClosed(){if(!this.componentHandlesClosedStatus)return this.closed;let e=this.currentTime.getDay();e===0?e=6:e-=1;const t=this.openingHoursFormatted[e];if(this.openingHoursFormatted[e]){const n=new Date;n.setHours(t.am.fromTime.hours,t.am.fromTime.mins);const r=new Date;r.setHours(t.am.tillTime.hours,t.am.tillTime.mins);const i=new Date;i.setHours(t.pm.fromTime.hours,t.pm.fromTime.mins);const s=new Date;if(s.setHours(t.pm.tillTime.hours,t.pm.tillTime.mins),n<=this.currentTime&&this.currentTime<=r&&i<=this.currentTime&&this.currentTime<=s)return!1}return!0}},methods:{onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","openingHours",-1),this.itemProvider)},itemProvider(){return{day:"Weekday",am:{fromTime:"00:00",tillTime:"00:00"},pm:{fromTime:"00:00",tillTime:"00:00"}}},getTime(e){return this.timeFormatter?this.timeFormatter(e.hours,e.mins):Nw(":"," hrs","",!1)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableOpeningHours,t=this.editableTextOpen,n=this.editableTextClosed,r=this.editableTextHolidays,i=this.editableTextMiscInfo;return Q(this,{update(s,a){s.openingHours=e,s.textOpen=t,s.textClosed=n,s.textHolidays=r,s.textMiscInfo=i;const l=a==null?void 0:a.find(d=>d.name==="CmdHeadline");l&&(s.cmdHeadline=s.cmdHeadline||{},l.update(s.cmdHeadline))}})}}},Fw={class:"cmd-opening-hours"},Aw={key:2,class:"flex-container"},Pw={key:3},Lw=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],Iw={class:"edit-mode-opening-hours-item"},Mw={key:5},Rw={key:0},Dw={key:1},jw={key:6,class:"flex-container vertical"};function qw(e,t,n,r,i,s){var m,g;const a=U,l=ot,d=X,c=Ow,u=Ae;return o.openBlock(),o.createElementBlock("div",Fw,[(m=n.cmdHeadline)!=null&&m.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),!e.editing&&n.showOpenStatus?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(g=n.cmdLink)!=null&&g.path?(o.openBlock(),o.createBlock(l,o.mergeProps({key:0,linkType:n.cmdLink.type||"href"},n.cmdLink,{class:{closed:s.isClosed}}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(s.textOpenClosed),1)]),_:1},16,["linkType","class"])):(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass({closed:s.isClosed})},o.toDisplayString(s.textOpenClosed),3))],64)):e.editing?(o.openBlock(),o.createElementBlock("div",Aw,[o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'open'",placeholder:"Text for 'open'",modelValue:s.textOpenModel,"onUpdate:modelValue":t[0]||(t[0]=f=>s.textOpenModel=f)},null,8,["modelValue"]),o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:s.textClosedModel,"onUpdate:modelValue":t[1]||(t[1]=f=>s.textClosedModel=f)},null,8,["modelValue"])])):o.createCommentVNode("",!0),e.editModeContext?(o.openBlock(),o.createElementBlock(o.Fragment,{key:4},[s.openingHoursFormatted.length===0?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:t[2]||(t[2]=(...f)=>s.onAddItem&&s.onAddItem(...f))},Lw)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(s.openingHoursFormatted,(f,h)=>(o.openBlock(),o.createBlock(u,{key:"x"+h,class:"edit-items",showComponentName:!1,componentName:"CmdOpeningHoursItem",componentProps:f,allowedComponentTypes:[],componentPath:["props","openingHours",h],itemProvider:s.itemProvider},{default:o.withCtx(()=>[o.createElementVNode("dl",Iw,[o.createVNode(c,{day:f,separator:n.separator,abbreviationTextAm:n.abbreviationTextAm,abbreviationTextPm:n.abbreviationTextPm,use24HoursFormat:n.use24HoursFormat},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm","use24HoursFormat"])])]),_:2},1032,["componentProps","componentPath","itemProvider"]))),128))],64)):(o.openBlock(),o.createElementBlock("dl",Pw,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.openingHoursFormatted,(f,h)=>(o.openBlock(),o.createBlock(c,{key:h,day:f,separator:n.separator,abbreviationTextAm:n.abbreviationTextAm,abbreviationTextPm:n.abbreviationTextPm,use24HoursFormat:n.use24HoursFormat},null,8,["day","separator","abbreviationTextAm","abbreviationTextPm","use24HoursFormat"]))),128))])),!e.editing&&(n.textHolidays||n.textMiscInfo)?(o.openBlock(),o.createElementBlock("div",Mw,[n.textHolidays?(o.openBlock(),o.createElementBlock("p",Rw,[o.createElementVNode("strong",null,o.toDisplayString(n.textHolidays),1)])):o.createCommentVNode("",!0),n.textMiscInfo?(o.openBlock(),o.createElementBlock("p",Dw,o.toDisplayString(n.textMiscInfo),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.editing?(o.openBlock(),o.createElementBlock("div",jw,[o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'holidays'",placeholder:"Text for 'holidays'",modelValue:s.textHolidaysModel,"onUpdate:modelValue":t[3]||(t[3]=f=>s.textHolidaysModel=f)},null,8,["modelValue"]),o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Miscellaneous information",placeholder:"Miscellaneous information",modelValue:s.textMiscInfoModel,"onUpdate:modelValue":t[4]||(t[4]=f=>s.textMiscInfoModel=f)},null,8,["modelValue"])])):o.createCommentVNode("",!0)])}const zw=V(Vw,[["render",qw]]),Hw={name:"CmdPagination",mixins:[oe,{data(){return{defaultMessageProperties:{"pagination.tooltip.go_to_page":"Go to page {0}","pagination.tooltip.not_possible":"Not possible (current page is shown already)"}}}}],emits:["click"],data(){return{currentPage:1}},props:{pages:{type:Number,required:!0},itemsPerPage:{type:Number,required:!0},showPageNumbers:{type:Boolean,default:!0},linkType:{type:String,default:"href",validator(e){return e==="href"||e==="button"}},prevLink:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-left",text:"prev",showText:!0}}},nextLink:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-right",text:"next",showText:!0}}}},computed:{numberOfPages(){return Math.ceil(this.pages/this.itemsPerPage)},getPreviousHref(){return this.currentPage===1?null:"#"},getNextHref(){return this.currentPage===this.numberOfPages?null:"#"}},methods:{getHref(e){return this.linkType!=="href"||this.currentPage===e?null:"#"},showPage(e){this.currentPage=e,this.$emit("click",e)},nextPage(){this.currentPage<this.numberOfPages&&this.showPage(this.currentPage+1)},previousPage(){this.currentPage>1&&this.showPage(this.currentPage-1)}}},Uw={class:"cmd-pagination"},Ww=["href","title"],Gw={key:0},Jw={class:"page-index"},Kw={class:"flex-container"},Zw=["href","title","onClick"],Xw=["href","title"],Qw={key:0};function Yw(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("div",Uw,[o.createElementVNode("a",{href:s.getPreviousHref,class:o.normalizeClass(["page-change",{disabled:i.currentPage===1,button:n.linkType==="button"}]),onClick:t[0]||(t[0]=o.withModifiers((...l)=>s.previousPage&&s.previousPage(...l),["prevent"])),title:n.prevLink.showText?null:n.prevLink.text},[o.createVNode(a,{iconClass:n.prevLink.iconClass,type:n.prevLink.iconType},null,8,["iconClass","type"]),n.prevLink.showText?(o.openBlock(),o.createElementBlock("span",Gw,o.toDisplayString(n.prevLink.text),1)):o.createCommentVNode("",!0)],10,Ww),o.createElementVNode("div",Jw,[o.createElementVNode("div",Kw,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.pages,(l,d)=>(o.openBlock(),o.createElementBlock("a",{href:s.getHref(l),class:o.normalizeClass({disabled:i.currentPage===d+1,button:n.linkType==="button",hidden:!n.showPageNumbers}),title:i.currentPage!==d+1?e.getMessage("pagination.tooltip.go_to_page",d+1):e.getMessage("pagination.tooltip.not_possible"),key:d,onClick:o.withModifiers(c=>s.showPage(l),["stop","prevent"]),"aria-live":"polite"},[o.createElementVNode("span",null,o.toDisplayString(d+1),1)],10,Zw))),128))])]),o.createElementVNode("a",{href:s.getNextHref,class:o.normalizeClass(["page-change",{disabled:i.currentPage===s.numberOfPages,button:n.linkType==="button"}]),onClick:t[1]||(t[1]=o.withModifiers((...l)=>s.nextPage&&s.nextPage(...l),["prevent"])),title:n.nextLink.showText?null:n.nextLink.text},[n.nextLink.showText?(o.openBlock(),o.createElementBlock("span",Qw,o.toDisplayString(n.nextLink.text),1)):o.createCommentVNode("",!0),o.createVNode(a,{iconClass:n.nextLink.iconClass,type:n.nextLink.iconType},null,8,["iconClass","type"])],10,Xw)])}const $w=V(Hw,[["render",Yw]]),vw={name:"CmdSocialNetworksItem",data(){return{editablePath:null,editableTooltip:null,editableLinktext:null}},mixins:[Y],props:{network:{type:Object,required:!0},userMustAcceptDataPrivacy:{type:Boolean},page:{type:String,required:!1},appendPage:{type:Boolean,default:!0},buttonTextAlign:{type:String,default:"left",validator(e){return e==="left"||e==="right"}},dataPrivacyAccepted:{type:Boolean},tooltipAcceptDataPrivacy:{type:String,default:"You must accept data privacy conditions!"}},methods:{getUrl(e){return this.userMustAcceptDataPrivacy&&this.dataPrivacyAccepted?this.appendPage?this.page?e.path+encodeURIComponent(this.page):e.path+encodeURIComponent(location.href):e.path:"#"},preventOnDisabled(e){let t=e.target;t.tagName!=="A"&&(t=t.closest("a")),t.getAttribute("href")==="#"&&e.preventDefault()},tooltip(e){return this.userMustAcceptDataPrivacy?this.dataPrivacyAccepted?e:this.tooltipAcceptDataPrivacy:e},addHandlerProvider(){const e={id:"social-network-facebook",path:"https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fdevelopment.comand-cms.com%2Fmodule%2Fteam.html",tooltip:"Share this page on facebook",iconClass:"icon-facebook",linkText:"Share"};return Q(this,{item(){return e}})},updateHandlerProvider(){const e=tt(),t=this.editablePath,n=this.editableTooltip,r=this.editableLinktext;return Q(this,{update(i){i.id=e,i.path=t,i.tooltip=n,i.linkText=r}})}}},ex={class:"cmd-social-networks-item"},tx=["id","href","title"],nx={key:1};function ox(e,t,n,r,i,s){const a=z;return o.openBlock(),o.createElementBlock("li",ex,[(o.openBlock(),o.createElementBlock("a",{key:n.network.path,class:o.normalizeClass(["button",{disabled:n.userMustAcceptDataPrivacy&&!n.dataPrivacyAccepted},"text-align-"+n.buttonTextAlign]),id:n.network.id,href:s.getUrl(n.network),onClick:t[0]||(t[0]=(...l)=>s.preventOnDisabled&&s.preventOnDisabled(...l)),target:"_blank",title:s.tooltip(n.network.tooltip)},[n.network.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:n.network.iconClass,type:n.network.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),n.network.linkText?(o.openBlock(),o.createElementBlock("span",nx,o.toDisplayString(n.network.linkText),1)):o.createCommentVNode("",!0)],10,tx))])}const rx=V(vw,[["render",ox]]),ix={name:"CmdSocialNetworks",mixins:[Y],data(){return{dataPrivacyAccepted:!1}},props:{modelValue:{type:[String,Number,Array],default:""},align:{type:String,default:"left",validator(e){return e==="left"||e==="center"||e==="right"}},useGap:{type:Boolean,default:!0},stretchButtons:{type:Boolean,default:!1},networks:{type:Array,required:!0},page:{type:String,required:!1},appendPage:{type:Boolean,default:!0},userMustAcceptDataPrivacy:{type:Boolean,default:!0},tooltipAcceptDataPrivacy:{type:String,default:"You must accept data privacy conditions!"},buttonTextAlign:{type:String,default:"right",validator(e){return e==="left"||e==="right"}},cmdFormElement:{type:Object,default(){return{toggleSwitch:!0,labelText:"I accept that anonymous data will be send to the platform I share this page on!",required:!0}}},cmdHeadline:{type:Object,required:!1}},computed:{validNetworks(){return this.networks.filter(e=>e.path)},alignment(){return"align-"+this.align}},methods:{onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","networks",-1),this.itemProvider)},itemProvider(){return{id:"social-network-facebook",path:"https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fdevelopment.comand-cms.com%2Fmodule%2Fteam.html",tooltip:"Share this page on facebook",iconClass:"icon-facebook",linkText:"Share"}},preventOnDisabled(e){let t=e.target;t.tagName!=="A"&&(t=t.closest("a")),t.getAttribute("href")==="#"&&e.preventDefault()},tooltip(e){return this.userMustAcceptDataPrivacy?this.dataPrivacyAccepted?e:this.tooltipAcceptDataPrivacy:e},onPersist(e){return{editModeContextData:{...this.editModeContextData||{}},update(t){t.cmdHeadline={...t.cmdHeadline||{}},Array.isArray(e)&&e.length>0&&(t.cmdHeadline.headlineText=e[0].headlineText)}}}}},sx=[o.createElementVNode("span",{class:"icon-plus"},null,-1)];function ax(e,t,n,r,i,s){var u,m;const a=U,l=X,d=rx,c=Ae;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-social-networks",{stretch:n.stretchButtons},s.alignment])},[(u=n.cmdHeadline)!=null&&u.headlineText||(m=e.editModeContext)!=null&&m.editing?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline||{})),null,16)):o.createCommentVNode("",!0),n.userMustAcceptDataPrivacy?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1,element:"input",type:"checkbox"},n.cmdFormElement,{modelValue:i.dataPrivacyAccepted,"onUpdate:modelValue":t[0]||(t[0]=g=>i.dataPrivacyAccepted=g)}),null,16,["modelValue"])):o.createCommentVNode("",!0),s.validNetworks.length>0?(o.openBlock(),o.createElementBlock("ul",{key:2,class:o.normalizeClass(["button-wrapper",{"no-gap":!n.useGap}])},[e.editModeContext?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(s.validNetworks,(g,f)=>(o.openBlock(),o.createBlock(c,{key:"x"+f,class:"edit-items",componentName:"CmdSocialNetworksItem",componentProps:g,componentPath:["props","networks",f],showComponentName:!1},{default:o.withCtx(()=>[o.createVNode(d,{network:g,userMustAcceptDataPrivacy:n.userMustAcceptDataPrivacy,buttonTextAlign:n.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted"])]),_:2},1032,["componentProps","componentPath"]))),128)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.validNetworks,(g,f)=>(o.openBlock(),o.createBlock(d,{key:f,network:g,userMustAcceptDataPrivacy:n.userMustAcceptDataPrivacy,buttonTextAlign:n.buttonTextAlign,dataPrivacyAccepted:i.dataPrivacyAccepted,page:n.page,appendPage:n.appendPage},null,8,["network","userMustAcceptDataPrivacy","buttonTextAlign","dataPrivacyAccepted","page","appendPage"]))),128)),o.renderSlot(e.$slots,"default")],64))],2)):(o.openBlock(),o.createElementBlock("button",{key:3,class:"button small",title:"Add new item",onClick:t[1]||(t[1]=(...g)=>s.onAddItem&&s.onAddItem(...g))},sx))],2)}const il=V(ix,[["render",ax]]),lx={name:"CmdPageFooter",props:{buttonPrintView:{type:Object,default(){return{show:!0,primary:!1,icon:{show:!0,iconClass:"icon-print-preview",tooltip:"Open print preview"},text:"Print preview"}}},useSmallButtons:{type:Boolean,default:!0},containerToPrint:{type:String,default:"main"},cmdSocialNetworks:{type:Object,required:!1},cmdFancyBox:{type:Object,default(){return{showPrintButtons:!0,defaultAriaLabelText:"print-preview"}}}},computed:{buttonPrintViewOptions(){var t;const e={show:!0,primary:!1,icon:{show:!0,iconClass:"icon-print-preview",tooltip:"Open print preview"},text:"Print preview"};return{...e,...this.buttonPrintView,icon:{...e.icon,...(t=this.buttonPrintView)==null?void 0:t.icon}}}},methods:{showFancyBox(){let e=[];typeof this.cmdFancyBox.elements=="function"?e=this.cmdFancyBox.elements():e=[document.querySelector(this.containerToPrint)],qe({elements:e,fancyBoxOptions:this.cmdFancyBox.fancyBoxOptions,showPrintButtons:this.cmdFancyBox.showPrintButtons,defaultAriaLabelText:this.cmdFancyBox.defaultAriaLabelText,cmdHeadline:this.cmdFancyBox.cmdHeadline,showOverlay:this.cmdFancyBox.showOverlay,showSubmitButtons:this.cmdFancyBox.showSubmitButtons,allowEscapeKey:this.cmdFancyBox.allowEscapeKey,id:this.cmdFancyBox.id||"print-preview"})}}},cx={class:"button-wrapper"},dx=["title"],ux={key:1};function mx(e,t,n,r,i,s){var l,d,c,u;const a=il;return o.openBlock(),o.createElementBlock("footer",{class:o.normalizeClass(["cmd-page-footer flex-container",{"small-buttons":n.useSmallButtons}])},[n.cmdSocialNetworks?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdSocialNetworks)),{default:o.withCtx(()=>[o.renderSlot(e.$slots,"cmd-social-networks")]),_:3},16)):o.createCommentVNode("",!0),o.createElementVNode("div",cx,[o.renderSlot(e.$slots,"default"),(l=s.buttonPrintViewOptions)!=null&&l.show?(o.openBlock(),o.createElementBlock("button",{key:0,class:o.normalizeClass(["button",{primary:s.buttonPrintViewOptions.primary}]),id:"print-view-button",title:s.buttonPrintViewOptions.text?(d=s.buttonPrintViewOptions.icon)==null?void 0:d.tooltip:null,onClick:t[0]||(t[0]=(...m)=>s.showFancyBox&&s.showFancyBox(...m))},[(c=s.buttonPrintViewOptions.icon)!=null&&c.show?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass((u=s.buttonPrintViewOptions.icon)==null?void 0:u.iconClass)},null,2)):o.createCommentVNode("",!0),s.buttonPrintViewOptions.text?(o.openBlock(),o.createElementBlock("span",ux,o.toDisplayString(s.buttonPrintViewOptions.text),1)):o.createCommentVNode("",!0)],10,dx)):o.createCommentVNode("",!0)])],2)}const fx=V(lx,[["render",mx]]),hx={name:"CmdPageHeader",props:{cmdBreadcrumbs:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}}},px={key:0,class:"cmd-page-header flex-container"},gx={key:0,class:"headline-wrapper flex-container vertical"};function yx(e,t,n,r,i,s){const a=Ka,l=U;return n.cmdBreadcrumbs||n.cmdHeadline||e.$slots.default?(o.openBlock(),o.createElementBlock("header",px,[n.cmdBreadcrumbs||n.cmdHeadline?(o.openBlock(),o.createElementBlock("div",gx,[n.cmdBreadcrumbs?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdBreadcrumbs)),null,16)):o.createCommentVNode("",!0),n.cmdHeadline.headlineText?(o.openBlock(),o.createBlock(l,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.$slots.default?o.renderSlot(e.$slots,"default",{key:1}):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)}const bx=V(hx,[["render",yx]]),kx={name:"CmdProgressBar",inheritAttrs:!1,data(){return{loadingStatus:30}},props:{labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},showLoadingStatus:{type:Boolean,default:!0},id:{type:String,required:!0}}},Cx=["for"],wx={class:"progressbar"},xx={key:0},Bx=["id","value"];function _x(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("label",{class:"cmd-progressbar",for:n.id},[o.createElementVNode("span",{class:o.normalizeClass(["label-text",{hidden:!n.showLabel}])},o.toDisplayString(n.labelText),3),o.createElementVNode("span",wx,[n.showLoadingStatus?(o.openBlock(),o.createElementBlock("span",xx,o.toDisplayString(i.loadingStatus)+" %",1)):o.createCommentVNode("",!0),o.createElementVNode("progress",o.mergeProps(e.$attrs,{id:n.id,value:i.loadingStatus}),null,16,Bx)])],8,Cx)}const Ex=V(kx,[["render",_x]]),Sx={name:"CmdSidebar",data(){return{open:!0}},props:{collapsible:{type:Boolean,default:!0},openSidebar:{type:Boolean,default:!0},styledAsBox:{type:Boolean,default:!0},collapseToLeft:{type:Boolean,default:!0},cmdHeadline:{type:Object,required:!1}},computed:{wrapperClass(){return this.open?"open":"closed"},iconClassOpenCollapse(){return this.collapseToLeft?this.open?"icon-chevron-one-stripe-left":"icon-chevron-one-stripe-right":this.open?"icon-chevron-one-stripe-right":"icon-chevron-one-stripe-left"}},methods:{toggleSidebar(){this.open=!this.open,this.$emit("toggleSidebar",this.open)}},watch:{openSidebar:{handler(){this.open=this.openSidebar},immediate:!0}}},Tx={class:"inner-sidebar-wrapper"},Ox={key:1,class:"open-slot-wrapper"},Nx={key:2,class:"closed-slot-wrapper"},Vx=["title"];function Fx(e,t,n,r,i,s){var l;const a=U;return o.openBlock(),o.createElementBlock("aside",{class:o.normalizeClass(["cmd-sidebar",s.wrapperClass,{box:n.styledAsBox,"collapse-to-right":!n.collapseToLeft}])},[o.createElementVNode("div",Tx,[(l=n.cmdHeadline)!=null&&l.headlineText&&i.open?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0},n.cmdHeadline,{headlineLevel:n.cmdHeadline.headlineLevel||3,class:"sidebar-main-headline"}),null,16,["headlineLevel"])):o.createCommentVNode("",!0),i.open?(o.openBlock(),o.createElementBlock("div",Ox,[o.renderSlot(e.$slots,"open",{openBoxStatus:i.open})])):(o.openBlock(),o.createElementBlock("div",Nx,[o.renderSlot(e.$slots,"closed",{openBoxStatus:i.open})]))]),n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",title:i.open?"Collapse sidebar":"Expand sidebar",onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.toggleSidebar&&s.toggleSidebar(...d),["prevent"]))},[o.createElementVNode("span",{class:o.normalizeClass(s.iconClassOpenCollapse)},null,2)],8,Vx)):o.createCommentVNode("",!0)],2)}const Ax=V(Sx,[["render",Fx]]),Px={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal",validator(e){return e==="horizontal"||e==="vertical"}}}},Lx={class:"cmd-site-footer site-footer"};function Ix(e,t,n,r,i,s){return o.openBlock(),o.createElementBlock("div",Lx,[o.createElementVNode("footer",{class:o.normalizeClass(["flex-container",{vertical:n.orientation==="vertical"}])},[o.renderSlot(e.$slots,"default")],2)])}const Mx=V(Px,[["render",Ix]]),Rx={name:"CmdSiteHeader",emits:["offcanvas"],data(){return{defaultLogoHeight:""}},props:{closeOffcanvas:{type:Object,required:!1},sticky:{type:Boolean,default:!0},navigationInline:{type:Boolean,default:!1},resizeHeaderOnScroll:{type:Boolean,default:!0},scrollContainerToResizeHeader:{type:String,default:".page-wrapper"},useGrid:{type:Boolean,default:!0},cmdCompanyLogo:{type:Object,required:!1},cmdMainNavigation:{type:Object,required:!1}},mounted(){if(this.resizeHeaderOnScroll){const e=document.querySelector(this.scrollContainerToResizeHeader);e.addEventListener("scroll",function(){const t=document.querySelector(".cmd-site-header > header");e.scrollTop>0?t.classList.add("resize-on-scroll"):t.classList.remove("resize-on-scroll")})}},methods:{onImageLoaded(e){this.defaultLogoHeight=e.target.height/10+"rem"},emitOffcanvasStatus(e){this.$emit("offcanvas",e)}},watch:{defaultLogoHeight(){const e=this.$refs["site-header"].querySelector(".cmd-company-logo img");e.style.height=this.defaultLogoHeight}}},Dx={key:0,class:"top-header"};function jx(e,t,n,r,i,s){var d,c,u,m,g,f,h,y,p;const a=Za,l=ol;return o.openBlock(),o.createElementBlock("div",{ref:"site-header",class:o.normalizeClass(["cmd-site-header site-header",{sticky:n.sticky,"navigation-inline":n.navigationInline,"off-canvas-right":((d=n.cmdMainNavigation)==null?void 0:d.offcanvasPosition)==="right"}]),role:"banner"},[e.$slots.topheader?(o.openBlock(),o.createElementBlock("div",Dx,[o.renderSlot(e.$slots,"topheader")])):o.createCommentVNode("",!0),o.createElementVNode("header",{class:o.normalizeClass([n.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((u=(c=n.cmdMainNavigation)==null?void 0:c.navigationEntries)==null?void 0:u.length)&&n.navigationInline||e.$slots.navigation}])},[e.$slots.logo||e.$slots.header||e.$slots.navigation?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.renderSlot(e.$slots,"logo"),o.renderSlot(e.$slots,"header"),o.renderSlot(e.$slots,"navigation")],64)):o.createCommentVNode("",!0),n.cmdCompanyLogo||(g=(m=n.cmdMainNavigation)==null?void 0:m.navigationEntries)!=null&&g.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdCompanyLogo?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0},n.cmdCompanyLogo,{onImageLoaded:s.onImageLoaded}),null,16,["onImageLoaded"])):o.createCommentVNode("",!0),(h=(f=n.cmdMainNavigation)==null?void 0:f.navigationEntries)!=null&&h.length&&n.navigationInline?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:s.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],2),(p=(y=n.cmdMainNavigation)==null?void 0:y.navigationEntries)!=null&&p.length&&!n.navigationInline?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:s.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):o.createCommentVNode("",!0)],2)}const qx=V(Rx,[["render",jx]]),zx={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[oe,{data(){return{defaultMessageProperties:{"site_search.show_filter_options":"Show filter options","site_search.hide_filter_options":"Hide filter options"}}}}],data(){return{showFilters:!1}},props:{modelValueInput1:{type:String,required:!1},modelValueInput2:{type:String,required:!1},modelValueRadius:{type:[String,Number],required:!1},modelValueSearchFilters:{type:Array,required:!1},useFilters:{type:Boolean,default:!0},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},results:{type:[Function,Number],required:!1},cmdHeadline:{type:Object,required:!1},cmdFormElementInput1:{type:Object,default(){return{type:"search",showLabel:!1,required:!0,labelText:"What do you like to search for?",placeholder:"What do you like to search for?",showSearchButton:!1}}},cmdFormElementInput2:{type:Object,default(){return{show:!0,type:"text",showLabel:!1,required:!0,labelText:"Where do you like to search?",placeholder:"Enter city, zip, country"}}},cmdFormElementRadius:{type:Object,required:!1},cmdFormElementSearchButton:{type:Object,default(){return{icon:{show:!0,position:"before",iconClass:"icon-search"},text:"Search"}}},cmdFakeSelect:{type:Object,required:!1},cmdIcon:{type:Object,default(){return{showFilters:{iconClass:"icon-chevron-one-stripe-up",type:"auto"},hideFilters:{iconClass:"icon-chevron-one-stripe-down",type:"auto"}}}}},computed:{cmdFormElementRadiusOptions(){return{show:!0,showLabel:!1,required:!1,labelText:"Radius",selectOptions:[{text:"None",value:0},{text:"5 Km",value:5},{text:"10 Km",value:10},{text:"15 Km",value:15},{text:"50 Km",value:50},{text:"100 Km",value:100}],...this.cmdFormElementRadius}},searchValue1:{get(){return this.modelValueInput1},set(e){this.$emit("update:modelValueInput1",e)}},searchValue2:{get(){return this.modelValueInput2},set(e){this.$emit("update:modelValueInput2",e)}},radius:{get(){return this.modelValueRadius},set(e){this.$emit("update:modelValueRadius",e)}},searchFilters:{get(){return this.modelValueSearchFilters},set(e){this.$emit("update:modelValueSearchFilters",e)}},buttonSearchDisabled(){const e=!this.cmdFormElementInput1.required||this.searchValue1.trim(),t=!this.cmdFormElementInput2.show||!this.cmdFormElementInput2.required||this.searchValue2.trim(),n=!this.cmdFormElementRadiusOptions.show||!this.cmdFormElementRadiusOptions.required||this.radius;return!(e&&t&&n)}},methods:{onSearchButtonClick(){this.$emit("search",{searchValue1:this.searchValue1,searchValue2:this.searchValue2,searchFilters:this.searchFilters,radius:this.radius})},getOptionName(e){for(let t=0;t<this.cmdFakeSelect.selectData.length;t++)if(e===this.cmdFakeSelect.selectData[t].value)return this.cmdFakeSelect.selectData[t].text;return null}},watch:{cmdFormElementRadius:{handler(){var e,t;(e=this.cmdFormElementRadiusOptions)!=null&&e.selectOptions&&((t=this.cmdFormElementRadiusOptions)!=null&&t.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadiusOptions.selectOptions[0].value)},immediate:!0,deep:!0}}},Hx={class:"cmd-box-site-search flex-container"},Ux={class:"flex-container align-bottom"},Wx={class:"input-wrapper align-bottom"},Gx={key:0},Jx={key:1},Kx={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Zx(e,t,n,r,i,s){var m,g,f,h,y,p,C,T;const a=U,l=X,d=z,c=Xa,u=Qa;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("fieldset",Hx,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),n.cmdHeadline?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",Ux,[o.createVNode(l,{element:"input",type:n.cmdFormElementInput1.type,"show-label":n.cmdFormElementInput1.showLabel,labelText:n.cmdFormElementInput1.labelText,placeholder:n.cmdFormElementInput1.placeholder,required:n.cmdFormElementInput1.required,showSearchButton:n.cmdFormElementInput1.showSearchButton,modelValue:s.searchValue1,"onUpdate:modelValue":t[0]||(t[0]=k=>s.searchValue1=k)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),o.createElementVNode("div",Wx,[n.cmdFormElementInput2.show?(o.openBlock(),o.createBlock(l,{key:0,element:"input",type:n.cmdFormElementInput2.type,"show-label":n.cmdFormElementInput2.showLabel,labelText:n.cmdFormElementInput2.labelText,placeholder:n.cmdFormElementInput2.placeholder,required:n.cmdFormElementInput2.required,modelValue:s.searchValue2,"onUpdate:modelValue":t[1]||(t[1]=k=>s.searchValue2=k)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):o.createCommentVNode("",!0),s.cmdFormElementRadiusOptions.show?(o.openBlock(),o.createBlock(l,o.mergeProps({key:1,element:"select",class:"no-flex",modelValue:s.radius,"onUpdate:modelValue":t[2]||(t[2]=k=>s.radius=k)},s.cmdFormElementRadiusOptions),null,16,["modelValue"])):o.createCommentVNode("",!0)]),o.createVNode(l,{element:"button",class:"stretch-on-small-devices",nativeButton:n.cmdFormElementSearchButton,onClick:s.onSearchButtonClick,disabled:s.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),n.useFilters?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("a",{class:"filter-options",href:"#",onClick:t[3]||(t[3]=o.withModifiers(k=>i.showFilters=!i.showFilters,["prevent"]))},[o.createVNode(d,{iconClass:i.showFilters?(g=(m=n.cmdIcon)==null?void 0:m.showFilters)==null?void 0:g.iconClass:(h=(f=n.cmdIcon)==null?void 0:f.hideFilters)==null?void 0:h.iconClass,type:i.showFilters?(p=(y=n.cmdIcon)==null?void 0:y.showFilters)==null?void 0:p.iconType:(T=(C=n.cmdIcon)==null?void 0:C.hideFilters)==null?void 0:T.iconType},null,8,["iconClass","type"]),i.showFilters?(o.openBlock(),o.createElementBlock("span",Gx,o.toDisplayString(e.getMessage("site_search.hide_filter_options")),1)):(o.openBlock(),o.createElementBlock("span",Jx,o.toDisplayString(e.getMessage("site_search.show_filter_options")),1))]),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var k,A,N,b,S;return[i.showFilters&&((k=n.cmdFakeSelect)!=null&&k.selectData.length)?(o.openBlock(),o.createElementBlock("div",Kx,[o.createVNode(c,{role:"option",selectData:(A=n.cmdFakeSelect)==null?void 0:A.selectData,modelValue:s.searchFilters,"onUpdate:modelValue":t[4]||(t[4]=F=>s.searchFilters=F),defaultOptionName:(N=n.cmdFakeSelect)==null?void 0:N.defaultOptionName,type:(b=n.cmdFakeSelect)==null?void 0:b.type,labelText:(S=n.cmdFakeSelect)==null?void 0:S.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):o.createCommentVNode("",!0)]}),_:1})],64)):o.createCommentVNode("",!0)]),n.useFilters?(o.openBlock(),o.createBlock(u,{key:0,modelValue:s.searchFilters,"onUpdate:modelValue":t[5]||(t[5]=k=>s.searchFilters=k),selectedOptionsName:s.getOptionName},null,8,["modelValue","selectedOptionsName"])):o.createCommentVNode("",!0)],64)}const Xx=V(zx,[["render",Zx]]),Qx={name:"CmdSlideshow",mixins:[Y],data(){return{index:0,pause:!1,hnd:null,fullWidth:!1,currentSlotItem:0,slideshowItemEditing:!1}},props:{useSlot:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},autoplayInterval:{type:Number,default:5e3},showQuickLinkIcons:{type:Boolean,default:!0},showCounter:{type:Boolean,default:!1},slideshowItems:{type:Array,required:!0},showSlideButtons:{type:Boolean,default:!1},cmdSlideButtons:{type:Object,default(){return{next:{next:{iconClass:"icon-chevron-one-stripe-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-chevron-one-stripe-left",tooltip:"Previous"}}}}}},beforeUnmount(){this.stopAutoplay()},methods:{stopAutoplay(){this.hnd!==null&&(window.clearInterval(this.hnd),this.hnd=null)},itemProvider(){return{image:{src:{large:"/media/images/slideshow-images/large/slide1.jpg",medium:"/media/images/slideshow-images/medium/slide1.jpg",small:"/media/images/slideshow-images/small/slide1.jpg"},alt:"Alternative Text",tooltip:"Tooltip DE"},figcaption:{text:"Figcaption DE",position:"bottom",textAlign:"center",show:!0}}},onAddItem(){this.editModeContext.content.addContent(Fe(this,"props","slideshowItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{src:{large:"/media/images/slideshow-images/large/slide1.jpg",medium:"/media/images/slideshow-images/medium/slide1.jpg",small:"/media/images/slideshow-images/small/slide1.jpg"},tooltip:"Tooltip DE"}})}},showPrevItem(){this.slideshowItemEditing||(this.useSlot&&(this.currentSlotItem>0?this.currentSlotItem--:this.currentSlotItem=Object.keys(this.$slots).length-1),this.index>0?this.index--:this.index=this.slideshowItems.length-1)},showItem(e){!this.slideshowItemEditing&&e>=0&&e<this.slideshowItems.length&&(this.index=e)},showNextItem(){this.slideshowItemEditing||(this.useSlot&&(this.currentSlotItem<Object.keys(this.$slots).length-1?this.currentSlotItem++:this.currentSlotItem=0),this.index<this.slideshowItems.length-1?this.index++:this.index=0)},setupSlider(){this.autoplay&&this.hnd===null&&(this.hnd=window.setInterval(()=>this.pause||this.showNextItem(),this.autoplayInterval))}},computed:{tooltipForSlidebuttons(){return this.slideshowItemEditing?{title:"Not allowed while editing!"}:{}},currentItem(){return this.slideshowItems.length<=this.index?null:this.slideshowItems[this.index]}},watch:{slideshowItems:{handler(){this.index=0,this.setupSlider()},immediate:!0,deep:!0},autoplay(){this.autoplay?this.setupSlider():this.stopAutoplay()},autoplayInterval(){this.autoplay&&(this.stopAutoplay(),this.setupSlider())},currentItem(){this.$nextTick(()=>{var e;(e=this.$refs.slideshowItemComponentWrapper)==null||e.addEditStateListener(t=>this.slideshowItemEditing=t)})}}},Yx=["href","title"],$x=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new slideshow-image",-1)],vx={key:2},e1=["onClick","aria-label","title"],t1={key:3,class:"item-counter"};function n1(e,t,n,r,i,s){const a=bt,l=Ne;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-slideshow",{"full-width":i.fullWidth}])},[o.createElementVNode("div",{class:"inner-slideshow-wrapper",onMouseenter:t[1]||(t[1]=d=>i.pause=!0),onMouseleave:t[2]||(t[2]=d=>i.pause=!1)},[n.showSlideButtons?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0,onClick:o.withModifiers(s.showPrevItem,["prevent"]),slideButtonType:"prev",class:{disabled:i.slideshowItemEditing}},s.tooltipForSlidebuttons),null,16,["onClick","class"])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:"fade"},{default:o.withCtx(()=>{var d,c,u,m,g,f,h,y,p,C,T,k;return[s.currentItem?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.useSlot?(o.openBlock(),o.createElementBlock("div",{class:"slot-wrapper",key:i.index,style:o.normalizeStyle("background-image: url("+s.currentItem.image.srcLarge+")")},[o.renderSlot(e.$slots,"item"+i.currentSlotItem)],4)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[e.editModeContext?n.slideshowItems.length?(o.openBlock(),o.createBlock(l,{key:1,image:(T=s.currentItem)==null?void 0:T.image,figcaption:(k=s.currentItem)==null?void 0:k.figcaption,componentPath:["props","slideshowItems",i.index],editModeConfig:s.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[(c=(d=s.currentItem)==null?void 0:d.link)!=null&&c.href?(o.openBlock(),o.createElementBlock("a",{key:0,href:(m=(u=s.currentItem)==null?void 0:u.link)==null?void 0:m.href,title:(f=(g=s.currentItem)==null?void 0:g.link)==null?void 0:f.tooltip},[o.createVNode(l,{image:(h=s.currentItem)==null?void 0:h.image,figcaption:(y=s.currentItem)==null?void 0:y.figcaption},null,8,["image","figcaption"])],8,Yx)):(o.openBlock(),o.createBlock(l,{key:1,image:(p=s.currentItem)==null?void 0:p.image,figcaption:(C=s.currentItem)==null?void 0:C.figcaption},null,8,["image","figcaption"]))],64))],64))],64)):e.editModeContext?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...A)=>s.onAddItem&&s.onAddItem(...A))},$x)):o.createCommentVNode("",!0)]}),_:3}),n.showSlideButtons?(o.openBlock(),o.createBlock(a,o.mergeProps({key:1,onClick:o.withModifiers(s.showNextItem,["prevent"]),class:{disabled:i.slideshowItemEditing}},s.tooltipForSlidebuttons),null,16,["onClick","class"])):o.createCommentVNode("",!0),n.showQuickLinkIcons?(o.openBlock(),o.createElementBlock("ol",vx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.slideshowItems,(d,c)=>(o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass({active:c===i.index})},[o.createElementVNode("a",{href:"#",class:o.normalizeClass({disabled:i.slideshowItemEditing}),onClick:o.withModifiers(u=>s.showItem(c),["prevent"]),"aria-label":i.index,title:i.slideshowItemEditing?"Not allowed while editing!":"Switch to image #"+(c+1)},null,10,e1)],2))),128))])):o.createCommentVNode("",!0),n.showCounter?(o.openBlock(),o.createElementBlock("span",t1,o.toDisplayString(i.index+1)+"/"+o.toDisplayString(n.slideshowItems.length),1)):o.createCommentVNode("",!0)],32)],2)}const o1=V(Qx,[["render",n1]]),r1=Object.freeze(Object.defineProperty({__proto__:null,de:Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='850.394px'%20height='566.929px'%20viewBox='0%200%20850.394%20566.929'%20enable-background='new%200%200%20850.394%20566.929'%20xml:space='preserve'%3e%3cg%20id='it'%3e%3cg%3e%3crect%20fill='%23078E46'%20width='283.465'%20height='566.929'/%3e%3crect%20x='283.465'%20fill='%23FBFDFF'%20width='283.465'%20height='566.929'/%3e%3crect%20x='566.93'%20fill='%23D3242C'%20width='283.465'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='de'%3e%3cg%3e%3cdesc%3eFlag%20of%20Germany%3c/desc%3e%3crect%20id='black_stripe'%20x='0.901'%20fill='%23010202'%20width='849.492'%20height='566.929'/%3e%3crect%20id='red_stripe'%20x='0.901'%20y='188.977'%20fill='%23DD0B15'%20width='849.492'%20height='377.953'/%3e%3crect%20id='gold_stripe'%20x='0.901'%20y='377.953'%20fill='%23FFCE05'%20width='849.492'%20height='188.976'/%3e%3c/g%3e%3c/g%3e%3cg%20id='fr'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20x='0.901'%20fill='%23CF1327'%20width='849.492'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%23FFFFFF'%20width='566.328'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%231D2C4E'%20width='283.164'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='ru'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20fill='%23FFFFFF'%20width='850.395'%20height='283.465'/%3e%3crect%20y='283.465'%20fill='%23D52D1E'%20width='850.395'%20height='283.464'/%3e%3crect%20y='188.977'%20fill='%231E4295'%20width='850.395'%20height='188.977'/%3e%3c/g%3e%3c/g%3e%3cg%20id='cn'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20x='0.901'%20fill='%23DF2B14'%20width='849.493'%20height='566.929'/%3e%3cg%20transform='translate(5,5)%20scale(3)'%3e%3cpath%20id='s'%20fill='%23FFDE08'%20d='M142.483,56.693l49.932,153.838L61.692,115.454h161.583L92.551,210.531L142.483,56.693z'/%3e%3c/g%3e%3cg%20transform='translate(10,2)%20rotate(23.036243)'%3e%3cpath%20id='s_1_'%20fill='%23FFDE08'%20d='M295.146,30.607l-4.728,53.71l-27.711-46.234l49.566,21.099l-52.488,12.096L295.146,30.607z'/%3e%3c/g%3e%3cg%20transform='translate(12,4)%20rotate(45.869898)'%3e%3cpath%20id='s_2_'%20fill='%23FFDE08'%20d='M361.022,93.648l-25.178,47.665l-7.617-53.376l37.503,38.701l-53.064-9.243L361.022,93.648z'/%3e%3c/g%3e%3cg%20transform='translate(12,7)%20rotate(69.945396)'%3e%3cpath%20id='s_3_'%20fill='%23FFDE08'%20d='M367.298,188.705l-42.412,33.236l14.797-51.844l18.47,50.649l-44.682-30.108L367.298,188.705z'%20/%3e%3c/g%3e%3cg%20transform='translate(10,9)%20rotate(20.659808)'%3e%3cpath%20id='s_4_'%20fill='%23FFDE08'%20d='M294.056,228.595l-2.5,53.86l-29.603-45.045l50.397,19.024l-51.942,14.264L294.056,228.595z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='uk'%20display='none'%3e%3cg%20display='inline'%3e%3crect%20y='0.002'%20fill='%23FFFFFF'%20width='850.16'%20height='566.865'/%3e%3cpolygon%20fill='%23CF172C'%20points='382.569,0%20382.569,226.625%200,226.625%200,339.948%20382.569,339.948%20382.569,566.863%20467.592,566.863%20467.592,339.948%20850.16,339.948%20850.16,226.625%20467.592,226.625%20467.592,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,0%20495.946,183.497%20771.202,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,566.863%20771.202,566.863%20495.946,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,566.863%20354.214,566.863%20354.214,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,0%20354.214,183.497%20354.214,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0.003,188.95%20204.392,188.95%200.003,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,188.95%20850.16,188.95%20850.16,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,377.913%20850.16,514.171%20850.16,377.913%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0,377.913%200,514.171%20204.392,377.913%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='802.938,0%20520.004,188.95%20567.223,188.95%20850.605,0%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='330.156,377.909%20282.937,377.909%200,566.852%2047.219,566.852%20330.602,377.909%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='0,0%200,31.692%20236.091,189.098%20283.311,189.098%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='566.696,377.832%20850.008,566.929%20850.01,535.239%20613.92,377.832%20'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e"},Symbol.toStringTag,{value:"Module"})),en:Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='850.394px'%20height='566.929px'%20viewBox='0%200%20850.394%20566.929'%20enable-background='new%200%200%20850.394%20566.929'%20xml:space='preserve'%3e%3cg%20id='it'%3e%3cg%3e%3crect%20fill='%23078E46'%20width='283.465'%20height='566.929'/%3e%3crect%20x='283.465'%20fill='%23FBFDFF'%20width='283.465'%20height='566.929'/%3e%3crect%20x='566.93'%20fill='%23D3242C'%20width='283.465'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='de'%3e%3cg%3e%3cdesc%3eFlag%20of%20Germany%3c/desc%3e%3crect%20id='black_stripe'%20x='0.901'%20fill='%23010202'%20width='849.492'%20height='566.929'/%3e%3crect%20id='red_stripe'%20x='0.901'%20y='188.977'%20fill='%23DD0B15'%20width='849.492'%20height='377.953'/%3e%3crect%20id='gold_stripe'%20x='0.901'%20y='377.953'%20fill='%23FFCE05'%20width='849.492'%20height='188.976'/%3e%3c/g%3e%3c/g%3e%3cg%20id='fr'%3e%3cg%3e%3crect%20x='0.901'%20fill='%23CF1327'%20width='849.492'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%23FFFFFF'%20width='566.328'%20height='566.929'/%3e%3crect%20x='0.901'%20fill='%231D2C4E'%20width='283.164'%20height='566.929'/%3e%3c/g%3e%3c/g%3e%3cg%20id='ru'%3e%3cg%3e%3crect%20fill='%23FFFFFF'%20width='850.395'%20height='283.465'/%3e%3crect%20y='283.465'%20fill='%23D52D1E'%20width='850.395'%20height='283.464'/%3e%3crect%20y='188.977'%20fill='%231E4295'%20width='850.395'%20height='188.977'/%3e%3c/g%3e%3c/g%3e%3cg%20id='cn'%3e%3cg%3e%3crect%20x='0.901'%20fill='%23DF2B14'%20width='849.493'%20height='566.929'/%3e%3cg%20transform='translate(5,5)%20scale(3)'%3e%3cpath%20id='s'%20fill='%23FFDE08'%20d='M142.483,56.693l49.932,153.838L61.692,115.454h161.583L92.551,210.531L142.483,56.693z'/%3e%3c/g%3e%3cg%20transform='translate(10,2)%20rotate(23.036243)'%3e%3cpath%20id='s_1_'%20fill='%23FFDE08'%20d='M295.146,30.607l-4.728,53.71l-27.711-46.234l49.566,21.099l-52.488,12.096L295.146,30.607z'/%3e%3c/g%3e%3cg%20transform='translate(12,4)%20rotate(45.869898)'%3e%3cpath%20id='s_2_'%20fill='%23FFDE08'%20d='M361.022,93.648l-25.178,47.665l-7.617-53.376l37.503,38.701l-53.064-9.243L361.022,93.648z'/%3e%3c/g%3e%3cg%20transform='translate(12,7)%20rotate(69.945396)'%3e%3cpath%20id='s_3_'%20fill='%23FFDE08'%20d='M367.298,188.705l-42.412,33.236l14.797-51.844l18.47,50.649l-44.682-30.108L367.298,188.705z'%20/%3e%3c/g%3e%3cg%20transform='translate(10,9)%20rotate(20.659808)'%3e%3cpath%20id='s_4_'%20fill='%23FFDE08'%20d='M294.056,228.595l-2.5,53.86l-29.603-45.045l50.397,19.024l-51.942,14.264L294.056,228.595z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='uk'%3e%3cg%3e%3crect%20y='0.002'%20fill='%23FFFFFF'%20width='850.16'%20height='566.865'/%3e%3cpolygon%20fill='%23CF172C'%20points='382.569,0%20382.569,226.625%200,226.625%200,339.948%20382.569,339.948%20382.569,566.863%20467.592,566.863%20467.592,339.948%20850.16,339.948%20850.16,226.625%20467.592,226.625%20467.592,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,0%20495.946,183.497%20771.202,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='495.946,566.863%20771.202,566.863%20495.946,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,566.863%20354.214,566.863%20354.214,383.368%20'/%3e%3cpolygon%20fill='%2325346C'%20points='78.96,0%20354.214,183.497%20354.214,0%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0.003,188.95%20204.392,188.95%200.003,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,188.95%20850.16,188.95%20850.16,52.699%20'/%3e%3cpolygon%20fill='%2325346C'%20points='645.768,377.913%20850.16,514.171%20850.16,377.913%20'/%3e%3cpolygon%20fill='%2325346C'%20points='0,377.913%200,514.171%20204.392,377.913%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='802.938,0%20520.004,188.95%20567.223,188.95%20850.605,0%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='330.156,377.909%20282.937,377.909%200,566.852%2047.219,566.852%20330.602,377.909%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='0,0%200,31.692%20236.091,189.098%20283.311,189.098%20'/%3e%3cpolygon%20fill='%23CF172C'%20points='566.696,377.832%20850.008,566.929%20850.01,535.239%20613.92,377.832%20'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e"},Symbol.toStringTag,{value:"Module"}))},Symbol.toStringTag,{value:"Module"})),i1={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(e){return rt(e)},activeLanguage(e){return e.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async e=>{const t=e.iso2;this.imageSources.push(r1[t].default)})},immediate:!0,deep:!0}}},s1={class:"cmd-switch-language"},a1=["href","title","onClick"],l1=["src","alt"],c1=["src","alt"];function d1(e,t,n,r,i,s){const a=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",s1,[o.createElementVNode("ul",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.languages,(l,d)=>(o.openBlock(),o.createElementBlock("li",{key:d},[l.link.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:l.link.path,class:o.normalizeClass(["flag",l.iso2,{active:s.activeLanguage(l)}]),title:l.tooltip,onClick:c=>e.$emit("click",{originalEvent:c,language:l})},[o.createElementVNode("img",{src:i.imageSources[d],alt:l.name},null,8,l1)],10,a1)):(o.openBlock(),o.createBlock(a,{key:1,class:o.normalizeClass(["flag",l.iso2]),to:s.getRoute(l),title:l.tooltip,onClick:c=>e.$emit("click",{originalEvent:c,language:l})},{default:o.withCtx(()=>[o.createElementVNode("img",{src:i.imageSources[d],alt:l.name},null,8,c1)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const u1=V(i1,[["render",d1]]),m1={name:"CmdTable",data(){return{showTableData:!0,fullWidth:!1,hasOverflow:!1}},props:{useTransition:{type:Boolean,default:!0},tableData:{type:Object,required:!0},caption:{type:Object,required:!1},collapsible:{type:Boolean,default:!1},fullWidthOnDefault:{type:Boolean,default:!1},userCanToggleWidth:{type:Boolean,default:!0},showSlideButtons:{type:Boolean,default:!0},iconExpand:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-down",tooltip:"Expand table"}}},iconCollapse:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-up",tooltip:"Collapse table"}}},iconToggleWidth:{type:Object,default:function(){return{iconClass:"icon-toggle-table-width",tooltip:"Toggle table width"}}},iconStretch:{type:Object,default:function(){return{iconClass:"icon-chevron-one-stripe-right",tooltip:"Stretch table"}}}},mounted(){this.hasOverflow=this.$refs.table.clientWidth>this.$refs.innerWrapper.clientWidth},computed:{hasCaption(){var e,t;return this.hideCaption?!1:((e=this.tableData.caption)==null?void 0:e.text)||((t=this.caption)==null?void 0:t.text)},hideCaption(){var e,t,n;return((e=this.caption)==null?void 0:e.show)===!1||((t=this.caption)==null?void 0:t.show)!==!0&&!((n=this.tableData.caption)!=null&&n.show)}},methods:{scrollLeft(){this.$refs.innerWrapper.scrollLeft=0,this.$refs.table.previousElementSibling.style.cssText="left: 0;",this.updatePosition()},scrollRight(){this.$refs.table.querySelector("th:last-child").scrollIntoView(),this.$refs.table.nextElementSibling.style.cssText="right: auto;",this.updatePosition()},updatePosition(){const e=this.$refs.table.previousElementSibling,t=this.$refs.table.nextElementSibling,n=this.$refs.innerWrapper,r=n.getBoundingClientRect(),i=r.width+n.scrollLeft-t.getBoundingClientRect().width,s=n.scrollLeft;console.log("parentRect",r),e.style.left=`${s}px`,t.style.left=`${i}px`,s===0?e.style.display="none":e.style.display="flex",s===n.scrollLeftMax?t.style.display="none":t.style.display="flex"}},watch:{fullWidthOnDefault:{handler(){this.fullWidth=this.fullWidthOnDefault},immediate:!0}}},f1={key:0,class:"button-wrapper"},h1=["title"],p1=["title"],g1={"aria-expanded":"true"},y1={key:0,"aria-expanded":"true"};function b1(e,t,n,r,i,s){var d,c,u,m;const a=z,l=bt;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-table-wrapper",{collapsed:!i.showTableData,"full-width":i.fullWidth,"has-caption":s.hasCaption,"has-overflow":i.hasOverflow}])},[n.collapsible||n.userCanToggleWidth?(o.openBlock(),o.createElementBlock("div",f1,[n.userCanToggleWidth?(o.openBlock(),o.createElementBlock("a",{key:0,class:"button",href:"#",onClick:t[0]||(t[0]=o.withModifiers(g=>i.fullWidth=!i.fullWidth,["prevent"])),title:n.iconToggleWidth.tooltip},[o.createVNode(a,{iconClass:n.iconToggleWidth.iconClass,type:n.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,h1)):o.createCommentVNode("",!0),n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:1,class:"button",href:"#",onClick:t[1]||(t[1]=o.withModifiers(g=>i.showTableData=!i.showTableData,["prevent"])),title:i.showTableData?n.iconCollapse.tooltip:n.iconExpand.tooltip},[o.createVNode(a,{iconClass:i.showTableData?n.iconCollapse.iconClass:n.iconExpand.iconClass,type:i.showTableData?n.iconCollapse.iconType:n.iconExpand.iconType},null,8,["iconClass","type"])],8,p1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"inner-wrapper",ref:"innerWrapper",onScroll:t[2]||(t[2]=(...g)=>s.updatePosition&&s.updatePosition(...g))},[n.showSlideButtons?(o.openBlock(),o.createBlock(l,{key:0,onClick:o.withModifiers(s.scrollLeft,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):o.createCommentVNode("",!0),o.createElementVNode("table",{ref:"table",class:o.normalizeClass({"full-width":i.fullWidth})},[(d=n.tableData.caption)!=null&&d.text||(c=n.caption)!=null&&c.text?(o.openBlock(),o.createElementBlock("caption",{key:0,class:o.normalizeClass({hidden:s.hideCaption})},o.toDisplayString(((u=n.caption)==null?void 0:u.text)||((m=n.tableData.caption)==null?void 0:m.text)),3)):o.createCommentVNode("",!0),o.createElementVNode("thead",null,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.thead,(g,f)=>(o.openBlock(),o.createElementBlock("th",{key:f},o.toDisplayString(g),1))),128))])]),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("tbody",g1,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tbody,(g,f)=>(o.openBlock(),o.createElementBlock("tr",{class:o.normalizeClass({active:n.tableData.rowIndexHighlighted===f}),key:f},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(g,(h,y)=>(o.openBlock(),o.createElementBlock("td",{class:o.normalizeClass({active:n.tableData.columnIndexHighlighted===y}),key:y},o.toDisplayString(h),3))),128))],2))),128))],512),[[o.vShow,i.showTableData]])]),_:1},8,["name"]),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[n.tableData.tfoot&&n.tableData.tfoot.length&&i.showTableData?(o.openBlock(),o.createElementBlock("tfoot",y1,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tfoot,(g,f)=>(o.openBlock(),o.createElementBlock("td",{class:o.normalizeClass({active:n.tableData.columnIndexHighlighted===f}),key:f},o.toDisplayString(g),3))),128))])])):o.createCommentVNode("",!0)]),_:1},8,["name"])],2),n.showSlideButtons?(o.openBlock(),o.createBlock(l,{key:1,onClick:o.withModifiers(s.scrollRight,["prevent"])},null,8,["onClick"])):o.createCommentVNode("",!0)],544)],2)}const k1=V(m1,[["render",b1]]);da({prefix:"cmd",icons:{"3d-cursor":{body:'<path d="M13 4H4v9.01h2V6h7V4z" fill="currentColor"/><path d="M29.49 13.12l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 10 14v10a1 1 0 0 0 .52.87l9 5A1 1 0 0 0 20 30a1.05 1.05 0 0 0 .49-.13l9-5A1 1 0 0 0 30 24V14a1 1 0 0 0-.51-.88zM19 27.3l-7-3.89v-7.72l7 3.89zm1-9.45L13.06 14L20 10.14L26.94 14zm8 5.56l-7 3.89v-7.72l7-3.89z" fill="currentColor"/>',hidden:!0},building:{body:'<path fill="currentColor" d="M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2ZM9 28v-7h4v7Zm19 0H15v-8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v8H4V16h12V4h12Z"/><path fill="currentColor" d="M18 8h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2z"/>'},linkedin:{body:`<path fill="currentColor" d="M12,12h5.535v2.837h0.078C18.384,13.456,20.27,12,23.078,12C28.92,12,30,15.637,30,20.367V30h-5.77v-8.54
|
12
12
|
c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
|
13
13
|
<path fill="currentColor" d="M2,12h6v18H2V12z"/>
|
14
14
|
<path fill="currentColor" d="M8,7c0,1.657-1.343,3-3,3S2,8.657,2,7s1.343-3,3-3S8,5.343,8,7z"/>`}},width:32,height:32});const C1={name:"CmdTabs",data(){return{showTab:this.activeTab}},emits:["active-tab"],props:{useDefaultPadding:{type:Boolean,default:!0},stretchTabs:{type:Boolean,default:!1},tabs:{type:Array,required:!0},useSlot:{type:Boolean,default:!1},activeTab:{type:Number,default:0},cmdHeadline:{type:Object,required:!1}},methods:{setActiveTab(e){this.showTab=e,this.$emit("active-tab",e)}},watch:{activeTab(){this.showTab=this.activeTab}}},w1={class:"cmd-tabs"},x1=["onClick","title"],B1={key:1},_1={key:1,"aria-live":"assertive"},E1=["innerHTML"];function S1(e,t,n,r,i,s){const a=z,l=U;return o.openBlock(),o.createElementBlock("div",w1,[o.createElementVNode("ul",{class:o.normalizeClass({"stretch-tabs":n.stretchTabs}),role:"tablist"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tabs,(d,c)=>(o.openBlock(),o.createElementBlock("li",{class:o.normalizeClass({active:i.showTab===c}),key:c,role:"tab"},[o.createElementVNode("a",{href:"#",onClick:o.withModifiers(u=>s.setActiveTab(c),["prevent"]),title:d.name?void 0:d.tooltip},[d.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.name?(o.openBlock(),o.createElementBlock("span",B1,o.toDisplayString(d.name),1)):o.createCommentVNode("",!0)],8,x1)],2))),128))],2),n.useSlot?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.tabs.length,d=>o.withDirectives((o.openBlock(),o.createElementBlock("div",{key:d,"aria-live":"assertive",class:o.normalizeClass({"no-padding":!n.useDefaultPadding})},[o.renderSlot(e.$slots,"tab-content-"+(d-1))],2)),[[o.vShow,i.showTab===d-1]])),128)):(o.openBlock(),o.createElementBlock("div",_1,[n.cmdHeadline?(o.openBlock(),o.createBlock(l,o.mergeProps({key:0},n.cmdHeadline,{headlineText:n.tabs[i.showTab].headlineText,headlineLevel:n.tabs[i.showTab].headlineLevel}),null,16,["headlineText","headlineLevel"])):o.createCommentVNode("",!0),o.createElementVNode("div",{innerHTML:n.tabs[i.showTab].htmlContent,class:o.normalizeClass({"no-padding":!n.useDefaultPadding})},null,10,E1)]))])}const T1=V(C1,[["render",S1]]),O1={name:"CmdTextImageBlock",mixins:[Y],data(){return{editableHtmlContent:null}},props:{orientation:{type:String,default:"vertical",validator(e){return e==="vertical"||e==="horizontal"}},htmlContent:{type:String,required:!0},paragraphTextAlign:{type:String,default:"left",validator(e){return e==="left"||e==="center"||e==="right"}},headlinePosition:{type:String,default:"aboveImage",validator(e){return e==="aboveImage"||e==="belowImage"}},cmdHeadline:{type:Object,required:!1},cmdImage:{type:Object,required:!1},editModeContextData:{type:Object}},computed:{paragraphComponentPath(){return[{componentPath:["props","htmlContent"],$isComponent:!1}]},textAlign(){return this.paragraphTextAlign?"text-align-"+this.paragraphTextAlign:""},setInnerClass(){return"inner-text-wrapper "+this.textAlign+" "+(this.innerClass||"")}},methods:{onAddItem(){this.$refs.editComponentWrapper.editComponent()},addHandlerProvider(){return""},updateHandlerProvider(){const e=this.editableHtmlContent;return this.editableHtmlContent=null,Q(this,{update(t){t.htmlContent=e}})}},watch:{htmlContent:{handler(){this.editableHtmlContent=this.htmlContent},immediate:!0}}},N1=["innerHTML"],V1=["innerHTML"],F1=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new paragraph",-1)];function A1(e,t,n,r,i,s){var c,u,m,g;const a=U,l=Ne,d=Ae;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-text-image-block flex-container",n.orientation])},[((c=n.cmdHeadline)!=null&&c.headlineText||e.editModeContext)&&n.headlinePosition==="aboveImage"&&n.orientation==="vertical"?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.cmdImage?(o.openBlock(),o.createBlock(l,{key:1,image:(u=n.cmdImage)==null?void 0:u.image,figcaption:(m=n.cmdImage)==null?void 0:m.figcaption,editModeConfig:{allowAddItem:!1}},null,8,["image","figcaption"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["flex-container vertical",s.setInnerClass])},[((g=n.cmdHeadline)!=null&&g.headlineText||e.editModeContext)&&(n.headlinePosition==="belowImage"||n.orientation==="horizontal")?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.htmlContent?(o.openBlock(),o.createElementBlock("div",{key:1,innerHTML:n.htmlContent},null,8,N1)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],2),e.editModeContext?(o.openBlock(),o.createBlock(d,{key:2,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentProps:{htmlContent:n.htmlContent,textAlign:s.textAlign},componentPath:s.paragraphComponentPath,allowDeleteComponent:!!n.htmlContent},{default:o.withCtx(f=>[f.editing?o.withDirectives((o.openBlock(),o.createElementBlock("textarea",{key:0,class:o.normalizeClass(["edit-mode",s.textAlign]),"onUpdate:modelValue":t[0]||(t[0]=h=>i.editableHtmlContent=h),placeholder:"Paragraph"},null,2)),[[o.vModelText,i.editableHtmlContent]]):n.htmlContent?(o.openBlock(),o.createElementBlock("div",{key:1,innerHTML:n.htmlContent,class:o.normalizeClass(s.textAlign)},null,10,V1)):(o.openBlock(),o.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:t[1]||(t[1]=(...h)=>s.onAddItem&&s.onAddItem(...h))},F1))]),_:1},8,["componentProps","componentPath","allowDeleteComponent"])):o.createCommentVNode("",!0)],2)}const P1=V(O1,[["render",A1]]),L1={name:"ToggleDarkMode",mixins:[Y],data(){return{darkMode:!1,editableLabelTextLightMode:null,editableLabelTextDarkMode:null}},props:{styledAsButton:{type:Boolean,default:!1},iconDarkMode:{type:Object,default(){return{iconClass:"icon-moon",iconType:"auto"}}},iconLightMode:{type:Object,default(){return{iconClass:"icon-sun",iconType:"auto"}}},showLabel:{type:Boolean,default:!1},useStyledLayout:{type:Boolean,default:!1},labelTextDarkMode:{type:String,default:"Dark-mode enabled"},labelTextLightMode:{type:String,default:"Light-mode enabled"}},created(){const e=window.matchMedia("(prefers-color-scheme: dark)");e.addEventListener("change",this.onColorSchemeChange),this.onColorSchemeChange(e),this.$nextTick(()=>{const t=window.localStorage.getItem("cmd-color-scheme");t&&(this.darkMode=t==="dark-mode")}),document.documentElement.addEventListener("toggle-color-scheme",this.onToggleColorScheme)},beforeUnmount(){window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",this.onColorSchemeChange),document.documentElement.removeEventListener("toggle-color-scheme",this.onToggleColorScheme)},methods:{onColorSchemeChange(e){this.darkMode=e.matches,this.darkMode&&document.documentElement.classList.add("dark-mode")},setColorScheme(){window.localStorage.setItem("cmd-color-scheme",this.darkMode?"dark-mode":"light-mode")},onToggleColorScheme(e){this.darkMode=e.detail==="dark-mode"},toggleColorScheme(){this.darkMode=!this.darkMode,this.setColorScheme()},updateHandlerProvider(){const e=this.labelTextLightModeModel,t=this.labelTextDarkModeModel;return Q(this,{update(n){n.labelTextLightMode=e,n.labelTextDarkMode=t}})}},computed:{labelTextLightModeModel:{get(){return this.editableLabelTextLightMode==null?this.labelTextLightMode:this.editableLabelTextLightMode},set(e){this.editableLabelTextLightMode=e}},labelTextDarkModeModel:{get(){return this.editableLabelTextDarkMode==null?this.labelTextDarkMode:this.editableLabelTextDarkMode},set(e){this.editableLabelTextDarkMode=e}},labelText(){return this.darkMode?this.labelTextDarkMode:this.labelTextLightMode},iconClass(){return this.darkMode?this.iconDarkMode.iconClass:this.iconLightMode.iconClass},iconType(){return this.darkMode?this.iconDarkMode.iconType:this.iconLightMode.iconType}},watch:{darkMode:{handler(){const e=document.documentElement;this.darkMode?(e.classList.remove("light-mode"),e.classList.add("dark-mode")):(e.classList.remove("dark-mode"),e.classList.add("light-mode")),e.dispatchEvent(new CustomEvent("toggle-color-scheme",{detail:this.darkMode?"dark-mode":"light-mode"}))},immediate:!0}}},I1={key:0};function M1(e,t,n,r,i,s){const a=z,l=X;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-toggle-dark-mode",{"styled-layout":n.useStyledLayout,"dark-mode":i.darkMode}])},[e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createVNode(l,{element:"input",type:"text",labelText:"Label for Light Mode",placeholder:"Label for Light Mode",modelValue:s.labelTextLightModeModel,"onUpdate:modelValue":t[2]||(t[2]=d=>s.labelTextLightModeModel=d)},null,8,["modelValue"]),o.createVNode(l,{element:"input",type:"text",labelText:"Label for Dark Mode",placeholder:"Label for Dark Mode",modelValue:s.labelTextDarkModeModel,"onUpdate:modelValue":t[3]||(t[3]=d=>s.labelTextDarkModeModel=d)},null,8,["modelValue"])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.styledAsButton?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:o.normalizeClass(["button",{"dark-mode":i.darkMode}]),onClick:t[0]||(t[0]=o.withModifiers((...d)=>s.toggleColorScheme&&s.toggleColorScheme(...d),["prevent"]))},[n.showLabel?(o.openBlock(),o.createElementBlock("span",I1,o.toDisplayString(s.labelText),1)):o.createCommentVNode("",!0),o.createVNode(a,{iconClass:s.iconClass,type:s.iconType,tooltip:n.showLabel?"":s.labelText},null,8,["iconClass","type","tooltip"])],2)):(o.openBlock(),o.createBlock(l,{key:1,element:"input",type:"checkbox",labelText:s.labelText,showLabel:n.showLabel,modelValue:i.darkMode,"onUpdate:modelValue":[t[1]||(t[1]=d=>i.darkMode=d),s.setColorScheme],"toggle-switch":!0,title:n.showLabel?"":s.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"]))],64))],2)}const R1=V(L1,[["render",M1]]),D1={data(){return{defaultMessageProperties:{"upload_form.no_file_to_upload":"No file selected to upload","upload_form.no_files_to_upload":"No files selected to upload","upload_form.labeltext.select_file":"Select file to upload","upload_form.labeltext.select_files":"Select files to upload","upload_form.labeltext.remove_file_from_list":"Remove file '{0}' from list","upload_form.labeltext.remove_all_files_from_list":"Remove all files from list","upload_form.labeltext.file_uploading":"file to upload","upload_form.labeltext.files_uploading":"files to upload","upload_form.labeltext.comment":"Comment:","upload_form.buttontext.upload_file":"Upload file","upload_form.buttontext.upload_files":"Upload files","upload_form.buttontext.cancel":"Cancel","upload_form.placeholder.comment":"Please type in a specific comment","upload_form.system_message.found_duplicate_file":"Found duplicate file (not added again)","upload_form.system_message.upload_success":"Upload successful","upload_form.system_message.upload_failed":"Upload failed","upload_form.system_message.fill_required":"Fill all required fields","upload_form.system_message.the_following_errors_occurred":"The following errors occurred!","upload_form.system_message.an_unknown_error_occurred":"An unknown error occurred!","upload_form.system_message.only_one_file_allowed":"Only one file allowed!","upload_form.system_message_total_size_of_files_too_large":"Total size of files too large!","upload_form.system_message.duplicate_file":'Duplicate file "{0}" found (not added to list again)',"upload_form.system_message.not_allowed_file_type":'File "{0}" has not allowed file type ({1})',"upload_form.system_message.all_files_are_uploaded_successfully":"All files are uploaded successfully","upload_form.system_message.some_files_are_not_uploaded_successfully":"Some files are not uploaded successfully","upload_form.system_message.file_size_too_large":'File size of "{0}" too large ({1})',"upload_form.headline.summary_of_all_files":"Summary of all files","upload_form.headline.list_of_selected_files":"List of selected files","upload_form.headline.select_additional_files":"Select additional files","upload_form.headline.select_new_file":"Chosen the wrong file? Select a new one","upload_form.allowed_file_types":"Allowed file types:","upload_form.max_total_upload_size":"Max. total upload size:","upload_form.max_file_upload_size":"Max. file upload size:","upload_form.or":"or","upload_form.drag_and_drop":"drag (and drop)","upload_form.additional":"additional","upload_form.new":"new","upload_form.files_to_this_area":"files to this area","upload_form.tooltip.toggle_list_of_allowed_file_types":"Toggle list of allowed file types","upload_form.reset_upload":"Reset upload","upload_form.tooltip.all_files_will_be_removed":"All files will be remove from upload-list!","upload_form.select_image":"Select image","upload_form.select_file":"Select file","upload_form.drag_and_drop_file_here":"Drag and drop file here","upload_form.max_upload_size":"Max. upload size:"}}}};function sl(e,t){return function(){return e.apply(t,arguments)}}const{toString:j1}=Object.prototype,{getPrototypeOf:br}=Object,mn=(e=>t=>{const n=j1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),fe=e=>(e=e.toLowerCase(),t=>mn(t)===e),fn=e=>t=>typeof t===e,{isArray:it}=Array,kt=fn("undefined");function q1(e){return e!==null&&!kt(e)&&e.constructor!==null&&!kt(e.constructor)&&ie(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const al=fe("ArrayBuffer");function z1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&al(e.buffer),t}const H1=fn("string"),ie=fn("function"),ll=fn("number"),hn=e=>e!==null&&typeof e=="object",U1=e=>e===!0||e===!1,pn=e=>{if(mn(e)!=="object")return!1;const t=br(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},W1=fe("Date"),G1=fe("File"),J1=fe("Blob"),K1=fe("FileList"),Z1=e=>hn(e)&&ie(e.pipe),X1=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ie(e.append)&&((t=mn(e))==="formdata"||t==="object"&&ie(e.toString)&&e.toString()==="[object FormData]"))},Q1=fe("URLSearchParams"),[Y1,$1,v1,eB]=["ReadableStream","Request","Response","Headers"].map(fe),tB=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ct(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),it(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let l;for(r=0;r<a;r++)l=s[r],t.call(null,e[l],l,e)}}function cl(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const dl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ul=e=>!kt(e)&&e!==dl;function kr(){const{caseless:e}=ul(this)&&this||{},t={},n=(r,i)=>{const s=e&&cl(t,i)||i;pn(t[s])&&pn(r)?t[s]=kr(t[s],r):pn(r)?t[s]=kr({},r):it(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Ct(arguments[r],n);return t}const nB=(e,t,n,{allOwnKeys:r}={})=>(Ct(t,(i,s)=>{n&&ie(i)?e[s]=sl(i,n):e[s]=i},{allOwnKeys:r}),e),oB=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),rB=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},iB=(e,t,n,r)=>{let i,s,a;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)a=i[s],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&br(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},sB=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},aB=e=>{if(!e)return null;if(it(e))return e;let t=e.length;if(!ll(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},lB=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&br(Uint8Array)),cB=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},dB=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},uB=fe("HTMLFormElement"),mB=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),ml=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),fB=fe("RegExp"),fl=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ct(n,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(r[s]=a||i)}),Object.defineProperties(e,r)},hB=e=>{fl(e,(t,n)=>{if(ie(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ie(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},pB=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return it(e)?r(e):r(String(e).split(t)),n},gB=()=>{},yB=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Cr="abcdefghijklmnopqrstuvwxyz",hl="0123456789",pl={DIGIT:hl,ALPHA:Cr,ALPHA_DIGIT:Cr+Cr.toUpperCase()+hl},bB=(e=16,t=pl.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function kB(e){return!!(e&&ie(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const CB=e=>{const t=new Array(10),n=(r,i)=>{if(hn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=it(r)?[]:{};return Ct(r,(a,l)=>{const d=n(a,i+1);!kt(d)&&(s[l]=d)}),t[i]=void 0,s}}return r};return n(e,0)},wB=fe("AsyncFunction"),w={isArray:it,isArrayBuffer:al,isBuffer:q1,isFormData:X1,isArrayBufferView:z1,isString:H1,isNumber:ll,isBoolean:U1,isObject:hn,isPlainObject:pn,isReadableStream:Y1,isRequest:$1,isResponse:v1,isHeaders:eB,isUndefined:kt,isDate:W1,isFile:G1,isBlob:J1,isRegExp:fB,isFunction:ie,isStream:Z1,isURLSearchParams:Q1,isTypedArray:lB,isFileList:K1,forEach:Ct,merge:kr,extend:nB,trim:tB,stripBOM:oB,inherits:rB,toFlatObject:iB,kindOf:mn,kindOfTest:fe,endsWith:sB,toArray:aB,forEachEntry:cB,matchAll:dB,isHTMLForm:uB,hasOwnProperty:ml,hasOwnProp:ml,reduceDescriptors:fl,freezeMethods:hB,toObjectSet:pB,toCamelCase:mB,noop:gB,toFiniteNumber:yB,findKey:cl,global:dl,isContextDefined:ul,ALPHABET:pl,generateString:bB,isSpecCompliantForm:kB,toJSONObject:CB,isAsyncFn:wB,isThenable:e=>e&&(hn(e)||ie(e))&&ie(e.then)&&ie(e.catch)};function I(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}w.inherits(I,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:w.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const gl=I.prototype,yl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{yl[e]={value:e}}),Object.defineProperties(I,yl),Object.defineProperty(gl,"isAxiosError",{value:!0}),I.from=(e,t,n,r,i,s)=>{const a=Object.create(gl);return w.toFlatObject(e,a,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),I.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const xB=null;function wr(e){return w.isPlainObject(e)||w.isArray(e)}function bl(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function kl(e,t,n){return e?e.concat(t).map(function(i,s){return i=bl(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function BB(e){return w.isArray(e)&&!e.some(wr)}const _B=w.toFlatObject(w,{},null,function(t){return/^is[A-Z]/.test(t)});function gn(e,t,n){if(!w.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=w.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,p){return!w.isUndefined(p[y])});const r=n.metaTokens,i=n.visitor||u,s=n.dots,a=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(t);if(!w.isFunction(i))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(w.isDate(h))return h.toISOString();if(!d&&w.isBlob(h))throw new I("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(h)||w.isTypedArray(h)?d&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,y,p){let C=h;if(h&&!p&&typeof h=="object"){if(w.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(w.isArray(h)&&BB(h)||(w.isFileList(h)||w.endsWith(y,"[]"))&&(C=w.toArray(h)))return y=bl(y),C.forEach(function(k,A){!(w.isUndefined(k)||k===null)&&t.append(a===!0?kl([y],A,s):a===null?y:y+"[]",c(k))}),!1}return wr(h)?!0:(t.append(kl(p,y,s),c(h)),!1)}const m=[],g=Object.assign(_B,{defaultVisitor:u,convertValue:c,isVisitable:wr});function f(h,y){if(!w.isUndefined(h)){if(m.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));m.push(h),w.forEach(h,function(C,T){(!(w.isUndefined(C)||C===null)&&i.call(t,C,w.isString(T)?T.trim():T,y,g))===!0&&f(C,y?y.concat(T):[T])}),m.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return f(e),t}function Cl(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function xr(e,t){this._pairs=[],e&&gn(e,this,t)}const wl=xr.prototype;wl.append=function(t,n){this._pairs.push([t,n])},wl.toString=function(t){const n=t?function(r){return t.call(this,r,Cl)}:Cl;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function EB(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function xl(e,t,n){if(!t)return e;const r=n&&n.encode||EB,i=n&&n.serialize;let s;if(i?s=i(t,n):s=w.isURLSearchParams(t)?t.toString():new xr(t,n).toString(r),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Bl{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){w.forEach(this.handlers,function(r){r!==null&&t(r)})}}const _l={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},SB={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:xr,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Br=typeof window<"u"&&typeof document<"u",TB=(e=>Br&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),OB=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",NB=Br&&window.location.href||"http://localhost",he={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Br,hasStandardBrowserEnv:TB,hasStandardBrowserWebWorkerEnv:OB,origin:NB},Symbol.toStringTag,{value:"Module"})),...SB};function VB(e,t){return gn(e,new he.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return he.isNode&&w.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function FB(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function AB(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],t[s]=e[s];return t}function El(e){function t(n,r,i,s){let a=n[s++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),d=s>=n.length;return a=!a&&w.isArray(i)?i.length:a,d?(w.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!l):((!i[a]||!w.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],s)&&w.isArray(i[a])&&(i[a]=AB(i[a])),!l)}if(w.isFormData(e)&&w.isFunction(e.entries)){const n={};return w.forEachEntry(e,(r,i)=>{t(FB(r),i,n,0)}),n}return null}function PB(e,t,n){if(w.isString(e))try{return(t||JSON.parse)(e),w.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const wt={transitional:_l,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=w.isObject(t);if(s&&w.isHTMLForm(t)&&(t=new FormData(t)),w.isFormData(t))return i?JSON.stringify(El(t)):t;if(w.isArrayBuffer(t)||w.isBuffer(t)||w.isStream(t)||w.isFile(t)||w.isBlob(t)||w.isReadableStream(t))return t;if(w.isArrayBufferView(t))return t.buffer;if(w.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return VB(t,this.formSerializer).toString();if((l=w.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return gn(l?{"files[]":t}:t,d&&new d,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),PB(t)):t}],transformResponse:[function(t){const n=this.transitional||wt.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(w.isResponse(t)||w.isReadableStream(t))return t;if(t&&w.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?I.from(l,I.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:he.classes.FormData,Blob:he.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch"],e=>{wt.headers[e]={}});const LB=w.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),IB=e=>{const t={};let n,r,i;return e&&e.split(`
|