comand-component-library 4.1.2 → 4.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,33 +1,33 @@
1
- (function(T,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(T=typeof globalThis<"u"?globalThis:T||self,o(T["comand-component-library"]={},T.Vue))})(this,function(T,o){"use strict";var tN=Object.defineProperty;var nN=(T,o,ke)=>o in T?tN(T,o,{enumerable:!0,configurable:!0,writable:!0,value:ke}):T[o]=ke;var It=(T,o,ke)=>nN(T,typeof o!="symbol"?o+"":o,ke);const ke=/^[a-z0-9]+(-[a-z0-9]+)*$/,Mt=(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 a=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:a};return t&&!Dt(c)?null:c}const l=i[0],s=l.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!Dt(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:l};return t&&!Dt(a,n)?null:a}return null},Dt=(e,t)=>e?!!((e.provider===""||e.provider.match(ke))&&(t&&e.prefix===""||e.prefix.match(ke))&&e.name.match(ke)):!1,qi=Object.freeze({left:0,top:0,width:16,height:16}),Rt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),jt=Object.freeze({...qi,...Rt}),lo=Object.freeze({...jt,body:"",hidden:!1});function hm(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 zi(e,t){const n=hm(e,t);for(const r in lo)r in Rt?r in e&&!(r in n)&&(n[r]=Rt[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function pm(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function l(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const a=r[s]&&r[s].parent,d=a&&l(a);d&&(i[s]=[a].concat(d))}return i[s]}return Object.keys(n).concat(Object.keys(r)).forEach(l),i}function gm(e,t,n){const r=e.icons,i=e.aliases||{};let l={};function s(a){l=zi(r[a]||i[a],l)}return s(t),n.forEach(s),zi(e,l)}function Hi(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=pm(e);for(const i in r){const l=r[i];l&&(t(i,gm(e,i,l)),n.push(i))}return n}const ym={provider:"",aliases:{},not_found:{},...qi};function so(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Ui(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!so(e,ym))return null;const n=t.icons;for(const i in n){const l=n[i];if(!i.match(ke)||typeof l.body!="string"||!so(l,lo))return null}const r=t.aliases||{};for(const i in r){const l=r[i],s=l.parent;if(!i.match(ke)||typeof s!="string"||!n[s]&&!r[s]||!so(l,lo))return null}return t}const Wi=Object.create(null);function bm(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ve(e,t){const n=Wi[e]||(Wi[e]=Object.create(null));return n[t]||(n[t]=bm(e,t))}function ao(e,t){return Ui(t)?Hi(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function km(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let tt=!1;function Gi(e){return typeof e=="boolean"&&(tt=e),tt}function Cm(e){const t=typeof e=="string"?Mt(e,!0,tt):e;if(t){const n=Ve(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function wm(e,t){const n=Mt(e,!0,tt);if(!n)return!1;const r=Ve(n.provider,n.prefix);return km(r,n.name,t)}function Ji(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),tt&&!t&&!e.prefix){let i=!1;return Ui(e)&&(e.prefix="",Hi(e,(l,s)=>{s&&wm(l,s)&&(i=!0)})),i}const n=e.prefix;if(!Dt({provider:t,prefix:n,name:"a"}))return!1;const r=Ve(t,n);return!!ao(r,e)}const Ki=Object.freeze({width:null,height:null}),Zi=Object.freeze({...Ki,...Rt}),xm=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Bm=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Xi(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(xm);if(r===null||!r.length)return e;const i=[];let l=r.shift(),s=Bm.test(l);for(;;){if(s){const a=parseFloat(l);isNaN(a)?i.push(l):i.push(Math.ceil(a*t*n)/n)}else i.push(l);if(l=r.shift(),l===void 0)return i.join("");s=!s}}function _m(e,t){const n={...jt,...e},r={...Zi,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let l=n.body;[n,r].forEach(f=>{const h=[],y=f.hFlip,g=f.vFlip;let B=f.rotate;y?g?B+=2:(h.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),h.push("scale(-1 1)"),i.top=i.left=0):g&&(h.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),h.push("scale(1 -1)"),i.top=i.left=0);let S;switch(B<0&&(B-=Math.floor(B/4)*4),B=B%4,B){case 1:S=i.height/2+i.top,h.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:h.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:S=i.width/2+i.left,h.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}B%2===1&&(i.left!==i.top&&(S=i.left,i.left=i.top,i.top=S),i.width!==i.height&&(S=i.width,i.width=i.height,i.height=S)),h.length&&(l='<g transform="'+h.join(" ")+'">'+l+"</g>")});const s=r.width,a=r.height,d=i.width,c=i.height;let m,u;return s===null?(u=a===null?"1em":a==="auto"?c:a,m=Xi(u,d/c)):(m=s==="auto"?d:s,u=a===null?Xi(m,c/d):a==="auto"?c:a),{attributes:{width:m.toString(),height:u.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:l}}const Em=/\sid="(\S+)"/g,Sm="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Tm=0;function Om(e,t=Sm){const n=[];let r;for(;r=Em.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const l=typeof t=="function"?t(i):t+(Tm++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),e}const co=Object.create(null);function Nm(e,t){co[e]=t}function mo(e){return co[e]||co[""]}function uo(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 fo=Object.create(null),nt=["https://api.simplesvg.com","https://api.unisvg.com"],qt=[];for(;nt.length>0;)nt.length===1||Math.random()>.5?qt.push(nt.shift()):qt.push(nt.pop());fo[""]=uo({resources:["https://api.iconify.design"].concat(qt)});function Vm(e,t){const n=uo(t);return n===null?!1:(fo[e]=n,!0)}function ho(e){return fo[e]}let Qi=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function Fm(e,t){const n=ho(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const l=t+".json?icons=";r=n.maxURL-i-n.path.length-l.length}return r}function Pm(e){return e===404}const Lm=(e,t,n)=>{const r=[],i=Fm(e,t),l="icons";let s={type:l,provider:e,prefix:t,icons:[]},a=0;return n.forEach((d,c)=>{a+=d.length+1,a>=i&&c>0&&(r.push(s),s={type:l,provider:e,prefix:t,icons:[]},a=d.length),s.icons.push(d)}),r.push(s),r};function Am(e){if(typeof e=="string"){const t=ho(e);if(t)return t.path}return"/"}const Im={prepare:Lm,send:(e,t,n)=>{if(!Qi){n("abort",424);return}let r=Am(t.provider);switch(t.type){case"icons":{const l=t.prefix,a=t.icons.join(","),d=new URLSearchParams({icons:a});r+=l+".json?"+d.toString();break}case"custom":{const l=t.uri;r+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let i=503;Qi(e+r).then(l=>{const s=l.status;if(s!==200){setTimeout(()=>{n(Pm(s)?"abort":"next",s)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",i)})}};function Mm(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.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 l=i.provider,s=i.prefix,a=i.name,d=n[l]||(n[l]=Object.create(null)),c=d[s]||(d[s]=Ve(l,s));let m;a in c.icons?m=t.loaded:s===""||c.missing.has(a)?m=t.missing:m=t.pending;const u={provider:l,prefix:s,name:a};m.push(u)}),t}function Yi(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function Dm(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(l=>{const s=l.icons,a=s.pending.length;s.pending=s.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||Yi([e],l.id),l.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),l.abort))})}))}let Rm=0;function jm(e,t,n){const r=Rm++,i=Yi.bind(null,n,r);if(!t.pending.length)return i;const l={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(l)}),i}function qm(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const l=typeof i=="string"?Mt(i,t,n):i;l&&r.push(l)}),r}var zm={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Hm(e,t,n,r){const i=e.resources.length,l=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let b=e.resources.slice(0);for(s=[];b.length>1;){const E=Math.floor(Math.random()*b.length);s.push(b[E]),b=b.slice(0,E).concat(b.slice(E+1))}s=s.concat(b)}else s=e.resources.slice(l).concat(e.resources.slice(0,l));const a=Date.now();let d="pending",c=0,m,u=null,p=[],f=[];typeof r=="function"&&f.push(r);function h(){u&&(clearTimeout(u),u=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,E){E&&(f=[]),typeof b=="function"&&f.push(b)}function B(){return{startTime:a,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function S(){d="failed",f.forEach(b=>{b(void 0,m)})}function _(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function O(b,E,F){const R=E!=="success";switch(p=p.filter(L=>L!==b),d){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=F,S();return}if(R){m=F,p.length||(s.length?P():S());return}if(h(),_(),!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 P(){if(d!=="pending")return;h();const b=s.shift();if(b===void 0){if(p.length){u=setTimeout(()=>{h(),d==="pending"&&(_(),S())},e.timeout);return}S();return}const E={status:"pending",resource:b,callback:(F,R)=>{O(E,F,R)}};p.push(E),c++,u=setTimeout(P,e.rotate),n(b,t,E.callback)}return setTimeout(P),B}function $i(e){const t={...zm,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,d,c){const m=Hm(t,a,d,(u,p)=>{r(),c&&c(u,p)});return n.push(m),m}function l(a){return n.find(d=>a(d))||null}return{query:i,find:l,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function vi(){}const po=Object.create(null);function Um(e){if(!po[e]){const t=ho(e);if(!t)return;const n=$i(t),r={config:t,redundancy:n};po[e]=r}return po[e]}function Wm(e,t,n){let r,i;if(typeof e=="string"){const l=mo(e);if(!l)return n(void 0,424),vi;i=l.send;const s=Um(e);s&&(r=s.redundancy)}else{const l=uo(e);if(l){r=$i(l);const s=e.resources?e.resources[0]:"",a=mo(s);a&&(i=a.send)}}return!r||!i?(n(void 0,424),vi):r.query(t,i,n)().abort}const el="iconify2",ot="iconify",tl=ot+"-count",nl=ot+"-version",ol=36e5,Gm=168;function go(e,t){try{return e.getItem(t)}catch{}}function yo(e,t,n){try{return e.setItem(t,n),!0}catch{}}function rl(e,t){try{e.removeItem(t)}catch{}}function bo(e,t){return yo(e,tl,t.toString())}function ko(e){return parseInt(go(e,tl))||0}const zt={local:!0,session:!0},il={local:new Set,session:new Set};let Co=!1;function Jm(e){Co=e}let Ht=typeof window>"u"?{}:window;function ll(e){const t=e+"Storage";try{if(Ht&&Ht[t]&&typeof Ht[t].length=="number")return Ht[t]}catch{}zt[e]=!1}function sl(e,t){const n=ll(e);if(!n)return;const r=go(n,nl);if(r!==el){if(r){const a=ko(n);for(let d=0;d<a;d++)rl(n,ot+d.toString())}yo(n,nl,el),bo(n,0);return}const i=Math.floor(Date.now()/ol)-Gm,l=a=>{const d=ot+a.toString(),c=go(n,d);if(typeof c=="string"){try{const m=JSON.parse(c);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,a))return!0}catch{}rl(n,d)}};let s=ko(n);for(let a=s-1;a>=0;a--)l(a)||(a===s-1?(s--,bo(n,s)):il[e].add(a))}function al(){if(!Co){Jm(!0);for(const e in zt)sl(e,t=>{const n=t.data,r=t.provider,i=n.prefix,l=Ve(r,i);if(!ao(l,n).length)return!1;const s=n.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,s):s,!0})}}function Km(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in zt)sl(r,i=>{const l=i.data;return i.provider!==e.provider||l.prefix!==e.prefix||l.lastModified===t});return!0}function Zm(e,t){Co||al();function n(r){let i;if(!zt[r]||!(i=ll(r)))return;const l=il[r];let s;if(l.size)l.delete(s=Array.from(l).shift());else if(s=ko(i),!bo(i,s+1))return;const a={cached:Math.floor(Date.now()/ol),provider:e.provider,data:t};return yo(i,ot+s.toString(),JSON.stringify(a))}t.lastModified&&!Km(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function cl(){}function Xm(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Dm(e)}))}function Qm(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 l;if(!i||!(l=mo(n)))return;l.prepare(n,r,i).forEach(a=>{Wm(n,a,(d,c)=>{if(typeof d!="object"){if(c!==404)return;a.icons.forEach(m=>{e.missing.add(m)})}else try{const m=ao(e,d);if(!m.length)return;const u=e.pendingIcons;u&&m.forEach(p=>{u.delete(p)}),Zm(e,d)}catch(m){console.error(m)}Xm(e)})})}))}const Ym=(e,t)=>{const n=qm(e,!0,Gi()),r=Mm(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,cl)}),()=>{d=!1}}const i=Object.create(null),l=[];let s,a;return r.pending.forEach(d=>{const{provider:c,prefix:m}=d;if(m===a&&c===s)return;s=c,a=m,l.push(Ve(c,m));const u=i[c]||(i[c]=Object.create(null));u[m]||(u[m]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:m,name:u}=d,p=Ve(c,m),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(u)||(f.add(u),i[c][m].push(u))}),l.forEach(d=>{const{provider:c,prefix:m}=d;i[c][m].length&&Qm(d,i[c][m])}),t?jm(t,r,l):cl};function $m(e,t){const n={...e};for(const r in t){const i=t[r],l=typeof i;r in Ki?(i===null||i&&(l==="string"||l==="number"))&&(n[r]=i):l===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const vm=/[\s,]+/;function eu(e,t){t.split(vm).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function tu(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 l=parseFloat(e.slice(0,e.length-n.length));return isNaN(l)?0:(l=l/i,l%1===0?r(l):0)}}return t}function nu(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 ou(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ru(e){return'url("data:image/svg+xml,'+ou(e)+'")'}const dl={...Zi,inline:!1},iu={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},lu={display:"inline-block"},wo={backgroundColor:"currentColor"},ml={backgroundColor:"transparent"},ul={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},fl={webkitMask:wo,mask:wo,background:ml};for(const e in fl){const t=fl[e];for(const n in ul)t[e+n]=ul[n]}const Ut={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Ut[e+"-flip"]=t,Ut[e.slice(0,1)+"-flip"]=t,Ut[e+"Flip"]=t});function hl(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const pl=(e,t)=>{const n=$m(dl,t),r={...iu},i=t.mode||"svg",l={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&eu(n,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?n[y]=tu(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const B=Ut[y];B?(g===!0||g==="true"||g===1)&&(n[B]=!0):dl[y]===void 0&&(r[y]=g)}}}const d=_m(e,n),c=d.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),i==="svg"){r.style={...l,...a},Object.assign(r,c);let y=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=Om(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:m,width:u,height:p}=e,f=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),h=nu(m,{...c,width:u+"",height:p+""});return r.style={...l,"--svg":ru(h),width:hl(c.width),height:hl(c.height),...lu,...f?wo:ml,...a},o.h("span",r)};if(Gi(!0),Nm("",Im),typeof document<"u"&&typeof window<"u"){al();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"||!Ji(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;Vm(n,i)||console.error(r)}catch{console.error(r)}}}}const su={...jt,body:""},au=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=Mt(e,!1,!0))===null)return this.abortLoading(),null;const r=Cm(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:Ym([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 pl(su,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),pl({...jt,...t.data},n)}}),N=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},cu={name:"CmdIcon",components:{Icon:au},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}}},du=["title"];function mu(e,t,n,r,i,l){const s=o.resolveComponent("Icon");return l.isIconify?(o.openBlock(),o.createBlock(s,{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,du))}const j=N(cu,[["render",mu]]);function xe(e,t){return Wt(e,"EditComponentWrapper",t)}function uu(e){return Wt(e,"EditModeSettingsSidebar")}function fu(e){return Wt(e,"EditModeMainSidebar")}function Wt(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?Wt(e.$parent,t,n):null}function Be(e,...t){const n=[];for(let r=xe(e);r;r=xe(r.$parent))r.componentPath&&n.unshift(...r.componentPath);return n.push(...t),n}function hu(e){return Array.isArray(e)&&e.length>0?JSON.stringify(e):""}function K(e,t){var n;return(n=e==null?void 0:e.$options)!=null&&n.name?{name:e.$options.name,...t}:t}const pu={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!xe(this.$parent,e=>(e==null?void 0:e.componentName)!=="CmdContainer")},active(){return this.editModeContext?xe(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer")?!!this.editModeContext.system.isActiveChildComponent(ie(this)):!!this.editModeContext.system.isActiveComponent(ie(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=xe(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer");this.editModeContext.system.setActiveComponent(ie(e),ie(this))},deleteComponent(){var e;!this.editing&&this.allowDeleteComponent&&confirm("Delete this component and its content?")&&((e=this.editModeContext)==null||e.store.deleteContent(ie(this)),this.editModeContext.settings.stopEditing())},deleteInnerComponent(){this.editModeContext.store.deleteContent(ie(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(ie(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,ie(this),this.saveSettings,this.deleteInnerComponent,t||"edit")},addEntry(e){this.itemProvider?this.editModeContext.content.addContent(ie(this),this.itemProvider):this.editSettings(e,"add")},saveSettings(e){this.editModeContext.store.updateSettings(ie(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=hu(ie(this))},immediate:!0,deep:!0},editing(e){this.editStateListeners.forEach(t=>t(e))}}};function ie(e){const t=[];for(let n=e;n;n=xe(n.$parent))n.componentPath&&t.unshift(...n.componentPath);return t}const gu={key:0,class:"action-buttons-wrapper"},yu=["data-component"],bu=["title"],ku=["href"],Cu={key:0},wu={key:1},xu={key:0,class:"component-name"},Bu=["data-component"],_u=["title"],Eu=["href","title"],Su=["title"],Tu={key:0},Ou={key:1},Nu=["title"],Vu=["title"];function Fu(e,t,n,r,i,l){const s=j;return o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.componentTag||"div"),{class:o.normalizeClass(["edit-component-wrapper",{active:l.active}]),tabindex:"0",onClick:o.withModifiers(l.showActionButtons,["stop"]),ref:"editComponent",title:l.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",gu,[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(a=>l.addEntry(a),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[o.createVNode(s,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,bu)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button primary",{disabled:l.editing||!l.hasSettings}]),href:l.editing?null:"#",onClick:t[1]||(t[1]=o.withModifiers((...a)=>l.editSettings&&l.editSettings(...a),["prevent"])),title:"Edit settings of this component"},[o.createVNode(s,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,ku)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:"icon-hexagon button-delete",href:"#",onClick:t[2]||(t[2]=o.withModifiers((...a)=>l.deleteComponent&&l.deleteComponent(...a),["prevent"])),title:"Delete this component (and its content)"},[o.createVNode(s,{iconClass:"icon-trash"})])]),l.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",Cu,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button-cancel",{disabled:!l.editing}]),href:"#",onClick:t[3]||(t[3]=o.withModifiers((...a)=>l.cancelComponent&&l.cancelComponent(...a),["prevent"])),title:"Cancel editing (changes will not be saved)"},[o.createVNode(s,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",wu,[l.editing?(o.openBlock(),o.createElementBlock("a",{key:0,class:"icon-hexagon button-save",href:"#",onClick:t[4]||(t[4]=o.withModifiers((...a)=>l.saveComponent&&l.saveComponent(...a),["prevent"])),title:"Save changes of this component"},[o.createVNode(s,{iconClass:"icon-check"})])):(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["icon-hexagon button",{disabled:l.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:t[5]||(t[5]=o.withModifiers((...a)=>l.editComponent&&l.editComponent(...a),["prevent"])),title:"Edit content of this component"},[o.createVNode(s,{iconClass:"icon-edit"})],2))]))],8,yu),[[o.vShow,l.active]])])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[l.isOuterComponent?(o.openBlock(),o.createElementBlock("p",xu,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]=(...a)=>l.addHighlightRelatedComponent&&l.addHighlightRelatedComponent(...a)),onMouseleave:t[13]||(t[13]=(...a)=>l.removeHighlightRelatedComponent&&l.removeHighlightRelatedComponent(...a))},[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((...a)=>l.addEntry&&l.addEntry(...a),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[o.createVNode(s,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,_u)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button primary",{disabled:l.editing||!l.hasSettings}]),href:l.editing?null:"#",onClick:t[7]||(t[7]=o.withModifiers((...a)=>l.editSettings&&l.editSettings(...a),["prevent"])),title:"Edit settings for "+n.componentName},[o.createVNode(s,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,Eu)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button button-delete",{disabled:l.editing||!n.allowDeleteComponent}]),href:"#",onClick:t[8]||(t[8]=o.withModifiers((...a)=>l.deleteComponent&&l.deleteComponent(...a),["prevent"])),title:"Delete "+n.componentName+" (and its content)"},[o.createVNode(s,{iconClass:"icon-trash"})],10,Su)]),l.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",Tu,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button cancel",{disabled:!l.editing}]),href:"#",onClick:t[9]||(t[9]=o.withModifiers((...a)=>l.cancelComponent&&l.cancelComponent(...a),["prevent"])),title:"Cancel editing (changes will not be saved)"},[o.createVNode(s,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",Ou,[l.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((...a)=>l.saveComponent&&l.saveComponent(...a),["prevent"])),title:"Save changes of "+n.componentName},[o.createVNode(s,{iconClass:"icon-check"})],8,Nu)):(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:l.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:t[11]||(t[11]=o.withModifiers((...a)=>l.editComponent&&l.editComponent(...a),["prevent"])),title:"Edit content for "+n.componentName},[o.createVNode(s,{iconClass:"icon-edit"})],10,Vu))]))],40,Bu),[[o.vShow,l.active]])],64)),o.renderSlot(e.$slots,"default",{editing:l.editing})]),_:3},8,["class","onClick","title","data-identifier"])}const _e=N(pu,[["render",Fu]]),Z={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=xe(this.$parent);t&&(t.addEditStateListener(n=>this.editing=n),t.addUpdateHandlerProvider(this.updateHandlerProvider),t.setAddHandlerProvider(this.addHandlerProvider))}this.mainSidebarContext=!!fu(this),this.settingsContext=!!uu(this)},updateHandlerProvider(){return{}}}},Pu={name:"CmdHeadline",mixins:[Z],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(Be(xe(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 K(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}}},Lu={class:"pre-headline-text-wrapper"},Au=["innerHTML"],Iu=["innerHTML"],Mu={key:1},Du=["innerHTML"],Ru={key:2},ju={class:"pre-headline-text"},qu=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new headline",-1)];function zu(e,t,n,r,i,l){var c;const s=j,a=J,d=_e;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},l.headlineTextAlign])},[n.preHeadlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.headlineText?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(l.headlineTag),{key:0},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("span",Lu,[o.createElementVNode("span",{class:"pre-headline-text",innerHTML:n.preHeadlineText},null,8,Au),n.headlineText?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:n.headlineText},null,8,Iu)):(o.openBlock(),o.createElementBlock("span",Mu,[o.renderSlot(e.$slots,"default")]))])]),_:3})):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(l.headlineTag),{key:1},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(s,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,Du)):(o.openBlock(),o.createElementBlock("span",Ru,[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:l.headlineComponentPath,allowDeleteComponent:!!n.headlineText},{default:o.withCtx(m=>[m.editing?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:"text",class:o.normalizeClass(["edit-mode","headline","h"+n.headlineLevel,l.headlineTextAlign]),labelText:"Headline",showLabel:!1,placeholder:"Headline",modelValue:i.editableHeadlineText,"onUpdate:modelValue":t[0]||(t[0]=u=>i.editableHeadlineText=u)},null,8,["class","modelValue"])):n.headlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdIcon?(o.openBlock(),o.createBlock(s,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(l.headlineTag),{key:0},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("span",ju,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(l.headlineTag),{key:2},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.headlineText),1)])]),_:3})):o.createCommentVNode("",!0)],64)):l.componentActive?(o.openBlock(),o.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:t[1]||(t[1]=(...u)=>l.onAddItem&&l.onAddItem(...u))},qu)):o.createCommentVNode("",!0)]),_:3},8,["componentProps","componentPath","allowDeleteComponent"]))}const z=N(Pu,[["render",zu]]),Hu={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"})}}},Uu={key:0,class:"headline-wrapper"},Wu=["title"];function Gu(e,t,n,r,i,l){const s=z,a=j;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",Uu,[n.cmdHeadline?(o.openBlock(),o.createBlock(s,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)=>l.hideTooltip&&l.hideTooltip(...d),["prevent"])),title:n.iconClose.tooltip},[o.createVNode(a,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,Wu)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.tooltipText),1)])],2)):o.createCommentVNode("",!0)}const gl=N(Hu,[["render",Gu]]),X={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,l)=>r=r.replace("{"+l+"}",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}}},Ju={name:"CmdListOfRequirements",mixins:[X,{data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.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("cmdlistofrequirements.headline.requirements_for_input"):this.getMessage("cmdlistofrequirements.headline.requirement_for_input")}}},Ku={class:"cmd-list-of-requirements"},Zu=o.createElementVNode("br",null,null,-1),Xu=o.createElementVNode("hr",null,null,-1),Qu=["href","target"],Yu={key:1};function $u(e,t,n,r,i,l){var d,c,m;const s=z,a=j;return o.openBlock(),o.createElementBlock("div",Ku,[n.showHeadline?(o.openBlock(),o.createBlock(s,{key:0,"headline-level":n.cmdHeadline.headlineLevel},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(l.headlineRequirements),1),n.labelText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[Zu,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,(u,p)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:p},[o.createElementVNode("dt",{"aria-live":"assertive",class:o.normalizeClass(u.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},o.toDisplayString(u.message)+":",3),o.createElementVNode("dd",{class:o.normalizeClass(u.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},[o.createVNode(a,{"aria-live":"assertive",iconClass:u.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconClass:n.iconError.iconClass,type:u.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconType:n.iconError.iconType,title:u.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},[Xu,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(a,{key:0,class:o.normalizeClass((c=n.helplink.icon)==null?void 0:c.iconClass),title:(m=n.helplink.icon)==null?void 0:m.tooltip},null,8,["class","title"])):o.createCommentVNode("",!0),n.helplink.text?(o.openBlock(),o.createElementBlock("span",Yu,o.toDisplayString(n.helplink.text),1)):o.createCommentVNode("",!0)],8,Qu)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)])}const vu=N(Ju,[["render",$u]]),ef={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,default(){return{showRequirements:!0,validationTooltip:"",inputRequirements:[],inputAttributes:{},showHeadline:!0,inputModelValue:"",helplink:{},labelText:""}}}},methods:{hideTooltip(){this.$refs.tooltip.hideTooltip()}}};function tf(e,t,n,r,i,l){const s=vu,a=gl;return o.openBlock(),o.createBlock(a,{ref:"tooltip",class:o.normalizeClass(["cmd-tooltip-for-form-elements box",n.validationStatus]),relatedId:n.relatedId,"toggle-visibility-by-click":!0},{default:o.withCtx(()=>[n.cmdListOfRequirements.showRequirements?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdListOfRequirements)),null,16)):o.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const xo=N(ef,[["render",tf]]),Bo={data(){return{defaultMessageProperties:{"cmdformelement.headline.requirements_for_input":"Requirements for input","cmdformelement.validation_tooltip.an_error_occurred":"An error occurred!","cmdformelement.validation_tooltip.information_is_filled_correctly":"This information is filled correctly!","cmdformelement.validation_tooltip.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdformelement.validation_tooltip.open_field_requirements":"Open field requirements!","cmdformelement.validation_tooltip.is_valid_email":"Is valid e-mail-address"}}}},Gt={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[X,{data(){return{fieldValidationDefaultMessageProperties:{"cmdfieldvalidation.open_detailed_help":"Open detailed help!","cmdfieldvalidation.information_not_filled_correctly":"This information is not filled correctly!","cmdfieldvalidation.information_filled_correctly":"This information is filled correctly!","cmdfieldvalidation.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdfieldvalidation.required_field_is_filled":"Required field is filled!","cmdfieldvalidation.field_contains_special_character":"Field contains special character","cmdfieldvalidation.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 this.cmdListOfRequirements==null?{showRequirements:!0,showHeadline:!0,validationTooltip:this.validationTooltip,inputRequirements:this.inputRequirements,inputAttributes:this.$attrs,inputModelValue:this.modelValue,helplink:{},labelText:this.labelText}:this.cmdListOfRequirements},getValidationMessage(){if(this.validationStatus!==""){if(this.validationStatus==="error")return this.validationMessage?this.validationMessage:this.getMessage("cmdfieldvalidation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("cmdfieldvalidation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("cmdfieldvalidation.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("cmdfieldvalidation.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("cmdfieldvalidation.required_field_is_filled")}},watch:{validationStatus:{handler(){this.$emit("validation-status-change",this.validationStatus)}}}};function Ue(){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 _o(){return"cmd-"+Ue()}const rt={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||_o()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Eo={};function nf(e="defaultSequence"){const t=Eo[e]||0;return Eo[e]=t+1,Eo[e]}const So={data(){return{tooltip:!1,tooltipId:"tooltip-"+nf()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},of=["color","date","datetime-local","file","number","range"],rf={inheritAttrs:!1,name:"CmdFormElement",mixins:[X,Bo,Gt,rt,So],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("cmdformelement.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validation_tooltip.information_is_filled_correctly"):this.capsLockActivated?this.getMessage("cmdformelement.validation_tooltip.caps_lock_is_activated"):this.getMessage("cmdformelement.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("cmdformelement.validationTooltip.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:of.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}}},lf=["for","title"],sf=["innerHTML"],af={key:2,"aria-hidden":"true"},cf=["title","aria-errormessage","id"],df={key:1,class:"flex-container inner-input-wrapper"},mf=["id","autocomplete","list","value","maxlength"],uf=["title"],ff=["id"],hf=["value"],pf=["checked","value","id","disabled","aria-invalid"],gf=["innerHTML"],yf={key:2},bf={class:"switch-label-wrapper"},kf=["checked","value","id","disabled","aria-invalid"],Cf={class:"label-text"},wf={class:"label-text"},xf=["innerHTML"],Bf={key:0},_f=["id"],Ef=["value","selected"],Sf=["id","value","maxlength"],Tf={key:6,class:"characters-left-wrapper"},Of={key:0},Nf={key:7,class:"search-field-wrapper flex-container no-gap"},Vf=["id","maxlength","value"],Ff=["title"],Pf=["title"],Lf={key:1};function Af(e,t,n,r,i,l){var d,c,m,u,p,f,h,y,g,B,S,_,O,P,b,E,F,R,L,he,pe,ge,ye,be;const s=j,a=xo;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,sf)):o.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required!=null&&e.$attrs.required!==!1?(o.openBlock(),o.createElementBlock("sup",af,"*")):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:l.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(s,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,cf)):o.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(o.openBlock(),o.createBlock(a,{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",df,[n.fieldIconClass?(o.openBlock(),o.createBlock(s,{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},l.elementAttributes,{id:e.htmlId,class:n.inputClass,onFocus:t[1]||(t[1]=V=>e.tooltip=!0),onBlur:t[2]||(t[2]=(...V)=>l.onBlur&&l.onBlur(...V)),onInput:t[3]||(t[3]=(...V)=>l.onInput&&l.onInput(...V)),onMouseover:t[4]||(t[4]=(...V)=>l.datalistFocus&&l.datalistFocus(...V)),onKeyup:t[5]||(t[5]=(...V)=>e.checkForCapsLock&&e.checkForCapsLock(...V)),onChange:t[6]||(t[6]=V=>e.$emit("change",V)),autocomplete:l.autocomplete,list:n.datalist?n.datalist.id:null,value:n.modelValue,maxlength:l.getMaxLength(),ref:"input"}),null,16,mf)):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((...V)=>l.showPassword&&l.showPassword(...V),["prevent"])),onMouseup:t[8]||(t[8]=o.withModifiers((...V)=>l.hidePassword&&l.hidePassword(...V),["prevent"])),onMouseleave:t[9]||(t[9]=o.withModifiers((...V)=>l.hidePassword&&l.hidePassword(...V),["prevent"])),onClick:t[10]||(t[10]=o.withModifiers(()=>{},["prevent"])),title:n.iconPasswordVisible.tooltip},[o.createVNode(s,{iconClass:n.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,uf)):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,(V,we)=>(o.openBlock(),o.createElementBlock("option",{key:we,value:V},null,8,hf))),128))],8,ff)):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",bf,[o.createElementVNode("input",o.mergeProps(l.elementAttributes,{onChange:t[13]||(t[13]=(...V)=>l.onChange&&l.onChange(...V)),onBlur:t[14]||(t[14]=(...V)=>l.onBlur&&l.onBlur(...V)),checked:l.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,kf),o.createElementVNode("span",Cf,o.toDisplayString(n.onLabel),1),o.createElementVNode("span",wf,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,xf),e.$attrs.required?(o.openBlock(),o.createElementBlock("sup",Bf,"*")):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(l.elementAttributes,{onChange:t[11]||(t[11]=(...V)=>l.onChange&&l.onChange(...V)),onBlur:t[12]||(t[12]=(...V)=>l.onBlur&&l.onBlur(...V)),checked:l.isChecked,value:n.inputValue,class:[n.inputClass,e.validationStatus,l.toggleSwitchIconClass,{"replace-input-type":n.replaceInputType}],id:e.htmlId,disabled:e.$attrs.disabled,"aria-invalid":e.validationStatus==="error"}),null,16,pf),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,gf)):o.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required?(o.openBlock(),o.createElementBlock("sup",yf,"*")):o.createCommentVNode("",!0)])],2)):o.createCommentVNode("",!0)],64))],64)):o.createCommentVNode("",!0),n.element==="select"?(o.openBlock(),o.createElementBlock("select",o.mergeProps({key:4},l.elementAttributes,{id:e.htmlId,onBlur:t[15]||(t[15]=(...V)=>l.onBlur&&l.onBlur(...V)),onChange:t[16]||(t[16]=V=>e.$emit("update:modelValue",V.target.value))}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectOptions,(V,we)=>(o.openBlock(),o.createElementBlock("option",{key:we,value:V.value,selected:V.value===n.modelValue},o.toDisplayString(V.text),9,Ef))),128))],16,_f)):o.createCommentVNode("",!0),n.element==="textarea"?(o.openBlock(),o.createElementBlock("textarea",o.mergeProps({key:5},l.elementAttributes,{id:e.htmlId,value:n.modelValue,maxlength:l.getMaxLength(),onInput:t[17]||(t[17]=(...V)=>l.onInput&&l.onInput(...V)),onFocus:t[18]||(t[18]=V=>e.tooltip=!0),onBlur:t[19]||(t[19]=(...V)=>l.onBlur&&l.onBlur(...V))}),null,16,Sf)):o.createCommentVNode("",!0),n.element==="textarea"&&n.showCharactersTextarea?(o.openBlock(),o.createElementBlock("span",Tf,[n.textCharactersLeft?(o.openBlock(),o.createElementBlock("span",Of,o.toDisplayString(n.textCharactersLeft),1)):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass(["characters-left",{error:l.charactersLeft===0}])},o.toDisplayString(l.charactersLeft),3)])):n.element==="input"&&e.$attrs.type==="search"?(o.openBlock(),o.createElementBlock("span",Nf,[n.fieldIconClass?(o.openBlock(),o.createBlock(s,{key:0,class:"place-inside",iconClass:n.fieldIconClass},null,8,["iconClass"])):o.createCommentVNode("",!0),o.createElementVNode("input",o.mergeProps(l.elementAttributes,{id:e.htmlId,onInput:t[20]||(t[20]=(...V)=>l.onInput&&l.onInput(...V)),maxlength:l.getMaxLength(),value:n.modelValue}),null,16,Vf),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((...V)=>l.executeSearch&&l.executeSearch(...V),["prevent"]))},[o.createVNode(s,{iconClass:n.iconSearch.iconClass},null,8,["iconClass"])],10,Ff)):o.createCommentVNode("",!0),(d=n.iconDelete)!=null&&d.show?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",onClick:t[22]||(t[22]=o.withModifiers(V=>e.$emit("update:modelValue",""),["prevent"])),title:(c=n.iconDelete)==null?void 0:c.tooltip},[o.createVNode(s,{iconClass:(m=n.iconDelete)==null?void 0:m.iconClass,type:(u=n.iconDelete)==null?void 0:u.iconType},null,8,["iconClass","type"])],8,Pf)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],10,lf)):n.element==="button"?(o.openBlock(),o.createElementBlock("button",o.mergeProps({key:1,class:"button"},l.buttonAttrs,{onClick:t[23]||(t[23]=(...V)=>l.submit&&l.submit(...V))}),[(f=(p=n.nativeButton)==null?void 0:p.icon)!=null&&f.show&&(((y=(h=n.nativeButton)==null?void 0:h.icon)==null?void 0:y.position)==="before"||!((B=(g=n.nativeButton)==null?void 0:g.icon)!=null&&B.position))?(o.openBlock(),o.createBlock(s,{key:0,iconClass:(_=(S=n.nativeButton)==null?void 0:S.icon)==null?void 0:_.iconClass,type:(P=(O=n.nativeButton)==null?void 0:O.icon)==null?void 0:P.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(b=n.nativeButton)!=null&&b.icon&&((E=n.nativeButton)!=null&&E.text)?(o.openBlock(),o.createElementBlock("span",Lf,o.toDisplayString(n.nativeButton.text),1)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createTextVNode(o.toDisplayString(n.nativeButton.text),1)],64)),(R=(F=n.nativeButton)==null?void 0:F.icon)!=null&&R.show&&((he=(L=n.nativeButton)==null?void 0:L.icon)==null?void 0:he.position)==="after"?(o.openBlock(),o.createBlock(s,{key:3,iconClass:(ge=(pe=n.nativeButton)==null?void 0:pe.icon)==null?void 0:ge.iconClass,type:(be=(ye=n.nativeButton)==null?void 0:ye.icon)==null?void 0:be.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],16)):o.createCommentVNode("",!0)}const J=N(rf,[["render",Af]]),If={name:"CmdAddressDataItem",mixins:[Z],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 K(this,{item(){return e}})},updateHandlerProvider(){const e=this.editableAddressEntry;return K(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}}},Mf={key:1},Df=["href","target","title","data-type"],Rf=["innerHTML"],jf={key:1},qf=["href","title"],zf={class:"street-address"},Hf=o.createElementVNode("br",null,null,-1),Uf={key:0,class:"postal-code"},Wf={key:1,class:"locality"},Gf=o.createElementVNode("br",null,null,-1),Jf={key:0},Kf={key:3,class:"country-name"},Zf={class:"street-address"},Xf=o.createElementVNode("br",null,null,-1),Qf={key:0,class:"postal-code"},Yf={key:1,class:"locality"},$f=o.createElementVNode("br",null,null,-1),vf=o.createElementVNode("br",null,null,-1),eh={key:3,class:"country-name"};function th(e,t,n,r,i,l){const s=j,a=J,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"}])},[n.addressEntry.iconClass&&n.showLabelIcons?(o.openBlock(),o.createBlock(s,{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",Mf,o.toDisplayString(n.addressEntry.labelText),1)):o.createCommentVNode("",!0)],2),n.addressEntry.type!=="address"&&(n.addressEntry.data||n.addressEntry.href)?(o.openBlock(),o.createElementBlock("dd",{key:0,class:o.normalizeClass(l.vCardClass(n.addressEntry))},[e.editing?(o.openBlock(),o.createBlock(a,{key:1,element:"input",type:l.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:l.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,Df)),[[d,n.addressEntry.href]]):(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:n.addressEntry.data},null,8,Rf))],64))],2)):n.addressEntry.name==="address"?(o.openBlock(),o.createElementBlock("dd",jf,[n.linkGoogleMaps&&!e.editing?(o.openBlock(),o.createElementBlock("a",{key:0,href:l.locateAddress(n.addressEntry),target:"google-maps",title:n.addressEntry.tooltip},[n.addressEntry.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",zf,o.toDisplayString(n.addressEntry.streetNo),1),Hf],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",Uf,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",Wf,[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),Gf,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",Jf)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),n.addressEntry.country?(o.openBlock(),o.createElementBlock("span",Kf,o.toDisplayString(n.addressEntry.country),1)):o.createCommentVNode("",!0)],8,qf)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createVNode(a,{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(a,{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(a,{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(a,{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(a,{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",Zf,o.toDisplayString(n.addressEntry.streetNo),1),Xf],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",Qf,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",Yf,[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),$f,n.addressEntry.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(n.addressEntry.miscInfo),1),vf],64)):o.createCommentVNode("",!0),n.addressEntry.country?(o.openBlock(),o.createElementBlock("span",eh,o.toDisplayString(n.addressEntry.country),1)):o.createCommentVNode("",!0)],64))],64))])):o.createCommentVNode("",!0)],64)}const nh=N(If,[["render",th]]),oh={name:"CmdAddressData",mixins:[Z,X,{data(){return{defaultMessageProperties:{"cmdaddressdata.labeltext.company":"Company:","cmdaddressdata.labeltext.address":"Address:","cmdaddressdata.labeltext.telephone":"Telephone:","cmdaddressdata.labeltext.mobile_phone":"Mobile phone:","cmdaddressdata.labeltext.fax":"Fax:","cmdaddressdata.labeltext.email":"Email:","cmdaddressdata.labeltext.website":"Web site:","cmdaddressdata.labeltext.custom":"Custom:","cmdaddressdata.title.open_address_on_google_maps:":"Open address on GoogleMaps™ (in new tab)","cmdaddressdata.title.call_number":"Call number","cmdaddressdata.title.send_email":"Send email","cmdaddressdata.title.visit_website":"Visit web site (in new tab)"}}}}],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(Be(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 K(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:{}},rh={class:"cmd-address-data vcard"},ih={class:"adr"},lh={key:0},sh=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],ah=["href","target","title"],ch=["innerHTML"],dh=["href","title"],mh={class:"street-address"},uh=o.createElementVNode("br",null,null,-1),fh={key:0,class:"postal-code"},hh={key:1,class:"locality"},ph=o.createElementVNode("br",null,null,-1),gh=o.createElementVNode("br",null,null,-1),yh=o.createElementVNode("br",null,null,-1),bh={key:4,class:"country-name"},kh={class:"street-address"},Ch=o.createElementVNode("br",null,null,-1),wh={key:0,class:"postal-code"},xh={key:1,class:"locality"},Bh=o.createElementVNode("br",null,null,-1),_h=o.createElementVNode("br",null,null,-1),Eh=o.createElementVNode("br",null,null,-1),Sh={key:4,class:"country-name"};function Th(e,t,n,r,i,l){var m;const s=z,a=nh,d=_e,c=j;return o.openBlock(),o.createElementBlock("div",rh,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(m=n.cmdHeadline)!=null&&m.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("address",ih,[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]=(...u)=>l.onAddItem&&l.onAddItem(...u))},sh)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(u,p)=>(o.openBlock(),o.createBlock(d,{key:"x"+p,class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdAddressDataItem",componentProps:u,componentPath:["props","addressData",p]},{default:o.withCtx(()=>[o.createElementVNode("dl",null,[o.createVNode(a,{addressEntry:u,showLabelIcons:n.showLabelIcons,showLabelTexts:n.showLabelTexts},null,8,["addressEntry","showLabelIcons","showLabelTexts"])])]),_:2},1032,["componentProps","componentPath"]))),128))],64)):(o.openBlock(),o.createElementBlock("dl",lh,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(u,p)=>(o.openBlock(),o.createBlock(a,{key:p,addressEntry:u,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,(u,p)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:p},[u.href||u.name==="address"&&u.linkGoogleMaps||!n.showIconsOnly?(o.openBlock(),o.createElementBlock("li",{key:0,class:o.normalizeClass({"no-flex":n.showIconsOnly})},[u.href?(o.openBlock(),o.createElementBlock("a",{key:0,href:l.getHref(u),target:u.name==="url"?"_blank":null,title:u.tooltip},[n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[u.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(u.href),1)],64))],8,ah)):n.showIconsOnly?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:u.data},null,8,ch)),u.name==="address"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[u.linkGoogleMaps?(o.openBlock(),o.createElementBlock("a",{key:0,href:l.locateAddress(u),target:"google-maps",title:u.tooltip},[n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[u.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[u.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",mh,o.toDisplayString(u.streetNo),1),uh],64)):o.createCommentVNode("",!0),u.zip||u.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[u.zip?(o.openBlock(),o.createElementBlock("span",fh,o.toDisplayString(u.zip)+" ",1)):o.createCommentVNode("",!0),u.city?(o.openBlock(),o.createElementBlock("span",hh,[o.createTextVNode(o.toDisplayString(u.city),1),u.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(u.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),ph],2)):o.createCommentVNode("",!0),u.pobox?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(u.pobox),1),gh],64)):o.createCommentVNode("",!0),u.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createElementVNode("span",null,o.toDisplayString(u.miscInfo),1),yh],64)):o.createCommentVNode("",!0),u.country?(o.openBlock(),o.createElementBlock("span",bh,o.toDisplayString(u.country),1)):o.createCommentVNode("",!0)],64))],8,dh)):o.createCommentVNode("",!0),!u.linkGoogleMaps&&!n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[u.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",kh,o.toDisplayString(u.streetNo),1),Ch],64)):o.createCommentVNode("",!0),u.zip||u.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[u.zip?(o.openBlock(),o.createElementBlock("span",wh,o.toDisplayString(u.zip)+" ",1)):o.createCommentVNode("",!0),u.city?(o.openBlock(),o.createElementBlock("span",xh,[o.createTextVNode(o.toDisplayString(u.city),1),u.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(u.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),Bh],2)):o.createCommentVNode("",!0),u.pobox?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(u.pobox),1),_h],64)):o.createCommentVNode("",!0),u.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createElementVNode("span",null,o.toDisplayString(u.miscInfo),1),Eh],64)):o.createCommentVNode("",!0),u.country?(o.openBlock(),o.createElementBlock("span",Sh,o.toDisplayString(u.country),1)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],64))),128))],2))])],64))])}const yl=N(oh,[["render",Th]]),Oh={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"})}}},Nh=["title"];function Vh(e,t,n,r,i,l){const s=j;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>[l.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((...a)=>l.onBackToTop&&l.onBackToTop(...a),["prevent"]))},[o.createVNode(s,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,Nh)):o.createCommentVNode("",!0)]),_:1})}const Fh=N(Oh,[["render",Vh]]),Ph={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")}}},Lh={class:"cmd-bank-account-data"},Ah={key:0},Ih=["onClick","title"],Mh={key:1};function Dh(e,t,n,r,i,l){const s=z,a=j;return o.openBlock(),o.createElementBlock("div",Lh,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdHeadline?(o.openBlock(),o.createBlock(s,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",Ah,[o.createElementVNode("span",null,o.toDisplayString(d.value),1),o.createElementVNode("a",{href:"#",onClick:o.withModifiers(m=>l.copyToClipboard(d.value),["prevent"]),title:n.cmdIcon.tooltip},[o.createVNode(a,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,Ih)])):(o.openBlock(),o.createElementBlock("dd",{key:c},o.toDisplayString(d.value),1))],64))),128))]),n.additionalInformation?(o.openBlock(),o.createElementBlock("p",Mh,o.toDisplayString(n.additionalInformation),1)):o.createCommentVNode("",!0)],64))])}const Rh=N(Ph,[["render",Dh]]),jh={name:"CmdForm",emits:["submit"],data(){return{errorOccurred:!1,formValues:{}}},props:{formAction:{type:String,required:!1},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:_o,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}}},qh=["action","data-use-validation","novalidate"],zh={class:"flex-container"},Hh=["type"],Uh={key:1},Wh={key:0,class:"button-wrapper"},Gh=["type"],Jh={key:1};function Kh(e,t,n,r,i,l){const s=J;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]=(...a)=>l.onSubmit&&l.onSubmit(...a)),novalidate:n.novalidate},[n.useFieldset?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("fieldset",zh,[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,(a,d)=>(o.openBlock(),o.createBlock(s,{key:d,element:a.element||"input",type:a.type||"text",name:a.name,class:o.normalizeClass(a.htmlClass),id:a.id||l.createHtmlId(),modelValue:i.formValues[a.name],"onUpdate:modelValue":c=>i.formValues[a.name]=c,inputValue:a.inputValue,fieldIconClass:a.innerIconClass,selectOptions:a.selectOptions,labelText:a.labelText,placeholder:a.placeholder,required:a.required,disabled:a.disabled,autocomplete:a.autocomplete,minlength:a.minlength,maxlength:a.maxlength,nativeButton:a.nativeButton},null,8,["element","type","name","class","id","modelValue","onUpdate:modelValue","inputValue","fieldIconClass","selectOptions","labelText","placeholder","required","disabled","autocomplete","minlength","maxlength","nativeButton"]))),128)),l.submitButtonOptions&&(l.submitButtonOptions.position==="insideFieldset"||l.submitButtonOptions.position===null)?(o.openBlock(),o.createElementBlock("button",{key:2,class:o.normalizeClass(["button",{primary:l.submitButtonOptions.primary}]),type:l.submitButtonOptions.type},[l.submitButtonOptions.iconClass?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(l.submitButtonOptions.iconClass)},null,2)):o.createCommentVNode("",!0),l.submitButtonOptions.text?(o.openBlock(),o.createElementBlock("span",Uh,o.toDisplayString(l.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,Hh)):o.createCommentVNode("",!0)]),l.submitButtonOptions&&l.submitButtonOptions.position==="belowFieldset"?(o.openBlock(),o.createElementBlock("div",Wh,[o.createElementVNode("button",{class:o.normalizeClass(["button",{primary:l.submitButtonOptions.primary}]),type:l.submitButtonOptions.type||"submit"},[l.submitButtonOptions.iconClass?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(l.submitButtonOptions.iconClass)},null,2)):o.createCommentVNode("",!0),l.submitButtonOptions.text?(o.openBlock(),o.createElementBlock("span",Jh,o.toDisplayString(l.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,Gh)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"button-row")],64)):o.renderSlot(e.$slots,"default",{key:1})],42,qh)}const bl=N(jh,[["render",Kh]]),Zh={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.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>."}}}},Ne=class Ne{constructor(t){It(this,"label");this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,Ne.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,Ne.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,Ne.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,""]}};It(Ne,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),It(Ne,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),It(Ne,"PATTERN_MESSAGE",/^.{2,500}$/);let To=Ne;function We(e){if(e){const t=e.lastIndexOf(".");if(t>-1)return e.substring(t+1)}return""}function kl(e,t,n,r,i){const l=[];if(e.size>r&&l.push("file too large"),t.includes(We(e.name))||l.push("disallowed file extension"),l.length){alert(l);return}const s=new Image;s.onload=()=>{if(s.width<n&&!confirm("width ("+s.width+" px) too small - at least "+n+" px required! Use trotzdem!")){alert("Cancel");return}URL.revokeObjectURL(s.src),typeof i=="function"?i(s.src):i.src=s.src},s.src=URL.createObjectURL(e)}const Xh={name:"CmdImage",mixins:[Z],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&&kl(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(),kl(e.dataTransfer.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,t=>this.newImageSource=t))},addHandlerProvider(){const e={image:{id:Ue(),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 K(this,{item(){return e}})},updateHandlerProvider(){const e=this.figcaptionText;return this.figcaptionText=null,K(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}}},Qh=["innerHTML"],Yh=o.createElementVNode("span",{class:"icon-image"},null,-1),$h=["src","alt","title"],vh=["src","alt","title"],ep=["innerHTML"],tp=[o.createElementVNode("span",{class:"icon-add"},null,-1),o.createElementVNode("span",null,"Add new image",-1)],np=["innerHTML"],op=["src","alt","title"],rp=["innerHTML"],ip=["src","alt","title"];function lp(e,t,n,r,i,l){var d,c,m,u,p,f,h,y,g,B,S;const s=J,a=_e;return e.editModeContext?(o.openBlock(),o.createBlock(a,{key:0,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdImage",componentProps:{image:n.image,figcaption:n.figcaption},componentPath:l.imageComponentPath,allowDeleteComponent:!!l.imageSource,itemProvider:((d=e.editModeConfig)==null?void 0:d.allowAddItem)!==!1?l.itemProvider:null},{default:o.withCtx(_=>{var O,P,b,E,F,R,L,he,pe,ge,ye,be;return[o.createElementVNode("figure",{class:o.normalizeClass(["cmd-image flex-container no-gap vertical",l.textAlign])},[(O=n.figcaption)!=null&&O.show&&((P=n.figcaption)==null?void 0:P.position)==="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[_.editing?(o.openBlock(),o.createBlock(s,{key:0,element:"input",type:"text",class:o.normalizeClass([l.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",modelValue:l.editableFigcaptionText,"onUpdate:modelValue":t[0]||(t[0]=V=>l.editableFigcaptionText=V)},null,8,["class","modelValue"])):(b=n.figcaption)!=null&&b.text?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(E=n.figcaption)==null?void 0:E.text},null,8,Qh)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),_.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(l.dragAndDropHandler,!0),{onClick:t[1]||(t[1]=o.withModifiers((...V)=>l.selectFiles&&l.selectFiles(...V),["prevent"])),title:"Drag new image to this area to replace old one!"}),[Yh,o.createElementVNode("img",{src:l.imageSource,alt:(F=n.image)==null?void 0:F.alt,title:(R=n.image)==null?void 0:R.tooltip},null,8,$h)],16),o.createVNode(s,{class:"hidden",element:"input",type:"file",labelText:"Select new image",disabled:i.uploadInitiated,onChange:l.fileSelected,ref:"formElement"},null,8,["disabled","onChange"])],64)):l.imageSource?(o.openBlock(),o.createElementBlock("img",{key:2,src:l.imageSource,alt:(L=n.image)==null?void 0:L.alt,title:(he=n.image)==null?void 0:he.tooltip},null,8,vh)):o.createCommentVNode("",!0),(pe=n.figcaption)!=null&&pe.show&&((ge=n.figcaption)==null?void 0:ge.position)!=="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[_.editing?(o.openBlock(),o.createBlock(s,{key:0,element:"input",type:"text",class:o.normalizeClass([l.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",showLabel:!1,modelValue:l.editableFigcaptionText,"onUpdate:modelValue":t[2]||(t[2]=V=>l.editableFigcaptionText=V),placeholder:"figcaption"},null,8,["class","modelValue"])):(ye=n.figcaption)!=null&&ye.text?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(be=n.figcaption)==null?void 0:be.text},null,8,ep)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),!_.editing&&!l.imageSource?(o.openBlock(),o.createElementBlock("button",{key:4,type:"button",class:"button confirm",onClick:t[3]||(t[3]=(...V)=>l.onAddItem&&l.onAddItem(...V))},tp)):o.createCommentVNode("",!0)],2)]}),_:1},8,["componentProps","componentPath","allowDeleteComponent","itemProvider"])):n.useFigureTag?(o.openBlock(),o.createElementBlock("figure",{key:1,class:o.normalizeClass(["cmd-image",l.textAlign])},[((c=n.figcaption)==null?void 0:c.position)==="top"&&((m=n.figcaption)!=null&&m.text)?(o.openBlock(),o.createElementBlock("figcaption",{key:0,innerHTML:(u=n.figcaption)==null?void 0:u.text},null,8,np)):o.createCommentVNode("",!0),o.createElementVNode("img",{src:l.imageSource,alt:(p=n.image)==null?void 0:p.alt,title:(f=n.image)==null?void 0:f.tooltip,onLoad:t[4]||(t[4]=(..._)=>l.onImageLoaded&&l.onImageLoaded(..._))},null,40,op),((h=n.figcaption)==null?void 0:h.position)!=="top"&&((y=n.figcaption)!=null&&y.text)?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(g=n.figcaption)==null?void 0:g.text},null,8,rp)):o.createCommentVNode("",!0)],2)):(o.openBlock(),o.createElementBlock("img",{key:2,src:l.imageSource,alt:(B=n.image)==null?void 0:B.alt,title:(S=n.image)==null?void 0:S.tooltip,onLoad:t[5]||(t[5]=(..._)=>l.onImageLoaded&&l.onImageLoaded(..._))},null,40,ip))}const Ce=N(Xh,[["render",lp]]),sp={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"),{})}}},ap=["title"];function cp(e,t,n,r,i,l){const s=j;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:l.getDirection.tooltip},[o.createVNode(s,{type:l.getDirection.iconType||"auto",iconClass:l.getDirection.iconClass||"next"},null,8,["type","iconClass"])],10,ap)}const it=N(sp,[["render",cp]]),dp={name:"CmdThumbnailScroller",emits:["click"],mixins:[X,{data(){return{defaultMessageProperties:{"cmdthumbnailscroller.tooltip.open_large_image":"Open large image","cmdthumbnailscroller.tooltip.open_url":"Open URL in a new tab","cmdthumbnailscroller.tooltip.open":"Open"}}}},Z],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("cmdthumbnailscroller.tooltip.open_large_image"):this.executeOnClick==="url"?this.getMessage("cmdthumbnailscroller.tooltip.open_url"):this.getMessage("cmdthumbnailscroller.tooltip.open")},fullWidthClass(){return this.orientation==="horizontal"?"full-width":null}},methods:{itemProvider(){return{image:{id:Ue(),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(Be(this,"props","thumbnailScrollerItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{id:Ue(),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&&Fe({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}}},mp={class:"inner-thumbnail-wrapper"},up=["href","onClick","title","target"],fp={key:1},hp={key:1},pp={key:0},gp=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new thumbnail-scroller-image",-1)];function yp(e,t,n,r,i,l){var m;const s=z,a=it,d=Ce,c=j;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":n.useGalleryScroller,"large-icons":n.largeIcons,vertical:n.orientation==="vertical"},l.fullWidthClass]),ref:"thumbnail-scroller"},[(m=n.cmdHeadline)!=null&&m.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",mp,[i.showSlidebuttons?(o.openBlock(),o.createBlock(a,{key:0,onClick:o.withModifiers(l.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,(u,p)=>(o.openBlock(),o.createElementBlock("li",{key:p},[e.editModeContext?n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:1,image:u.image,figcaption:u.figcaption,componentPath:["props","thumbnailScrollerItems",p],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):n.contentType==="text"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[u.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),u.text?(o.openBlock(),o.createElementBlock("span",hp,o.toDisplayString(u.text),1)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("a",{key:0,href:n.executeOnClick==="url"?u.url:"#",onClick:f=>l.executeLink(p,f),class:o.normalizeClass([{active:n.activeItemIndex===p},u.id?"item-"+u.id:""]),title:l.tooltip,target:n.executeOnClick==="url"?"_blank":null},[n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:0,image:u.image,figcaption:u.figcaption},null,8,["image","figcaption"])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[u.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),u.text?(o.openBlock(),o.createElementBlock("span",fp,o.toDisplayString(u.text),1)):o.createCommentVNode("",!0)],64))],10,up))]))),128)),!i.items.length&&n.contentType==="image"?(o.openBlock(),o.createElementBlock("li",pp,[o.createElementVNode("button",{type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...u)=>l.onAddItem&&l.onAddItem(...u))},gp)])):o.createCommentVNode("",!0)]),_:1}),i.showSlidebuttons?(o.openBlock(),o.createBlock(a,{key:1,onClick:o.withModifiers(l.showNextItem,["prevent"]),slideButtons:n.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):o.createCommentVNode("",!0)])],2)}const Cl=N(dp,[["render",yp]]),Fe=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(wl,{...e,show:!0}).mount(t)},wl=o.defineComponent({name:"CmdFancyBox",mixins:[rt],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,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},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:{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:{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 bp(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 bp(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const kp=wl,Cp=["aria-label"],wp={class:"flex-container"},xp={key:1,class:"button-wrapper no-flex"},Bp=["title"],_p=["title"],Ep=["title"],Sp={key:0,class:"content"},Tp=["innerHTML"],Op={key:2,class:"content",ref:"elements"},Np={key:3,class:"content"},Vp={key:4,class:"content"},Fp={key:0,class:"flex-container no-flex"},Pp=["title"],Lp={key:1},Ap=["title"],Ip={key:1};function Mp(e,t,n,r,i,l){var u,p,f,h,y,g,B,S,_,O,P,b,E,F,R,L,he,pe,ge,ye,be,V,we,Ft,Pt,Lt,At;const s=z,a=j,d=Ce,c=it,m=Cl;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]=(...re)=>e.onDialogCancel&&e.onDialogCancel(...re))},[o.createElementVNode("header",wp,[(u=e.cmdHeadline)!=null&&u.headlineText?(o.openBlock(),o.createBlock(s,o.mergeProps({key:0},e.cmdHeadline,{id:e.htmlId}),null,16,["id"])):o.createCommentVNode("",!0),(p=e.fancyboxOptions.printButtons)!=null&&p.color||(f=e.fancyboxOptions.printButtons)!=null&&f.grayscale||e.fancyboxOptions.closeIcon?(o.openBlock(),o.createElementBlock("div",xp,[e.showPrintButtons&&((h=e.fancyboxOptions.printButtons)!=null&&h.color)?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(y=e.fancyboxOptions.printButtons.color)==null?void 0:y.tooltip,onClick:t[0]||(t[0]=o.withModifiers(re=>e.printInGrayscale=!1,["prevent"]))},[o.createVNode(a,{iconClass:(g=e.fancyboxOptions.printButtons.color)==null?void 0:g.iconClass,type:(B=e.fancyboxOptions.printButtons.color)==null?void 0:B.iconType},null,8,["iconClass","type"])],8,Bp)):o.createCommentVNode("",!0),e.showPrintButtons&&((S=e.fancyboxOptions.printButtons)!=null&&S.grayscale)?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(_=e.fancyboxOptions.printButtons.grayscale)==null?void 0:_.tooltip,onClick:t[1]||(t[1]=o.withModifiers(re=>e.printInGrayscale=!0,["prevent"]))},[o.createVNode(a,{iconClass:(O=e.fancyboxOptions.printButtons.grayscale)==null?void 0:O.iconClass,type:(P=e.fancyboxOptions.printButtons.grayscale)==null?void 0:P.iconType},null,8,["iconClass","type"])],8,_p)):o.createCommentVNode("",!0),e.fancyboxOptions.closeIcon?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",class:"button",id:"close-dialog",title:e.fancyboxOptions.closeIcon.tooltip,ref:"close-dialog",onClick:t[2]||(t[2]=o.withModifiers((...re)=>e.close&&e.close(...re),["prevent"]))},[o.createVNode(a,{iconClass:e.fancyboxOptions.closeIcon.iconClass,type:e.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,Ep)):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",Sp,[o.createVNode(d,{image:e.largeSingleImage,figcaption:(E=e.cmdImage)==null?void 0:E.figcaption},null,8,["image","figcaption"])])):e.fancyBoxContent?(o.openBlock(),o.createElementBlock("div",{key:1,class:"content",innerHTML:e.fancyBoxContent},null,8,Tp)):e.fancyBoxElements?(o.openBlock(),o.createElementBlock("div",Op,null,512)):e.fancyBoxGallery?(o.openBlock(),o.createElementBlock("div",Np,[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",Vp,[o.renderSlot(e.$slots,"default")]))],2),e.showSubmitButtons&&e.fancyboxOptions.submitButtons?(o.openBlock(),o.createElementBlock("footer",Fp,[(F=e.fancyboxOptions.submitButtons)!=null&&F.cancel?(o.openBlock(),o.createElementBlock("button",{key:0,onClick:t[3]||(t[3]=(...re)=>e.cancel&&e.cancel(...re)),title:(R=e.fancyboxOptions.submitButtons.cancel)==null?void 0:R.tooltip},[(L=e.fancyboxOptions.submitButtons.cancel)!=null&&L.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:(he=e.fancyboxOptions.submitButtons.cancel)==null?void 0:he.iconClass,type:(pe=e.fancyboxOptions.submitButtons.cancel)==null?void 0:pe.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(ge=e.fancyboxOptions.submitButtons.cancel)!=null&&ge.buttonText?(o.openBlock(),o.createElementBlock("span",Lp,o.toDisplayString((ye=e.fancyboxOptions.submitButtons.cancel)==null?void 0:ye.buttonText),1)):o.createCommentVNode("",!0)],8,Pp)):o.createCommentVNode("",!0),(be=e.fancyboxOptions.submitButtons)!=null&&be.confirm?(o.openBlock(),o.createElementBlock("button",{key:1,onClick:t[4]||(t[4]=(...re)=>e.confirm&&e.confirm(...re)),title:(V=e.fancyboxOptions.submitButtons.cancel)==null?void 0:V.tooltip},[(we=e.fancyboxOptions.submitButtons.confirm)!=null&&we.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:(Ft=e.fancyboxOptions.submitButtons.confirm)==null?void 0:Ft.iconClass,type:(Pt=e.fancyboxOptions.submitButtons.confirm)==null?void 0:Pt.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(Lt=e.fancyboxOptions.submitButtons.confirm)!=null&&Lt.buttonText?(o.openBlock(),o.createElementBlock("span",Ip,o.toDisplayString((At=e.fancyboxOptions.submitButtons.confirm)==null?void 0:At.buttonText),1)):o.createCommentVNode("",!0)],8,Ap)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.fancyBoxGallery?(o.openBlock(),o.createBlock(m,{key:1,thumbnailScrollerItems:[...e.fancyBoxGallery],allowOpenFancyBox:!1,onClick:e.showItem,activeItemIndex:e.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):o.createCommentVNode("",!0)],42,Cp)}const Dp=N(kp,[["render",Mp]]),Rp={emits:["submit"],mixins:[X,Zh,Gt],inject:{editModeContext:{default:null}},data(){return{validator:new To(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,default(){return{iconClass:"icon-message-send",text:"Send mail",type:"submit",position:"belowFieldset",primary:!0}}},cmdHeadline:{type:Object,default(){return{headlineText:"Basic Form",headlineLevel:3}}},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(),Fe({url:n.target.getAttribute("href")})})},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(),Fe({url:e}))},openDataPrivacy(e){Fe({url:e})}},watch:{showCityBeforeZip(){this.cityBeforeZip=this.showCityBeforeZip}}},jp={class:"cmd-pages-basic-form"},qp={key:0,class:"flex-container no-flex order-male-female"},zp={key:1,class:"flex-container order-lastname-firstname"},Hp={key:2,class:"flex-container order-phone-email"},Up={key:3,class:"flex-container"},Wp=["innerHTML"];function Gp(e,t,n,r,i,l){const s=z,a=J,d=bl;return o.openBlock(),o.createElementBlock("div",jp,[n.cmdHeadline?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createVNode(d,o.mergeProps({onSubmit:l.onSubmit,novalidate:"novalidate"},n.cmdForm,{legend:n.legend,submitButton:n.submitButton,formAction:n.formAction}),{default:o.withCtx(()=>{var c,m,u,p,f,h,y,g,B,S,_,O,P,b,E,F,R,L,he,pe,ge,ye,be,V,we,Ft,Pt,Lt,At,re,rm,im,lm,sm,am,cm,dm,mm,um,fm;return[n.configuration.salutation?(o.openBlock(),o.createElementBlock("div",qp,[o.createVNode(a,{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:(m=n.configuration.salutation)==null?void 0:m.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":t[0]||(t[0]=q=>i.formData.salutation.value=q),onValidate:l.onValidate},null,8,["labelText","name","replaceInputType","modelValue","onValidate"]),o.createVNode(a,{element:"input",type:"radio",labelText:e.getMessage("basic_form.labeltext.salutation_female"),name:((u=n.configuration.salutation)==null?void 0:u.name)||"salutation",inputValue:"f",replaceInputType:(p=n.configuration.salutation)==null?void 0:p.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":t[1]||(t[1]=q=>i.formData.salutation.value=q),onValidate:l.onValidate},null,8,["labelText","name","replaceInputType","modelValue","onValidate"])])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"top"),n.configuration.lastName||n.configuration.firstName?(o.openBlock(),o.createElementBlock("div",zp,[n.configuration.lastName?(o.openBlock(),o.createBlock(a,{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]=q=>i.formData.lastName.value=q),status:i.formData.lastName.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","required","name","placeholder","modelValue","status","onValidate"])):o.createCommentVNode("",!0),n.configuration.firstName?(o.openBlock(),o.createBlock(a,{key:1,element:"input",type:((g=n.configuration.firstName)==null?void 0:g.type)||"text",iconClass:"icon-user-profile",labelText:e.getMessage("basic_form.labeltext.first_name"),placeholder:e.getMessage("basic_form.placeholder.first_name"),required:(B=n.configuration.firstName)==null?void 0:B.required,name:((S=n.configuration.firstName)==null?void 0:S.name)||"first-name",modelValue:i.formData.firstName.value,"onUpdate:modelValue":t[3]||(t[3]=q=>i.formData.firstName.value=q),status:i.formData.firstName.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.email||n.configuration.phone?(o.openBlock(),o.createElementBlock("div",Hp,[n.configuration.email?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:((_=n.configuration.email)==null?void 0:_.type)||"email",iconClass:"icon-mail",labelText:e.getMessage("basic_form.labeltext.email"),placeholder:e.getMessage("basic_form.placeholder.email"),required:(O=n.configuration.email)==null?void 0:O.required,name:((P=n.configuration.email)==null?void 0:P.name)||"email",modelValue:i.formData.email.value,"onUpdate:modelValue":t[4]||(t[4]=q=>i.formData.email.value=q),status:i.formData.email.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0),n.configuration.phone?(o.openBlock(),o.createBlock(a,{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]=q=>i.formData.phone.value=q),required:(E=n.configuration.phone)==null?void 0:E.required,name:((F=n.configuration.phone)==null?void 0:F.name)||"phone",status:i.formData.phone.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","modelValue","required","name","status","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.streetNo||n.configuration.streetNo||n.configuration.zip&&n.configuration.city?(o.openBlock(),o.createElementBlock("div",Up,[n.configuration.country?(o.openBlock(),o.createBlock(a,{key:0,element:"select",labelText:e.getMessage("basic_form.labeltext.country"),selectOptions:(R=n.configuration.country)==null?void 0:R.selectOptions,required:(L=n.configuration.country)==null?void 0:L.required,name:((he=n.configuration.country)==null?void 0:he.name)||"country",modelValue:i.formData.country.value,"onUpdate:modelValue":[t[6]||(t[6]=q=>i.formData.country.value=q),l.onCountrySelect],status:i.formData.country.error?"error":"",onValidate:l.onValidate},null,8,["labelText","selectOptions","required","name","modelValue","status","onValidate","onUpdate:modelValue"])):o.createCommentVNode("",!0),n.configuration.streetNo?(o.openBlock(),o.createBlock(a,{key:1,element:"input",type:((pe=n.configuration.streetNo)==null?void 0:pe.type)||"text",labelText:e.getMessage("basic_form.labeltext.street_no"),placeholder:e.getMessage("basic_form.placeholder.street_no"),required:(ge=n.configuration.streetNo)==null?void 0:ge.required,name:((ye=n.configuration.streetNo)==null?void 0:ye.name)||"street-no",modelValue:i.formData.streetNo.value,"onUpdate:modelValue":t[7]||(t[7]=q=>i.formData.streetNo.value=q),status:i.formData.streetNo.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0),n.configuration.pobox?(o.openBlock(),o.createBlock(a,{key:2,element:"input",type:((be=n.configuration.pobox)==null?void 0:be.type)||"text",labelText:e.getMessage("basic_form.labeltext.pobox"),placeholder:e.getMessage("basic_form.placeholder.pobox"),required:(V=n.configuration.pobox)==null?void 0:V.required,name:((we=n.configuration.pobox)==null?void 0:we.name)||"pobox",modelValue:i.formData.pobox.value,"onUpdate:modelValue":t[8]||(t[8]=q=>i.formData.pobox.value=q),status:i.formData.pobox.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","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(a,{key:0,element:"input",class:"input-zip",type:((Ft=n.configuration.zip)==null?void 0:Ft.type)||"number",labelText:e.getMessage("basic_form.labeltext.zip"),placeholder:e.getMessage("basic_form.placeholder.zip"),required:(Pt=n.configuration.zip)==null?void 0:Pt.required,name:((Lt=n.configuration.zip)==null?void 0:Lt.name)||"zip",modelValue:i.formData.zip.value,"onUpdate:modelValue":t[9]||(t[9]=q=>i.formData.zip.value=q),status:i.formData.zip.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0),n.configuration.city?(o.openBlock(),o.createBlock(a,{key:1,element:"input",type:((At=n.configuration.city)==null?void 0:At.type)||"text",labelText:e.getMessage("basic_form.labeltext.city"),placeholder:e.getMessage("basic_form.placeholder.city"),required:(re=n.configuration.city)==null?void 0:re.required,name:((rm=n.configuration.city)==null?void 0:rm.name)||"city",modelValue:i.formData.city.value,"onUpdate:modelValue":t[10]||(t[10]=q=>i.formData.city.value=q),status:i.formData.city.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0)],2),n.configuration.additionalAddressInfo?(o.openBlock(),o.createBlock(a,{key:3,element:"input",type:((im=n.configuration.additionalAddressInfo)==null?void 0:im.type)||"text",labelText:e.getMessage("basic_form.labeltext.additional_address_info"),placeholder:e.getMessage("basic_form.placeholder.additional_address_info"),required:(lm=n.configuration.additionalAddressInfo)==null?void 0:lm.required,name:((sm=n.configuration.additionalAddressInfo)==null?void 0:sm.name)||"additional-address-info",modelValue:i.formData.additionalAddressInfo.value,"onUpdate:modelValue":t[11]||(t[11]=q=>i.formData.additionalAddressInfo.value=q),status:i.formData.additionalAddressInfo.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.userMessage?(o.openBlock(),o.createBlock(a,{key:4,element:((am=n.configuration.userMessage)==null?void 0:am.element)||"textarea",labelText:e.getMessage("basic_form.labeltext.user_message"),placeholder:e.getMessage("basic_form.placeholder.user_message"),required:(cm=n.configuration.userMessage)==null?void 0:cm.required,name:((dm=n.configuration.userMessage)==null?void 0:dm.name)||"user-message",modelValue:i.formData.userMessage.value,"onUpdate:modelValue":t[12]||(t[12]=q=>i.formData.userMessage.value=q),status:i.formData.userMessage.error?"error":"",onValidate:l.onValidate},null,8,["element","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"bottom"),n.configuration.acceptPrivacy?(o.openBlock(),o.createBlock(a,{key:5,element:"input",type:"checkbox",required:(mm=n.configuration.acceptPrivacy)==null?void 0:mm.required,name:((um=n.configuration.acceptPrivacy)==null?void 0:um.name)||"accept-privacy",replaceInputType:(fm=n.configuration.acceptPrivacy)==null?void 0:fm.replaceInputType,modelValue:i.formData.acceptPrivacy.value,"onUpdate:modelValue":t[13]||(t[13]=q=>i.formData.acceptPrivacy.value=q),status:i.formData.acceptPrivacy.error?"error":"",onValidate:l.onValidate},{labeltext:o.withCtx(()=>[o.createElementVNode("span",{ref:"dataPrivacy",innerHTML:e.getMessage("basic_form.labeltext.data_privacy")},null,8,Wp)]),_:1},8,["required","name","replaceInputType","modelValue","status","onValidate"])):o.createCommentVNode("",!0)]}),_:3},16,["onSubmit","legend","submitButton","formAction"])])}const xl=N(Rp,[["render",Gp]]),Jp={name:"CmdInnerLink",props:{icon:{type:Object,default:{}},text:{type:String,default:""}}},Kp=["title"],Zp={key:1},Xp=["title"];function Qp(e,t,n,r,i,l){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,Kp)):o.createCommentVNode("",!0),n.text?(o.openBlock(),o.createElementBlock("span",Zp,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,Xp)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64)}const Yp=N(Jp,[["render",Qp]]),$p={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})}}},vp=["href","target","title"],eg=["title"];function tg(e,t,n,r,i,l){var d,c,m;const s=Yp,a=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]=u=>l.emitClick(u,"href")),title:(d=n.icon)==null?void 0:d.tooltip},[o.createVNode(s,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],10,vp)):n.linkType==="router"?(o.openBlock(),o.createBlock(a,{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]=u=>l.emitClick(u,"router")),title:(c=n.icon)==null?void 0:c.tooltip},{default:o.withCtx(()=>[o.createVNode(s,{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]=u=>l.emitClick(u,"button")),title:(m=n.icon)==null?void 0:m.tooltip},[o.createVNode(s,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],10,eg)):o.createCommentVNode("",!0)}const Ge=N($p,[["render",tg]]),ng={name:"CmdListOfLinksItem",inheritAttrs:!1,mixins:[Z],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 K(this,{update(t){t.text=e}})}}},og={key:0,class:"cmd-list-of-links-item"},rg={key:0},ig={key:1,class:"input-wrapper"};function lg(e,t,n,r,i,l){var c;const s=Ge,a=o.resolveComponent("CmdListOfLinksItem",!0),d=J;return e.editing?(o.openBlock(),o.createElementBlock("div",ig,[o.createVNode(d,{element:"input",type:"text",labelText:"Linktext",showLabel:!1,placeholder:"Linktext",modelValue:i.editableText,"onUpdate:modelValue":t[0]||(t[0]=m=>i.editableText=m)},null,8,["modelValue"])])):(o.openBlock(),o.createElementBlock("li",og,[o.createVNode(s,o.normalizeProps(o.guardReactiveProps(n.link)),null,16),e.editModeContext?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("ul",rg,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList((c=n.link)==null?void 0:c.children,(m,u)=>(o.openBlock(),o.createBlock(a,{key:u,link:m},null,8,["link"]))),128))]))]))}const sg=N(ng,[["render",lg]]),ag={name:"CmdListOfLinks",emits:["click"],mixins:[Z],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(Be(this,"props","links",-1),this.itemProvider)},itemProvider(){return{iconClass:"icon-user-profile",type:"href",text:"Linktext",path:"#",tooltip:"Tooltip",target:"_blank"}},updateHandlerProvider(){return K(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))}})}}},cg={key:1},dg=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)];function mg(e,t,n,r,i,l){var c;const s=z,a=sg,d=_e;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(s,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,l.setStretchClass])},[e.editModeContext?(o.openBlock(),o.createElementBlock("li",cg,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.links,(m,u)=>(o.openBlock(),o.createBlock(d,{key:"x"+u,class:"edit-items",showComponentName:!1,componentTag:"ul",componentName:"CmdLinkItem",componentProps:m,allowedComponentTypes:[],componentPath:["props","links",u],itemProvider:l.itemProvider},{default:o.withCtx(()=>[o.createVNode(a,{class:o.normalizeClass({active:n.sectionAnchors&&n.activeSection===u}),link:m},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]=(...m)=>l.onAddItem&&l.onAddItem(...m))},dg)):o.createCommentVNode("",!0)])):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.links,(m,u)=>(o.openBlock(),o.createBlock(a,{key:u,class:o.normalizeClass({active:n.sectionAnchors&&n.activeSection===u}),link:m},null,8,["class","link"]))),128))],2)],2)}const Oo=N(ag,[["render",mg]]),No={name:"CmdBox",mixins:[X,{data(){return{defaultMessageProperties:{"cmdbox.productbox.new":"New","cmdbox.productbox.article_no":"Article No:","cmdbox.contentbox.collapse_text":"Collapse text","cmdbox.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()}}},Bl=()=>{o.useCssVars(e=>({"766100bf":e.cutoffTextLines}))},_l=No.setup;No.setup=_l?(e,t)=>(Bl(),_l(e,t)):Bl;const ug=["title"],fg={key:0,class:"box-header"},hg={key:1,class:"body-icon-wrapper"},pg=["innerHTML"],gg={key:0,class:"body-icon-wrapper"},yg=["innerHTML"],bg={key:2,class:"box-footer"},kg={key:3,class:"box-footer"},Cg={class:"box-header flex-container vertical"},wg={key:0},xg=["src","alt"],Bg={key:1},_g={key:2,class:"ribbon-new"},Eg={key:3,class:"ribbon-discount"},Sg={class:"box-body"},Tg={key:0},Og={key:1,class:"price"},Ng=["title"],Vg={key:2},Fg={class:"box-header flex-container vertical"},Pg={key:0},Lg=["src","alt"],Ag={key:0,class:"user-name"},Ig={key:0,class:"user-age"},Mg={key:1},Dg=["title"],Rg={key:0,class:"user-name"},jg={class:"box-body"},qg={key:0,class:"user-name"},zg={key:1},Hg={key:2},Ug={key:3,class:"description"},Wg={key:0,class:"tags"},Gg={key:1,class:"box-footer"};function Jg(e,t,n,r,i,l){var u,p,f,h,y,g,B,S,_,O,P;const s=z,a=j,d=Ce,c=Ge,m=Oo;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)=>l.toggleContentVisibility&&l.toggleContentVisibility(...b),["prevent"]))},[(u=n.useSlots)!=null&&u.includes("header")?o.renderSlot(e.$slots,"header",{key:0}):(p=n.cmdHeadline)!=null&&p.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createVNode(a,{iconClass:i.open?n.iconOpen.iconClass:n.iconClosed.iconClass,type:i.open?n.iconOpen.iconType:n.iconClosed.iconType},null,8,["iconClass","type"])],8,ug)):(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",fg,[(y=n.useSlots)!=null&&y.includes("header")?o.renderSlot(e.$slots,"header",{key:0}):o.createCommentVNode("",!0),(g=n.cmdHeadline)!=null&&g.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createBlock(s,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"},[(B=n.useSlots)!=null&&B.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(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.cmdIcon!==void 0?(o.openBlock(),o.createElementBlock("div",hg,[o.createVNode(a,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.type},null,8,["iconClass","type"])])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:l.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,pg)):o.createCommentVNode("",!0),n.cutoffTextLines>0?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:t[1]||(t[1]=o.withModifiers((...E)=>l.toggleCutOffText&&l.toggleCutOffText(...E),["prevent"]))},o.toDisplayString(i.showCutOffText?e.getMessage("cmdbox.contentbox.collapse_text"):e.getMessage("cmdbox.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),(S=n.cmdHeadline)!=null&&S.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",gg,[o.createVNode(a,o.normalizeProps(o.guardReactiveProps(n.cmdIcon)),null,16)])):o.createCommentVNode("",!0),(_=n.cmdHeadline)!=null&&_.headlineText&&n.headlinePosition==="body"?(o.openBlock(),o.createBlock(s,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,yg)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],2))],2),[[o.vShow,i.open]]),(O=n.cmdLink)!=null&&O.linkType?(o.openBlock(),o.createElementBlock("div",bg,[o.createVNode(c,o.normalizeProps(o.guardReactiveProps(n.cmdLink)),null,16)])):o.createCommentVNode("",!0),(P=n.useSlots)!=null&&P.includes("footer")?(o.openBlock(),o.createElementBlock("div",kg,[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=>l.clickOnProduct(n.product),["prevent"]))},[o.createElementVNode("div",Cg,[n.product.image!==void 0?(o.openBlock(),o.createElementBlock("figure",wg,[o.createElementVNode("img",{src:n.product.image.src,alt:n.product.image.alt},null,8,xg),o.createElementVNode("figcaption",null,o.toDisplayString(n.product.name),1)])):(o.openBlock(),o.createElementBlock("p",Bg,o.toDisplayString(n.product.name),1)),n.product.new?(o.openBlock(),o.createElementBlock("div",_g,[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("cmdbox.productbox.new")),1)])):o.createCommentVNode("",!0),n.product.discount?(o.openBlock(),o.createElementBlock("div",Eg,[o.createElementVNode("span",null,o.toDisplayString(n.product.discount),1)])):o.createCommentVNode("",!0)]),o.createElementVNode("div",Sg,[n.product.articleNumber?(o.openBlock(),o.createElementBlock("p",Tg,o.toDisplayString(e.getMessage("cmdbox.productbox.article_no"))+" "+o.toDisplayString(n.product.articleNumber),1)):o.createCommentVNode("",!0),n.product.price?(o.openBlock(),o.createElementBlock("p",Og,[o.createElementVNode("span",null,o.toDisplayString(n.product.price),1),o.createElementVNode("span",{title:e.globalCurrency.name},o.toDisplayString(e.globalCurrency.symbol),9,Ng)])):o.createCommentVNode("",!0),n.product.description?(o.openBlock(),o.createElementBlock("p",Vg,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",Fg,[n.user.image?(o.openBlock(),o.createElementBlock("figure",Pg,[o.createElementVNode("img",{src:n.user.image.src,alt:n.user.image.alt},null,8,Lg),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("figcaption",Ag,[o.createTextVNode(o.toDisplayString(n.user.name),1),n.user.age?(o.openBlock(),o.createElementBlock("span",Ig," ("+o.toDisplayString(n.user.age)+")",1)):o.createCommentVNode("",!0)]))])):(o.openBlock(),o.createElementBlock("div",Mg,[o.createElementVNode("span",{class:o.normalizeClass(n.defaultProfileIconClass),title:n.user.name},null,10,Dg),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("p",Rg,o.toDisplayString(n.user.name),1))]))]),o.createElementVNode("div",jg,[n.rowView?(o.openBlock(),o.createElementBlock("p",qg,o.toDisplayString(n.user.name),1)):o.createCommentVNode("",!0),n.user.profession?(o.openBlock(),o.createElementBlock("p",zg,o.toDisplayString(n.user.profession),1)):o.createCommentVNode("",!0),n.user.position?(o.openBlock(),o.createElementBlock("p",Hg,o.toDisplayString(n.user.position),1)):o.createCommentVNode("",!0),n.user.description?(o.openBlock(),o.createElementBlock("p",Ug,o.toDisplayString(n.user.description),1)):o.createCommentVNode("",!0)]),n.user.tags&&n.user.tags.length?(o.openBlock(),o.createElementBlock("ul",Wg,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.user.tags,(b,E)=>(o.openBlock(),o.createElementBlock("li",{key:E},o.toDisplayString(b),1))),128))])):o.createCommentVNode("",!0),n.user.links&&n.user.links.length?(o.openBlock(),o.createElementBlock("div",Gg,[o.createVNode(m,{links:n.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)}const Vo=N(No,[["render",Jg]]),Fo={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}}},El=()=>{o.useCssVars(e=>({"7dc17307":e.boxesPerRowLarge,"3c53d129":e.boxesPerRowMedium,"7e294cd3":e.boxesPerRowSmall}))},Sl=Fo.setup;Fo.setup=Sl?(e,t)=>(El(),Sl(e,t)):El;const Kg={class:"cmd-box-wrapper"},Zg={key:0,class:"flex-container headline-wrapper"},Xg={key:1,class:"options-wrapper"},Qg=["title"];function Yg(e,t,n,r,i,l){const s=z,a=j;return o.openBlock(),o.createElementBlock("div",Kg,[n.cmdHeadline.headlineText||n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",Zg,[n.cmdHeadline.headlineText?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",Xg,[o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...d)=>l.toggleOrientation&&l.toggleOrientation(...d),["prevent"])),title:i.rowView?n.iconRowView.tooltip:n.iconGridView.tooltip},[o.createVNode(a,{iconClass:i.rowView?n.iconGridView.iconClass:n.iconRowView.iconClass,type:i.rowView?n.iconGridView.iconType:n.iconRowView.iconType},null,8,["iconClass","type"])],8,Qg)])):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:l.boxToggled,boxIsOpen:l.boxIsOpen,rowView:i.rowView,onToggleCollapse:t[1]||(t[1]=(...d)=>l.boxIsToggled&&l.boxIsToggled(...d))})],2)])}const Tl=N(Fo,[["render",Yg]]);function Je(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 $g={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(e){return Je(e)}}},vg={class:"cmd-breadcrumbs"},ey={key:0,class:"breadcrumb-label"},ty=["href"],ny={key:1},oy={key:1},ry={key:2},iy={key:1},ly={key:3,class:"separator"};function sy(e,t,n,r,i,l){const s=j,a=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("ul",vg,[n.breadcrumbLabel?(o.openBlock(),o.createElementBlock("li",ey,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(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",ny,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)],8,ty)):d.type==="router"?(o.openBlock(),o.createBlock(a,{key:1,to:l.getRoute(d)},{default:o.withCtx(()=>[d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",oy,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)]),_:2},1032,["to"])):(o.openBlock(),o.createElementBlock("span",ry,[d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",iy,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)])),c<n.breadcrumbLinks.length-1?(o.openBlock(),o.createElementBlock("span",ly,o.toDisplayString(n.breadcrumbSeparator),1)):o.createCommentVNode("",!0)]))),128))])}const Ol=N($g,[["render",sy]]),ay={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 Je(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"}}},cy={class:"cmd-company-logo company-logo"},dy=["href","title"];function my(e,t,n,r,i,l){var d,c,m,u,p,f;const s=Ce,a=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",cy,[((d=n.link)==null?void 0:d.type)==="router"?(o.openBlock(),o.createBlock(a,{key:0,to:(c=n.link)==null?void 0:c.path,title:(m=n.link)==null?void 0:m.tooltip},{default:o.withCtx(()=>[o.createVNode(s,{image:l.image,onImageLoaded:l.onImageLoaded},null,8,["image","onImageLoaded"])]),_:1},8,["to","title"])):((u=n.link)==null?void 0:u.type)==="href"?(o.openBlock(),o.createElementBlock("a",{key:1,href:(p=n.link)==null?void 0:p.path,title:(f=n.link)==null?void 0:f.tooltip},[o.createVNode(s,{image:l.image,onImageLoaded:l.onImageLoaded},null,8,["image","onImageLoaded"])],8,dy)):(o.openBlock(),o.createBlock(s,{key:2,image:l.image,onImageLoaded:l.onImageLoaded},null,8,["image","onImageLoaded"]))])}const Nl=N(ay,[["render",my]]),uy={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}}},fy={class:"cmd-container"},hy=["innerHTML"],py=["innerHTML"];function gy(e,t,n,r,i,l){const s=z;return o.openBlock(),o.createElementBlock("div",fy,[n.cmdHeadline?(o.openBlock(),o.createBlock(s,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,hy)):o.createCommentVNode("",!0),l.oneSlotItem()?o.renderSlot(e.$slots,"default",{key:2}):(o.openBlock(),o.createElementBlock("div",{key:3,class:o.normalizeClass([l.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,py)):o.createCommentVNode("",!0)])}const yy=N(uy,[["render",gy]]),by={name:"CmdCookieDisclaimer",mixins:[X,{data(){return{defaultMessageProperties:{"cmdcookiedisclaimer.title.cookie_cannot_be_disabled":"This cookie cannot be disabled, because it is required for functionality!","cmdcookiedisclaimer.title.toggle_to_accept_cookie":"Toggle to accept or reject this cookie!"}}}}],data(){return{showCookieDisclaimer:!0,dataPrivacyContent:""}},props:{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},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:{acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var r,i,l,s;const e=[],t=(i=(r=this.cookieOptions)==null?void 0:r.required)==null?void 0:i.cookies;if(t)for(let a=0;a<t.length;a++)e.push(t[a].value);const n=(s=(l=this.cookieOptions)==null?void 0:l.optional)==null?void 0:s.cookies;if(n)for(let a=0;a<n.length;a++)e.push(n[a].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}))}}},ky={class:"cmd-cookie-disclaimer flex-container vertical"},Cy={key:0,class:"flex-container vertical"},wy={key:0},xy={key:1},By=["href","target"],_y=["innerHTML"],Ey=o.createElementVNode("hr",null,null,-1),Sy={key:1,class:"flex-container vertical"},Ty={key:0},Oy={key:1},Ny=["href","target"],Vy=["innerHTML"],Fy={class:"button-wrapper align-center"};function Py(e,t,n,r,i,l){const s=z,a=J,d=Vo;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var c,m,u;return[o.createElementVNode("div",ky,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(c=n.cmdHeadlineCookieDisclaimer)!=null&&c.show&&((m=n.cmdHeadlineCookieDisclaimer)!=null&&m.headlineText)&&((u=n.cmdHeadlineCookieDisclaimer)!=null&&u.headlineLevel)?(o.openBlock(),o.createBlock(s,{key:0,headlineText:n.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:n.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"cookie-options",{},()=>{var p,f,h,y,g,B,S,_;return[(p=n.cookieOptions)!=null&&p.required?(o.openBlock(),o.createElementBlock("div",Cy,[(f=n.cmdBoxRequiredCookies)!=null&&f.showHeadline?(o.openBlock(),o.createBlock(s,{key:0,"headline-text":(h=n.cmdBoxRequiredCookies)==null?void 0:h.headlineText,"headline-level":(y=n.cmdBoxRequiredCookies)==null?void 0:y.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.required.cookies||[],(O,P)=>{var b;return o.openBlock(),o.createBlock(d,{useSlots:["header","body"],collapsible:(b=n.cmdBoxRequiredCookies)==null?void 0:b.collapsible,key:P},{header:o.withCtx(()=>[o.createVNode(a,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":t[0]||(t[0]=E=>l.acceptedCookies=E),inputValue:O.value,labelText:O.labelText,disabled:O.disabled,id:O.id,toggleSwitch:!0,title:e.getMessage("cmdcookiedisclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:o.withCtx(()=>[O.description?(o.openBlock(),o.createElementBlock("p",wy,o.toDisplayString(O.description),1)):o.createCommentVNode("",!0),O.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",xy,[o.createTextVNode(o.toDisplayString(O.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[1]||(t[1]=(...E)=>l.openDataPrivacy&&l.openDataPrivacy(...E)),href:O.linkDataPrivacy.link,target:O.linkDataPrivacy.target},o.toDisplayString(O.linkDataPrivacy.linkText),9,By)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,_y)):o.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):o.createCommentVNode("",!0),Ey,(g=n.cookieOptions)!=null&&g.optional?(o.openBlock(),o.createElementBlock("div",Sy,[(B=n.cmdBoxOptionalCookies)!=null&&B.showHeadline?(o.openBlock(),o.createBlock(s,{key:0,"headline-text":(S=n.cmdBoxOptionalCookies)==null?void 0:S.headlineText,"headline-level":(_=n.cmdBoxOptionalCookies)==null?void 0:_.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.optional.cookies||[],(O,P)=>{var b;return o.openBlock(),o.createBlock(d,{useSlots:["header","body"],collapsible:(b=n.cmdBoxOptionalCookies)==null?void 0:b.collapsible,key:P},{header:o.withCtx(()=>[o.createVNode(a,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":t[2]||(t[2]=E=>l.acceptedCookies=E),inputValue:O.value,labelText:O.labelText,disabled:O.disabled,id:O.id,toggleSwitch:!0,title:e.getMessage("cmdcookiedisclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:o.withCtx(()=>[O.description?(o.openBlock(),o.createElementBlock("p",Ty,o.toDisplayString(O.description),1)):o.createCommentVNode("",!0),O.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",Oy,[o.createTextVNode(o.toDisplayString(O.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[3]||(t[3]=(...E)=>l.openDataPrivacy&&l.openDataPrivacy(...E)),href:O.linkDataPrivacy.link,target:O.linkDataPrivacy.target},o.toDisplayString(O.linkDataPrivacy.linkText),9,Ny)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Vy)):o.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):o.createCommentVNode("",!0)]}),o.renderSlot(e.$slots,"privacy-text"),o.createElementVNode("div",Fy,[n.buttonLabelAcceptCurrentSettings?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",onClick:t[4]||(t[4]=(...p)=>l.acceptCurrentCookies&&l.acceptCurrentCookies(...p))},[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]=(...p)=>l.acceptAllCookies&&l.acceptAllCookies(...p))},[o.createElementVNode("span",null,o.toDisplayString(n.buttonLabelAcceptAllCookies),1)])):o.createCommentVNode("",!0)])],64))])]}),_:3})}const Ly=N(by,[["render",Py]]),Ay={name:"CmdCopyrightWrapper"},Iy={class:"cmd-copyright-information",role:"contentinfo"},My=[o.createElementVNode("a",{href:"https://www.comand-ui.com",target:"comand-ui-website",lang:"en",title:"CoManD-UI-Website"},"© CoManD-UI",-1)];function Dy(e,t,n,r,i,l){return o.openBlock(),o.createElementBlock("div",Iy,My)}const Ry=N(Ay,[["render",Dy]]),jy={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[X,{data(){return{defaultMessageProperties:{"cmdfakeselect.headline.requirements_for_input":"Requirements for input","cmdfakeselect.linktext.deselect_all_options":"Deselect all options","cmdfakeselect.linktext.select_all_options":"Select all options","cmdfakeselect.headline.an_option_is_selected":"An option is selected","cmdfakeselect.option.options_selected":"{0} options selected",...Bo.data().defaultMessageProperties}}}},Gt,rt,So],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.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.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("cmdfakeselect.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("cmdfakeselect.linktext.deselect_all_options")):(this.allOptionsSelected=!1,this.getMessage("cmdfakeselect.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("cmdfakeselect.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}}},qy=["title","aria-labelledby","aria-required"],zy={key:0,class:"label-text"},Hy=["id"],Uy={key:0,"aria-hidden":"true"},Wy=["title","aria-errormessage","id"],Gy=["aria-expanded"],Jy=["title"],Ky=["src","alt"],Zy={key:3,class:"option-name"},Xy={key:0,role:"listbox"},Qy=["aria-selected"],Yy=["onClick","title"],$y={key:1},vy=["aria-expanded"],eb=["for"],tb=["value","checked","id"],nb=["onClick"],ob=["src","alt"],rb=["onClick"],ib={key:0,class:"select-all-options"};function lb(e,t,n,r,i,l){var c,m,u,p;const s=j,a=xo,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",zy,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),e.$attrs.required!==void 0?(o.openBlock(),o.createElementBlock("sup",Uy,"*")):o.createCommentVNode("",!0)],8,Hy),(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:l.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(s,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,Wy)):o.createCommentVNode("",!0),e.useCustomTooltip&&(i.validationStatus===""||i.validationStatus==="error")?(o.openBlock(),o.createBlock(a,{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)=>l.closeOptions&&l.closeOptions(...f)),"aria-expanded":i.showOptions},[o.createElementVNode("li",null,[o.createElementVNode("a",{href:"#",onClick:t[1]||(t[1]=o.withModifiers((...f)=>l.toggleOptions&&l.toggleOptions(...f),["prevent"])),onBlur:t[2]||(t[2]=(...f)=>l.onBlur&&l.onBlur(...f)),title:(c=l.optionIcon)==null?void 0:c.tooltip},[n.type==="country"&&l.optionCountry?(o.openBlock(),o.createElementBlock("img",{key:0,src:l.pathFlag(l.optionCountry),alt:l.optionCountry,class:o.normalizeClass(["flag",l.optionCountry])},null,10,Ky)):n.type==="color"?(o.openBlock(),o.createElementBlock("span",{key:1,style:o.normalizeStyle("background: "+l.optionColor)},null,4)):o.createCommentVNode("",!0),(m=l.optionIcon)!=null&&m.iconClass?(o.openBlock(),o.createBlock(s,{key:2,type:(u=l.optionIcon)==null?void 0:u.iconType,iconClass:(p=l.optionIcon)==null?void 0:p.iconClass},null,8,["type","iconClass"])):o.createCommentVNode("",!0),l.optionName?(o.openBlock(),o.createElementBlock("span",Zy,o.toDisplayString(l.optionName),1)):o.createCommentVNode("",!0),n.iconDropdown?(o.openBlock(),o.createBlock(s,{key:4,iconClass:n.iconDropdown.iconClass,type:n.iconDropdown.iconType,title:n.iconDropdown.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0)],40,Jy),n.type==="default"&&i.showOptions?(o.openBlock(),o.createElementBlock("ul",Xy,[(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=>l.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue}),title:f.tooltip},[f.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",$y,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0)],10,Yy)):o.createCommentVNode("",!0),n.optionLinkType==="router"?(o.openBlock(),o.createBlock(d,{key:1,to:"#",onClick:o.withModifiers(y=>l.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},{default:o.withCtx(()=>[f.iconClass?(o.openBlock(),o.createBlock(s,{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,Qy))),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)=>l.optionSelect&&l.optionSelect(...y)),checked:l.compareValues(f.value),id:"option-"+(h+1)},null,40,tb),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,eb)):n.type==="country"?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:o.withModifiers(y=>l.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},[o.createElementVNode("img",{class:"flag",src:l.pathFlag(f.value),alt:f.text},null,8,ob),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,nb)):n.type==="color"?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",onClick:o.withModifiers(y=>l.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,rb)):o.createCommentVNode("",!0)]))),128)),n.showSelectAllOptions&&n.type==="checkboxOptions"?(o.openBlock(),o.createElementBlock("li",ib,[o.createElementVNode("a",{href:"#",onClick:t[4]||(t[4]=o.withModifiers((...f)=>l.toggleAllOptions&&l.toggleAllOptions(...f),["prevent"]))},[i.allOptionsSelected?(o.openBlock(),o.createBlock(s,{key:1,iconClass:n.iconDeselectAllOptions.iconClass,type:n.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(o.openBlock(),o.createBlock(s,{key:0,iconClass:n.iconSelectAllOptions.iconClass,type:n.iconSelectAllOptions.iconType},null,8,["iconClass","type"])),o.createElementVNode("span",null,o.toDisplayString(l.selectAllOptionsText),1)])])):o.createCommentVNode("",!0)],10,vy)):n.type==="content"&&i.showOptions?o.renderSlot(e.$slots,"default",{key:2}):o.createCommentVNode("",!0)])],42,Gy)],10,qy)}const Vl=N(jy,[["render",lb]]),sb={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}}},ab={key:0,class:"cmd-form-filters"},cb={key:0},db={key:1},mb=["onClick","title"];function ub(e,t,n,r,i,l){const s=j;return i.options.length?(o.openBlock(),o.createElementBlock("ul",ab,[i.options.length>1?(o.openBlock(),o.createElementBlock("li",cb,[o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...a)=>l.deleteAllFilters&&l.deleteAllFilters(...a),["prevent"]))},[n.linkDeleteAllFilters.icon&&n.linkDeleteAllFilters.icon.show?(o.openBlock(),o.createBlock(s,{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",db,o.toDisplayString(n.linkDeleteAllFilters.text),1)):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.options,(a,d)=>(o.openBlock(),o.createElementBlock("li",{key:d},[o.createElementVNode("a",{href:"#",onClick:o.withModifiers(c=>l.deleteClickedFilter(d),["prevent"]),title:n.deleteFilterIcon.tooltip},[o.createElementVNode("span",null,o.toDisplayString(n.selectedOptionsName(a)),1),o.createVNode(s,{iconClass:n.deleteFilterIcon.iconClass,type:n.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,mb)]))),128))])):o.createCommentVNode("",!0)}const Fl=N(sb,[["render",ub]]),fb={name:"CmdSystemMessage",mixins:[rt],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}}},hb=["role","aria-labelledby"],pb=["title"];function gb(e,t,n,r,i,l){const s=j,a=z;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(s,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,pb)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createVNode(a,{class:"message-headline",cmdIcon:l.headlineIcon,headlineText:n.systemMessage,headlineLevel:n.messageHeadlineLevel,id:e.htmlId},null,8,["cmdIcon","headlineText","headlineLevel","id"])])],10,hb)):o.createCommentVNode("",!0)]),_:3},8,["name"])}const Po=N(fb,[["render",gb]]),yb={name:"CmdGoogleMaps",mixins:[X,{data(){return{defaultMessageProperties:{"cmdgooglemaps.system_message.accept_terms":"You must accept cookies to view the map.","cmdgooglemaps.button_text.accept_required_cookies":"Accept required cookies"}}}}],data(){return{cookiesAccepted:!1}},props:{cookiesAlreadyAccepted:{type:Boolean,default:!1},address:{type:Object,required:!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(){this.cookiesAccepted=!0,this.$emit("click",this.cookiesAccepted)}},watch:{cookiesAlreadyAccepted:{handler(){this.cookiesAccepted=this.cookiesAlreadyAccepted},immediate:!0}}},bb={class:"cmd-google-maps responsive-wrapper"},kb=["src"];function Cb(e,t,n,r,i,l){const s=Po;return o.openBlock(),o.createElementBlock("div",bb,[i.cookiesAccepted?(o.openBlock(),o.createElementBlock("iframe",{key:1,src:l.locateAddress},null,8,kb)):(o.openBlock(),o.createBlock(s,{key:0,validationStatus:"warning"},{default:o.withCtx(()=>[o.createElementVNode("p",null,o.toDisplayString(e.getMessage("cmdgooglemaps.system_message.accept_terms")),1),o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...a)=>l.acceptCookies&&l.acceptCookies(...a),["prevent"]))},o.toDisplayString(e.getMessage("cmdgooglemaps.button_text.accept_required_cookies")),1)]),_:1}))])}const Pl=N(yb,[["render",Cb]]),wb={name:"CmdImageGallery",mixins:[Z],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(Be(this,"props","images",-1),this.itemProvider)},showFancyBox(e){Fe({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 K(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))}})}}},xb={class:"grid-container-create-columns cmd-image-gallery"},Bb=["onClick","title"],_b=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new gallery-image",-1)];function Eb(e,t,n,r,i,l){var d;const s=z,a=Ce;return o.openBlock(),o.createElementBlock("div",xb,[(d=n.cmdHeadline)!=null&&d.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(s,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,m)=>(o.openBlock(),o.createBlock(a,{key:m,class:"image-wrapper",image:c.image,figcaption:c.figcaption,componentPath:["props","images",m],editModeConfig:l.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)=>l.onAddItem&&l.onAddItem(...c))},_b)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.useFancyboxForLargeImages?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.images,(c,m)=>(o.openBlock(),o.createElementBlock("a",{class:"image-wrapper",key:m,href:"#",onClick:o.withModifiers(u=>l.showFancyBox(m),["prevent"]),title:l.getMessage("cmdimagegallery.tooltip.open_large_image")},[o.createVNode(a,{image:c.image,figcaption:l.figcaption(c)},null,8,["image","figcaption"])],8,Bb))),128)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(n.images,(c,m)=>(o.openBlock(),o.createElementBlock("div",{key:`i${m}`,class:"image-wrapper"},[o.createVNode(a,{image:c.image,figcaption:l.figcaption(c)},null,8,["image","figcaption"])]))),128))],64))])}const Sb=N(wb,[["render",Eb]]),Tb={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`,Ll(this,e)})},onMouseMove(e){Ll(this,e)},onMouseOut(){this.showLargeImage=!1}}};function Ll(e,t){const n=e.$el.querySelector(".zoom-container"),r=n.querySelector("img"),i=e.$el.querySelector(".zoom-overlay"),l=t.target.getBoundingClientRect().width,s=t.target.getBoundingClientRect().height,a=r.getBoundingClientRect().width,d=r.getBoundingClientRect().height,c=t.pageX-t.target.getBoundingClientRect().x-window.pageXOffset,m=t.pageY-t.target.getBoundingClientRect().y-window.pageYOffset,u=Math.min(l,n.getBoundingClientRect().width/a*l),p=Math.min(s,n.getBoundingClientRect().height/d*s),f=Al(c-u/2,0,l-u),h=Al(m-p/2,0,s-p),y=-(f*(a/l)),g=-(h*(d/s));i.style.left=`${f}px`,i.style.top=`${h}px`,i.style.width=`${u}px`,i.style.height=`${p}px`,i.style.display="block",r.style.marginLeft=`${y}px`,r.style.marginTop=`${g}px`}function Al(e,t,n){return e<t?t:e>n?n:e}const Ob={class:"cmd-image-zoom flex-container"},Nb=["title"],Vb={class:"zoom-container"},Fb=o.createElementVNode("div",{class:"zoom-overlay"},null,-1);function Pb(e,t,n,r,i,l){const s=Ce;return o.openBlock(),o.createElementBlock("div",Ob,[o.createElementVNode("a",{href:"#",class:"no-flex thumbnails-imagezoom",title:n.imageSmall.image.tooltip},[o.createVNode(s,o.mergeProps(n.imageSmall,{figcaption:{},onMouseover:l.onMouseOver,onMousemove:l.onMouseMove,onMouseout:l.onMouseOut}),null,16,["onMouseover","onMousemove","onMouseout"])],8,Nb),o.createElementVNode("div",Vb,[o.createVNode(s,o.mergeProps(n.imageLarge,{useFigureTag:!1}),null,16)]),Fb])}const Lb=N(Tb,[["render",Pb]]),Ab={mixins:[Bo,Gt,rt,So],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.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.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}}},Ib=["aria-labelledby"],Mb={class:"label-text"},Db=["id"],Rb={key:0,"aria-hidden":"true"},jb=["title","aria-errormessage","id"],qb=["for"],zb=["type","id","name","value","disabled"],Hb={key:1,class:"label-text"},Ub={key:1,class:"flex-container no-flex"};function Wb(e,t,n,r,i,l){const s=j,a=xo;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",Mb,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),n.required?(o.openBlock(),o.createElementBlock("sup",Rb,"*")):o.createCommentVNode("",!0)],8,Db),(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:l.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(s,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,jb)):o.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(o.openBlock(),o.createBlock(a,{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",Ub,[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]=m=>l.inputValue=m),disabled:n.disabled,class:o.normalizeClass({"replace-input-type":n.replaceInputType})},null,10,zb),[[o.vModelDynamic,l.inputValue]]),n.multipleSwitch&&d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.labelText?(o.openBlock(),o.createElementBlock("span",Hb,o.toDisplayString(d.labelText),1)):o.createCommentVNode("",!0)],10,qb))),128))],2))],10,Ib)}const Il=N(Ab,[["render",Wb]]),Gb={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"}}},showLegend:{type:Boolean,default:!0},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 Je(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()}}},Jb={class:"cmd-login-form flex-container"},Kb={class:"option-wrapper flex-container"},Zb={key:1},Xb=["type","disabled"],Qb={key:1},Yb={class:"cmd-login-form flex-container"},$b={class:"option-wrapper flex-container"},vb={key:1},ek=["type","disabled"],tk={key:1};function nk(e,t,n,r,i,l){var m,u,p,f,h,y,g,B;const s=z,a=J,d=j,c=Ge;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.withDirectives(o.createElementVNode("fieldset",Jb,[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(s,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(a,o.mergeProps({element:"input",type:"text",ref:"username",modelValue:l.username,"onUpdate:modelValue":t[0]||(t[0]=S=>l.username=S)},l.cmdFormElementUsernameOptions,{onValidationStatusChange:t[1]||(t[1]=S=>l.checkValidationStatus(S,"username"))}),null,16,["modelValue"]),o.createVNode(a,o.mergeProps({element:"input",type:"password",modelValue:l.password,"onUpdate:modelValue":t[2]||(t[2]=S=>l.password=S)},l.cmdFormElementPasswordOptions,{onValidationStatusChange:t[3]||(t[3]=S=>l.checkValidationStatus(S,"password"))}),null,16,["modelValue"])],2),o.renderSlot(e.$slots,"login"),o.createElementVNode("div",Kb,[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((...S)=>l.toggleSendLoginView&&l.toggleSendLoginView(...S),["prevent"]))},[(m=n.options.forgotPassword.icon)!=null&&m.show&&((u=n.options.forgotPassword.icon)!=null&&u.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",Zb,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:(p=n.options.createAccount.icon)==null?void 0:p.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),l.buttonLoginOptions.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:1,type:l.buttonLoginOptions.type==="submit"?"submit":"button",class:o.normalizeClass(["button",{primary:l.buttonLoginOptions.primary}]),onClick:t[5]||(t[5]=(...S)=>l.onClick&&l.onClick(...S)),disabled:l.buttonLoginDisabled},[l.buttonLoginOptions.icon.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:l.buttonLoginOptions.icon.iconClass,type:l.buttonLoginOptions.icon.iconType,title:l.buttonLoginOptions.icon.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0),l.buttonLoginOptions.text?(o.openBlock(),o.createElementBlock("span",Qb,o.toDisplayString(l.buttonLoginOptions.text),1)):o.createCommentVNode("",!0)],10,Xb)):o.createCommentVNode("",!0)])],512),[[o.vShow,!i.sendLogin]]),o.withDirectives(o.createElementVNode("fieldset",Yb,[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(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineSendLoginForm)),null,16)):o.createCommentVNode("",!0),o.createVNode(a,o.mergeProps({ref:"sendPassword",element:"input",type:"email",onValidationStatusChange:t[6]||(t[6]=S=>l.checkValidationStatus(S,"email")),modelValue:i.sendLoginMail,"onUpdate:modelValue":t[7]||(t[7]=S=>i.sendLoginMail=S)},l.cmdFormElementSendLoginOptions),null,16,["modelValue"]),o.renderSlot(e.$slots,"send-login"),o.createElementVNode("div",$b,[n.options.backToLoginForm?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[8]||(t[8]=o.withModifiers((...S)=>l.toggleSendLoginView&&l.toggleSendLoginView(...S),["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",vb,o.toDisplayString(n.options.backToLoginForm.text),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),l.buttonSendLoginOptions.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:1,type:l.buttonSendLoginOptions.type==="submit"?"submit":"button",class:o.normalizeClass(["button",{primary:l.buttonSendLoginOptions.primary}]),disabled:l.buttonSendLoginDisabled},[(y=l.buttonSendLoginOptions.icon)!=null&&y.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:(g=l.buttonSendLoginOptions.icon)==null?void 0:g.iconClass,title:(B=l.buttonSendLoginOptions.icon)==null?void 0:B.tooltip},null,8,["iconClass","title"])):o.createCommentVNode("",!0),l.buttonSendLoginOptions.text?(o.openBlock(),o.createElementBlock("span",tk,o.toDisplayString(l.buttonSendLoginOptions.text),1)):o.createCommentVNode("",!0)],10,ek)):o.createCommentVNode("",!0)])],512),[[o.vShow,i.sendLogin]])],64)}const ok=N(Gb,[["render",nk]]),rk={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 Je(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})}}},ik={key:0,class:"close-nav"},lk=["href","title","target","onClick"],sk={key:1},ak={key:1},ck=["aria-expanded"],dk=["href","title","target","onClick"],mk={key:1},uk={key:1},fk=["aria-expanded"],hk=["href","title","target","onClick"],pk={key:1},gk={key:1};function yk(e,t,n,r,i,l){const s=j,a=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",ik,[o.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:t[0]||(t[0]=o.withModifiers((...d)=>l.closeOffcanvasNavigation&&l.closeOffcanvasNavigation(...d),["prevent"]))},[n.closeOffcanvas.iconClass?(o.openBlock(),o.createBlock(s,{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 m,u,p;return o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass({active:d.active,open:i.openEntry===c,"has-subentries":(m=d==null?void 0:d.subentries)==null?void 0:m.length})},[d.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:d.path,title:d.tooltip,target:d.target,onClick:f=>l.executeLink(f,d,c),onMouseover:t[1]||(t[1]=f=>l.closeAllSubentries()),onFocus:t[2]||(t[2]=f=>l.closeAllSubentries())},[d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",sk,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0),(u=d==null?void 0:d.subentries)!=null&&u.length?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],40,lk)):o.createCommentVNode("",!0),d.type==="router"?(o.openBlock(),o.createBlock(a,{key:1,to:l.getRoute(d),title:d.tooltip},{default:o.withCtx(()=>[d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",ak,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),(p=d==null?void 0:d.subentries)!=null&&p.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:g=>l.executeLink(g,f,h,1),onMouseover:t[3]||(t[3]=g=>l.closeAllSubentries(1)),onFocus:t[4]||(t[4]=g=>l.closeAllSubentries(1))},[f.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",mk,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,dk)):o.createCommentVNode("",!0),f.type==="router"?(o.openBlock(),o.createBlock(a,{key:1,to:l.getRoute(f),title:f.tooltip},{default:o.withCtx(()=>[f.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",uk,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,(g,B)=>(o.openBlock(),o.createElementBlock("li",{key:B},[g.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:g.path,title:g.tooltip,target:g.target,onClick:S=>l.executeLink(S,g)},[g.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),g.text?(o.openBlock(),o.createElementBlock("span",pk,o.toDisplayString(g.text),1)):o.createCommentVNode("",!0),g.subentries&&g.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],8,hk)):o.createCommentVNode("",!0),g.type==="router"?(o.openBlock(),o.createBlock(a,{key:1,to:l.getRoute(g),target:g.target},{default:o.withCtx(()=>[g.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),g.text?(o.openBlock(),o.createElementBlock("span",gk,o.toDisplayString(g.text),1)):o.createCommentVNode("",!0),g.subentries&&g.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,fk)):o.createCommentVNode("",!0)],2)}),128))],8,ck)):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)=>l.toggleOffcanvasNavigation&&l.toggleOffcanvasNavigation(...d),["prevent"]))},[o.createVNode(s,{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 Ml=N(rk,[["render",yk]]),bk={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 Je(e)}}},kk={key:0,class:"number"},Ck={key:2};function wk(e,t,n,r,i,l){const s=j,a=Ge;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(a,{linkType:d.type,path:d.path,title:d.tooltip,onClick:o.withModifiers(m=>l.clickedStep(m,c),["stop","prevent"])},{default:o.withCtx(()=>[n.showStepNumber?(o.openBlock(),o.createElementBlock("span",kk,o.toDisplayString(c+1),1)):o.createCommentVNode("",!0),d.iconClass?(o.openBlock(),o.createBlock(s,{key:1,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",Ck,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 xk=N(bk,[["render",wk]]),Bk={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}}},_k={class:"cmd-newsletter-subscription flex-container"},Ek={class:"button-wrapper"};function Sk(e,t,n,r,i,l){const s=Il,a=J;return o.openBlock(),o.createElementBlock("fieldset",_k,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),o.createVNode(s,{inputTypes:"radio",labelText:n.cmdInputGroup.labelText,showLabel:n.cmdInputGroup.showLabel,inputElements:n.cmdInputGroup.inputElements,modelValue:l.subscription,"onUpdate:modelValue":t[0]||(t[0]=d=>l.subscription=d)},null,8,["labelText","showLabel","inputElements","modelValue"]),o.createVNode(a,{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:l.email,"onUpdate:modelValue":t[1]||(t[1]=d=>l.email=d),onValidationStatusChange:l.checkValidationStatus},null,8,["placeholder","labelText","required","useCustomTooltip","modelValue","onValidationStatusChange"]),o.createElementVNode("div",Ek,[o.createVNode(a,{element:"button",type:n.buttonType,disabled:i.buttonDisabled,nativeButton:l.cmdFormElementSubmitDynamicLabel,onClick:l.sendData},null,8,["type","disabled","nativeButton","onClick"])])])}const Tk=N(Bk,[["render",Sk]]);function Dl(e,t,n,r=!0,i=!0){function l(s,a){return a&&s<10?"0"+s:s}return(s,a)=>{if(n){let d=s,c=t;return d>12&&(i||(d-=12),c=n),l(d,r)+e+l(a,!0)+c}return l(s,r)+e+l(a,!0)+t}}const Ok={name:"CmdOpeningHoursItem",mixins:[Z],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):Dl(":"," "+this.abbreviationTextAm," "+this.abbreviationTextPm,!1,this.use24HoursFormat)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableDay;return K(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=Dl(":","","",!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}}},Nk={class:"cmd-opening-hours-item"},Vk={key:0,class:"am"},Fk={key:1,class:"pm"},Pk={class:"flex-container no-flex"},Lk={class:"flex-container no-flex am-wrapper"},Ak={key:1,class:"input-wrapper"},Ik=["title"],Mk={class:"flex-container no-flex pm-wrapper"},Dk={key:1,class:"input-wrapper"},Rk=["title"];function jk(e,t,n,r,i,l){const s=J;return e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("dt",null,[o.createVNode(s,{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]=a=>i.editableDay.day=a)},null,8,["modelValue"])]),o.createElementVNode("dd",Pk,[o.createElementVNode("div",Lk,[i.editableDay.amClosed?(o.openBlock(),o.createBlock(s,{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]=a=>i.editableDay.amDisplayText=a)},null,8,["modelValue"])):o.createCommentVNode("",!0),i.editableDay.amClosed?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Ak,[o.createVNode(s,{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]=a=>i.editableDay.amFrom=a)},null,8,["modelValue"]),o.createVNode(s,{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]=a=>i.editableDay.amTill=a)},null,8,["min","modelValue"])])),o.createElementVNode("a",{href:"#",onClick:t[4]||(t[4]=o.withModifiers(a=>l.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,Ik)]),o.createElementVNode("div",Mk,[i.editableDay.pmClosed?(o.openBlock(),o.createBlock(s,{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]=a=>i.editableDay.pmDisplayText=a)},null,8,["modelValue"])):o.createCommentVNode("",!0),i.editableDay.pmClosed?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Dk,[o.createVNode(s,{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]=a=>i.editableDay.pmFrom=a)},null,8,["modelValue"]),o.createVNode(s,{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]=a=>i.editableDay.pmTill=a)},null,8,["min","modelValue"])])),o.createElementVNode("a",{href:"#",onClick:t[8]||(t[8]=o.withModifiers(a=>l.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,Rk)])])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("dt",Nk,o.toDisplayString(n.day.day),1),o.createElementVNode("dd",null,[n.day.am?(o.openBlock(),o.createElementBlock("span",Vk,[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(l.getTime(n.day.am.fromTime,n.abbreviationTextAm))+" "+o.toDisplayString(n.separator)+" "+o.toDisplayString(l.getTime(n.day.am.tillTime)),1)],64))])):o.createCommentVNode("",!0),n.day.pm?(o.openBlock(),o.createElementBlock("span",Fk,[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(l.getTime(n.day.pm.fromTime,n.abbreviationTextPm))+" "+o.toDisplayString(n.separator)+" "+o.toDisplayString(l.getTime(n.day.pm.tillTime)),1)],64))])):o.createCommentVNode("",!0)])],64))}const qk=N(Ok,[["render",jk]]);function zk(e,t,n,r=!0){function i(l,s){return s&&l<10?"0"+l:l}return(l,s)=>i(l,r)+e+i(s,!0)+t}const Hk={name:"CmdOpeningHours",mixins:[Z],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(/[:.]/),l=this.openingHours[t].pm.fromTime.split(/[:.]/),s=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(l[0]),mins:parseInt(l[1])},n.pm.tillTime={hours:parseInt(s[0]),mins:parseInt(s[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 l=new Date;if(l.setHours(t.pm.tillTime.hours,t.pm.tillTime.mins),n<=this.currentTime&&this.currentTime<=r&&i<=this.currentTime&&this.currentTime<=l)return!1}return!0}},methods:{onAddItem(){this.editModeContext.content.addContent(Be(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):zk(":"," hrs","",!1)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableOpeningHours,t=this.editableTextOpen,n=this.editableTextClosed,r=this.editableTextHolidays,i=this.editableTextMiscInfo;return K(this,{update(l,s){l.openingHours=e,l.textOpen=t,l.textClosed=n,l.textHolidays=r,l.textMiscInfo=i;const a=s==null?void 0:s.find(d=>d.name==="CmdHeadline");a&&(l.cmdHeadline=l.cmdHeadline||{},a.update(l.cmdHeadline))}})}}},Uk={class:"cmd-opening-hours"},Wk={key:2,class:"flex-container"},Gk={key:3},Jk=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],Kk={class:"edit-mode-opening-hours-item"},Zk={key:5},Xk={key:0},Qk={key:1},Yk={key:6,class:"flex-container vertical"};function $k(e,t,n,r,i,l){var u,p;const s=z,a=Ge,d=J,c=qk,m=_e;return o.openBlock(),o.createElementBlock("div",Uk,[(u=n.cmdHeadline)!=null&&u.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(s,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},[(p=n.cmdLink)!=null&&p.path?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0,linkType:n.cmdLink.type||"href"},n.cmdLink,{class:{closed:l.isClosed}}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(l.textOpenClosed),1)]),_:1},16,["linkType","class"])):(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass({closed:l.isClosed})},o.toDisplayString(l.textOpenClosed),3))],64)):e.editing?(o.openBlock(),o.createElementBlock("div",Wk,[o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'open'",placeholder:"Text for 'open'",modelValue:l.textOpenModel,"onUpdate:modelValue":t[0]||(t[0]=f=>l.textOpenModel=f)},null,8,["modelValue"]),o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:l.textClosedModel,"onUpdate:modelValue":t[1]||(t[1]=f=>l.textClosedModel=f)},null,8,["modelValue"])])):o.createCommentVNode("",!0),e.editModeContext?(o.openBlock(),o.createElementBlock(o.Fragment,{key:4},[l.openingHoursFormatted.length===0?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:t[2]||(t[2]=(...f)=>l.onAddItem&&l.onAddItem(...f))},Jk)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(l.openingHoursFormatted,(f,h)=>(o.openBlock(),o.createBlock(m,{key:"x"+h,class:"edit-items",showComponentName:!1,componentName:"CmdOpeningHoursItem",componentProps:f,allowedComponentTypes:[],componentPath:["props","openingHours",h],itemProvider:l.itemProvider},{default:o.withCtx(()=>[o.createElementVNode("dl",Kk,[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",Gk,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.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",Zk,[n.textHolidays?(o.openBlock(),o.createElementBlock("p",Xk,[o.createElementVNode("strong",null,o.toDisplayString(n.textHolidays),1)])):o.createCommentVNode("",!0),n.textMiscInfo?(o.openBlock(),o.createElementBlock("p",Qk,o.toDisplayString(n.textMiscInfo),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.editing?(o.openBlock(),o.createElementBlock("div",Yk,[o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'holidays'",placeholder:"Text for 'holidays'",modelValue:l.textHolidaysModel,"onUpdate:modelValue":t[3]||(t[3]=f=>l.textHolidaysModel=f)},null,8,["modelValue"]),o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Miscellaneous information",placeholder:"Miscellaneous information",modelValue:l.textMiscInfoModel,"onUpdate:modelValue":t[4]||(t[4]=f=>l.textMiscInfoModel=f)},null,8,["modelValue"])])):o.createCommentVNode("",!0)])}const vk=N(Hk,[["render",$k]]),e0={name:"CmdPagination",mixins:[X,{data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.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)}}},t0={class:"cmd-pagination"},n0=["href","title"],o0={key:0},r0={class:"page-index"},i0={class:"flex-container"},l0=["href","title","onClick"],s0=["href","title"],a0={key:0};function c0(e,t,n,r,i,l){const s=j;return o.openBlock(),o.createElementBlock("div",t0,[o.createElementVNode("a",{href:l.getPreviousHref,class:o.normalizeClass(["page-change",{disabled:i.currentPage===1,button:n.linkType==="button"}]),onClick:t[0]||(t[0]=o.withModifiers((...a)=>l.previousPage&&l.previousPage(...a),["prevent"])),title:n.prevLink.showText?null:n.prevLink.text},[o.createVNode(s,{iconClass:n.prevLink.iconClass,type:n.prevLink.iconType},null,8,["iconClass","type"]),n.prevLink.showText?(o.openBlock(),o.createElementBlock("span",o0,o.toDisplayString(n.prevLink.text),1)):o.createCommentVNode("",!0)],10,n0),o.createElementVNode("div",r0,[o.createElementVNode("div",i0,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.pages,(a,d)=>(o.openBlock(),o.createElementBlock("a",{href:l.getHref(a),class:o.normalizeClass({disabled:i.currentPage===d+1,button:n.linkType==="button",hidden:!n.showPageNumbers}),title:i.currentPage!==d+1?e.getMessage("cmdpager.tooltip.go_to_page",d+1):e.getMessage("cmdpager.tooltip.not_possible"),key:d,onClick:o.withModifiers(c=>l.showPage(a),["stop","prevent"]),"aria-live":"polite"},[o.createElementVNode("span",null,o.toDisplayString(d+1),1)],10,l0))),128))])]),o.createElementVNode("a",{href:l.getNextHref,class:o.normalizeClass(["page-change",{disabled:i.currentPage===l.numberOfPages,button:n.linkType==="button"}]),onClick:t[1]||(t[1]=o.withModifiers((...a)=>l.nextPage&&l.nextPage(...a),["prevent"])),title:n.nextLink.showText?null:n.nextLink.text},[n.nextLink.showText?(o.openBlock(),o.createElementBlock("span",a0,o.toDisplayString(n.nextLink.text),1)):o.createCommentVNode("",!0),o.createVNode(s,{iconClass:n.nextLink.iconClass,type:n.nextLink.iconType},null,8,["iconClass","type"])],10,s0)])}const d0=N(e0,[["render",c0]]),m0={name:"CmdSocialNetworksItem",data(){return{editablePath:null,editableTooltip:null,editableLinktext:null}},mixins:[Z],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 K(this,{item(){return e}})},updateHandlerProvider(){const e=Ue(),t=this.editablePath,n=this.editableTooltip,r=this.editableLinktext;return K(this,{update(i){i.id=e,i.path=t,i.tooltip=n,i.linkText=r}})}}},u0={class:"cmd-social-networks-item"},f0=["id","href","title"],h0={key:1};function p0(e,t,n,r,i,l){const s=j;return o.openBlock(),o.createElementBlock("li",u0,[(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:l.getUrl(n.network),onClick:t[0]||(t[0]=(...a)=>l.preventOnDisabled&&l.preventOnDisabled(...a)),target:"_blank",title:l.tooltip(n.network.tooltip)},[n.network.iconClass?(o.openBlock(),o.createBlock(s,{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",h0,o.toDisplayString(n.network.linkText),1)):o.createCommentVNode("",!0)],10,f0))])}const g0=N(m0,[["render",p0]]),y0={name:"CmdSocialNetworks",mixins:[Z],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(Be(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)}}}}},b0=[o.createElementVNode("span",{class:"icon-plus"},null,-1)];function k0(e,t,n,r,i,l){var m,u;const s=z,a=J,d=g0,c=_e;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-social-networks",{stretch:n.stretchButtons},l.alignment])},[(m=n.cmdHeadline)!=null&&m.headlineText||(u=e.editModeContext)!=null&&u.editing?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline||{})),null,16)):o.createCommentVNode("",!0),n.userMustAcceptDataPrivacy?(o.openBlock(),o.createBlock(a,o.mergeProps({key:1,element:"input",type:"checkbox"},n.cmdFormElement,{modelValue:i.dataPrivacyAccepted,"onUpdate:modelValue":t[0]||(t[0]=p=>i.dataPrivacyAccepted=p)}),null,16,["modelValue"])):o.createCommentVNode("",!0),l.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(l.validNetworks,(p,f)=>(o.openBlock(),o.createBlock(c,{key:"x"+f,class:"edit-items",componentName:"CmdSocialNetworksItem",componentProps:p,componentPath:["props","networks",f],showComponentName:!1},{default:o.withCtx(()=>[o.createVNode(d,{network:p,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(l.validNetworks,(p,f)=>(o.openBlock(),o.createBlock(d,{key:f,network:p,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]=(...p)=>l.onAddItem&&l.onAddItem(...p))},b0))],2)}const Rl=N(y0,[["render",k0]]),C0={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},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("main")],Fe({elements:e,showPrintButtons:this.cmdFancyBox.showPrintButtons,defaultAriaLabelText:this.cmdFancyBox.defaultAriaLabelText,cmdHeadline:this.cmdFancyBox.cmdHeadline,showOverlay:this.cmdFancyBox.showOverlay,showSubmitButtons:this.cmdFancyBox.showSubmitButtons,allowEscapeKey:this.cmdFancyBox.allowEscapeKey})}}},w0={class:"button-wrapper"},x0=["title"],B0={key:1};function _0(e,t,n,r,i,l){var a,d,c,m;const s=Rl;return o.openBlock(),o.createElementBlock("footer",{class:o.normalizeClass(["cmd-page-footer flex-container",{"small-buttons":n.useSmallButtons}])},[n.cmdSocialNetworks?(o.openBlock(),o.createBlock(s,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",w0,[o.renderSlot(e.$slots,"default"),(a=l.buttonPrintViewOptions)!=null&&a.show?(o.openBlock(),o.createElementBlock("button",{key:0,class:o.normalizeClass(["button",{primary:l.buttonPrintViewOptions.primary}]),title:l.buttonPrintViewOptions.text?(d=l.buttonPrintViewOptions.icon)==null?void 0:d.tooltip:null,onClick:t[0]||(t[0]=(...u)=>l.showFancyBox&&l.showFancyBox(...u))},[(c=l.buttonPrintViewOptions.icon)!=null&&c.show?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass((m=l.buttonPrintViewOptions.icon)==null?void 0:m.iconClass)},null,2)):o.createCommentVNode("",!0),l.buttonPrintViewOptions.text?(o.openBlock(),o.createElementBlock("span",B0,o.toDisplayString(l.buttonPrintViewOptions.text),1)):o.createCommentVNode("",!0)],10,x0)):o.createCommentVNode("",!0)])],2)}const E0=N(C0,[["render",_0]]),S0={name:"CmdPageHeader",props:{cmdBreadcrumbs:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}}},T0={key:0,class:"cmd-page-header flex-container"},O0={key:0,class:"headline-wrapper flex-container vertical"};function N0(e,t,n,r,i,l){const s=Ol,a=z;return n.cmdBreadcrumbs||n.cmdHeadline||e.$slots.default?(o.openBlock(),o.createElementBlock("header",T0,[n.cmdBreadcrumbs||n.cmdHeadline?(o.openBlock(),o.createElementBlock("div",O0,[n.cmdBreadcrumbs?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdBreadcrumbs)),null,16)):o.createCommentVNode("",!0),n.cmdHeadline.headlineText?(o.openBlock(),o.createBlock(a,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 V0=N(S0,[["render",N0]]),F0={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}}},P0=["for"],L0={class:"progressbar"},A0={key:0},I0=["id","value"];function M0(e,t,n,r,i,l){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",L0,[n.showLoadingStatus?(o.openBlock(),o.createElementBlock("span",A0,o.toDisplayString(i.loadingStatus)+" %",1)):o.createCommentVNode("",!0),o.createElementVNode("progress",o.mergeProps(e.$attrs,{id:n.id,value:i.loadingStatus}),null,16,I0)])],8,P0)}const D0=N(F0,[["render",M0]]),R0={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}}},j0={class:"inner-sidebar-wrapper"},q0={key:1,class:"open-slot-wrapper"},z0={key:2,class:"closed-slot-wrapper"},H0=["title"];function U0(e,t,n,r,i,l){var a;const s=z;return o.openBlock(),o.createElementBlock("aside",{class:o.normalizeClass(["cmd-sidebar",l.wrapperClass,{box:n.styledAsBox,"collapse-to-right":!n.collapseToLeft}])},[o.createElementVNode("div",j0,[(a=n.cmdHeadline)!=null&&a.headlineText&&i.open?(o.openBlock(),o.createBlock(s,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",q0,[o.renderSlot(e.$slots,"open",{openBoxStatus:i.open})])):(o.openBlock(),o.createElementBlock("div",z0,[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)=>l.toggleSidebar&&l.toggleSidebar(...d),["prevent"]))},[o.createElementVNode("span",{class:o.normalizeClass(l.iconClassOpenCollapse)},null,2)],8,H0)):o.createCommentVNode("",!0)],2)}const W0=N(R0,[["render",U0]]),G0={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal",validator(e){return e==="horizontal"||e==="vertical"}}}},J0={class:"cmd-site-footer site-footer"};function K0(e,t,n,r,i,l){return o.openBlock(),o.createElementBlock("div",J0,[o.createElementVNode("footer",{class:o.normalizeClass(["flex-container",{vertical:n.orientation==="vertical"}])},[o.renderSlot(e.$slots,"default")],2)])}const Z0=N(G0,[["render",K0]]),X0={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}}},Q0={key:0,class:"top-header"};function Y0(e,t,n,r,i,l){var d,c,m,u,p,f,h,y,g;const s=Nl,a=Ml;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",Q0,[o.renderSlot(e.$slots,"topheader")])):o.createCommentVNode("",!0),o.createElementVNode("header",{class:o.normalizeClass([n.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((m=(c=n.cmdMainNavigation)==null?void 0:c.navigationEntries)==null?void 0:m.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||(p=(u=n.cmdMainNavigation)==null?void 0:u.navigationEntries)!=null&&p.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdCompanyLogo?(o.openBlock(),o.createBlock(s,o.mergeProps({key:0},n.cmdCompanyLogo,{onImageLoaded:l.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(a,o.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],2),(g=(y=n.cmdMainNavigation)==null?void 0:y.navigationEntries)!=null&&g.length&&!n.navigationInline?(o.openBlock(),o.createBlock(a,o.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):o.createCommentVNode("",!0)],2)}const $0=N(X0,[["render",Y0]]),v0={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[X,{data(){return{defaultMessageProperties:{"cmdsitesearch.labeltext.what_to_search":"What do you like to search for?","cmdsitesearch.placeholder.what_to_search":"Search","cmdsitesearch.labeltext.where_to_search":"Where do you want to search?","cmdsitesearch.placeholder.where_to_search":"Zip or city","cmdsitesearch.show_filter_options":"Show filter options","cmdsitesearch.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}}},eC={class:"cmd-box-site-search flex-container"},tC={class:"flex-container align-bottom"},nC={class:"input-wrapper align-bottom"},oC={key:0},rC={key:1},iC={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function lC(e,t,n,r,i,l){var u,p,f,h,y,g,B,S;const s=z,a=J,d=j,c=Vl,m=Fl;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("fieldset",eC,[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(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",tC,[o.createVNode(a,{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:l.searchValue1,"onUpdate:modelValue":t[0]||(t[0]=_=>l.searchValue1=_)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),o.createElementVNode("div",nC,[n.cmdFormElementInput2.show?(o.openBlock(),o.createBlock(a,{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:l.searchValue2,"onUpdate:modelValue":t[1]||(t[1]=_=>l.searchValue2=_)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):o.createCommentVNode("",!0),l.cmdFormElementRadiusOptions.show?(o.openBlock(),o.createBlock(a,o.mergeProps({key:1,element:"select",class:"no-flex",modelValue:l.radius,"onUpdate:modelValue":t[2]||(t[2]=_=>l.radius=_)},l.cmdFormElementRadiusOptions),null,16,["modelValue"])):o.createCommentVNode("",!0)]),o.createVNode(a,{element:"button",class:"stretch-on-small-devices",nativeButton:n.cmdFormElementSearchButton,onClick:l.onSearchButtonClick,disabled:l.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(_=>i.showFilters=!i.showFilters,["prevent"]))},[o.createVNode(d,{iconClass:i.showFilters?(p=(u=n.cmdIcon)==null?void 0:u.showFilters)==null?void 0:p.iconClass:(h=(f=n.cmdIcon)==null?void 0:f.hideFilters)==null?void 0:h.iconClass,type:i.showFilters?(g=(y=n.cmdIcon)==null?void 0:y.showFilters)==null?void 0:g.iconType:(S=(B=n.cmdIcon)==null?void 0:B.hideFilters)==null?void 0:S.iconType},null,8,["iconClass","type"]),i.showFilters?(o.openBlock(),o.createElementBlock("span",oC,o.toDisplayString(e.getMessage("cmdsitesearch.hide_filter_options")),1)):(o.openBlock(),o.createElementBlock("span",rC,o.toDisplayString(e.getMessage("cmdsitesearch.show_filter_options")),1))]),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var _,O,P,b,E;return[i.showFilters&&((_=n.cmdFakeSelect)!=null&&_.selectData.length)?(o.openBlock(),o.createElementBlock("div",iC,[o.createVNode(c,{role:"option",selectData:(O=n.cmdFakeSelect)==null?void 0:O.selectData,modelValue:l.searchFilters,"onUpdate:modelValue":t[4]||(t[4]=F=>l.searchFilters=F),defaultOptionName:(P=n.cmdFakeSelect)==null?void 0:P.defaultOptionName,type:(b=n.cmdFakeSelect)==null?void 0:b.type,labelText:(E=n.cmdFakeSelect)==null?void 0:E.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):o.createCommentVNode("",!0)]}),_:1})],64)):o.createCommentVNode("",!0)]),n.useFilters?(o.openBlock(),o.createBlock(m,{key:0,modelValue:l.searchFilters,"onUpdate:modelValue":t[5]||(t[5]=_=>l.searchFilters=_),selectedOptionsName:l.getOptionName},null,8,["modelValue","selectedOptionsName"])):o.createCommentVNode("",!0)],64)}const sC=N(v0,[["render",lC]]),aC={name:"CmdSlideshow",mixins:[Z],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(Be(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)})}}},cC=["href","title"],dC=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new slideshow-image",-1)],mC={key:2},uC=["onClick","aria-label","title"],fC={key:3,class:"item-counter"};function hC(e,t,n,r,i,l){const s=it,a=Ce;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(s,o.mergeProps({key:0,onClick:o.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev",class:{disabled:i.slideshowItemEditing}},l.tooltipForSlidebuttons),null,16,["onClick","class"])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:"fade"},{default:o.withCtx(()=>{var d,c,m,u,p,f,h,y,g,B,S,_;return[l.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("+l.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(a,{key:1,image:(S=l.currentItem)==null?void 0:S.image,figcaption:(_=l.currentItem)==null?void 0:_.figcaption,componentPath:["props","slideshowItems",i.index],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[(c=(d=l.currentItem)==null?void 0:d.link)!=null&&c.href?(o.openBlock(),o.createElementBlock("a",{key:0,href:(u=(m=l.currentItem)==null?void 0:m.link)==null?void 0:u.href,title:(f=(p=l.currentItem)==null?void 0:p.link)==null?void 0:f.tooltip},[o.createVNode(a,{image:(h=l.currentItem)==null?void 0:h.image,figcaption:(y=l.currentItem)==null?void 0:y.figcaption},null,8,["image","figcaption"])],8,cC)):(o.openBlock(),o.createBlock(a,{key:1,image:(g=l.currentItem)==null?void 0:g.image,figcaption:(B=l.currentItem)==null?void 0:B.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]=(...O)=>l.onAddItem&&l.onAddItem(...O))},dC)):o.createCommentVNode("",!0)]}),_:3}),n.showSlideButtons?(o.openBlock(),o.createBlock(s,o.mergeProps({key:1,onClick:o.withModifiers(l.showNextItem,["prevent"]),class:{disabled:i.slideshowItemEditing}},l.tooltipForSlidebuttons),null,16,["onClick","class"])):o.createCommentVNode("",!0),n.showQuickLinkIcons?(o.openBlock(),o.createElementBlock("ol",mC,[(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(m=>l.showItem(c),["prevent"]),"aria-label":i.index,title:i.slideshowItemEditing?"Not allowed while editing!":"Switch to image #"+(c+1)},null,10,uC)],2))),128))])):o.createCommentVNode("",!0),n.showCounter?(o.openBlock(),o.createElementBlock("span",fC,o.toDisplayString(i.index+1)+"/"+o.toDisplayString(n.slideshowItems.length),1)):o.createCommentVNode("",!0)],32)],2)}const pC=N(aC,[["render",hC]]),gC=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"})),yC={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(e){return Je(e)},activeLanguage(e){return e.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async e=>{const t=e.iso2;this.imageSources.push(gC[t].default)})},immediate:!0,deep:!0}}},bC={class:"cmd-switch-language"},kC=["href","title","onClick"],CC=["src","alt"],wC=["src","alt"];function xC(e,t,n,r,i,l){const s=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",bC,[o.createElementVNode("ul",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.languages,(a,d)=>(o.openBlock(),o.createElementBlock("li",{key:d},[a.link.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:a.link.path,class:o.normalizeClass(["flag",a.iso2,{active:l.activeLanguage(a)}]),title:a.tooltip,onClick:c=>e.$emit("click",{originalEvent:c,language:a})},[o.createElementVNode("img",{src:i.imageSources[d],alt:a.name},null,8,CC)],10,kC)):(o.openBlock(),o.createBlock(s,{key:1,class:o.normalizeClass(["flag",a.iso2]),to:l.getRoute(a),title:a.tooltip,onClick:c=>e.$emit("click",{originalEvent:c,language:a})},{default:o.withCtx(()=>[o.createElementVNode("img",{src:i.imageSources[d],alt:a.name},null,8,wC)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const BC=N(yC,[["render",xC]]),_C={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,l=n.scrollLeft;console.log("parentRect",r),e.style.left=`${l}px`,t.style.left=`${i}px`,l===0?e.style.display="none":e.style.display="flex",l===n.scrollLeftMax?t.style.display="none":t.style.display="flex"}},watch:{fullWidthOnDefault:{handler(){this.fullWidth=this.fullWidthOnDefault},immediate:!0}}},EC={key:0,class:"button-wrapper"},SC=["title"],TC=["title"],OC={"aria-expanded":"true"},NC={key:0,"aria-expanded":"true"};function VC(e,t,n,r,i,l){var d,c,m,u;const s=j,a=it;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-table-wrapper",{collapsed:!i.showTableData,"full-width":i.fullWidth,"has-caption":l.hasCaption,"has-overflow":i.hasOverflow}])},[n.collapsible||n.userCanToggleWidth?(o.openBlock(),o.createElementBlock("div",EC,[n.userCanToggleWidth?(o.openBlock(),o.createElementBlock("a",{key:0,class:"button",href:"#",onClick:t[0]||(t[0]=o.withModifiers(p=>i.fullWidth=!i.fullWidth,["prevent"])),title:n.iconToggleWidth.tooltip},[o.createVNode(s,{iconClass:n.iconToggleWidth.iconClass,type:n.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,SC)):o.createCommentVNode("",!0),n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:1,class:"button",href:"#",onClick:t[1]||(t[1]=o.withModifiers(p=>i.showTableData=!i.showTableData,["prevent"])),title:i.showTableData?n.iconCollapse.tooltip:n.iconExpand.tooltip},[o.createVNode(s,{iconClass:i.showTableData?n.iconCollapse.iconClass:n.iconExpand.iconClass,type:i.showTableData?n.iconCollapse.iconType:n.iconExpand.iconType},null,8,["iconClass","type"])],8,TC)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"inner-wrapper",ref:"innerWrapper",onScroll:t[2]||(t[2]=(...p)=>l.updatePosition&&l.updatePosition(...p))},[n.showSlideButtons?(o.openBlock(),o.createBlock(a,{key:0,onClick:o.withModifiers(l.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:l.hideCaption})},o.toDisplayString(((m=n.caption)==null?void 0:m.text)||((u=n.tableData.caption)==null?void 0:u.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,(p,f)=>(o.openBlock(),o.createElementBlock("th",{key:f},o.toDisplayString(p),1))),128))])]),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("tbody",OC,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tbody,(p,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(p,(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",NC,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tfoot,(p,f)=>(o.openBlock(),o.createElementBlock("td",{class:o.normalizeClass({active:n.tableData.columnIndexHighlighted===f}),key:f},o.toDisplayString(p),3))),128))])])):o.createCommentVNode("",!0)]),_:1},8,["name"])],2),n.showSlideButtons?(o.openBlock(),o.createBlock(a,{key:1,onClick:o.withModifiers(l.scrollRight,["prevent"])},null,8,["onClick"])):o.createCommentVNode("",!0)],544)],2)}const FC=N(_C,[["render",VC]]);Ji({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
1
+ (function(T,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(T=typeof globalThis<"u"?globalThis:T||self,o(T["comand-component-library"]={},T.Vue))})(this,function(T,o){"use strict";var iN=Object.defineProperty;var lN=(T,o,ke)=>o in T?iN(T,o,{enumerable:!0,configurable:!0,writable:!0,value:ke}):T[o]=ke;var It=(T,o,ke)=>lN(T,typeof o!="symbol"?o+"":o,ke);const ke=/^[a-z0-9]+(-[a-z0-9]+)*$/,Mt=(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 a=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:a};return t&&!Dt(c)?null:c}const l=i[0],s=l.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!Dt(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:l};return t&&!Dt(a,n)?null:a}return null},Dt=(e,t)=>e?!!((e.provider===""||e.provider.match(ke))&&(t&&e.prefix===""||e.prefix.match(ke))&&e.name.match(ke)):!1,zi=Object.freeze({left:0,top:0,width:16,height:16}),Rt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),jt=Object.freeze({...zi,...Rt}),lo=Object.freeze({...jt,body:"",hidden:!1});function ym(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 Hi(e,t){const n=ym(e,t);for(const r in lo)r in Rt?r in e&&!(r in n)&&(n[r]=Rt[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function bm(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function l(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const a=r[s]&&r[s].parent,d=a&&l(a);d&&(i[s]=[a].concat(d))}return i[s]}return Object.keys(n).concat(Object.keys(r)).forEach(l),i}function km(e,t,n){const r=e.icons,i=e.aliases||{};let l={};function s(a){l=Hi(r[a]||i[a],l)}return s(t),n.forEach(s),Hi(e,l)}function Ui(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=bm(e);for(const i in r){const l=r[i];l&&(t(i,km(e,i,l)),n.push(i))}return n}const Cm={provider:"",aliases:{},not_found:{},...zi};function so(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Wi(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!so(e,Cm))return null;const n=t.icons;for(const i in n){const l=n[i];if(!i.match(ke)||typeof l.body!="string"||!so(l,lo))return null}const r=t.aliases||{};for(const i in r){const l=r[i],s=l.parent;if(!i.match(ke)||typeof s!="string"||!n[s]&&!r[s]||!so(l,lo))return null}return t}const Gi=Object.create(null);function wm(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ve(e,t){const n=Gi[e]||(Gi[e]=Object.create(null));return n[t]||(n[t]=wm(e,t))}function ao(e,t){return Wi(t)?Ui(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function xm(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let tt=!1;function Ji(e){return typeof e=="boolean"&&(tt=e),tt}function Bm(e){const t=typeof e=="string"?Mt(e,!0,tt):e;if(t){const n=Ve(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function _m(e,t){const n=Mt(e,!0,tt);if(!n)return!1;const r=Ve(n.provider,n.prefix);return xm(r,n.name,t)}function Ki(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),tt&&!t&&!e.prefix){let i=!1;return Wi(e)&&(e.prefix="",Ui(e,(l,s)=>{s&&_m(l,s)&&(i=!0)})),i}const n=e.prefix;if(!Dt({provider:t,prefix:n,name:"a"}))return!1;const r=Ve(t,n);return!!ao(r,e)}const Zi=Object.freeze({width:null,height:null}),Xi=Object.freeze({...Zi,...Rt}),Em=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Sm=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Qi(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(Em);if(r===null||!r.length)return e;const i=[];let l=r.shift(),s=Sm.test(l);for(;;){if(s){const a=parseFloat(l);isNaN(a)?i.push(l):i.push(Math.ceil(a*t*n)/n)}else i.push(l);if(l=r.shift(),l===void 0)return i.join("");s=!s}}function Tm(e,t){const n={...jt,...e},r={...Xi,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let l=n.body;[n,r].forEach(f=>{const h=[],y=f.hFlip,g=f.vFlip;let B=f.rotate;y?g?B+=2:(h.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),h.push("scale(-1 1)"),i.top=i.left=0):g&&(h.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),h.push("scale(1 -1)"),i.top=i.left=0);let S;switch(B<0&&(B-=Math.floor(B/4)*4),B=B%4,B){case 1:S=i.height/2+i.top,h.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:h.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:S=i.width/2+i.left,h.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}B%2===1&&(i.left!==i.top&&(S=i.left,i.left=i.top,i.top=S),i.width!==i.height&&(S=i.width,i.width=i.height,i.height=S)),h.length&&(l='<g transform="'+h.join(" ")+'">'+l+"</g>")});const s=r.width,a=r.height,d=i.width,c=i.height;let m,u;return s===null?(u=a===null?"1em":a==="auto"?c:a,m=Qi(u,d/c)):(m=s==="auto"?d:s,u=a===null?Qi(m,c/d):a==="auto"?c:a),{attributes:{width:m.toString(),height:u.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:l}}const Om=/\sid="(\S+)"/g,Nm="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Vm=0;function Fm(e,t=Nm){const n=[];let r;for(;r=Om.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const l=typeof t=="function"?t(i):t+(Vm++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),e}const co=Object.create(null);function Pm(e,t){co[e]=t}function mo(e){return co[e]||co[""]}function uo(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 fo=Object.create(null),nt=["https://api.simplesvg.com","https://api.unisvg.com"],qt=[];for(;nt.length>0;)nt.length===1||Math.random()>.5?qt.push(nt.shift()):qt.push(nt.pop());fo[""]=uo({resources:["https://api.iconify.design"].concat(qt)});function Lm(e,t){const n=uo(t);return n===null?!1:(fo[e]=n,!0)}function ho(e){return fo[e]}let Yi=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function Am(e,t){const n=ho(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const l=t+".json?icons=";r=n.maxURL-i-n.path.length-l.length}return r}function Im(e){return e===404}const Mm=(e,t,n)=>{const r=[],i=Am(e,t),l="icons";let s={type:l,provider:e,prefix:t,icons:[]},a=0;return n.forEach((d,c)=>{a+=d.length+1,a>=i&&c>0&&(r.push(s),s={type:l,provider:e,prefix:t,icons:[]},a=d.length),s.icons.push(d)}),r.push(s),r};function Dm(e){if(typeof e=="string"){const t=ho(e);if(t)return t.path}return"/"}const Rm={prepare:Mm,send:(e,t,n)=>{if(!Yi){n("abort",424);return}let r=Dm(t.provider);switch(t.type){case"icons":{const l=t.prefix,a=t.icons.join(","),d=new URLSearchParams({icons:a});r+=l+".json?"+d.toString();break}case"custom":{const l=t.uri;r+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let i=503;Yi(e+r).then(l=>{const s=l.status;if(s!==200){setTimeout(()=>{n(Im(s)?"abort":"next",s)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",i)})}};function jm(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.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 l=i.provider,s=i.prefix,a=i.name,d=n[l]||(n[l]=Object.create(null)),c=d[s]||(d[s]=Ve(l,s));let m;a in c.icons?m=t.loaded:s===""||c.missing.has(a)?m=t.missing:m=t.pending;const u={provider:l,prefix:s,name:a};m.push(u)}),t}function $i(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function qm(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(l=>{const s=l.icons,a=s.pending.length;s.pending=s.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||$i([e],l.id),l.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),l.abort))})}))}let zm=0;function Hm(e,t,n){const r=zm++,i=$i.bind(null,n,r);if(!t.pending.length)return i;const l={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(l)}),i}function Um(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const l=typeof i=="string"?Mt(i,t,n):i;l&&r.push(l)}),r}var Wm={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Gm(e,t,n,r){const i=e.resources.length,l=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let b=e.resources.slice(0);for(s=[];b.length>1;){const E=Math.floor(Math.random()*b.length);s.push(b[E]),b=b.slice(0,E).concat(b.slice(E+1))}s=s.concat(b)}else s=e.resources.slice(l).concat(e.resources.slice(0,l));const a=Date.now();let d="pending",c=0,m,u=null,p=[],f=[];typeof r=="function"&&f.push(r);function h(){u&&(clearTimeout(u),u=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,E){E&&(f=[]),typeof b=="function"&&f.push(b)}function B(){return{startTime:a,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function S(){d="failed",f.forEach(b=>{b(void 0,m)})}function _(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function O(b,E,F){const R=E!=="success";switch(p=p.filter(L=>L!==b),d){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=F,S();return}if(R){m=F,p.length||(s.length?P():S());return}if(h(),_(),!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 P(){if(d!=="pending")return;h();const b=s.shift();if(b===void 0){if(p.length){u=setTimeout(()=>{h(),d==="pending"&&(_(),S())},e.timeout);return}S();return}const E={status:"pending",resource:b,callback:(F,R)=>{O(E,F,R)}};p.push(E),c++,u=setTimeout(P,e.rotate),n(b,t,E.callback)}return setTimeout(P),B}function vi(e){const t={...Wm,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,d,c){const m=Gm(t,a,d,(u,p)=>{r(),c&&c(u,p)});return n.push(m),m}function l(a){return n.find(d=>a(d))||null}return{query:i,find:l,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function el(){}const po=Object.create(null);function Jm(e){if(!po[e]){const t=ho(e);if(!t)return;const n=vi(t),r={config:t,redundancy:n};po[e]=r}return po[e]}function Km(e,t,n){let r,i;if(typeof e=="string"){const l=mo(e);if(!l)return n(void 0,424),el;i=l.send;const s=Jm(e);s&&(r=s.redundancy)}else{const l=uo(e);if(l){r=vi(l);const s=e.resources?e.resources[0]:"",a=mo(s);a&&(i=a.send)}}return!r||!i?(n(void 0,424),el):r.query(t,i,n)().abort}const tl="iconify2",ot="iconify",nl=ot+"-count",ol=ot+"-version",rl=36e5,Zm=168;function go(e,t){try{return e.getItem(t)}catch{}}function yo(e,t,n){try{return e.setItem(t,n),!0}catch{}}function il(e,t){try{e.removeItem(t)}catch{}}function bo(e,t){return yo(e,nl,t.toString())}function ko(e){return parseInt(go(e,nl))||0}const zt={local:!0,session:!0},ll={local:new Set,session:new Set};let Co=!1;function Xm(e){Co=e}let Ht=typeof window>"u"?{}:window;function sl(e){const t=e+"Storage";try{if(Ht&&Ht[t]&&typeof Ht[t].length=="number")return Ht[t]}catch{}zt[e]=!1}function al(e,t){const n=sl(e);if(!n)return;const r=go(n,ol);if(r!==tl){if(r){const a=ko(n);for(let d=0;d<a;d++)il(n,ot+d.toString())}yo(n,ol,tl),bo(n,0);return}const i=Math.floor(Date.now()/rl)-Zm,l=a=>{const d=ot+a.toString(),c=go(n,d);if(typeof c=="string"){try{const m=JSON.parse(c);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,a))return!0}catch{}il(n,d)}};let s=ko(n);for(let a=s-1;a>=0;a--)l(a)||(a===s-1?(s--,bo(n,s)):ll[e].add(a))}function cl(){if(!Co){Xm(!0);for(const e in zt)al(e,t=>{const n=t.data,r=t.provider,i=n.prefix,l=Ve(r,i);if(!ao(l,n).length)return!1;const s=n.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,s):s,!0})}}function Qm(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in zt)al(r,i=>{const l=i.data;return i.provider!==e.provider||l.prefix!==e.prefix||l.lastModified===t});return!0}function Ym(e,t){Co||cl();function n(r){let i;if(!zt[r]||!(i=sl(r)))return;const l=ll[r];let s;if(l.size)l.delete(s=Array.from(l).shift());else if(s=ko(i),!bo(i,s+1))return;const a={cached:Math.floor(Date.now()/rl),provider:e.provider,data:t};return yo(i,ot+s.toString(),JSON.stringify(a))}t.lastModified&&!Qm(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function dl(){}function $m(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,qm(e)}))}function vm(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 l;if(!i||!(l=mo(n)))return;l.prepare(n,r,i).forEach(a=>{Km(n,a,(d,c)=>{if(typeof d!="object"){if(c!==404)return;a.icons.forEach(m=>{e.missing.add(m)})}else try{const m=ao(e,d);if(!m.length)return;const u=e.pendingIcons;u&&m.forEach(p=>{u.delete(p)}),Ym(e,d)}catch(m){console.error(m)}$m(e)})})}))}const eu=(e,t)=>{const n=Um(e,!0,Ji()),r=jm(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,dl)}),()=>{d=!1}}const i=Object.create(null),l=[];let s,a;return r.pending.forEach(d=>{const{provider:c,prefix:m}=d;if(m===a&&c===s)return;s=c,a=m,l.push(Ve(c,m));const u=i[c]||(i[c]=Object.create(null));u[m]||(u[m]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:m,name:u}=d,p=Ve(c,m),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(u)||(f.add(u),i[c][m].push(u))}),l.forEach(d=>{const{provider:c,prefix:m}=d;i[c][m].length&&vm(d,i[c][m])}),t?Hm(t,r,l):dl};function tu(e,t){const n={...e};for(const r in t){const i=t[r],l=typeof i;r in Zi?(i===null||i&&(l==="string"||l==="number"))&&(n[r]=i):l===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const nu=/[\s,]+/;function ou(e,t){t.split(nu).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function ru(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 l=parseFloat(e.slice(0,e.length-n.length));return isNaN(l)?0:(l=l/i,l%1===0?r(l):0)}}return t}function iu(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 lu(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function su(e){return'url("data:image/svg+xml,'+lu(e)+'")'}const ml={...Xi,inline:!1},au={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},cu={display:"inline-block"},wo={backgroundColor:"currentColor"},ul={backgroundColor:"transparent"},fl={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},hl={webkitMask:wo,mask:wo,background:ul};for(const e in hl){const t=hl[e];for(const n in fl)t[e+n]=fl[n]}const Ut={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Ut[e+"-flip"]=t,Ut[e.slice(0,1)+"-flip"]=t,Ut[e+"Flip"]=t});function pl(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const gl=(e,t)=>{const n=tu(ml,t),r={...au},i=t.mode||"svg",l={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&ou(n,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?n[y]=ru(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const B=Ut[y];B?(g===!0||g==="true"||g===1)&&(n[B]=!0):ml[y]===void 0&&(r[y]=g)}}}const d=Tm(e,n),c=d.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),i==="svg"){r.style={...l,...a},Object.assign(r,c);let y=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=Fm(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:m,width:u,height:p}=e,f=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),h=iu(m,{...c,width:u+"",height:p+""});return r.style={...l,"--svg":su(h),width:pl(c.width),height:pl(c.height),...cu,...f?wo:ul,...a},o.h("span",r)};if(Ji(!0),Pm("",Rm),typeof document<"u"&&typeof window<"u"){cl();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"||!Ki(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;Lm(n,i)||console.error(r)}catch{console.error(r)}}}}const du={...jt,body:""},mu=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=Mt(e,!1,!0))===null)return this.abortLoading(),null;const r=Bm(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:eu([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 gl(du,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),gl({...jt,...t.data},n)}}),N=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},uu={name:"CmdIcon",components:{Icon:mu},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}}},fu=["title"];function hu(e,t,n,r,i,l){const s=o.resolveComponent("Icon");return l.isIconify?(o.openBlock(),o.createBlock(s,{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,fu))}const j=N(uu,[["render",hu]]);function xe(e,t){return Wt(e,"EditComponentWrapper",t)}function pu(e){return Wt(e,"EditModeSettingsSidebar")}function gu(e){return Wt(e,"EditModeMainSidebar")}function Wt(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?Wt(e.$parent,t,n):null}function Be(e,...t){const n=[];for(let r=xe(e);r;r=xe(r.$parent))r.componentPath&&n.unshift(...r.componentPath);return n.push(...t),n}function yu(e){return Array.isArray(e)&&e.length>0?JSON.stringify(e):""}function K(e,t){var n;return(n=e==null?void 0:e.$options)!=null&&n.name?{name:e.$options.name,...t}:t}const bu={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!xe(this.$parent,e=>(e==null?void 0:e.componentName)!=="CmdContainer")},active(){return this.editModeContext?xe(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer")?!!this.editModeContext.system.isActiveChildComponent(ie(this)):!!this.editModeContext.system.isActiveComponent(ie(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=xe(this.$parent,t=>(t==null?void 0:t.componentName)!=="CmdContainer");this.editModeContext.system.setActiveComponent(ie(e),ie(this))},deleteComponent(){var e;!this.editing&&this.allowDeleteComponent&&confirm("Delete this component and its content?")&&((e=this.editModeContext)==null||e.store.deleteContent(ie(this)),this.editModeContext.settings.stopEditing())},deleteInnerComponent(){this.editModeContext.store.deleteContent(ie(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(ie(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,ie(this),this.saveSettings,this.deleteInnerComponent,t||"edit")},addEntry(e){this.itemProvider?this.editModeContext.content.addContent(ie(this),this.itemProvider):this.editSettings(e,"add")},saveSettings(e){this.editModeContext.store.updateSettings(ie(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=yu(ie(this))},immediate:!0,deep:!0},editing(e){this.editStateListeners.forEach(t=>t(e))}}};function ie(e){const t=[];for(let n=e;n;n=xe(n.$parent))n.componentPath&&t.unshift(...n.componentPath);return t}const ku={key:0,class:"action-buttons-wrapper"},Cu=["data-component"],wu=["title"],xu=["href"],Bu={key:0},_u={key:1},Eu={key:0,class:"component-name"},Su=["data-component"],Tu=["title"],Ou=["href","title"],Nu=["title"],Vu={key:0},Fu={key:1},Pu=["title"],Lu=["title"];function Au(e,t,n,r,i,l){const s=j;return o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.componentTag||"div"),{class:o.normalizeClass(["edit-component-wrapper",{active:l.active}]),tabindex:"0",onClick:o.withModifiers(l.showActionButtons,["stop"]),ref:"editComponent",title:l.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",ku,[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(a=>l.addEntry(a),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[o.createVNode(s,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,wu)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button primary",{disabled:l.editing||!l.hasSettings}]),href:l.editing?null:"#",onClick:t[1]||(t[1]=o.withModifiers((...a)=>l.editSettings&&l.editSettings(...a),["prevent"])),title:"Edit settings of this component"},[o.createVNode(s,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,xu)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:"icon-hexagon button-delete",href:"#",onClick:t[2]||(t[2]=o.withModifiers((...a)=>l.deleteComponent&&l.deleteComponent(...a),["prevent"])),title:"Delete this component (and its content)"},[o.createVNode(s,{iconClass:"icon-trash"})])]),l.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",Bu,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon button-cancel",{disabled:!l.editing}]),href:"#",onClick:t[3]||(t[3]=o.withModifiers((...a)=>l.cancelComponent&&l.cancelComponent(...a),["prevent"])),title:"Cancel editing (changes will not be saved)"},[o.createVNode(s,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",_u,[l.editing?(o.openBlock(),o.createElementBlock("a",{key:0,class:"icon-hexagon button-save",href:"#",onClick:t[4]||(t[4]=o.withModifiers((...a)=>l.saveComponent&&l.saveComponent(...a),["prevent"])),title:"Save changes of this component"},[o.createVNode(s,{iconClass:"icon-check"})])):(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["icon-hexagon button",{disabled:l.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:t[5]||(t[5]=o.withModifiers((...a)=>l.editComponent&&l.editComponent(...a),["prevent"])),title:"Edit content of this component"},[o.createVNode(s,{iconClass:"icon-edit"})],2))]))],8,Cu),[[o.vShow,l.active]])])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[l.isOuterComponent?(o.openBlock(),o.createElementBlock("p",Eu,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]=(...a)=>l.addHighlightRelatedComponent&&l.addHighlightRelatedComponent(...a)),onMouseleave:t[13]||(t[13]=(...a)=>l.removeHighlightRelatedComponent&&l.removeHighlightRelatedComponent(...a))},[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((...a)=>l.addEntry&&l.addEntry(...a),["prevent"])),title:l.isOuterComponent?"Add new component":"Add new item/entry"},[o.createVNode(s,{iconClass:(l.isOuterComponent,"icon-plus")},null,8,["iconClass"])],10,Tu)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button primary",{disabled:l.editing||!l.hasSettings}]),href:l.editing?null:"#",onClick:t[7]||(t[7]=o.withModifiers((...a)=>l.editSettings&&l.editSettings(...a),["prevent"])),title:"Edit settings for "+n.componentName},[o.createVNode(s,{iconClass:l.isOuterComponent?"icon-cogs":"icon-cog"},null,8,["iconClass"])],10,Ou)]),o.createElementVNode("li",null,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button button-delete",{disabled:l.editing||!n.allowDeleteComponent}]),href:"#",onClick:t[8]||(t[8]=o.withModifiers((...a)=>l.deleteComponent&&l.deleteComponent(...a),["prevent"])),title:"Delete "+n.componentName+" (and its content)"},[o.createVNode(s,{iconClass:"icon-trash"})],10,Nu)]),l.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",Vu,[o.createElementVNode("a",{class:o.normalizeClass(["icon-hexagon use-icon-as-background button cancel",{disabled:!l.editing}]),href:"#",onClick:t[9]||(t[9]=o.withModifiers((...a)=>l.cancelComponent&&l.cancelComponent(...a),["prevent"])),title:"Cancel editing (changes will not be saved)"},[o.createVNode(s,{iconClass:"icon-cancel"})],2)])),l.isOuterComponent?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("li",Fu,[l.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((...a)=>l.saveComponent&&l.saveComponent(...a),["prevent"])),title:"Save changes of "+n.componentName},[o.createVNode(s,{iconClass:"icon-check"})],8,Pu)):(o.openBlock(),o.createElementBlock("a",{key:1,class:o.normalizeClass(["icon-hexagon use-icon-as-background button confirm",{disabled:l.editModeContext.settings.isEditing(i.componentIdentifier)}]),href:"#",onClick:t[11]||(t[11]=o.withModifiers((...a)=>l.editComponent&&l.editComponent(...a),["prevent"])),title:"Edit content for "+n.componentName},[o.createVNode(s,{iconClass:"icon-edit"})],10,Lu))]))],40,Su),[[o.vShow,l.active]])],64)),o.renderSlot(e.$slots,"default",{editing:l.editing})]),_:3},8,["class","onClick","title","data-identifier"])}const _e=N(bu,[["render",Au]]),Z={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=xe(this.$parent);t&&(t.addEditStateListener(n=>this.editing=n),t.addUpdateHandlerProvider(this.updateHandlerProvider),t.setAddHandlerProvider(this.addHandlerProvider))}this.mainSidebarContext=!!gu(this),this.settingsContext=!!pu(this)},updateHandlerProvider(){return{}}}},Iu={name:"CmdHeadline",mixins:[Z],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(Be(xe(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 K(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}}},Mu={class:"pre-headline-text-wrapper"},Du=["innerHTML"],Ru=["innerHTML"],ju={key:1},qu=["innerHTML"],zu={key:2},Hu={class:"pre-headline-text"},Uu=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new headline",-1)];function Wu(e,t,n,r,i,l){var c;const s=j,a=J,d=_e;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},l.headlineTextAlign])},[n.preHeadlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.headlineText?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(l.headlineTag),{key:0},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("span",Mu,[o.createElementVNode("span",{class:"pre-headline-text",innerHTML:n.preHeadlineText},null,8,Du),n.headlineText?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:n.headlineText},null,8,Ru)):(o.openBlock(),o.createElementBlock("span",ju,[o.renderSlot(e.$slots,"default")]))])]),_:3})):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(l.headlineTag),{key:1},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(s,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,qu)):(o.openBlock(),o.createElementBlock("span",zu,[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:l.headlineComponentPath,allowDeleteComponent:!!n.headlineText},{default:o.withCtx(m=>[m.editing?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:"text",class:o.normalizeClass(["edit-mode","headline","h"+n.headlineLevel,l.headlineTextAlign]),labelText:"Headline",showLabel:!1,placeholder:"Headline",modelValue:i.editableHeadlineText,"onUpdate:modelValue":t[0]||(t[0]=u=>i.editableHeadlineText=u)},null,8,["class","modelValue"])):n.headlineText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdIcon?(o.openBlock(),o.createBlock(s,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(l.headlineTag),{key:0},{default:o.withCtx(()=>[n.cmdIcon?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdIcon)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("span",Hu,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(l.headlineTag),{key:2},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.headlineText),1)])]),_:3})):o.createCommentVNode("",!0)],64)):l.componentActive?(o.openBlock(),o.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:t[1]||(t[1]=(...u)=>l.onAddItem&&l.onAddItem(...u))},Uu)):o.createCommentVNode("",!0)]),_:3},8,["componentProps","componentPath","allowDeleteComponent"]))}const z=N(Iu,[["render",Wu]]),Gu={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"})}}},Ju={key:0,class:"headline-wrapper"},Ku=["title"];function Zu(e,t,n,r,i,l){const s=z,a=j;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",Ju,[n.cmdHeadline?(o.openBlock(),o.createBlock(s,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)=>l.hideTooltip&&l.hideTooltip(...d),["prevent"])),title:n.iconClose.tooltip},[o.createVNode(a,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,Ku)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(n.tooltipText),1)])],2)):o.createCommentVNode("",!0)}const yl=N(Gu,[["render",Zu]]),X={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,l)=>r=r.replace("{"+l+"}",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}}},Xu={name:"CmdListOfRequirements",mixins:[X,{data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.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("cmdlistofrequirements.headline.requirements_for_input"):this.getMessage("cmdlistofrequirements.headline.requirement_for_input")}}},Qu={class:"cmd-list-of-requirements"},Yu=o.createElementVNode("br",null,null,-1),$u=o.createElementVNode("hr",null,null,-1),vu=["href","target"],ef={key:1};function tf(e,t,n,r,i,l){var d,c,m;const s=z,a=j;return o.openBlock(),o.createElementBlock("div",Qu,[n.showHeadline?(o.openBlock(),o.createBlock(s,{key:0,"headline-level":n.cmdHeadline.headlineLevel},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(l.headlineRequirements),1),n.labelText?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[Yu,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,(u,p)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:p},[o.createElementVNode("dt",{"aria-live":"assertive",class:o.normalizeClass(u.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},o.toDisplayString(u.message)+":",3),o.createElementVNode("dd",{class:o.normalizeClass(u.valid(n.inputModelValue,n.inputAttributes)?"success":"error")},[o.createVNode(a,{"aria-live":"assertive",iconClass:u.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconClass:n.iconError.iconClass,type:u.valid(n.inputModelValue,n.inputAttributes)?n.iconSuccess.iconType:n.iconError.iconType,title:u.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},[$u,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(a,{key:0,class:o.normalizeClass((c=n.helplink.icon)==null?void 0:c.iconClass),title:(m=n.helplink.icon)==null?void 0:m.tooltip},null,8,["class","title"])):o.createCommentVNode("",!0),n.helplink.text?(o.openBlock(),o.createElementBlock("span",ef,o.toDisplayString(n.helplink.text),1)):o.createCommentVNode("",!0)],8,vu)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)])}const nf=N(Xu,[["render",tf]]),of={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,default(){return{showRequirements:!0,validationTooltip:"",inputRequirements:[],inputAttributes:{},showHeadline:!0,inputModelValue:"",helplink:{},labelText:""}}}},methods:{hideTooltip(){this.$refs.tooltip.hideTooltip()}}};function rf(e,t,n,r,i,l){const s=nf,a=yl;return o.openBlock(),o.createBlock(a,{ref:"tooltip",class:o.normalizeClass(["cmd-tooltip-for-form-elements box",n.validationStatus]),relatedId:n.relatedId,"toggle-visibility-by-click":!0},{default:o.withCtx(()=>[n.cmdListOfRequirements.showRequirements?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdListOfRequirements)),null,16)):o.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const xo=N(of,[["render",rf]]),Bo={data(){return{defaultMessageProperties:{"cmdformelement.headline.requirements_for_input":"Requirements for input","cmdformelement.validation_tooltip.an_error_occurred":"An error occurred!","cmdformelement.validation_tooltip.information_is_filled_correctly":"This information is filled correctly!","cmdformelement.validation_tooltip.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdformelement.validation_tooltip.open_field_requirements":"Open field requirements!","cmdformelement.validation_tooltip.is_valid_email":"Is valid e-mail-address"}}}},Gt={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[X,{data(){return{fieldValidationDefaultMessageProperties:{"cmdfieldvalidation.open_detailed_help":"Open detailed help!","cmdfieldvalidation.information_not_filled_correctly":"This information is not filled correctly!","cmdfieldvalidation.information_filled_correctly":"This information is filled correctly!","cmdfieldvalidation.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdfieldvalidation.required_field_is_filled":"Required field is filled!","cmdfieldvalidation.field_contains_special_character":"Field contains special character","cmdfieldvalidation.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 this.cmdListOfRequirements==null?{showRequirements:!0,showHeadline:!0,validationTooltip:this.validationTooltip,inputRequirements:this.inputRequirements,inputAttributes:this.$attrs,inputModelValue:this.modelValue,helplink:{},labelText:this.labelText}:this.cmdListOfRequirements},getValidationMessage(){if(this.validationStatus!==""){if(this.validationStatus==="error")return this.validationMessage?this.validationMessage:this.getMessage("cmdfieldvalidation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("cmdfieldvalidation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("cmdfieldvalidation.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("cmdfieldvalidation.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("cmdfieldvalidation.required_field_is_filled")}},watch:{validationStatus:{handler(){this.$emit("validation-status-change",this.validationStatus)}}}};function Ue(){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 _o(){return"cmd-"+Ue()}const rt={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||_o()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Eo={};function lf(e="defaultSequence"){const t=Eo[e]||0;return Eo[e]=t+1,Eo[e]}const So={data(){return{tooltip:!1,tooltipId:"tooltip-"+lf()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},sf=["color","date","datetime-local","file","number","range"],af={inheritAttrs:!1,name:"CmdFormElement",mixins:[X,Bo,Gt,rt,So],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("cmdformelement.validation_tooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validation_tooltip.information_is_filled_correctly"):this.capsLockActivated?this.getMessage("cmdformelement.validation_tooltip.caps_lock_is_activated"):this.getMessage("cmdformelement.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("cmdformelement.validationTooltip.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:sf.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}}},cf=["for","title"],df=["innerHTML"],mf={key:2,"aria-hidden":"true"},uf=["title","aria-errormessage","id"],ff={key:1,class:"flex-container inner-input-wrapper"},hf=["id","autocomplete","list","value","maxlength"],pf=["title"],gf=["id"],yf=["value"],bf=["checked","value","id","disabled","aria-invalid"],kf=["innerHTML"],Cf={key:2},wf={class:"switch-label-wrapper"},xf=["checked","value","id","disabled","aria-invalid"],Bf={class:"label-text"},_f={class:"label-text"},Ef=["innerHTML"],Sf={key:0},Tf=["id"],Of=["value","selected"],Nf=["id","value","maxlength"],Vf={key:6,class:"characters-left-wrapper"},Ff={key:0},Pf={key:7,class:"search-field-wrapper flex-container no-gap"},Lf=["id","maxlength","value"],Af=["title"],If=["title"],Mf={key:1};function Df(e,t,n,r,i,l){var d,c,m,u,p,f,h,y,g,B,S,_,O,P,b,E,F,R,L,he,pe,ge,ye,be;const s=j,a=xo;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,df)):o.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required!=null&&e.$attrs.required!==!1?(o.openBlock(),o.createElementBlock("sup",mf,"*")):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:l.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(s,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,uf)):o.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(o.openBlock(),o.createBlock(a,{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",ff,[n.fieldIconClass?(o.openBlock(),o.createBlock(s,{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},l.elementAttributes,{id:e.htmlId,class:n.inputClass,onFocus:t[1]||(t[1]=V=>e.tooltip=!0),onBlur:t[2]||(t[2]=(...V)=>l.onBlur&&l.onBlur(...V)),onInput:t[3]||(t[3]=(...V)=>l.onInput&&l.onInput(...V)),onMouseover:t[4]||(t[4]=(...V)=>l.datalistFocus&&l.datalistFocus(...V)),onKeyup:t[5]||(t[5]=(...V)=>e.checkForCapsLock&&e.checkForCapsLock(...V)),onChange:t[6]||(t[6]=V=>e.$emit("change",V)),autocomplete:l.autocomplete,list:n.datalist?n.datalist.id:null,value:n.modelValue,maxlength:l.getMaxLength(),ref:"input"}),null,16,hf)):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((...V)=>l.showPassword&&l.showPassword(...V),["prevent"])),onMouseup:t[8]||(t[8]=o.withModifiers((...V)=>l.hidePassword&&l.hidePassword(...V),["prevent"])),onMouseleave:t[9]||(t[9]=o.withModifiers((...V)=>l.hidePassword&&l.hidePassword(...V),["prevent"])),onClick:t[10]||(t[10]=o.withModifiers(()=>{},["prevent"])),title:n.iconPasswordVisible.tooltip},[o.createVNode(s,{iconClass:n.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,pf)):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,(V,we)=>(o.openBlock(),o.createElementBlock("option",{key:we,value:V},null,8,yf))),128))],8,gf)):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",wf,[o.createElementVNode("input",o.mergeProps(l.elementAttributes,{onChange:t[13]||(t[13]=(...V)=>l.onChange&&l.onChange(...V)),onBlur:t[14]||(t[14]=(...V)=>l.onBlur&&l.onBlur(...V)),checked:l.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,xf),o.createElementVNode("span",Bf,o.toDisplayString(n.onLabel),1),o.createElementVNode("span",_f,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,Ef),e.$attrs.required?(o.openBlock(),o.createElementBlock("sup",Sf,"*")):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(l.elementAttributes,{onChange:t[11]||(t[11]=(...V)=>l.onChange&&l.onChange(...V)),onBlur:t[12]||(t[12]=(...V)=>l.onBlur&&l.onBlur(...V)),checked:l.isChecked,value:n.inputValue,class:[n.inputClass,e.validationStatus,l.toggleSwitchIconClass,{"replace-input-type":n.replaceInputType}],id:e.htmlId,disabled:e.$attrs.disabled,"aria-invalid":e.validationStatus==="error"}),null,16,bf),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,kf)):o.renderSlot(e.$slots,"labeltext",{key:1}),e.$attrs.required?(o.openBlock(),o.createElementBlock("sup",Cf,"*")):o.createCommentVNode("",!0)])],2)):o.createCommentVNode("",!0)],64))],64)):o.createCommentVNode("",!0),n.element==="select"?(o.openBlock(),o.createElementBlock("select",o.mergeProps({key:4},l.elementAttributes,{id:e.htmlId,onBlur:t[15]||(t[15]=(...V)=>l.onBlur&&l.onBlur(...V)),onChange:t[16]||(t[16]=V=>e.$emit("update:modelValue",V.target.value))}),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.selectOptions,(V,we)=>(o.openBlock(),o.createElementBlock("option",{key:we,value:V.value,selected:V.value===n.modelValue},o.toDisplayString(V.text),9,Of))),128))],16,Tf)):o.createCommentVNode("",!0),n.element==="textarea"?(o.openBlock(),o.createElementBlock("textarea",o.mergeProps({key:5},l.elementAttributes,{id:e.htmlId,value:n.modelValue,maxlength:l.getMaxLength(),onInput:t[17]||(t[17]=(...V)=>l.onInput&&l.onInput(...V)),onFocus:t[18]||(t[18]=V=>e.tooltip=!0),onBlur:t[19]||(t[19]=(...V)=>l.onBlur&&l.onBlur(...V))}),null,16,Nf)):o.createCommentVNode("",!0),n.element==="textarea"&&n.showCharactersTextarea?(o.openBlock(),o.createElementBlock("span",Vf,[n.textCharactersLeft?(o.openBlock(),o.createElementBlock("span",Ff,o.toDisplayString(n.textCharactersLeft),1)):o.createCommentVNode("",!0),o.createElementVNode("span",{class:o.normalizeClass(["characters-left",{error:l.charactersLeft===0}])},o.toDisplayString(l.charactersLeft),3)])):n.element==="input"&&e.$attrs.type==="search"?(o.openBlock(),o.createElementBlock("span",Pf,[n.fieldIconClass?(o.openBlock(),o.createBlock(s,{key:0,class:"place-inside",iconClass:n.fieldIconClass},null,8,["iconClass"])):o.createCommentVNode("",!0),o.createElementVNode("input",o.mergeProps(l.elementAttributes,{id:e.htmlId,onInput:t[20]||(t[20]=(...V)=>l.onInput&&l.onInput(...V)),maxlength:l.getMaxLength(),value:n.modelValue}),null,16,Lf),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((...V)=>l.executeSearch&&l.executeSearch(...V),["prevent"]))},[o.createVNode(s,{iconClass:n.iconSearch.iconClass},null,8,["iconClass"])],10,Af)):o.createCommentVNode("",!0),(d=n.iconDelete)!=null&&d.show?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",onClick:t[22]||(t[22]=o.withModifiers(V=>e.$emit("update:modelValue",""),["prevent"])),title:(c=n.iconDelete)==null?void 0:c.tooltip},[o.createVNode(s,{iconClass:(m=n.iconDelete)==null?void 0:m.iconClass,type:(u=n.iconDelete)==null?void 0:u.iconType},null,8,["iconClass","type"])],8,If)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],10,cf)):n.element==="button"?(o.openBlock(),o.createElementBlock("button",o.mergeProps({key:1,class:"button"},l.buttonAttrs,{onClick:t[23]||(t[23]=(...V)=>l.submit&&l.submit(...V))}),[(f=(p=n.nativeButton)==null?void 0:p.icon)!=null&&f.show&&(((y=(h=n.nativeButton)==null?void 0:h.icon)==null?void 0:y.position)==="before"||!((B=(g=n.nativeButton)==null?void 0:g.icon)!=null&&B.position))?(o.openBlock(),o.createBlock(s,{key:0,iconClass:(_=(S=n.nativeButton)==null?void 0:S.icon)==null?void 0:_.iconClass,type:(P=(O=n.nativeButton)==null?void 0:O.icon)==null?void 0:P.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(b=n.nativeButton)!=null&&b.icon&&((E=n.nativeButton)!=null&&E.text)?(o.openBlock(),o.createElementBlock("span",Mf,o.toDisplayString(n.nativeButton.text),1)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createTextVNode(o.toDisplayString(n.nativeButton.text),1)],64)),(R=(F=n.nativeButton)==null?void 0:F.icon)!=null&&R.show&&((he=(L=n.nativeButton)==null?void 0:L.icon)==null?void 0:he.position)==="after"?(o.openBlock(),o.createBlock(s,{key:3,iconClass:(ge=(pe=n.nativeButton)==null?void 0:pe.icon)==null?void 0:ge.iconClass,type:(be=(ye=n.nativeButton)==null?void 0:ye.icon)==null?void 0:be.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],16)):o.createCommentVNode("",!0)}const J=N(af,[["render",Df]]),Rf={name:"CmdAddressDataItem",mixins:[Z],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 K(this,{item(){return e}})},updateHandlerProvider(){const e=this.editableAddressEntry;return K(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}}},jf={key:1},qf=["href","target","title","data-type"],zf=["innerHTML"],Hf={key:1},Uf=["href","title"],Wf={class:"street-address"},Gf=o.createElementVNode("br",null,null,-1),Jf={key:0,class:"postal-code"},Kf={key:1,class:"locality"},Zf=o.createElementVNode("br",null,null,-1),Xf={key:0},Qf={key:3,class:"country-name"},Yf={class:"street-address"},$f=o.createElementVNode("br",null,null,-1),vf={key:0,class:"postal-code"},eh={key:1,class:"locality"},th=o.createElementVNode("br",null,null,-1),nh=o.createElementVNode("br",null,null,-1),oh={key:3,class:"country-name"};function rh(e,t,n,r,i,l){const s=j,a=J,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"}])},[n.addressEntry.iconClass&&n.showLabelIcons?(o.openBlock(),o.createBlock(s,{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",jf,o.toDisplayString(n.addressEntry.labelText),1)):o.createCommentVNode("",!0)],2),n.addressEntry.type!=="address"&&(n.addressEntry.data||n.addressEntry.href)?(o.openBlock(),o.createElementBlock("dd",{key:0,class:o.normalizeClass(l.vCardClass(n.addressEntry))},[e.editing?(o.openBlock(),o.createBlock(a,{key:1,element:"input",type:l.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:l.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,qf)),[[d,n.addressEntry.href]]):(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:n.addressEntry.data},null,8,zf))],64))],2)):n.addressEntry.name==="address"?(o.openBlock(),o.createElementBlock("dd",Hf,[n.linkGoogleMaps&&!e.editing?(o.openBlock(),o.createElementBlock("a",{key:0,href:l.locateAddress(n.addressEntry),target:"google-maps",title:n.addressEntry.tooltip},[n.addressEntry.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",Wf,o.toDisplayString(n.addressEntry.streetNo),1),Gf],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",Jf,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",Kf,[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),Zf,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",Xf)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),n.addressEntry.country?(o.openBlock(),o.createElementBlock("span",Qf,o.toDisplayString(n.addressEntry.country),1)):o.createCommentVNode("",!0)],8,Uf)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createVNode(a,{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(a,{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(a,{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(a,{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(a,{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",Yf,o.toDisplayString(n.addressEntry.streetNo),1),$f],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",vf,o.toDisplayString(n.addressEntry.zip),1)):o.createCommentVNode("",!0),n.addressEntry.city?(o.openBlock(),o.createElementBlock("span",eh,[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),th,n.addressEntry.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(n.addressEntry.miscInfo),1),nh],64)):o.createCommentVNode("",!0),n.addressEntry.country?(o.openBlock(),o.createElementBlock("span",oh,o.toDisplayString(n.addressEntry.country),1)):o.createCommentVNode("",!0)],64))],64))])):o.createCommentVNode("",!0)],64)}const ih=N(Rf,[["render",rh]]),lh={name:"CmdAddressData",mixins:[Z,X,{data(){return{defaultMessageProperties:{"cmdaddressdata.labeltext.company":"Company:","cmdaddressdata.labeltext.address":"Address:","cmdaddressdata.labeltext.telephone":"Telephone:","cmdaddressdata.labeltext.mobile_phone":"Mobile phone:","cmdaddressdata.labeltext.fax":"Fax:","cmdaddressdata.labeltext.email":"Email:","cmdaddressdata.labeltext.website":"Web site:","cmdaddressdata.labeltext.custom":"Custom:","cmdaddressdata.title.open_address_on_google_maps:":"Open address on GoogleMaps™ (in new tab)","cmdaddressdata.title.call_number":"Call number","cmdaddressdata.title.send_email":"Send email","cmdaddressdata.title.visit_website":"Visit web site (in new tab)"}}}}],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(Be(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 K(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:{}},sh={class:"cmd-address-data vcard"},ah={class:"adr"},ch={key:0},dh=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],mh=["href","target","title"],uh=["innerHTML"],fh=["href","title"],hh={class:"street-address"},ph=o.createElementVNode("br",null,null,-1),gh={key:0,class:"postal-code"},yh={key:1,class:"locality"},bh=o.createElementVNode("br",null,null,-1),kh=o.createElementVNode("br",null,null,-1),Ch=o.createElementVNode("br",null,null,-1),wh={key:4,class:"country-name"},xh={class:"street-address"},Bh=o.createElementVNode("br",null,null,-1),_h={key:0,class:"postal-code"},Eh={key:1,class:"locality"},Sh=o.createElementVNode("br",null,null,-1),Th=o.createElementVNode("br",null,null,-1),Oh=o.createElementVNode("br",null,null,-1),Nh={key:4,class:"country-name"};function Vh(e,t,n,r,i,l){var m;const s=z,a=ih,d=_e,c=j;return o.openBlock(),o.createElementBlock("div",sh,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(m=n.cmdHeadline)!=null&&m.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("address",ah,[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]=(...u)=>l.onAddItem&&l.onAddItem(...u))},dh)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(u,p)=>(o.openBlock(),o.createBlock(d,{key:"x"+p,class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdAddressDataItem",componentProps:u,componentPath:["props","addressData",p]},{default:o.withCtx(()=>[o.createElementVNode("dl",null,[o.createVNode(a,{addressEntry:u,showLabelIcons:n.showLabelIcons,showLabelTexts:n.showLabelTexts},null,8,["addressEntry","showLabelIcons","showLabelTexts"])])]),_:2},1032,["componentProps","componentPath"]))),128))],64)):(o.openBlock(),o.createElementBlock("dl",ch,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.addressData,(u,p)=>(o.openBlock(),o.createBlock(a,{key:p,addressEntry:u,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,(u,p)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:p},[u.href||u.name==="address"&&u.linkGoogleMaps||!n.showIconsOnly?(o.openBlock(),o.createElementBlock("li",{key:0,class:o.normalizeClass({"no-flex":n.showIconsOnly})},[u.href?(o.openBlock(),o.createElementBlock("a",{key:0,href:l.getHref(u),target:u.name==="url"?"_blank":null,title:u.tooltip},[n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[u.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(u.href),1)],64))],8,mh)):n.showIconsOnly?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:1,innerHTML:u.data},null,8,uh)),u.name==="address"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[u.linkGoogleMaps?(o.openBlock(),o.createElementBlock("a",{key:0,href:l.locateAddress(u),target:"google-maps",title:u.tooltip},[n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[u.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[u.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",hh,o.toDisplayString(u.streetNo),1),ph],64)):o.createCommentVNode("",!0),u.zip||u.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[u.zip?(o.openBlock(),o.createElementBlock("span",gh,o.toDisplayString(u.zip)+" ",1)):o.createCommentVNode("",!0),u.city?(o.openBlock(),o.createElementBlock("span",yh,[o.createTextVNode(o.toDisplayString(u.city),1),u.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(u.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),bh],2)):o.createCommentVNode("",!0),u.pobox?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(u.pobox),1),kh],64)):o.createCommentVNode("",!0),u.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createElementVNode("span",null,o.toDisplayString(u.miscInfo),1),Ch],64)):o.createCommentVNode("",!0),u.country?(o.openBlock(),o.createElementBlock("span",wh,o.toDisplayString(u.country),1)):o.createCommentVNode("",!0)],64))],8,fh)):o.createCommentVNode("",!0),!u.linkGoogleMaps&&!n.showIconsOnly?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[u.streetNo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",xh,o.toDisplayString(u.streetNo),1),Bh],64)):o.createCommentVNode("",!0),u.zip||u.city?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(n.showCityBeforeZip?"order-city-zip":"order-zip-city")},[u.zip?(o.openBlock(),o.createElementBlock("span",_h,o.toDisplayString(u.zip)+" ",1)):o.createCommentVNode("",!0),u.city?(o.openBlock(),o.createElementBlock("span",Eh,[o.createTextVNode(o.toDisplayString(u.city),1),u.state?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(u.state),1)],64)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),Sh],2)):o.createCommentVNode("",!0),u.pobox?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createElementVNode("span",null,o.toDisplayString(u.pobox),1),Th],64)):o.createCommentVNode("",!0),u.miscInfo?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createElementVNode("span",null,o.toDisplayString(u.miscInfo),1),Oh],64)):o.createCommentVNode("",!0),u.country?(o.openBlock(),o.createElementBlock("span",Nh,o.toDisplayString(u.country),1)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],64))),128))],2))])],64))])}const bl=N(lh,[["render",Vh]]),Fh={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"})}}},Ph=["title"];function Lh(e,t,n,r,i,l){const s=j;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>[l.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((...a)=>l.onBackToTop&&l.onBackToTop(...a),["prevent"]))},[o.createVNode(s,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,Ph)):o.createCommentVNode("",!0)]),_:1})}const Ah=N(Fh,[["render",Lh]]),Ih={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")}}},Mh={class:"cmd-bank-account-data"},Dh={key:0},Rh=["onClick","title"],jh={key:1};function qh(e,t,n,r,i,l){const s=z,a=j;return o.openBlock(),o.createElementBlock("div",Mh,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdHeadline?(o.openBlock(),o.createBlock(s,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",Dh,[o.createElementVNode("span",null,o.toDisplayString(d.value),1),o.createElementVNode("a",{href:"#",onClick:o.withModifiers(m=>l.copyToClipboard(d.value),["prevent"]),title:n.cmdIcon.tooltip},[o.createVNode(a,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.iconType},null,8,["iconClass","type"])],8,Rh)])):(o.openBlock(),o.createElementBlock("dd",{key:c},o.toDisplayString(d.value),1))],64))),128))]),n.additionalInformation?(o.openBlock(),o.createElementBlock("p",jh,o.toDisplayString(n.additionalInformation),1)):o.createCommentVNode("",!0)],64))])}const zh=N(Ih,[["render",qh]]),Hh={name:"CmdForm",emits:["submit"],data(){return{errorOccurred:!1,formValues:{}}},props:{formAction:{type:String,required:!1},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:_o,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}}},Uh=["action","data-use-validation","novalidate"],Wh={class:"flex-container"},Gh=["type"],Jh={key:1},Kh={key:0,class:"button-wrapper"},Zh=["type"],Xh={key:1};function Qh(e,t,n,r,i,l){const s=J;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]=(...a)=>l.onSubmit&&l.onSubmit(...a)),novalidate:n.novalidate},[n.useFieldset?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("fieldset",Wh,[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,(a,d)=>(o.openBlock(),o.createBlock(s,{key:d,element:a.element||"input",type:a.type||"text",name:a.name,class:o.normalizeClass(a.htmlClass),id:a.id||l.createHtmlId(),modelValue:i.formValues[a.name],"onUpdate:modelValue":c=>i.formValues[a.name]=c,inputValue:a.inputValue,fieldIconClass:a.innerIconClass,selectOptions:a.selectOptions,labelText:a.labelText,placeholder:a.placeholder,required:a.required,disabled:a.disabled,autocomplete:a.autocomplete,minlength:a.minlength,maxlength:a.maxlength,nativeButton:a.nativeButton},null,8,["element","type","name","class","id","modelValue","onUpdate:modelValue","inputValue","fieldIconClass","selectOptions","labelText","placeholder","required","disabled","autocomplete","minlength","maxlength","nativeButton"]))),128)),l.submitButtonOptions&&(l.submitButtonOptions.position==="insideFieldset"||l.submitButtonOptions.position===null)?(o.openBlock(),o.createElementBlock("button",{key:2,class:o.normalizeClass(["button",{primary:l.submitButtonOptions.primary}]),type:l.submitButtonOptions.type},[l.submitButtonOptions.iconClass?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(l.submitButtonOptions.iconClass)},null,2)):o.createCommentVNode("",!0),l.submitButtonOptions.text?(o.openBlock(),o.createElementBlock("span",Jh,o.toDisplayString(l.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,Gh)):o.createCommentVNode("",!0)]),l.submitButtonOptions&&l.submitButtonOptions.position==="belowFieldset"?(o.openBlock(),o.createElementBlock("div",Kh,[o.createElementVNode("button",{class:o.normalizeClass(["button",{primary:l.submitButtonOptions.primary}]),type:l.submitButtonOptions.type||"submit"},[l.submitButtonOptions.iconClass?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(l.submitButtonOptions.iconClass)},null,2)):o.createCommentVNode("",!0),l.submitButtonOptions.text?(o.openBlock(),o.createElementBlock("span",Xh,o.toDisplayString(l.submitButtonOptions.text),1)):o.createCommentVNode("",!0)],10,Zh)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"button-row")],64)):o.renderSlot(e.$slots,"default",{key:1})],42,Uh)}const kl=N(Hh,[["render",Qh]]),Yh={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.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>."}}}},Ne=class Ne{constructor(t){It(this,"label");this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,Ne.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,Ne.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,Ne.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,""]}};It(Ne,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),It(Ne,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),It(Ne,"PATTERN_MESSAGE",/^.{2,500}$/);let To=Ne;function We(e){if(e){const t=e.lastIndexOf(".");if(t>-1)return e.substring(t+1)}return""}function Cl(e,t,n,r,i){const l=[];if(e.size>r&&l.push("file too large"),t.includes(We(e.name))||l.push("disallowed file extension"),l.length){alert(l);return}const s=new Image;s.onload=()=>{if(s.width<n&&!confirm("width ("+s.width+" px) too small - at least "+n+" px required! Use trotzdem!")){alert("Cancel");return}URL.revokeObjectURL(s.src),typeof i=="function"?i(s.src):i.src=s.src},s.src=URL.createObjectURL(e)}const $h={name:"CmdImage",mixins:[Z],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&&Cl(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(),Cl(e.dataTransfer.files[0],this.allowedFileExtensions,this.minImageWidth,this.maxFileUploadSize,t=>this.newImageSource=t))},addHandlerProvider(){const e={image:{id:Ue(),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 K(this,{item(){return e}})},updateHandlerProvider(){const e=this.figcaptionText;return this.figcaptionText=null,K(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}}},vh=["innerHTML"],ep=o.createElementVNode("span",{class:"icon-image"},null,-1),tp=["src","alt","title"],np=["src","alt","title"],op=["innerHTML"],rp=[o.createElementVNode("span",{class:"icon-add"},null,-1),o.createElementVNode("span",null,"Add new image",-1)],ip=["innerHTML"],lp=["src","alt","title"],sp=["innerHTML"],ap=["src","alt","title"];function cp(e,t,n,r,i,l){var d,c,m,u,p,f,h,y,g,B,S;const s=J,a=_e;return e.editModeContext?(o.openBlock(),o.createBlock(a,{key:0,ref:"editComponentWrapper",class:"edit-items",showComponentName:!1,allowedComponentTypes:[],componentName:"CmdImage",componentProps:{image:n.image,figcaption:n.figcaption},componentPath:l.imageComponentPath,allowDeleteComponent:!!l.imageSource,itemProvider:((d=e.editModeConfig)==null?void 0:d.allowAddItem)!==!1?l.itemProvider:null},{default:o.withCtx(_=>{var O,P,b,E,F,R,L,he,pe,ge,ye,be;return[o.createElementVNode("figure",{class:o.normalizeClass(["cmd-image flex-container no-gap vertical",l.textAlign])},[(O=n.figcaption)!=null&&O.show&&((P=n.figcaption)==null?void 0:P.position)==="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[_.editing?(o.openBlock(),o.createBlock(s,{key:0,element:"input",type:"text",class:o.normalizeClass([l.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",modelValue:l.editableFigcaptionText,"onUpdate:modelValue":t[0]||(t[0]=V=>l.editableFigcaptionText=V)},null,8,["class","modelValue"])):(b=n.figcaption)!=null&&b.text?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(E=n.figcaption)==null?void 0:E.text},null,8,vh)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),_.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(l.dragAndDropHandler,!0),{onClick:t[1]||(t[1]=o.withModifiers((...V)=>l.selectFiles&&l.selectFiles(...V),["prevent"])),title:"Drag new image to this area to replace old one!"}),[ep,o.createElementVNode("img",{src:l.imageSource,alt:(F=n.image)==null?void 0:F.alt,title:(R=n.image)==null?void 0:R.tooltip},null,8,tp)],16),o.createVNode(s,{class:"hidden",element:"input",type:"file",labelText:"Select new image",disabled:i.uploadInitiated,onChange:l.fileSelected,ref:"formElement"},null,8,["disabled","onChange"])],64)):l.imageSource?(o.openBlock(),o.createElementBlock("img",{key:2,src:l.imageSource,alt:(L=n.image)==null?void 0:L.alt,title:(he=n.image)==null?void 0:he.tooltip},null,8,np)):o.createCommentVNode("",!0),(pe=n.figcaption)!=null&&pe.show&&((ge=n.figcaption)==null?void 0:ge.position)!=="top"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[_.editing?(o.openBlock(),o.createBlock(s,{key:0,element:"input",type:"text",class:o.normalizeClass([l.textAlign,"edit-mode"]),required:!0,labelText:"Text figcaption",showLabel:!1,modelValue:l.editableFigcaptionText,"onUpdate:modelValue":t[2]||(t[2]=V=>l.editableFigcaptionText=V),placeholder:"figcaption"},null,8,["class","modelValue"])):(ye=n.figcaption)!=null&&ye.text?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(be=n.figcaption)==null?void 0:be.text},null,8,op)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),!_.editing&&!l.imageSource?(o.openBlock(),o.createElementBlock("button",{key:4,type:"button",class:"button confirm",onClick:t[3]||(t[3]=(...V)=>l.onAddItem&&l.onAddItem(...V))},rp)):o.createCommentVNode("",!0)],2)]}),_:1},8,["componentProps","componentPath","allowDeleteComponent","itemProvider"])):n.useFigureTag?(o.openBlock(),o.createElementBlock("figure",{key:1,class:o.normalizeClass(["cmd-image",l.textAlign])},[((c=n.figcaption)==null?void 0:c.position)==="top"&&((m=n.figcaption)!=null&&m.text)?(o.openBlock(),o.createElementBlock("figcaption",{key:0,innerHTML:(u=n.figcaption)==null?void 0:u.text},null,8,ip)):o.createCommentVNode("",!0),o.createElementVNode("img",{src:l.imageSource,alt:(p=n.image)==null?void 0:p.alt,title:(f=n.image)==null?void 0:f.tooltip,onLoad:t[4]||(t[4]=(..._)=>l.onImageLoaded&&l.onImageLoaded(..._))},null,40,lp),((h=n.figcaption)==null?void 0:h.position)!=="top"&&((y=n.figcaption)!=null&&y.text)?(o.openBlock(),o.createElementBlock("figcaption",{key:1,innerHTML:(g=n.figcaption)==null?void 0:g.text},null,8,sp)):o.createCommentVNode("",!0)],2)):(o.openBlock(),o.createElementBlock("img",{key:2,src:l.imageSource,alt:(B=n.image)==null?void 0:B.alt,title:(S=n.image)==null?void 0:S.tooltip,onLoad:t[5]||(t[5]=(..._)=>l.onImageLoaded&&l.onImageLoaded(..._))},null,40,ap))}const Ce=N($h,[["render",cp]]),dp={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"),{})}}},mp=["title"];function up(e,t,n,r,i,l){const s=j;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:l.getDirection.tooltip},[o.createVNode(s,{type:l.getDirection.iconType||"auto",iconClass:l.getDirection.iconClass||"next"},null,8,["type","iconClass"])],10,mp)}const it=N(dp,[["render",up]]),fp={name:"CmdThumbnailScroller",emits:["click"],mixins:[X,{data(){return{defaultMessageProperties:{"cmdthumbnailscroller.tooltip.open_large_image":"Open large image","cmdthumbnailscroller.tooltip.open_url":"Open URL in a new tab","cmdthumbnailscroller.tooltip.open":"Open"}}}},Z],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("cmdthumbnailscroller.tooltip.open_large_image"):this.executeOnClick==="url"?this.getMessage("cmdthumbnailscroller.tooltip.open_url"):this.getMessage("cmdthumbnailscroller.tooltip.open")},fullWidthClass(){return this.orientation==="horizontal"?"full-width":null}},methods:{itemProvider(){return{image:{id:Ue(),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(Be(this,"props","thumbnailScrollerItems",-1),this.itemProvider)},imageStructure(){return{itemProviderOverwrite:()=>({image:{id:Ue(),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&&Fe({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}}},hp={class:"inner-thumbnail-wrapper"},pp=["href","onClick","title","target"],gp={key:1},yp={key:1},bp={key:0},kp=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new thumbnail-scroller-image",-1)];function Cp(e,t,n,r,i,l){var m;const s=z,a=it,d=Ce,c=j;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":n.useGalleryScroller,"large-icons":n.largeIcons,vertical:n.orientation==="vertical"},l.fullWidthClass]),ref:"thumbnail-scroller"},[(m=n.cmdHeadline)!=null&&m.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",hp,[i.showSlidebuttons?(o.openBlock(),o.createBlock(a,{key:0,onClick:o.withModifiers(l.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,(u,p)=>(o.openBlock(),o.createElementBlock("li",{key:p},[e.editModeContext?n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:1,image:u.image,figcaption:u.figcaption,componentPath:["props","thumbnailScrollerItems",p],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):n.contentType==="text"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[u.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),u.text?(o.openBlock(),o.createElementBlock("span",yp,o.toDisplayString(u.text),1)):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("a",{key:0,href:n.executeOnClick==="url"?u.url:"#",onClick:f=>l.executeLink(p,f),class:o.normalizeClass([{active:n.activeItemIndex===p},u.id?"item-"+u.id:""]),title:l.tooltip,target:n.executeOnClick==="url"?"_blank":null},[n.contentType==="image"?(o.openBlock(),o.createBlock(d,{key:0,image:u.image,figcaption:u.figcaption},null,8,["image","figcaption"])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[u.iconClass?(o.openBlock(),o.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),u.text?(o.openBlock(),o.createElementBlock("span",gp,o.toDisplayString(u.text),1)):o.createCommentVNode("",!0)],64))],10,pp))]))),128)),!i.items.length&&n.contentType==="image"?(o.openBlock(),o.createElementBlock("li",bp,[o.createElementVNode("button",{type:"button",class:"button confirm",onClick:t[0]||(t[0]=(...u)=>l.onAddItem&&l.onAddItem(...u))},kp)])):o.createCommentVNode("",!0)]),_:1}),i.showSlidebuttons?(o.openBlock(),o.createBlock(a,{key:1,onClick:o.withModifiers(l.showNextItem,["prevent"]),slideButtons:n.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):o.createCommentVNode("",!0)])],2)}const wl=N(fp,[["render",Cp]]),Fe=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(xl,{...e,show:!0}).mount(t)},xl=o.defineComponent({name:"CmdFancyBox",mixins:[rt],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,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},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:{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:{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 wp(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 wp(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const xp=xl,Bp=["aria-label"],_p={class:"flex-container"},Ep={key:1,class:"button-wrapper no-flex"},Sp=["title"],Tp=["title"],Op=["title"],Np={key:0,class:"content"},Vp=["innerHTML"],Fp={key:2,class:"content",ref:"elements"},Pp={key:3,class:"content"},Lp={key:4,class:"content"},Ap={key:0,class:"flex-container no-flex"},Ip=["title"],Mp={key:1},Dp=["title"],Rp={key:1};function jp(e,t,n,r,i,l){var u,p,f,h,y,g,B,S,_,O,P,b,E,F,R,L,he,pe,ge,ye,be,V,we,Ft,Pt,Lt,At;const s=z,a=j,d=Ce,c=it,m=wl;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]=(...re)=>e.onDialogCancel&&e.onDialogCancel(...re))},[o.createElementVNode("header",_p,[(u=e.cmdHeadline)!=null&&u.headlineText?(o.openBlock(),o.createBlock(s,o.mergeProps({key:0},e.cmdHeadline,{id:e.htmlId}),null,16,["id"])):o.createCommentVNode("",!0),(p=e.fancyboxOptions.printButtons)!=null&&p.color||(f=e.fancyboxOptions.printButtons)!=null&&f.grayscale||e.fancyboxOptions.closeIcon?(o.openBlock(),o.createElementBlock("div",Ep,[e.showPrintButtons&&((h=e.fancyboxOptions.printButtons)!=null&&h.color)?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(y=e.fancyboxOptions.printButtons.color)==null?void 0:y.tooltip,onClick:t[0]||(t[0]=o.withModifiers(re=>e.printInGrayscale=!1,["prevent"]))},[o.createVNode(a,{iconClass:(g=e.fancyboxOptions.printButtons.color)==null?void 0:g.iconClass,type:(B=e.fancyboxOptions.printButtons.color)==null?void 0:B.iconType},null,8,["iconClass","type"])],8,Sp)):o.createCommentVNode("",!0),e.showPrintButtons&&((S=e.fancyboxOptions.printButtons)!=null&&S.grayscale)?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(_=e.fancyboxOptions.printButtons.grayscale)==null?void 0:_.tooltip,onClick:t[1]||(t[1]=o.withModifiers(re=>e.printInGrayscale=!0,["prevent"]))},[o.createVNode(a,{iconClass:(O=e.fancyboxOptions.printButtons.grayscale)==null?void 0:O.iconClass,type:(P=e.fancyboxOptions.printButtons.grayscale)==null?void 0:P.iconType},null,8,["iconClass","type"])],8,Tp)):o.createCommentVNode("",!0),e.fancyboxOptions.closeIcon?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",class:"button",id:"close-dialog",title:e.fancyboxOptions.closeIcon.tooltip,ref:"close-dialog",onClick:t[2]||(t[2]=o.withModifiers((...re)=>e.close&&e.close(...re),["prevent"]))},[o.createVNode(a,{iconClass:e.fancyboxOptions.closeIcon.iconClass,type:e.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,Op)):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",Np,[o.createVNode(d,{image:e.largeSingleImage,figcaption:(E=e.cmdImage)==null?void 0:E.figcaption},null,8,["image","figcaption"])])):e.fancyBoxContent?(o.openBlock(),o.createElementBlock("div",{key:1,class:"content",innerHTML:e.fancyBoxContent},null,8,Vp)):e.fancyBoxElements?(o.openBlock(),o.createElementBlock("div",Fp,null,512)):e.fancyBoxGallery?(o.openBlock(),o.createElementBlock("div",Pp,[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",Lp,[o.renderSlot(e.$slots,"default")]))],2),e.showSubmitButtons&&e.fancyboxOptions.submitButtons?(o.openBlock(),o.createElementBlock("footer",Ap,[(F=e.fancyboxOptions.submitButtons)!=null&&F.cancel?(o.openBlock(),o.createElementBlock("button",{key:0,onClick:t[3]||(t[3]=(...re)=>e.cancel&&e.cancel(...re)),title:(R=e.fancyboxOptions.submitButtons.cancel)==null?void 0:R.tooltip},[(L=e.fancyboxOptions.submitButtons.cancel)!=null&&L.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:(he=e.fancyboxOptions.submitButtons.cancel)==null?void 0:he.iconClass,type:(pe=e.fancyboxOptions.submitButtons.cancel)==null?void 0:pe.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(ge=e.fancyboxOptions.submitButtons.cancel)!=null&&ge.buttonText?(o.openBlock(),o.createElementBlock("span",Mp,o.toDisplayString((ye=e.fancyboxOptions.submitButtons.cancel)==null?void 0:ye.buttonText),1)):o.createCommentVNode("",!0)],8,Ip)):o.createCommentVNode("",!0),(be=e.fancyboxOptions.submitButtons)!=null&&be.confirm?(o.openBlock(),o.createElementBlock("button",{key:1,onClick:t[4]||(t[4]=(...re)=>e.confirm&&e.confirm(...re)),title:(V=e.fancyboxOptions.submitButtons.cancel)==null?void 0:V.tooltip},[(we=e.fancyboxOptions.submitButtons.confirm)!=null&&we.iconClass?(o.openBlock(),o.createBlock(a,{key:0,iconClass:(Ft=e.fancyboxOptions.submitButtons.confirm)==null?void 0:Ft.iconClass,type:(Pt=e.fancyboxOptions.submitButtons.confirm)==null?void 0:Pt.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),(Lt=e.fancyboxOptions.submitButtons.confirm)!=null&&Lt.buttonText?(o.openBlock(),o.createElementBlock("span",Rp,o.toDisplayString((At=e.fancyboxOptions.submitButtons.confirm)==null?void 0:At.buttonText),1)):o.createCommentVNode("",!0)],8,Dp)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.fancyBoxGallery?(o.openBlock(),o.createBlock(m,{key:1,thumbnailScrollerItems:[...e.fancyBoxGallery],allowOpenFancyBox:!1,onClick:e.showItem,activeItemIndex:e.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):o.createCommentVNode("",!0)],42,Bp)}const qp=N(xp,[["render",jp]]),zp={emits:["submit"],mixins:[X,Yh,Gt],inject:{editModeContext:{default:null}},data(){return{validator:new To(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,default(){return{iconClass:"icon-message-send",text:"Send mail",type:"submit",position:"belowFieldset",primary:!0}}},cmdHeadline:{type:Object,default(){return{headlineText:"Basic Form",headlineLevel:3}}},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(),Fe({url:n.target.getAttribute("href")})})},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(),Fe({url:e}))},openDataPrivacy(e){Fe({url:e})}},watch:{showCityBeforeZip(){this.cityBeforeZip=this.showCityBeforeZip}}},Hp={class:"cmd-pages-basic-form"},Up={key:0,class:"flex-container no-flex order-male-female"},Wp={key:1,class:"flex-container order-lastname-firstname"},Gp={key:2,class:"flex-container order-phone-email"},Jp={key:3,class:"flex-container"},Kp=["innerHTML"];function Zp(e,t,n,r,i,l){const s=z,a=J,d=kl;return o.openBlock(),o.createElementBlock("div",Hp,[n.cmdHeadline?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createVNode(d,o.mergeProps({onSubmit:l.onSubmit,novalidate:"novalidate"},n.cmdForm,{legend:n.legend,submitButton:n.submitButton,formAction:n.formAction}),{default:o.withCtx(()=>{var c,m,u,p,f,h,y,g,B,S,_,O,P,b,E,F,R,L,he,pe,ge,ye,be,V,we,Ft,Pt,Lt,At,re,sm,am,cm,dm,mm,um,fm,hm,pm,gm;return[n.configuration.salutation?(o.openBlock(),o.createElementBlock("div",Up,[o.createVNode(a,{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:(m=n.configuration.salutation)==null?void 0:m.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":t[0]||(t[0]=q=>i.formData.salutation.value=q),onValidate:l.onValidate},null,8,["labelText","name","replaceInputType","modelValue","onValidate"]),o.createVNode(a,{element:"input",type:"radio",labelText:e.getMessage("basic_form.labeltext.salutation_female"),name:((u=n.configuration.salutation)==null?void 0:u.name)||"salutation",inputValue:"f",replaceInputType:(p=n.configuration.salutation)==null?void 0:p.replaceInputType,modelValue:i.formData.salutation.value,"onUpdate:modelValue":t[1]||(t[1]=q=>i.formData.salutation.value=q),onValidate:l.onValidate},null,8,["labelText","name","replaceInputType","modelValue","onValidate"])])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"top"),n.configuration.lastName||n.configuration.firstName?(o.openBlock(),o.createElementBlock("div",Wp,[n.configuration.lastName?(o.openBlock(),o.createBlock(a,{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]=q=>i.formData.lastName.value=q),status:i.formData.lastName.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","required","name","placeholder","modelValue","status","onValidate"])):o.createCommentVNode("",!0),n.configuration.firstName?(o.openBlock(),o.createBlock(a,{key:1,element:"input",type:((g=n.configuration.firstName)==null?void 0:g.type)||"text",iconClass:"icon-user-profile",labelText:e.getMessage("basic_form.labeltext.first_name"),placeholder:e.getMessage("basic_form.placeholder.first_name"),required:(B=n.configuration.firstName)==null?void 0:B.required,name:((S=n.configuration.firstName)==null?void 0:S.name)||"first-name",modelValue:i.formData.firstName.value,"onUpdate:modelValue":t[3]||(t[3]=q=>i.formData.firstName.value=q),status:i.formData.firstName.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.email||n.configuration.phone?(o.openBlock(),o.createElementBlock("div",Gp,[n.configuration.email?(o.openBlock(),o.createBlock(a,{key:0,element:"input",type:((_=n.configuration.email)==null?void 0:_.type)||"email",iconClass:"icon-mail",labelText:e.getMessage("basic_form.labeltext.email"),placeholder:e.getMessage("basic_form.placeholder.email"),required:(O=n.configuration.email)==null?void 0:O.required,name:((P=n.configuration.email)==null?void 0:P.name)||"email",modelValue:i.formData.email.value,"onUpdate:modelValue":t[4]||(t[4]=q=>i.formData.email.value=q),status:i.formData.email.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0),n.configuration.phone?(o.openBlock(),o.createBlock(a,{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]=q=>i.formData.phone.value=q),required:(E=n.configuration.phone)==null?void 0:E.required,name:((F=n.configuration.phone)==null?void 0:F.name)||"phone",status:i.formData.phone.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","modelValue","required","name","status","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.streetNo||n.configuration.streetNo||n.configuration.zip&&n.configuration.city?(o.openBlock(),o.createElementBlock("div",Jp,[n.configuration.country?(o.openBlock(),o.createBlock(a,{key:0,element:"select",labelText:e.getMessage("basic_form.labeltext.country"),selectOptions:(R=n.configuration.country)==null?void 0:R.selectOptions,required:(L=n.configuration.country)==null?void 0:L.required,name:((he=n.configuration.country)==null?void 0:he.name)||"country",modelValue:i.formData.country.value,"onUpdate:modelValue":[t[6]||(t[6]=q=>i.formData.country.value=q),l.onCountrySelect],status:i.formData.country.error?"error":"",onValidate:l.onValidate},null,8,["labelText","selectOptions","required","name","modelValue","status","onValidate","onUpdate:modelValue"])):o.createCommentVNode("",!0),n.configuration.streetNo?(o.openBlock(),o.createBlock(a,{key:1,element:"input",type:((pe=n.configuration.streetNo)==null?void 0:pe.type)||"text",labelText:e.getMessage("basic_form.labeltext.street_no"),placeholder:e.getMessage("basic_form.placeholder.street_no"),required:(ge=n.configuration.streetNo)==null?void 0:ge.required,name:((ye=n.configuration.streetNo)==null?void 0:ye.name)||"street-no",modelValue:i.formData.streetNo.value,"onUpdate:modelValue":t[7]||(t[7]=q=>i.formData.streetNo.value=q),status:i.formData.streetNo.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0),n.configuration.pobox?(o.openBlock(),o.createBlock(a,{key:2,element:"input",type:((be=n.configuration.pobox)==null?void 0:be.type)||"text",labelText:e.getMessage("basic_form.labeltext.pobox"),placeholder:e.getMessage("basic_form.placeholder.pobox"),required:(V=n.configuration.pobox)==null?void 0:V.required,name:((we=n.configuration.pobox)==null?void 0:we.name)||"pobox",modelValue:i.formData.pobox.value,"onUpdate:modelValue":t[8]||(t[8]=q=>i.formData.pobox.value=q),status:i.formData.pobox.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","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(a,{key:0,element:"input",class:"input-zip",type:((Ft=n.configuration.zip)==null?void 0:Ft.type)||"number",labelText:e.getMessage("basic_form.labeltext.zip"),placeholder:e.getMessage("basic_form.placeholder.zip"),required:(Pt=n.configuration.zip)==null?void 0:Pt.required,name:((Lt=n.configuration.zip)==null?void 0:Lt.name)||"zip",modelValue:i.formData.zip.value,"onUpdate:modelValue":t[9]||(t[9]=q=>i.formData.zip.value=q),status:i.formData.zip.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0),n.configuration.city?(o.openBlock(),o.createBlock(a,{key:1,element:"input",type:((At=n.configuration.city)==null?void 0:At.type)||"text",labelText:e.getMessage("basic_form.labeltext.city"),placeholder:e.getMessage("basic_form.placeholder.city"),required:(re=n.configuration.city)==null?void 0:re.required,name:((sm=n.configuration.city)==null?void 0:sm.name)||"city",modelValue:i.formData.city.value,"onUpdate:modelValue":t[10]||(t[10]=q=>i.formData.city.value=q),status:i.formData.city.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0)],2),n.configuration.additionalAddressInfo?(o.openBlock(),o.createBlock(a,{key:3,element:"input",type:((am=n.configuration.additionalAddressInfo)==null?void 0:am.type)||"text",labelText:e.getMessage("basic_form.labeltext.additional_address_info"),placeholder:e.getMessage("basic_form.placeholder.additional_address_info"),required:(cm=n.configuration.additionalAddressInfo)==null?void 0:cm.required,name:((dm=n.configuration.additionalAddressInfo)==null?void 0:dm.name)||"additional-address-info",modelValue:i.formData.additionalAddressInfo.value,"onUpdate:modelValue":t[11]||(t[11]=q=>i.formData.additionalAddressInfo.value=q),status:i.formData.additionalAddressInfo.error?"error":"",onValidate:l.onValidate},null,8,["type","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),n.configuration.userMessage?(o.openBlock(),o.createBlock(a,{key:4,element:((mm=n.configuration.userMessage)==null?void 0:mm.element)||"textarea",labelText:e.getMessage("basic_form.labeltext.user_message"),placeholder:e.getMessage("basic_form.placeholder.user_message"),required:(um=n.configuration.userMessage)==null?void 0:um.required,name:((fm=n.configuration.userMessage)==null?void 0:fm.name)||"user-message",modelValue:i.formData.userMessage.value,"onUpdate:modelValue":t[12]||(t[12]=q=>i.formData.userMessage.value=q),status:i.formData.userMessage.error?"error":"",onValidate:l.onValidate},null,8,["element","labelText","placeholder","required","name","modelValue","status","onValidate"])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"bottom"),n.configuration.acceptPrivacy?(o.openBlock(),o.createBlock(a,{key:5,element:"input",type:"checkbox",required:(hm=n.configuration.acceptPrivacy)==null?void 0:hm.required,name:((pm=n.configuration.acceptPrivacy)==null?void 0:pm.name)||"accept-privacy",replaceInputType:(gm=n.configuration.acceptPrivacy)==null?void 0:gm.replaceInputType,modelValue:i.formData.acceptPrivacy.value,"onUpdate:modelValue":t[13]||(t[13]=q=>i.formData.acceptPrivacy.value=q),status:i.formData.acceptPrivacy.error?"error":"",onValidate:l.onValidate},{labeltext:o.withCtx(()=>[o.createElementVNode("span",{ref:"dataPrivacy",innerHTML:e.getMessage("basic_form.labeltext.data_privacy")},null,8,Kp)]),_:1},8,["required","name","replaceInputType","modelValue","status","onValidate"])):o.createCommentVNode("",!0)]}),_:3},16,["onSubmit","legend","submitButton","formAction"])])}const Bl=N(zp,[["render",Zp]]),Xp={name:"CmdInnerLink",props:{icon:{type:Object,default:{}},text:{type:String,default:""}}},Qp=["title"],Yp={key:1},$p=["title"];function vp(e,t,n,r,i,l){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,Qp)):o.createCommentVNode("",!0),n.text?(o.openBlock(),o.createElementBlock("span",Yp,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,$p)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64)}const eg=N(Xp,[["render",vp]]),tg={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})}}},ng=["href","target","title"],og=["title"];function rg(e,t,n,r,i,l){var d,c,m;const s=eg,a=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]=u=>l.emitClick(u,"href")),title:(d=n.icon)==null?void 0:d.tooltip},[o.createVNode(s,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],10,ng)):n.linkType==="router"?(o.openBlock(),o.createBlock(a,{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]=u=>l.emitClick(u,"router")),title:(c=n.icon)==null?void 0:c.tooltip},{default:o.withCtx(()=>[o.createVNode(s,{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]=u=>l.emitClick(u,"button")),title:(m=n.icon)==null?void 0:m.tooltip},[o.createVNode(s,{text:n.text,icon:n.icon},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3},8,["text","icon"])],10,og)):o.createCommentVNode("",!0)}const Ge=N(tg,[["render",rg]]),ig={name:"CmdListOfLinksItem",inheritAttrs:!1,mixins:[Z],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 K(this,{update(t){t.text=e}})}}},lg={key:0,class:"cmd-list-of-links-item"},sg={key:0},ag={key:1,class:"input-wrapper"};function cg(e,t,n,r,i,l){var c;const s=Ge,a=o.resolveComponent("CmdListOfLinksItem",!0),d=J;return e.editing?(o.openBlock(),o.createElementBlock("div",ag,[o.createVNode(d,{element:"input",type:"text",labelText:"Linktext",showLabel:!1,placeholder:"Linktext",modelValue:i.editableText,"onUpdate:modelValue":t[0]||(t[0]=m=>i.editableText=m)},null,8,["modelValue"])])):(o.openBlock(),o.createElementBlock("li",lg,[o.createVNode(s,o.normalizeProps(o.guardReactiveProps(n.link)),null,16),e.editModeContext?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("ul",sg,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList((c=n.link)==null?void 0:c.children,(m,u)=>(o.openBlock(),o.createBlock(a,{key:u,link:m},null,8,["link"]))),128))]))]))}const dg=N(ig,[["render",cg]]),mg={name:"CmdListOfLinks",emits:["click"],mixins:[Z],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(Be(this,"props","links",-1),this.itemProvider)},itemProvider(){return{iconClass:"icon-user-profile",type:"href",text:"Linktext",path:"#",tooltip:"Tooltip",target:"_blank"}},updateHandlerProvider(){return K(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))}})}}},ug={key:1},fg=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)];function hg(e,t,n,r,i,l){var c;const s=z,a=dg,d=_e;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(s,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,l.setStretchClass])},[e.editModeContext?(o.openBlock(),o.createElementBlock("li",ug,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.links,(m,u)=>(o.openBlock(),o.createBlock(d,{key:"x"+u,class:"edit-items",showComponentName:!1,componentTag:"ul",componentName:"CmdLinkItem",componentProps:m,allowedComponentTypes:[],componentPath:["props","links",u],itemProvider:l.itemProvider},{default:o.withCtx(()=>[o.createVNode(a,{class:o.normalizeClass({active:n.sectionAnchors&&n.activeSection===u}),link:m},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]=(...m)=>l.onAddItem&&l.onAddItem(...m))},fg)):o.createCommentVNode("",!0)])):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.links,(m,u)=>(o.openBlock(),o.createBlock(a,{key:u,class:o.normalizeClass({active:n.sectionAnchors&&n.activeSection===u}),link:m},null,8,["class","link"]))),128))],2)],2)}const Oo=N(mg,[["render",hg]]),No={name:"CmdBox",mixins:[X,{data(){return{defaultMessageProperties:{"cmdbox.productbox.new":"New","cmdbox.productbox.article_no":"Article No:","cmdbox.contentbox.collapse_text":"Collapse text","cmdbox.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()}}},_l=()=>{o.useCssVars(e=>({"766100bf":e.cutoffTextLines}))},El=No.setup;No.setup=El?(e,t)=>(_l(),El(e,t)):_l;const pg=["title"],gg={key:0,class:"box-header"},yg={key:1,class:"body-icon-wrapper"},bg=["innerHTML"],kg={key:0,class:"body-icon-wrapper"},Cg=["innerHTML"],wg={key:2,class:"box-footer"},xg={key:3,class:"box-footer"},Bg={class:"box-header flex-container vertical"},_g={key:0},Eg=["src","alt"],Sg={key:1},Tg={key:2,class:"ribbon-new"},Og={key:3,class:"ribbon-discount"},Ng={class:"box-body"},Vg={key:0},Fg={key:1,class:"price"},Pg=["title"],Lg={key:2},Ag={class:"box-header flex-container vertical"},Ig={key:0},Mg=["src","alt"],Dg={key:0,class:"user-name"},Rg={key:0,class:"user-age"},jg={key:1},qg=["title"],zg={key:0,class:"user-name"},Hg={class:"box-body"},Ug={key:0,class:"user-name"},Wg={key:1},Gg={key:2},Jg={key:3,class:"description"},Kg={key:0,class:"tags"},Zg={key:1,class:"box-footer"};function Xg(e,t,n,r,i,l){var u,p,f,h,y,g,B,S,_,O,P;const s=z,a=j,d=Ce,c=Ge,m=Oo;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)=>l.toggleContentVisibility&&l.toggleContentVisibility(...b),["prevent"]))},[(u=n.useSlots)!=null&&u.includes("header")?o.renderSlot(e.$slots,"header",{key:0}):(p=n.cmdHeadline)!=null&&p.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:1},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createVNode(a,{iconClass:i.open?n.iconOpen.iconClass:n.iconClosed.iconClass,type:i.open?n.iconOpen.iconType:n.iconClosed.iconType},null,8,["iconClass","type"])],8,pg)):(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",gg,[(y=n.useSlots)!=null&&y.includes("header")?o.renderSlot(e.$slots,"header",{key:0}):o.createCommentVNode("",!0),(g=n.cmdHeadline)!=null&&g.headlineText&&n.headlinePosition==="header"?(o.openBlock(),o.createBlock(s,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"},[(B=n.useSlots)!=null&&B.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(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.cmdIcon!==void 0?(o.openBlock(),o.createElementBlock("div",yg,[o.createVNode(a,{iconClass:n.cmdIcon.iconClass,type:n.cmdIcon.type},null,8,["iconClass","type"])])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:l.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,bg)):o.createCommentVNode("",!0),n.cutoffTextLines>0?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:t[1]||(t[1]=o.withModifiers((...E)=>l.toggleCutOffText&&l.toggleCutOffText(...E),["prevent"]))},o.toDisplayString(i.showCutOffText?e.getMessage("cmdbox.contentbox.collapse_text"):e.getMessage("cmdbox.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),(S=n.cmdHeadline)!=null&&S.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",kg,[o.createVNode(a,o.normalizeProps(o.guardReactiveProps(n.cmdIcon)),null,16)])):o.createCommentVNode("",!0),(_=n.cmdHeadline)!=null&&_.headlineText&&n.headlinePosition==="body"?(o.openBlock(),o.createBlock(s,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,Cg)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)],2))],2),[[o.vShow,i.open]]),(O=n.cmdLink)!=null&&O.linkType?(o.openBlock(),o.createElementBlock("div",wg,[o.createVNode(c,o.normalizeProps(o.guardReactiveProps(n.cmdLink)),null,16)])):o.createCommentVNode("",!0),(P=n.useSlots)!=null&&P.includes("footer")?(o.openBlock(),o.createElementBlock("div",xg,[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=>l.clickOnProduct(n.product),["prevent"]))},[o.createElementVNode("div",Bg,[n.product.image!==void 0?(o.openBlock(),o.createElementBlock("figure",_g,[o.createElementVNode("img",{src:n.product.image.src,alt:n.product.image.alt},null,8,Eg),o.createElementVNode("figcaption",null,o.toDisplayString(n.product.name),1)])):(o.openBlock(),o.createElementBlock("p",Sg,o.toDisplayString(n.product.name),1)),n.product.new?(o.openBlock(),o.createElementBlock("div",Tg,[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("cmdbox.productbox.new")),1)])):o.createCommentVNode("",!0),n.product.discount?(o.openBlock(),o.createElementBlock("div",Og,[o.createElementVNode("span",null,o.toDisplayString(n.product.discount),1)])):o.createCommentVNode("",!0)]),o.createElementVNode("div",Ng,[n.product.articleNumber?(o.openBlock(),o.createElementBlock("p",Vg,o.toDisplayString(e.getMessage("cmdbox.productbox.article_no"))+" "+o.toDisplayString(n.product.articleNumber),1)):o.createCommentVNode("",!0),n.product.price?(o.openBlock(),o.createElementBlock("p",Fg,[o.createElementVNode("span",null,o.toDisplayString(n.product.price),1),o.createElementVNode("span",{title:e.globalCurrency.name},o.toDisplayString(e.globalCurrency.symbol),9,Pg)])):o.createCommentVNode("",!0),n.product.description?(o.openBlock(),o.createElementBlock("p",Lg,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",Ag,[n.user.image?(o.openBlock(),o.createElementBlock("figure",Ig,[o.createElementVNode("img",{src:n.user.image.src,alt:n.user.image.alt},null,8,Mg),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("figcaption",Dg,[o.createTextVNode(o.toDisplayString(n.user.name),1),n.user.age?(o.openBlock(),o.createElementBlock("span",Rg," ("+o.toDisplayString(n.user.age)+")",1)):o.createCommentVNode("",!0)]))])):(o.openBlock(),o.createElementBlock("div",jg,[o.createElementVNode("span",{class:o.normalizeClass(n.defaultProfileIconClass),title:n.user.name},null,10,qg),n.rowView?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("p",zg,o.toDisplayString(n.user.name),1))]))]),o.createElementVNode("div",Hg,[n.rowView?(o.openBlock(),o.createElementBlock("p",Ug,o.toDisplayString(n.user.name),1)):o.createCommentVNode("",!0),n.user.profession?(o.openBlock(),o.createElementBlock("p",Wg,o.toDisplayString(n.user.profession),1)):o.createCommentVNode("",!0),n.user.position?(o.openBlock(),o.createElementBlock("p",Gg,o.toDisplayString(n.user.position),1)):o.createCommentVNode("",!0),n.user.description?(o.openBlock(),o.createElementBlock("p",Jg,o.toDisplayString(n.user.description),1)):o.createCommentVNode("",!0)]),n.user.tags&&n.user.tags.length?(o.openBlock(),o.createElementBlock("ul",Kg,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.user.tags,(b,E)=>(o.openBlock(),o.createElementBlock("li",{key:E},o.toDisplayString(b),1))),128))])):o.createCommentVNode("",!0),n.user.links&&n.user.links.length?(o.openBlock(),o.createElementBlock("div",Zg,[o.createVNode(m,{links:n.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)}const Vo=N(No,[["render",Xg]]),Fo={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}}},Sl=()=>{o.useCssVars(e=>({"7dc17307":e.boxesPerRowLarge,"3c53d129":e.boxesPerRowMedium,"7e294cd3":e.boxesPerRowSmall}))},Tl=Fo.setup;Fo.setup=Tl?(e,t)=>(Sl(),Tl(e,t)):Sl;const Qg={class:"cmd-box-wrapper"},Yg={key:0,class:"flex-container headline-wrapper"},$g={key:1,class:"options-wrapper"},vg=["title"];function ey(e,t,n,r,i,l){const s=z,a=j;return o.openBlock(),o.createElementBlock("div",Qg,[n.cmdHeadline.headlineText||n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",Yg,[n.cmdHeadline.headlineText?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.allowUserToToggleOrientation?(o.openBlock(),o.createElementBlock("div",$g,[o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...d)=>l.toggleOrientation&&l.toggleOrientation(...d),["prevent"])),title:i.rowView?n.iconRowView.tooltip:n.iconGridView.tooltip},[o.createVNode(a,{iconClass:i.rowView?n.iconGridView.iconClass:n.iconRowView.iconClass,type:i.rowView?n.iconGridView.iconType:n.iconRowView.iconType},null,8,["iconClass","type"])],8,vg)])):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:l.boxToggled,boxIsOpen:l.boxIsOpen,rowView:i.rowView,onToggleCollapse:t[1]||(t[1]=(...d)=>l.boxIsToggled&&l.boxIsToggled(...d))})],2)])}const Ol=N(Fo,[["render",ey]]);function Je(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 ty={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(e){return Je(e)}}},ny={class:"cmd-breadcrumbs"},oy={key:0,class:"breadcrumb-label"},ry=["href"],iy={key:1},ly={key:1},sy={key:2},ay={key:1},cy={key:3,class:"separator"};function dy(e,t,n,r,i,l){const s=j,a=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("ul",ny,[n.breadcrumbLabel?(o.openBlock(),o.createElementBlock("li",oy,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(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",iy,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)],8,ry)):d.type==="router"?(o.openBlock(),o.createBlock(a,{key:1,to:l.getRoute(d)},{default:o.withCtx(()=>[d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",ly,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)]),_:2},1032,["to"])):(o.openBlock(),o.createElementBlock("span",sy,[d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",ay,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0)])),c<n.breadcrumbLinks.length-1?(o.openBlock(),o.createElementBlock("span",cy,o.toDisplayString(n.breadcrumbSeparator),1)):o.createCommentVNode("",!0)]))),128))])}const Nl=N(ty,[["render",dy]]),my={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 Je(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"}}},uy={class:"cmd-company-logo company-logo"},fy=["href","title"];function hy(e,t,n,r,i,l){var d,c,m,u,p,f;const s=Ce,a=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",uy,[((d=n.link)==null?void 0:d.type)==="router"?(o.openBlock(),o.createBlock(a,{key:0,to:(c=n.link)==null?void 0:c.path,title:(m=n.link)==null?void 0:m.tooltip},{default:o.withCtx(()=>[o.createVNode(s,{image:l.image,onImageLoaded:l.onImageLoaded},null,8,["image","onImageLoaded"])]),_:1},8,["to","title"])):((u=n.link)==null?void 0:u.type)==="href"?(o.openBlock(),o.createElementBlock("a",{key:1,href:(p=n.link)==null?void 0:p.path,title:(f=n.link)==null?void 0:f.tooltip},[o.createVNode(s,{image:l.image,onImageLoaded:l.onImageLoaded},null,8,["image","onImageLoaded"])],8,fy)):(o.openBlock(),o.createBlock(s,{key:2,image:l.image,onImageLoaded:l.onImageLoaded},null,8,["image","onImageLoaded"]))])}const Vl=N(my,[["render",hy]]),py={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}}},gy={class:"cmd-container"},yy=["innerHTML"],by=["innerHTML"];function ky(e,t,n,r,i,l){const s=z;return o.openBlock(),o.createElementBlock("div",gy,[n.cmdHeadline?(o.openBlock(),o.createBlock(s,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,yy)):o.createCommentVNode("",!0),l.oneSlotItem()?o.renderSlot(e.$slots,"default",{key:2}):(o.openBlock(),o.createElementBlock("div",{key:3,class:o.normalizeClass([l.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,by)):o.createCommentVNode("",!0)])}const Cy=N(py,[["render",ky]]),wy={name:"CmdCookieDisclaimer",mixins:[X,{data(){return{defaultMessageProperties:{"cmdcookiedisclaimer.title.cookie_cannot_be_disabled":"This cookie cannot be disabled, because it is required for functionality!","cmdcookiedisclaimer.title.toggle_to_accept_cookie":"Toggle to accept or reject this cookie!"}}}}],data(){return{showCookieDisclaimer:!0,dataPrivacyContent:""}},props:{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},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:{acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var r,i,l,s;const e=[],t=(i=(r=this.cookieOptions)==null?void 0:r.required)==null?void 0:i.cookies;if(t)for(let a=0;a<t.length;a++)e.push(t[a].value);const n=(s=(l=this.cookieOptions)==null?void 0:l.optional)==null?void 0:s.cookies;if(n)for(let a=0;a<n.length;a++)e.push(n[a].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}))}}},xy={class:"cmd-cookie-disclaimer flex-container vertical"},By={key:0,class:"flex-container vertical"},_y={key:0},Ey={key:1},Sy=["href","target"],Ty=["innerHTML"],Oy=o.createElementVNode("hr",null,null,-1),Ny={key:1,class:"flex-container vertical"},Vy={key:0},Fy={key:1},Py=["href","target"],Ly=["innerHTML"],Ay={class:"button-wrapper align-center"};function Iy(e,t,n,r,i,l){const s=z,a=J,d=Vo;return o.openBlock(),o.createBlock(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var c,m,u;return[o.createElementVNode("div",xy,[n.useSlot?o.renderSlot(e.$slots,"default",{key:0}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(c=n.cmdHeadlineCookieDisclaimer)!=null&&c.show&&((m=n.cmdHeadlineCookieDisclaimer)!=null&&m.headlineText)&&((u=n.cmdHeadlineCookieDisclaimer)!=null&&u.headlineLevel)?(o.openBlock(),o.createBlock(s,{key:0,headlineText:n.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:n.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"cookie-options",{},()=>{var p,f,h,y,g,B,S,_;return[(p=n.cookieOptions)!=null&&p.required?(o.openBlock(),o.createElementBlock("div",By,[(f=n.cmdBoxRequiredCookies)!=null&&f.showHeadline?(o.openBlock(),o.createBlock(s,{key:0,"headline-text":(h=n.cmdBoxRequiredCookies)==null?void 0:h.headlineText,"headline-level":(y=n.cmdBoxRequiredCookies)==null?void 0:y.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.required.cookies||[],(O,P)=>{var b;return o.openBlock(),o.createBlock(d,{useSlots:["header","body"],collapsible:(b=n.cmdBoxRequiredCookies)==null?void 0:b.collapsible,key:P},{header:o.withCtx(()=>[o.createVNode(a,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":t[0]||(t[0]=E=>l.acceptedCookies=E),inputValue:O.value,labelText:O.labelText,disabled:O.disabled,id:O.id,toggleSwitch:!0,title:e.getMessage("cmdcookiedisclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:o.withCtx(()=>[O.description?(o.openBlock(),o.createElementBlock("p",_y,o.toDisplayString(O.description),1)):o.createCommentVNode("",!0),O.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",Ey,[o.createTextVNode(o.toDisplayString(O.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[1]||(t[1]=(...E)=>l.openDataPrivacy&&l.openDataPrivacy(...E)),href:O.linkDataPrivacy.link,target:O.linkDataPrivacy.target},o.toDisplayString(O.linkDataPrivacy.linkText),9,Sy)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Ty)):o.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):o.createCommentVNode("",!0),Oy,(g=n.cookieOptions)!=null&&g.optional?(o.openBlock(),o.createElementBlock("div",Ny,[(B=n.cmdBoxOptionalCookies)!=null&&B.showHeadline?(o.openBlock(),o.createBlock(s,{key:0,"headline-text":(S=n.cmdBoxOptionalCookies)==null?void 0:S.headlineText,"headline-level":(_=n.cmdBoxOptionalCookies)==null?void 0:_.headlineLevel},null,8,["headline-text","headline-level"])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.cookieOptions.optional.cookies||[],(O,P)=>{var b;return o.openBlock(),o.createBlock(d,{useSlots:["header","body"],collapsible:(b=n.cmdBoxOptionalCookies)==null?void 0:b.collapsible,key:P},{header:o.withCtx(()=>[o.createVNode(a,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":t[2]||(t[2]=E=>l.acceptedCookies=E),inputValue:O.value,labelText:O.labelText,disabled:O.disabled,id:O.id,toggleSwitch:!0,title:e.getMessage("cmdcookiedisclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:o.withCtx(()=>[O.description?(o.openBlock(),o.createElementBlock("p",Vy,o.toDisplayString(O.description),1)):o.createCommentVNode("",!0),O.linkDataPrivacy?(o.openBlock(),o.createElementBlock("p",Fy,[o.createTextVNode(o.toDisplayString(O.linkDataPrivacy.label)+" ",1),o.createElementVNode("a",{onClick:t[3]||(t[3]=(...E)=>l.openDataPrivacy&&l.openDataPrivacy(...E)),href:O.linkDataPrivacy.link,target:O.linkDataPrivacy.target},o.toDisplayString(O.linkDataPrivacy.linkText),9,Py)])):o.createCommentVNode("",!0),i.dataPrivacyContent?(o.openBlock(),o.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Ly)):o.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):o.createCommentVNode("",!0)]}),o.renderSlot(e.$slots,"privacy-text"),o.createElementVNode("div",Ay,[n.buttonLabelAcceptCurrentSettings?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",onClick:t[4]||(t[4]=(...p)=>l.acceptCurrentCookies&&l.acceptCurrentCookies(...p))},[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]=(...p)=>l.acceptAllCookies&&l.acceptAllCookies(...p))},[o.createElementVNode("span",null,o.toDisplayString(n.buttonLabelAcceptAllCookies),1)])):o.createCommentVNode("",!0)])],64))])]}),_:3})}const My=N(wy,[["render",Iy]]),Dy={name:"CmdCopyrightWrapper"},Ry={class:"cmd-copyright-information",role:"contentinfo"},jy=[o.createElementVNode("a",{href:"https://www.comand-ui.com",target:"comand-ui-website",lang:"en",title:"CoManD-UI-Website"},"© CoManD-UI",-1)];function qy(e,t,n,r,i,l){return o.openBlock(),o.createElementBlock("div",Ry,jy)}const zy=N(Dy,[["render",qy]]),Hy={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[X,{data(){return{defaultMessageProperties:{"cmdfakeselect.headline.requirements_for_input":"Requirements for input","cmdfakeselect.linktext.deselect_all_options":"Deselect all options","cmdfakeselect.linktext.select_all_options":"Select all options","cmdfakeselect.headline.an_option_is_selected":"An option is selected","cmdfakeselect.option.options_selected":"{0} options selected",...Bo.data().defaultMessageProperties}}}},Gt,rt,So],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.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.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("cmdfakeselect.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("cmdfakeselect.linktext.deselect_all_options")):(this.allOptionsSelected=!1,this.getMessage("cmdfakeselect.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("cmdfakeselect.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}}},Uy=["title","aria-labelledby","aria-required"],Wy={key:0,class:"label-text"},Gy=["id"],Jy={key:0,"aria-hidden":"true"},Ky=["title","aria-errormessage","id"],Zy=["aria-expanded"],Xy=["title"],Qy=["src","alt"],Yy={key:3,class:"option-name"},$y={key:0,role:"listbox"},vy=["aria-selected"],eb=["onClick","title"],tb={key:1},nb=["aria-expanded"],ob=["for"],rb=["value","checked","id"],ib=["onClick"],lb=["src","alt"],sb=["onClick"],ab={key:0,class:"select-all-options"};function cb(e,t,n,r,i,l){var c,m,u,p;const s=j,a=xo,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",Wy,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),e.$attrs.required!==void 0?(o.openBlock(),o.createElementBlock("sup",Jy,"*")):o.createCommentVNode("",!0)],8,Gy),(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:l.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(s,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,Ky)):o.createCommentVNode("",!0),e.useCustomTooltip&&(i.validationStatus===""||i.validationStatus==="error")?(o.openBlock(),o.createBlock(a,{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)=>l.closeOptions&&l.closeOptions(...f)),"aria-expanded":i.showOptions},[o.createElementVNode("li",null,[o.createElementVNode("a",{href:"#",onClick:t[1]||(t[1]=o.withModifiers((...f)=>l.toggleOptions&&l.toggleOptions(...f),["prevent"])),onBlur:t[2]||(t[2]=(...f)=>l.onBlur&&l.onBlur(...f)),title:(c=l.optionIcon)==null?void 0:c.tooltip},[n.type==="country"&&l.optionCountry?(o.openBlock(),o.createElementBlock("img",{key:0,src:l.pathFlag(l.optionCountry),alt:l.optionCountry,class:o.normalizeClass(["flag",l.optionCountry])},null,10,Qy)):n.type==="color"?(o.openBlock(),o.createElementBlock("span",{key:1,style:o.normalizeStyle("background: "+l.optionColor)},null,4)):o.createCommentVNode("",!0),(m=l.optionIcon)!=null&&m.iconClass?(o.openBlock(),o.createBlock(s,{key:2,type:(u=l.optionIcon)==null?void 0:u.iconType,iconClass:(p=l.optionIcon)==null?void 0:p.iconClass},null,8,["type","iconClass"])):o.createCommentVNode("",!0),l.optionName?(o.openBlock(),o.createElementBlock("span",Yy,o.toDisplayString(l.optionName),1)):o.createCommentVNode("",!0),n.iconDropdown?(o.openBlock(),o.createBlock(s,{key:4,iconClass:n.iconDropdown.iconClass,type:n.iconDropdown.iconType,title:n.iconDropdown.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0)],40,Xy),n.type==="default"&&i.showOptions?(o.openBlock(),o.createElementBlock("ul",$y,[(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=>l.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue}),title:f.tooltip},[f.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",tb,o.toDisplayString(f.text),1)):o.createCommentVNode("",!0)],10,eb)):o.createCommentVNode("",!0),n.optionLinkType==="router"?(o.openBlock(),o.createBlock(d,{key:1,to:"#",onClick:o.withModifiers(y=>l.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},{default:o.withCtx(()=>[f.iconClass?(o.openBlock(),o.createBlock(s,{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,vy))),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)=>l.optionSelect&&l.optionSelect(...y)),checked:l.compareValues(f.value),id:"option-"+(h+1)},null,40,rb),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,ob)):n.type==="country"?(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",onClick:o.withModifiers(y=>l.selectOption(f.value),["prevent"]),class:o.normalizeClass({active:f.value===n.modelValue})},[o.createElementVNode("img",{class:"flag",src:l.pathFlag(f.value),alt:f.text},null,8,lb),o.createElementVNode("span",null,o.toDisplayString(f.text),1)],10,ib)):n.type==="color"?(o.openBlock(),o.createElementBlock("a",{key:2,href:"#",onClick:o.withModifiers(y=>l.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,sb)):o.createCommentVNode("",!0)]))),128)),n.showSelectAllOptions&&n.type==="checkboxOptions"?(o.openBlock(),o.createElementBlock("li",ab,[o.createElementVNode("a",{href:"#",onClick:t[4]||(t[4]=o.withModifiers((...f)=>l.toggleAllOptions&&l.toggleAllOptions(...f),["prevent"]))},[i.allOptionsSelected?(o.openBlock(),o.createBlock(s,{key:1,iconClass:n.iconDeselectAllOptions.iconClass,type:n.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(o.openBlock(),o.createBlock(s,{key:0,iconClass:n.iconSelectAllOptions.iconClass,type:n.iconSelectAllOptions.iconType},null,8,["iconClass","type"])),o.createElementVNode("span",null,o.toDisplayString(l.selectAllOptionsText),1)])])):o.createCommentVNode("",!0)],10,nb)):n.type==="content"&&i.showOptions?o.renderSlot(e.$slots,"default",{key:2}):o.createCommentVNode("",!0)])],42,Zy)],10,Uy)}const Fl=N(Hy,[["render",cb]]),db={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}}},mb={key:0,class:"cmd-form-filters"},ub={key:0},fb={key:1},hb=["onClick","title"];function pb(e,t,n,r,i,l){const s=j;return i.options.length?(o.openBlock(),o.createElementBlock("ul",mb,[i.options.length>1?(o.openBlock(),o.createElementBlock("li",ub,[o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...a)=>l.deleteAllFilters&&l.deleteAllFilters(...a),["prevent"]))},[n.linkDeleteAllFilters.icon&&n.linkDeleteAllFilters.icon.show?(o.openBlock(),o.createBlock(s,{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",fb,o.toDisplayString(n.linkDeleteAllFilters.text),1)):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.options,(a,d)=>(o.openBlock(),o.createElementBlock("li",{key:d},[o.createElementVNode("a",{href:"#",onClick:o.withModifiers(c=>l.deleteClickedFilter(d),["prevent"]),title:n.deleteFilterIcon.tooltip},[o.createElementVNode("span",null,o.toDisplayString(n.selectedOptionsName(a)),1),o.createVNode(s,{iconClass:n.deleteFilterIcon.iconClass,type:n.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,hb)]))),128))])):o.createCommentVNode("",!0)}const Pl=N(db,[["render",pb]]),gb={name:"CmdSystemMessage",mixins:[rt],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}}},yb=["role","aria-labelledby"],bb=["title"];function kb(e,t,n,r,i,l){const s=j,a=z;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(s,{iconClass:n.iconClose.iconClass,type:n.iconClose.iconType},null,8,["iconClass","type"])],8,bb)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[o.createVNode(a,{class:"message-headline",cmdIcon:l.headlineIcon,headlineText:n.systemMessage,headlineLevel:n.messageHeadlineLevel,id:e.htmlId},null,8,["cmdIcon","headlineText","headlineLevel","id"])])],10,yb)):o.createCommentVNode("",!0)]),_:3},8,["name"])}const Po=N(gb,[["render",kb]]),Cb={data(){return{defaultMessageProperties:{"cmdgooglemaps.system_message.accept_terms":"You must accept cookies to view the map.","cmdgooglemaps.button_text.accept_required_cookies":"Accept required cookies"}}}},Ll="acceptedCookies";function Al(e,t=365){const n=[...Lo(),...e].join(",");let r="";const i=new Date;i.setTime(i.getTime()+t*24*60*60*1e3),r="; expires="+i.toUTCString(),document.cookie=Ll+"="+encodeURIComponent(n)+r+"; SameSite=strict; path=/"}function Lo(){const e=document.cookie.split(";").map(t=>t.trim()).find(t=>t.startsWith(Ll+"="));if(e){const t=e.indexOf("=");return decodeURIComponent(e.slice(t+1)).split(",")}return[]}const wb={name:"CmdGoogleMaps",mixins:[X,Cb],data(){return{cookiesAccepted:!1}},props:{cookiesAlreadyAccepted:{type:Boolean,default:!1},address:{type:Object,required:!0}},mounted(){Lo().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(){Al(["google-maps"]),this.cookiesAccepted=!0,this.$emit("click",this.cookiesAccepted)}},watch:{cookiesAlreadyAccepted:{handler(){this.cookiesAccepted=this.cookiesAlreadyAccepted},immediate:!0}}},xb={class:"cmd-google-maps responsive-wrapper"},Bb=["src"];function _b(e,t,n,r,i,l){const s=Po;return o.openBlock(),o.createElementBlock("div",xb,[i.cookiesAccepted?(o.openBlock(),o.createElementBlock("iframe",{key:1,src:l.locateAddress},null,8,Bb)):(o.openBlock(),o.createBlock(s,{key:0,validationStatus:"warning"},{default:o.withCtx(()=>[o.createElementVNode("p",null,o.toDisplayString(e.getMessage("cmdgooglemaps.system_message.accept_terms")),1),o.createElementVNode("a",{href:"#",onClick:t[0]||(t[0]=o.withModifiers((...a)=>l.acceptCookies&&l.acceptCookies(...a),["prevent"]))},o.toDisplayString(e.getMessage("cmdgooglemaps.button_text.accept_required_cookies")),1)]),_:1}))])}const Il=N(wb,[["render",_b]]),Eb={name:"CmdImageGallery",mixins:[Z],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(Be(this,"props","images",-1),this.itemProvider)},showFancyBox(e){Fe({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 K(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))}})}}},Sb={class:"grid-container-create-columns cmd-image-gallery"},Tb=["onClick","title"],Ob=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new gallery-image",-1)];function Nb(e,t,n,r,i,l){var d;const s=z,a=Ce;return o.openBlock(),o.createElementBlock("div",Sb,[(d=n.cmdHeadline)!=null&&d.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(s,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,m)=>(o.openBlock(),o.createBlock(a,{key:m,class:"image-wrapper",image:c.image,figcaption:c.figcaption,componentPath:["props","images",m],editModeConfig:l.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)=>l.onAddItem&&l.onAddItem(...c))},Ob)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.useFancyboxForLargeImages?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(n.images,(c,m)=>(o.openBlock(),o.createElementBlock("a",{class:"image-wrapper",key:m,href:"#",onClick:o.withModifiers(u=>l.showFancyBox(m),["prevent"]),title:l.getMessage("cmdimagegallery.tooltip.open_large_image")},[o.createVNode(a,{image:c.image,figcaption:l.figcaption(c)},null,8,["image","figcaption"])],8,Tb))),128)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(n.images,(c,m)=>(o.openBlock(),o.createElementBlock("div",{key:`i${m}`,class:"image-wrapper"},[o.createVNode(a,{image:c.image,figcaption:l.figcaption(c)},null,8,["image","figcaption"])]))),128))],64))])}const Vb=N(Eb,[["render",Nb]]),Fb={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`,Ml(this,e)})},onMouseMove(e){Ml(this,e)},onMouseOut(){this.showLargeImage=!1}}};function Ml(e,t){const n=e.$el.querySelector(".zoom-container"),r=n.querySelector("img"),i=e.$el.querySelector(".zoom-overlay"),l=t.target.getBoundingClientRect().width,s=t.target.getBoundingClientRect().height,a=r.getBoundingClientRect().width,d=r.getBoundingClientRect().height,c=t.pageX-t.target.getBoundingClientRect().x-window.pageXOffset,m=t.pageY-t.target.getBoundingClientRect().y-window.pageYOffset,u=Math.min(l,n.getBoundingClientRect().width/a*l),p=Math.min(s,n.getBoundingClientRect().height/d*s),f=Dl(c-u/2,0,l-u),h=Dl(m-p/2,0,s-p),y=-(f*(a/l)),g=-(h*(d/s));i.style.left=`${f}px`,i.style.top=`${h}px`,i.style.width=`${u}px`,i.style.height=`${p}px`,i.style.display="block",r.style.marginLeft=`${y}px`,r.style.marginTop=`${g}px`}function Dl(e,t,n){return e<t?t:e>n?n:e}const Pb={class:"cmd-image-zoom flex-container"},Lb=["title"],Ab={class:"zoom-container"},Ib=o.createElementVNode("div",{class:"zoom-overlay"},null,-1);function Mb(e,t,n,r,i,l){const s=Ce;return o.openBlock(),o.createElementBlock("div",Pb,[o.createElementVNode("a",{href:"#",class:"no-flex thumbnails-imagezoom",title:n.imageSmall.image.tooltip},[o.createVNode(s,o.mergeProps(n.imageSmall,{figcaption:{},onMouseover:l.onMouseOver,onMousemove:l.onMouseMove,onMouseout:l.onMouseOut}),null,16,["onMouseover","onMousemove","onMouseout"])],8,Lb),o.createElementVNode("div",Ab,[o.createVNode(s,o.mergeProps(n.imageLarge,{useFigureTag:!1}),null,16)]),Ib])}const Db=N(Fb,[["render",Mb]]),Rb={mixins:[Bo,Gt,rt,So],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.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.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}}},jb=["aria-labelledby"],qb={class:"label-text"},zb=["id"],Hb={key:0,"aria-hidden":"true"},Ub=["title","aria-errormessage","id"],Wb=["for"],Gb=["type","id","name","value","disabled"],Jb={key:1,class:"label-text"},Kb={key:1,class:"flex-container no-flex"};function Zb(e,t,n,r,i,l){const s=j,a=xo;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",qb,[o.createElementVNode("span",{id:e.htmlId},[o.createTextVNode(o.toDisplayString(n.labelText),1),n.required?(o.openBlock(),o.createElementBlock("sup",Hb,"*")):o.createCommentVNode("",!0)],8,zb),(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:l.validationTooltip,"aria-errormessage":e.tooltipId,"aria-live":"assertive",id:e.tooltipId},[o.createVNode(s,{iconClass:e.getStatusIconClass},null,8,["iconClass"])],8,Ub)):o.createCommentVNode("",!0),e.useCustomTooltip&&(e.validationStatus===""||e.validationStatus==="error")?(o.openBlock(),o.createBlock(a,{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",Kb,[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]=m=>l.inputValue=m),disabled:n.disabled,class:o.normalizeClass({"replace-input-type":n.replaceInputType})},null,10,Gb),[[o.vModelDynamic,l.inputValue]]),n.multipleSwitch&&d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.labelText?(o.openBlock(),o.createElementBlock("span",Jb,o.toDisplayString(d.labelText),1)):o.createCommentVNode("",!0)],10,Wb))),128))],2))],10,jb)}const Rl=N(Rb,[["render",Zb]]),Xb={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"}}},showLegend:{type:Boolean,default:!0},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 Je(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()}}},Qb={class:"cmd-login-form flex-container"},Yb={class:"option-wrapper flex-container"},$b={key:1},vb=["type","disabled"],ek={key:1},tk={class:"cmd-login-form flex-container"},nk={class:"option-wrapper flex-container"},ok={key:1},rk=["type","disabled"],ik={key:1};function lk(e,t,n,r,i,l){var m,u,p,f,h,y,g,B;const s=z,a=J,d=j,c=Ge;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.withDirectives(o.createElementVNode("fieldset",Qb,[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(s,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(a,o.mergeProps({element:"input",type:"text",ref:"username",modelValue:l.username,"onUpdate:modelValue":t[0]||(t[0]=S=>l.username=S)},l.cmdFormElementUsernameOptions,{onValidationStatusChange:t[1]||(t[1]=S=>l.checkValidationStatus(S,"username"))}),null,16,["modelValue"]),o.createVNode(a,o.mergeProps({element:"input",type:"password",modelValue:l.password,"onUpdate:modelValue":t[2]||(t[2]=S=>l.password=S)},l.cmdFormElementPasswordOptions,{onValidationStatusChange:t[3]||(t[3]=S=>l.checkValidationStatus(S,"password"))}),null,16,["modelValue"])],2),o.renderSlot(e.$slots,"login"),o.createElementVNode("div",Yb,[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((...S)=>l.toggleSendLoginView&&l.toggleSendLoginView(...S),["prevent"]))},[(m=n.options.forgotPassword.icon)!=null&&m.show&&((u=n.options.forgotPassword.icon)!=null&&u.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",$b,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:(p=n.options.createAccount.icon)==null?void 0:p.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),l.buttonLoginOptions.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:1,type:l.buttonLoginOptions.type==="submit"?"submit":"button",class:o.normalizeClass(["button",{primary:l.buttonLoginOptions.primary}]),onClick:t[5]||(t[5]=(...S)=>l.onClick&&l.onClick(...S)),disabled:l.buttonLoginDisabled},[l.buttonLoginOptions.icon.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:l.buttonLoginOptions.icon.iconClass,type:l.buttonLoginOptions.icon.iconType,title:l.buttonLoginOptions.icon.tooltip},null,8,["iconClass","type","title"])):o.createCommentVNode("",!0),l.buttonLoginOptions.text?(o.openBlock(),o.createElementBlock("span",ek,o.toDisplayString(l.buttonLoginOptions.text),1)):o.createCommentVNode("",!0)],10,vb)):o.createCommentVNode("",!0)])],512),[[o.vShow,!i.sendLogin]]),o.withDirectives(o.createElementVNode("fieldset",tk,[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(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineSendLoginForm)),null,16)):o.createCommentVNode("",!0),o.createVNode(a,o.mergeProps({ref:"sendPassword",element:"input",type:"email",onValidationStatusChange:t[6]||(t[6]=S=>l.checkValidationStatus(S,"email")),modelValue:i.sendLoginMail,"onUpdate:modelValue":t[7]||(t[7]=S=>i.sendLoginMail=S)},l.cmdFormElementSendLoginOptions),null,16,["modelValue"]),o.renderSlot(e.$slots,"send-login"),o.createElementVNode("div",nk,[n.options.backToLoginForm?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[8]||(t[8]=o.withModifiers((...S)=>l.toggleSendLoginView&&l.toggleSendLoginView(...S),["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",ok,o.toDisplayString(n.options.backToLoginForm.text),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),l.buttonSendLoginOptions.linkType==="button"?(o.openBlock(),o.createElementBlock("button",{key:1,type:l.buttonSendLoginOptions.type==="submit"?"submit":"button",class:o.normalizeClass(["button",{primary:l.buttonSendLoginOptions.primary}]),disabled:l.buttonSendLoginDisabled},[(y=l.buttonSendLoginOptions.icon)!=null&&y.iconClass?(o.openBlock(),o.createBlock(d,{key:0,iconClass:(g=l.buttonSendLoginOptions.icon)==null?void 0:g.iconClass,title:(B=l.buttonSendLoginOptions.icon)==null?void 0:B.tooltip},null,8,["iconClass","title"])):o.createCommentVNode("",!0),l.buttonSendLoginOptions.text?(o.openBlock(),o.createElementBlock("span",ik,o.toDisplayString(l.buttonSendLoginOptions.text),1)):o.createCommentVNode("",!0)],10,rk)):o.createCommentVNode("",!0)])],512),[[o.vShow,i.sendLogin]])],64)}const sk=N(Xb,[["render",lk]]),ak={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 Je(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})}}},ck={key:0,class:"close-nav"},dk=["href","title","target","onClick"],mk={key:1},uk={key:1},fk=["aria-expanded"],hk=["href","title","target","onClick"],pk={key:1},gk={key:1},yk=["aria-expanded"],bk=["href","title","target","onClick"],kk={key:1},Ck={key:1};function wk(e,t,n,r,i,l){const s=j,a=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",ck,[o.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:t[0]||(t[0]=o.withModifiers((...d)=>l.closeOffcanvasNavigation&&l.closeOffcanvasNavigation(...d),["prevent"]))},[n.closeOffcanvas.iconClass?(o.openBlock(),o.createBlock(s,{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 m,u,p;return o.openBlock(),o.createElementBlock("li",{key:c,class:o.normalizeClass({active:d.active,open:i.openEntry===c,"has-subentries":(m=d==null?void 0:d.subentries)==null?void 0:m.length})},[d.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:d.path,title:d.tooltip,target:d.target,onClick:f=>l.executeLink(f,d,c),onMouseover:t[1]||(t[1]=f=>l.closeAllSubentries()),onFocus:t[2]||(t[2]=f=>l.closeAllSubentries())},[d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",mk,o.toDisplayString(d.text),1)):o.createCommentVNode("",!0),(u=d==null?void 0:d.subentries)!=null&&u.length?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],40,dk)):o.createCommentVNode("",!0),d.type==="router"?(o.openBlock(),o.createBlock(a,{key:1,to:l.getRoute(d),title:d.tooltip},{default:o.withCtx(()=>[d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",uk,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),(p=d==null?void 0:d.subentries)!=null&&p.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:g=>l.executeLink(g,f,h,1),onMouseover:t[3]||(t[3]=g=>l.closeAllSubentries(1)),onFocus:t[4]||(t[4]=g=>l.closeAllSubentries(1))},[f.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",pk,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,hk)):o.createCommentVNode("",!0),f.type==="router"?(o.openBlock(),o.createBlock(a,{key:1,to:l.getRoute(f),title:f.tooltip},{default:o.withCtx(()=>[f.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),f.text?(o.openBlock(),o.createElementBlock("span",gk,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,(g,B)=>(o.openBlock(),o.createElementBlock("li",{key:B},[g.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:g.path,title:g.tooltip,target:g.target,onClick:S=>l.executeLink(S,g)},[g.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),g.text?(o.openBlock(),o.createElementBlock("span",kk,o.toDisplayString(g.text),1)):o.createCommentVNode("",!0),g.subentries&&g.subentries.length>0?(o.openBlock(),o.createElementBlock("span",{key:2,class:o.normalizeClass(["subentry-icon",n.subentriesIconClass])},null,2)):o.createCommentVNode("",!0)],8,bk)):o.createCommentVNode("",!0),g.type==="router"?(o.openBlock(),o.createBlock(a,{key:1,to:l.getRoute(g),target:g.target},{default:o.withCtx(()=>[g.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:g.iconClass,type:g.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),g.text?(o.openBlock(),o.createElementBlock("span",Ck,o.toDisplayString(g.text),1)):o.createCommentVNode("",!0),g.subentries&&g.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,yk)):o.createCommentVNode("",!0)],2)}),128))],8,fk)):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)=>l.toggleOffcanvasNavigation&&l.toggleOffcanvasNavigation(...d),["prevent"]))},[o.createVNode(s,{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 jl=N(ak,[["render",wk]]),xk={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 Je(e)}}},Bk={key:0,class:"number"},_k={key:2};function Ek(e,t,n,r,i,l){const s=j,a=Ge;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(a,{linkType:d.type,path:d.path,title:d.tooltip,onClick:o.withModifiers(m=>l.clickedStep(m,c),["stop","prevent"])},{default:o.withCtx(()=>[n.showStepNumber?(o.openBlock(),o.createElementBlock("span",Bk,o.toDisplayString(c+1),1)):o.createCommentVNode("",!0),d.iconClass?(o.openBlock(),o.createBlock(s,{key:1,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.text?(o.openBlock(),o.createElementBlock("span",_k,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 Sk=N(xk,[["render",Ek]]),Tk={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}}},Ok={class:"cmd-newsletter-subscription flex-container"},Nk={class:"button-wrapper"};function Vk(e,t,n,r,i,l){const s=Rl,a=J;return o.openBlock(),o.createElementBlock("fieldset",Ok,[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),o.createVNode(s,{inputTypes:"radio",labelText:n.cmdInputGroup.labelText,showLabel:n.cmdInputGroup.showLabel,inputElements:n.cmdInputGroup.inputElements,modelValue:l.subscription,"onUpdate:modelValue":t[0]||(t[0]=d=>l.subscription=d)},null,8,["labelText","showLabel","inputElements","modelValue"]),o.createVNode(a,{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:l.email,"onUpdate:modelValue":t[1]||(t[1]=d=>l.email=d),onValidationStatusChange:l.checkValidationStatus},null,8,["placeholder","labelText","required","useCustomTooltip","modelValue","onValidationStatusChange"]),o.createElementVNode("div",Nk,[o.createVNode(a,{element:"button",type:n.buttonType,disabled:i.buttonDisabled,nativeButton:l.cmdFormElementSubmitDynamicLabel,onClick:l.sendData},null,8,["type","disabled","nativeButton","onClick"])])])}const Fk=N(Tk,[["render",Vk]]);function ql(e,t,n,r=!0,i=!0){function l(s,a){return a&&s<10?"0"+s:s}return(s,a)=>{if(n){let d=s,c=t;return d>12&&(i||(d-=12),c=n),l(d,r)+e+l(a,!0)+c}return l(s,r)+e+l(a,!0)+t}}const Pk={name:"CmdOpeningHoursItem",mixins:[Z],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):ql(":"," "+this.abbreviationTextAm," "+this.abbreviationTextPm,!1,this.use24HoursFormat)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableDay;return K(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=ql(":","","",!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}}},Lk={class:"cmd-opening-hours-item"},Ak={key:0,class:"am"},Ik={key:1,class:"pm"},Mk={class:"flex-container no-flex"},Dk={class:"flex-container no-flex am-wrapper"},Rk={key:1,class:"input-wrapper"},jk=["title"],qk={class:"flex-container no-flex pm-wrapper"},zk={key:1,class:"input-wrapper"},Hk=["title"];function Uk(e,t,n,r,i,l){const s=J;return e.editing?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("dt",null,[o.createVNode(s,{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]=a=>i.editableDay.day=a)},null,8,["modelValue"])]),o.createElementVNode("dd",Mk,[o.createElementVNode("div",Dk,[i.editableDay.amClosed?(o.openBlock(),o.createBlock(s,{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]=a=>i.editableDay.amDisplayText=a)},null,8,["modelValue"])):o.createCommentVNode("",!0),i.editableDay.amClosed?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Rk,[o.createVNode(s,{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]=a=>i.editableDay.amFrom=a)},null,8,["modelValue"]),o.createVNode(s,{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]=a=>i.editableDay.amTill=a)},null,8,["min","modelValue"])])),o.createElementVNode("a",{href:"#",onClick:t[4]||(t[4]=o.withModifiers(a=>l.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,jk)]),o.createElementVNode("div",qk,[i.editableDay.pmClosed?(o.openBlock(),o.createBlock(s,{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]=a=>i.editableDay.pmDisplayText=a)},null,8,["modelValue"])):o.createCommentVNode("",!0),i.editableDay.pmClosed?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",zk,[o.createVNode(s,{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]=a=>i.editableDay.pmFrom=a)},null,8,["modelValue"]),o.createVNode(s,{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]=a=>i.editableDay.pmTill=a)},null,8,["min","modelValue"])])),o.createElementVNode("a",{href:"#",onClick:t[8]||(t[8]=o.withModifiers(a=>l.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,Hk)])])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("dt",Lk,o.toDisplayString(n.day.day),1),o.createElementVNode("dd",null,[n.day.am?(o.openBlock(),o.createElementBlock("span",Ak,[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(l.getTime(n.day.am.fromTime,n.abbreviationTextAm))+" "+o.toDisplayString(n.separator)+" "+o.toDisplayString(l.getTime(n.day.am.tillTime)),1)],64))])):o.createCommentVNode("",!0),n.day.pm?(o.openBlock(),o.createElementBlock("span",Ik,[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(l.getTime(n.day.pm.fromTime,n.abbreviationTextPm))+" "+o.toDisplayString(n.separator)+" "+o.toDisplayString(l.getTime(n.day.pm.tillTime)),1)],64))])):o.createCommentVNode("",!0)])],64))}const Wk=N(Pk,[["render",Uk]]);function Gk(e,t,n,r=!0){function i(l,s){return s&&l<10?"0"+l:l}return(l,s)=>i(l,r)+e+i(s,!0)+t}const Jk={name:"CmdOpeningHours",mixins:[Z],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(/[:.]/),l=this.openingHours[t].pm.fromTime.split(/[:.]/),s=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(l[0]),mins:parseInt(l[1])},n.pm.tillTime={hours:parseInt(s[0]),mins:parseInt(s[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 l=new Date;if(l.setHours(t.pm.tillTime.hours,t.pm.tillTime.mins),n<=this.currentTime&&this.currentTime<=r&&i<=this.currentTime&&this.currentTime<=l)return!1}return!0}},methods:{onAddItem(){this.editModeContext.content.addContent(Be(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):Gk(":"," hrs","",!1)(e.hours,e.mins)},updateHandlerProvider(){const e=this.editableOpeningHours,t=this.editableTextOpen,n=this.editableTextClosed,r=this.editableTextHolidays,i=this.editableTextMiscInfo;return K(this,{update(l,s){l.openingHours=e,l.textOpen=t,l.textClosed=n,l.textHolidays=r,l.textMiscInfo=i;const a=s==null?void 0:s.find(d=>d.name==="CmdHeadline");a&&(l.cmdHeadline=l.cmdHeadline||{},a.update(l.cmdHeadline))}})}}},Kk={class:"cmd-opening-hours"},Zk={key:2,class:"flex-container"},Xk={key:3},Qk=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new entry",-1)],Yk={class:"edit-mode-opening-hours-item"},$k={key:5},vk={key:0},e0={key:1},t0={key:6,class:"flex-container vertical"};function n0(e,t,n,r,i,l){var u,p;const s=z,a=Ge,d=J,c=Wk,m=_e;return o.openBlock(),o.createElementBlock("div",Kk,[(u=n.cmdHeadline)!=null&&u.headlineText||e.editModeContext?(o.openBlock(),o.createBlock(s,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},[(p=n.cmdLink)!=null&&p.path?(o.openBlock(),o.createBlock(a,o.mergeProps({key:0,linkType:n.cmdLink.type||"href"},n.cmdLink,{class:{closed:l.isClosed}}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(l.textOpenClosed),1)]),_:1},16,["linkType","class"])):(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass({closed:l.isClosed})},o.toDisplayString(l.textOpenClosed),3))],64)):e.editing?(o.openBlock(),o.createElementBlock("div",Zk,[o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'open'",placeholder:"Text for 'open'",modelValue:l.textOpenModel,"onUpdate:modelValue":t[0]||(t[0]=f=>l.textOpenModel=f)},null,8,["modelValue"]),o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'closed'",placeholder:"Text for 'closed'",modelValue:l.textClosedModel,"onUpdate:modelValue":t[1]||(t[1]=f=>l.textClosedModel=f)},null,8,["modelValue"])])):o.createCommentVNode("",!0),e.editModeContext?(o.openBlock(),o.createElementBlock(o.Fragment,{key:4},[l.openingHoursFormatted.length===0?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:"button confirm small",onClick:t[2]||(t[2]=(...f)=>l.onAddItem&&l.onAddItem(...f))},Qk)):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(l.openingHoursFormatted,(f,h)=>(o.openBlock(),o.createBlock(m,{key:"x"+h,class:"edit-items",showComponentName:!1,componentName:"CmdOpeningHoursItem",componentProps:f,allowedComponentTypes:[],componentPath:["props","openingHours",h],itemProvider:l.itemProvider},{default:o.withCtx(()=>[o.createElementVNode("dl",Yk,[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",Xk,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.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",$k,[n.textHolidays?(o.openBlock(),o.createElementBlock("p",vk,[o.createElementVNode("strong",null,o.toDisplayString(n.textHolidays),1)])):o.createCommentVNode("",!0),n.textMiscInfo?(o.openBlock(),o.createElementBlock("p",e0,o.toDisplayString(n.textMiscInfo),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),e.editing?(o.openBlock(),o.createElementBlock("div",t0,[o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Text for 'holidays'",placeholder:"Text for 'holidays'",modelValue:l.textHolidaysModel,"onUpdate:modelValue":t[3]||(t[3]=f=>l.textHolidaysModel=f)},null,8,["modelValue"]),o.createVNode(d,{element:"input",type:"text",showLabel:!1,labelText:"Miscellaneous information",placeholder:"Miscellaneous information",modelValue:l.textMiscInfoModel,"onUpdate:modelValue":t[4]||(t[4]=f=>l.textMiscInfoModel=f)},null,8,["modelValue"])])):o.createCommentVNode("",!0)])}const o0=N(Jk,[["render",n0]]),r0={name:"CmdPagination",mixins:[X,{data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.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)}}},i0={class:"cmd-pagination"},l0=["href","title"],s0={key:0},a0={class:"page-index"},c0={class:"flex-container"},d0=["href","title","onClick"],m0=["href","title"],u0={key:0};function f0(e,t,n,r,i,l){const s=j;return o.openBlock(),o.createElementBlock("div",i0,[o.createElementVNode("a",{href:l.getPreviousHref,class:o.normalizeClass(["page-change",{disabled:i.currentPage===1,button:n.linkType==="button"}]),onClick:t[0]||(t[0]=o.withModifiers((...a)=>l.previousPage&&l.previousPage(...a),["prevent"])),title:n.prevLink.showText?null:n.prevLink.text},[o.createVNode(s,{iconClass:n.prevLink.iconClass,type:n.prevLink.iconType},null,8,["iconClass","type"]),n.prevLink.showText?(o.openBlock(),o.createElementBlock("span",s0,o.toDisplayString(n.prevLink.text),1)):o.createCommentVNode("",!0)],10,l0),o.createElementVNode("div",a0,[o.createElementVNode("div",c0,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.pages,(a,d)=>(o.openBlock(),o.createElementBlock("a",{href:l.getHref(a),class:o.normalizeClass({disabled:i.currentPage===d+1,button:n.linkType==="button",hidden:!n.showPageNumbers}),title:i.currentPage!==d+1?e.getMessage("cmdpager.tooltip.go_to_page",d+1):e.getMessage("cmdpager.tooltip.not_possible"),key:d,onClick:o.withModifiers(c=>l.showPage(a),["stop","prevent"]),"aria-live":"polite"},[o.createElementVNode("span",null,o.toDisplayString(d+1),1)],10,d0))),128))])]),o.createElementVNode("a",{href:l.getNextHref,class:o.normalizeClass(["page-change",{disabled:i.currentPage===l.numberOfPages,button:n.linkType==="button"}]),onClick:t[1]||(t[1]=o.withModifiers((...a)=>l.nextPage&&l.nextPage(...a),["prevent"])),title:n.nextLink.showText?null:n.nextLink.text},[n.nextLink.showText?(o.openBlock(),o.createElementBlock("span",u0,o.toDisplayString(n.nextLink.text),1)):o.createCommentVNode("",!0),o.createVNode(s,{iconClass:n.nextLink.iconClass,type:n.nextLink.iconType},null,8,["iconClass","type"])],10,m0)])}const h0=N(r0,[["render",f0]]),p0={name:"CmdSocialNetworksItem",data(){return{editablePath:null,editableTooltip:null,editableLinktext:null}},mixins:[Z],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 K(this,{item(){return e}})},updateHandlerProvider(){const e=Ue(),t=this.editablePath,n=this.editableTooltip,r=this.editableLinktext;return K(this,{update(i){i.id=e,i.path=t,i.tooltip=n,i.linkText=r}})}}},g0={class:"cmd-social-networks-item"},y0=["id","href","title"],b0={key:1};function k0(e,t,n,r,i,l){const s=j;return o.openBlock(),o.createElementBlock("li",g0,[(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:l.getUrl(n.network),onClick:t[0]||(t[0]=(...a)=>l.preventOnDisabled&&l.preventOnDisabled(...a)),target:"_blank",title:l.tooltip(n.network.tooltip)},[n.network.iconClass?(o.openBlock(),o.createBlock(s,{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",b0,o.toDisplayString(n.network.linkText),1)):o.createCommentVNode("",!0)],10,y0))])}const C0=N(p0,[["render",k0]]),w0={name:"CmdSocialNetworks",mixins:[Z],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(Be(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)}}}}},x0=[o.createElementVNode("span",{class:"icon-plus"},null,-1)];function B0(e,t,n,r,i,l){var m,u;const s=z,a=J,d=C0,c=_e;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-social-networks",{stretch:n.stretchButtons},l.alignment])},[(m=n.cmdHeadline)!=null&&m.headlineText||(u=e.editModeContext)!=null&&u.editing?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline||{})),null,16)):o.createCommentVNode("",!0),n.userMustAcceptDataPrivacy?(o.openBlock(),o.createBlock(a,o.mergeProps({key:1,element:"input",type:"checkbox"},n.cmdFormElement,{modelValue:i.dataPrivacyAccepted,"onUpdate:modelValue":t[0]||(t[0]=p=>i.dataPrivacyAccepted=p)}),null,16,["modelValue"])):o.createCommentVNode("",!0),l.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(l.validNetworks,(p,f)=>(o.openBlock(),o.createBlock(c,{key:"x"+f,class:"edit-items",componentName:"CmdSocialNetworksItem",componentProps:p,componentPath:["props","networks",f],showComponentName:!1},{default:o.withCtx(()=>[o.createVNode(d,{network:p,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(l.validNetworks,(p,f)=>(o.openBlock(),o.createBlock(d,{key:f,network:p,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]=(...p)=>l.onAddItem&&l.onAddItem(...p))},x0))],2)}const zl=N(w0,[["render",B0]]),_0={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},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("main")],Fe({elements:e,showPrintButtons:this.cmdFancyBox.showPrintButtons,defaultAriaLabelText:this.cmdFancyBox.defaultAriaLabelText,cmdHeadline:this.cmdFancyBox.cmdHeadline,showOverlay:this.cmdFancyBox.showOverlay,showSubmitButtons:this.cmdFancyBox.showSubmitButtons,allowEscapeKey:this.cmdFancyBox.allowEscapeKey})}}},E0={class:"button-wrapper"},S0=["title"],T0={key:1};function O0(e,t,n,r,i,l){var a,d,c,m;const s=zl;return o.openBlock(),o.createElementBlock("footer",{class:o.normalizeClass(["cmd-page-footer flex-container",{"small-buttons":n.useSmallButtons}])},[n.cmdSocialNetworks?(o.openBlock(),o.createBlock(s,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",E0,[o.renderSlot(e.$slots,"default"),(a=l.buttonPrintViewOptions)!=null&&a.show?(o.openBlock(),o.createElementBlock("button",{key:0,class:o.normalizeClass(["button",{primary:l.buttonPrintViewOptions.primary}]),title:l.buttonPrintViewOptions.text?(d=l.buttonPrintViewOptions.icon)==null?void 0:d.tooltip:null,onClick:t[0]||(t[0]=(...u)=>l.showFancyBox&&l.showFancyBox(...u))},[(c=l.buttonPrintViewOptions.icon)!=null&&c.show?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass((m=l.buttonPrintViewOptions.icon)==null?void 0:m.iconClass)},null,2)):o.createCommentVNode("",!0),l.buttonPrintViewOptions.text?(o.openBlock(),o.createElementBlock("span",T0,o.toDisplayString(l.buttonPrintViewOptions.text),1)):o.createCommentVNode("",!0)],10,S0)):o.createCommentVNode("",!0)])],2)}const N0=N(_0,[["render",O0]]),V0={name:"CmdPageHeader",props:{cmdBreadcrumbs:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}}},F0={key:0,class:"cmd-page-header flex-container"},P0={key:0,class:"headline-wrapper flex-container vertical"};function L0(e,t,n,r,i,l){const s=Nl,a=z;return n.cmdBreadcrumbs||n.cmdHeadline||e.$slots.default?(o.openBlock(),o.createElementBlock("header",F0,[n.cmdBreadcrumbs||n.cmdHeadline?(o.openBlock(),o.createElementBlock("div",P0,[n.cmdBreadcrumbs?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdBreadcrumbs)),null,16)):o.createCommentVNode("",!0),n.cmdHeadline.headlineText?(o.openBlock(),o.createBlock(a,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 A0=N(V0,[["render",L0]]),I0={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}}},M0=["for"],D0={class:"progressbar"},R0={key:0},j0=["id","value"];function q0(e,t,n,r,i,l){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",D0,[n.showLoadingStatus?(o.openBlock(),o.createElementBlock("span",R0,o.toDisplayString(i.loadingStatus)+" %",1)):o.createCommentVNode("",!0),o.createElementVNode("progress",o.mergeProps(e.$attrs,{id:n.id,value:i.loadingStatus}),null,16,j0)])],8,M0)}const z0=N(I0,[["render",q0]]),H0={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}}},U0={class:"inner-sidebar-wrapper"},W0={key:1,class:"open-slot-wrapper"},G0={key:2,class:"closed-slot-wrapper"},J0=["title"];function K0(e,t,n,r,i,l){var a;const s=z;return o.openBlock(),o.createElementBlock("aside",{class:o.normalizeClass(["cmd-sidebar",l.wrapperClass,{box:n.styledAsBox,"collapse-to-right":!n.collapseToLeft}])},[o.createElementVNode("div",U0,[(a=n.cmdHeadline)!=null&&a.headlineText&&i.open?(o.openBlock(),o.createBlock(s,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",W0,[o.renderSlot(e.$slots,"open",{openBoxStatus:i.open})])):(o.openBlock(),o.createElementBlock("div",G0,[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)=>l.toggleSidebar&&l.toggleSidebar(...d),["prevent"]))},[o.createElementVNode("span",{class:o.normalizeClass(l.iconClassOpenCollapse)},null,2)],8,J0)):o.createCommentVNode("",!0)],2)}const Z0=N(H0,[["render",K0]]),X0={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal",validator(e){return e==="horizontal"||e==="vertical"}}}},Q0={class:"cmd-site-footer site-footer"};function Y0(e,t,n,r,i,l){return o.openBlock(),o.createElementBlock("div",Q0,[o.createElementVNode("footer",{class:o.normalizeClass(["flex-container",{vertical:n.orientation==="vertical"}])},[o.renderSlot(e.$slots,"default")],2)])}const $0=N(X0,[["render",Y0]]),v0={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}}},eC={key:0,class:"top-header"};function tC(e,t,n,r,i,l){var d,c,m,u,p,f,h,y,g;const s=Vl,a=jl;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",eC,[o.renderSlot(e.$slots,"topheader")])):o.createCommentVNode("",!0),o.createElementVNode("header",{class:o.normalizeClass([n.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((m=(c=n.cmdMainNavigation)==null?void 0:c.navigationEntries)==null?void 0:m.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||(p=(u=n.cmdMainNavigation)==null?void 0:u.navigationEntries)!=null&&p.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.cmdCompanyLogo?(o.openBlock(),o.createBlock(s,o.mergeProps({key:0},n.cmdCompanyLogo,{onImageLoaded:l.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(a,o.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],2),(g=(y=n.cmdMainNavigation)==null?void 0:y.navigationEntries)!=null&&g.length&&!n.navigationInline?(o.openBlock(),o.createBlock(a,o.mergeProps({key:1},n.cmdMainNavigation,{closeOffcanvas:n.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus}),null,16,["closeOffcanvas","onOffcanvas"])):o.createCommentVNode("",!0)],2)}const nC=N(v0,[["render",tC]]),oC={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[X,{data(){return{defaultMessageProperties:{"cmdsitesearch.labeltext.what_to_search":"What do you like to search for?","cmdsitesearch.placeholder.what_to_search":"Search","cmdsitesearch.labeltext.where_to_search":"Where do you want to search?","cmdsitesearch.placeholder.where_to_search":"Zip or city","cmdsitesearch.show_filter_options":"Show filter options","cmdsitesearch.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}}},rC={class:"cmd-box-site-search flex-container"},iC={class:"flex-container align-bottom"},lC={class:"input-wrapper align-bottom"},sC={key:0},aC={key:1},cC={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function dC(e,t,n,r,i,l){var u,p,f,h,y,g,B,S;const s=z,a=J,d=j,c=Fl,m=Pl;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("fieldset",rC,[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(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),o.createElementVNode("div",iC,[o.createVNode(a,{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:l.searchValue1,"onUpdate:modelValue":t[0]||(t[0]=_=>l.searchValue1=_)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),o.createElementVNode("div",lC,[n.cmdFormElementInput2.show?(o.openBlock(),o.createBlock(a,{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:l.searchValue2,"onUpdate:modelValue":t[1]||(t[1]=_=>l.searchValue2=_)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):o.createCommentVNode("",!0),l.cmdFormElementRadiusOptions.show?(o.openBlock(),o.createBlock(a,o.mergeProps({key:1,element:"select",class:"no-flex",modelValue:l.radius,"onUpdate:modelValue":t[2]||(t[2]=_=>l.radius=_)},l.cmdFormElementRadiusOptions),null,16,["modelValue"])):o.createCommentVNode("",!0)]),o.createVNode(a,{element:"button",class:"stretch-on-small-devices",nativeButton:n.cmdFormElementSearchButton,onClick:l.onSearchButtonClick,disabled:l.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(_=>i.showFilters=!i.showFilters,["prevent"]))},[o.createVNode(d,{iconClass:i.showFilters?(p=(u=n.cmdIcon)==null?void 0:u.showFilters)==null?void 0:p.iconClass:(h=(f=n.cmdIcon)==null?void 0:f.hideFilters)==null?void 0:h.iconClass,type:i.showFilters?(g=(y=n.cmdIcon)==null?void 0:y.showFilters)==null?void 0:g.iconType:(S=(B=n.cmdIcon)==null?void 0:B.hideFilters)==null?void 0:S.iconType},null,8,["iconClass","type"]),i.showFilters?(o.openBlock(),o.createElementBlock("span",sC,o.toDisplayString(e.getMessage("cmdsitesearch.hide_filter_options")),1)):(o.openBlock(),o.createElementBlock("span",aC,o.toDisplayString(e.getMessage("cmdsitesearch.show_filter_options")),1))]),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>{var _,O,P,b,E;return[i.showFilters&&((_=n.cmdFakeSelect)!=null&&_.selectData.length)?(o.openBlock(),o.createElementBlock("div",cC,[o.createVNode(c,{role:"option",selectData:(O=n.cmdFakeSelect)==null?void 0:O.selectData,modelValue:l.searchFilters,"onUpdate:modelValue":t[4]||(t[4]=F=>l.searchFilters=F),defaultOptionName:(P=n.cmdFakeSelect)==null?void 0:P.defaultOptionName,type:(b=n.cmdFakeSelect)==null?void 0:b.type,labelText:(E=n.cmdFakeSelect)==null?void 0:E.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):o.createCommentVNode("",!0)]}),_:1})],64)):o.createCommentVNode("",!0)]),n.useFilters?(o.openBlock(),o.createBlock(m,{key:0,modelValue:l.searchFilters,"onUpdate:modelValue":t[5]||(t[5]=_=>l.searchFilters=_),selectedOptionsName:l.getOptionName},null,8,["modelValue","selectedOptionsName"])):o.createCommentVNode("",!0)],64)}const mC=N(oC,[["render",dC]]),uC={name:"CmdSlideshow",mixins:[Z],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(Be(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)})}}},fC=["href","title"],hC=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new slideshow-image",-1)],pC={key:2},gC=["onClick","aria-label","title"],yC={key:3,class:"item-counter"};function bC(e,t,n,r,i,l){const s=it,a=Ce;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(s,o.mergeProps({key:0,onClick:o.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev",class:{disabled:i.slideshowItemEditing}},l.tooltipForSlidebuttons),null,16,["onClick","class"])):o.createCommentVNode("",!0),o.createVNode(o.TransitionGroup,{name:"fade"},{default:o.withCtx(()=>{var d,c,m,u,p,f,h,y,g,B,S,_;return[l.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("+l.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(a,{key:1,image:(S=l.currentItem)==null?void 0:S.image,figcaption:(_=l.currentItem)==null?void 0:_.figcaption,componentPath:["props","slideshowItems",i.index],editModeConfig:l.imageStructure()},null,8,["image","figcaption","componentPath","editModeConfig"])):o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[(c=(d=l.currentItem)==null?void 0:d.link)!=null&&c.href?(o.openBlock(),o.createElementBlock("a",{key:0,href:(u=(m=l.currentItem)==null?void 0:m.link)==null?void 0:u.href,title:(f=(p=l.currentItem)==null?void 0:p.link)==null?void 0:f.tooltip},[o.createVNode(a,{image:(h=l.currentItem)==null?void 0:h.image,figcaption:(y=l.currentItem)==null?void 0:y.figcaption},null,8,["image","figcaption"])],8,fC)):(o.openBlock(),o.createBlock(a,{key:1,image:(g=l.currentItem)==null?void 0:g.image,figcaption:(B=l.currentItem)==null?void 0:B.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]=(...O)=>l.onAddItem&&l.onAddItem(...O))},hC)):o.createCommentVNode("",!0)]}),_:3}),n.showSlideButtons?(o.openBlock(),o.createBlock(s,o.mergeProps({key:1,onClick:o.withModifiers(l.showNextItem,["prevent"]),class:{disabled:i.slideshowItemEditing}},l.tooltipForSlidebuttons),null,16,["onClick","class"])):o.createCommentVNode("",!0),n.showQuickLinkIcons?(o.openBlock(),o.createElementBlock("ol",pC,[(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(m=>l.showItem(c),["prevent"]),"aria-label":i.index,title:i.slideshowItemEditing?"Not allowed while editing!":"Switch to image #"+(c+1)},null,10,gC)],2))),128))])):o.createCommentVNode("",!0),n.showCounter?(o.openBlock(),o.createElementBlock("span",yC,o.toDisplayString(i.index+1)+"/"+o.toDisplayString(n.slideshowItems.length),1)):o.createCommentVNode("",!0)],32)],2)}const kC=N(uC,[["render",bC]]),CC=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"})),wC={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(e){return Je(e)},activeLanguage(e){return e.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async e=>{const t=e.iso2;this.imageSources.push(CC[t].default)})},immediate:!0,deep:!0}}},xC={class:"cmd-switch-language"},BC=["href","title","onClick"],_C=["src","alt"],EC=["src","alt"];function SC(e,t,n,r,i,l){const s=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",xC,[o.createElementVNode("ul",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.languages,(a,d)=>(o.openBlock(),o.createElementBlock("li",{key:d},[a.link.type==="href"?(o.openBlock(),o.createElementBlock("a",{key:0,href:a.link.path,class:o.normalizeClass(["flag",a.iso2,{active:l.activeLanguage(a)}]),title:a.tooltip,onClick:c=>e.$emit("click",{originalEvent:c,language:a})},[o.createElementVNode("img",{src:i.imageSources[d],alt:a.name},null,8,_C)],10,BC)):(o.openBlock(),o.createBlock(s,{key:1,class:o.normalizeClass(["flag",a.iso2]),to:l.getRoute(a),title:a.tooltip,onClick:c=>e.$emit("click",{originalEvent:c,language:a})},{default:o.withCtx(()=>[o.createElementVNode("img",{src:i.imageSources[d],alt:a.name},null,8,EC)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const TC=N(wC,[["render",SC]]),OC={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,l=n.scrollLeft;console.log("parentRect",r),e.style.left=`${l}px`,t.style.left=`${i}px`,l===0?e.style.display="none":e.style.display="flex",l===n.scrollLeftMax?t.style.display="none":t.style.display="flex"}},watch:{fullWidthOnDefault:{handler(){this.fullWidth=this.fullWidthOnDefault},immediate:!0}}},NC={key:0,class:"button-wrapper"},VC=["title"],FC=["title"],PC={"aria-expanded":"true"},LC={key:0,"aria-expanded":"true"};function AC(e,t,n,r,i,l){var d,c,m,u;const s=j,a=it;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-table-wrapper",{collapsed:!i.showTableData,"full-width":i.fullWidth,"has-caption":l.hasCaption,"has-overflow":i.hasOverflow}])},[n.collapsible||n.userCanToggleWidth?(o.openBlock(),o.createElementBlock("div",NC,[n.userCanToggleWidth?(o.openBlock(),o.createElementBlock("a",{key:0,class:"button",href:"#",onClick:t[0]||(t[0]=o.withModifiers(p=>i.fullWidth=!i.fullWidth,["prevent"])),title:n.iconToggleWidth.tooltip},[o.createVNode(s,{iconClass:n.iconToggleWidth.iconClass,type:n.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,VC)):o.createCommentVNode("",!0),n.collapsible?(o.openBlock(),o.createElementBlock("a",{key:1,class:"button",href:"#",onClick:t[1]||(t[1]=o.withModifiers(p=>i.showTableData=!i.showTableData,["prevent"])),title:i.showTableData?n.iconCollapse.tooltip:n.iconExpand.tooltip},[o.createVNode(s,{iconClass:i.showTableData?n.iconCollapse.iconClass:n.iconExpand.iconClass,type:i.showTableData?n.iconCollapse.iconType:n.iconExpand.iconType},null,8,["iconClass","type"])],8,FC)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"inner-wrapper",ref:"innerWrapper",onScroll:t[2]||(t[2]=(...p)=>l.updatePosition&&l.updatePosition(...p))},[n.showSlideButtons?(o.openBlock(),o.createBlock(a,{key:0,onClick:o.withModifiers(l.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:l.hideCaption})},o.toDisplayString(((m=n.caption)==null?void 0:m.text)||((u=n.tableData.caption)==null?void 0:u.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,(p,f)=>(o.openBlock(),o.createElementBlock("th",{key:f},o.toDisplayString(p),1))),128))])]),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("tbody",PC,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tbody,(p,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(p,(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",LC,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.tableData.tfoot,(p,f)=>(o.openBlock(),o.createElementBlock("td",{class:o.normalizeClass({active:n.tableData.columnIndexHighlighted===f}),key:f},o.toDisplayString(p),3))),128))])])):o.createCommentVNode("",!0)]),_:1},8,["name"])],2),n.showSlideButtons?(o.openBlock(),o.createBlock(a,{key:1,onClick:o.withModifiers(l.scrollRight,["prevent"])},null,8,["onClick"])):o.createCommentVNode("",!0)],544)],2)}const IC=N(OC,[["render",AC]]);Ki({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
2
2
  c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
3
3
  <path fill="currentColor" d="M2,12h6v18H2V12z"/>
4
- <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 PC={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}}},LC={class:"cmd-tabs"},AC=["onClick","title"],IC={key:1},MC={key:1,"aria-live":"assertive"},DC=["innerHTML"];function RC(e,t,n,r,i,l){const s=j,a=z;return o.openBlock(),o.createElementBlock("div",LC,[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(m=>l.setActiveTab(c),["prevent"]),title:d.name?void 0:d.tooltip},[d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.name?(o.openBlock(),o.createElementBlock("span",IC,o.toDisplayString(d.name),1)):o.createCommentVNode("",!0)],8,AC)],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",MC,[n.cmdHeadline?(o.openBlock(),o.createBlock(a,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,DC)]))])}const jC=N(PC,[["render",RC]]),qC={name:"CmdTextImageBlock",mixins:[Z],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,K(this,{update(t){t.htmlContent=e}})}},watch:{htmlContent:{handler(){this.editableHtmlContent=this.htmlContent},immediate:!0}}},zC=["innerHTML"],HC=["innerHTML"],UC=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new paragraph",-1)];function WC(e,t,n,r,i,l){var c,m,u,p;const s=z,a=Ce,d=_e;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(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.cmdImage?(o.openBlock(),o.createBlock(a,{key:1,image:(m=n.cmdImage)==null?void 0:m.image,figcaption:(u=n.cmdImage)==null?void 0:u.figcaption,editModeConfig:{allowAddItem:!1}},null,8,["image","figcaption"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["flex-container vertical",l.setInnerClass])},[((p=n.cmdHeadline)!=null&&p.headlineText||e.editModeContext)&&(n.headlinePosition==="belowImage"||n.orientation==="horizontal")?(o.openBlock(),o.createBlock(s,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,zC)):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:l.textAlign},componentPath:l.paragraphComponentPath,allowDeleteComponent:!!n.htmlContent},{default:o.withCtx(f=>[f.editing?o.withDirectives((o.openBlock(),o.createElementBlock("textarea",{key:0,class:o.normalizeClass(["edit-mode",l.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(l.textAlign)},null,10,HC)):(o.openBlock(),o.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:t[1]||(t[1]=(...h)=>l.onAddItem&&l.onAddItem(...h))},UC))]),_:1},8,["componentProps","componentPath","allowDeleteComponent"])):o.createCommentVNode("",!0)],2)}const GC=N(qC,[["render",WC]]),JC={name:"ToggleDarkMode",mixins:[Z],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 K(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.replace("light-mode","dark-mode"):e.classList.replace("dark-mode","light-mode"),e.dispatchEvent(new CustomEvent("toggle-color-scheme",{detail:this.darkMode?"dark-mode":"light-mode"}))},immediate:!0}}},KC={key:0};function ZC(e,t,n,r,i,l){const s=j,a=J;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(a,{element:"input",type:"text",labelText:"Label for Light Mode",placeholder:"Label for Light Mode",modelValue:l.labelTextLightModeModel,"onUpdate:modelValue":t[2]||(t[2]=d=>l.labelTextLightModeModel=d)},null,8,["modelValue"]),o.createVNode(a,{element:"input",type:"text",labelText:"Label for Dark Mode",placeholder:"Label for Dark Mode",modelValue:l.labelTextDarkModeModel,"onUpdate:modelValue":t[3]||(t[3]=d=>l.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)=>l.toggleColorScheme&&l.toggleColorScheme(...d),["prevent"]))},[n.showLabel?(o.openBlock(),o.createElementBlock("span",KC,o.toDisplayString(l.labelText),1)):o.createCommentVNode("",!0),o.createVNode(s,{iconClass:l.iconClass,type:l.iconType,tooltip:n.showLabel?"":l.labelText},null,8,["iconClass","type","tooltip"])],2)):(o.openBlock(),o.createBlock(a,{key:1,element:"input",type:"checkbox",labelText:l.labelText,showLabel:n.showLabel,modelValue:i.darkMode,"onUpdate:modelValue":[t[1]||(t[1]=d=>i.darkMode=d),l.setColorScheme],"toggle-switch":!0,title:n.showLabel?"":l.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"]))],64))],2)}const XC=N(JC,[["render",ZC]]),QC={data(){return{defaultMessageProperties:{"cmduploadform.no_file_to_upload":"No file selected to upload","cmduploadform.no_files_to_upload":"No files selected to upload","cmduploadform.labeltext.select_file":"Select file to upload","cmduploadform.labeltext.select_files":"Select files to upload","cmduploadform.labeltext.remove_file_from_list":"Remove file '{0}' from list","cmduploadform.labeltext.remove_all_files_from_list":"Remove all files from list","cmduploadform.labeltext.file_uploading":"file to upload","cmduploadform.labeltext.files_uploading":"files to upload","cmduploadform.labeltext.comment":"Comment:","cmduploadform.buttontext.upload_file":"Upload file","cmduploadform.buttontext.upload_files":"Upload files","cmduploadform.buttontext.cancel":"Cancel","cmduploadform.placeholder.comment":"Please type in a specific comment","cmduploadform.system_message.found_duplicate_file":"Found duplicate file (not added again)","cmduploadform.system_message.upload_success":"Upload successful","cmduploadform.system_message.upload_failed":"Upload failed","cmduploadform.system_message.fill_required":"Fill all required fields","cmduploadform.system_message.the_following_errors_occurred":"The following errors occurred!","cmduploadform.system_message.an_unknown_error_occurred":"An unknown error occurred!","cmduploadform.system_message.only_one_file_allowed":"Only one file allowed!","cmduploadform.system_message_total_size_of_files_too_large":"Total size of files too large!","cmduploadform.system_message.duplicate_file":'Duplicate file "{0}" found (not added to list again)',"cmduploadform.system_message.not_allowed_file_type":'File "{0}" has not allowed file type ({1})',"cmduploadform.system_message.all_files_are_uploaded_successfully":"All files are uploaded successfully","cmduploadform.system_message.some_files_are_not_uploaded_successfully":"Some files are not uploaded successfully","cmduploadform.system_message.file_size_too_large":'File size of "{0}" too large ({1})',"cmduploadform.headline.summary_of_all_files":"Summary of all files","cmduploadform.headline.list_of_selected_files":"List of selected files","cmduploadform.headline.select_additional_files":"Select additional files","cmduploadform.headline.select_new_file":"Chosen the wrong file? Select a new one","cmduploadform.allowed_file_types":"Allowed file types:","cmduploadform.max_total_upload_size":"Max. total upload size:","cmduploadform.max_file_upload_size":"Max. file upload size:","cmduploadform.or":"or","cmduploadform.drag_and_drop":"drag (and drop)","cmduploadform.additional":"additional","cmduploadform.new":"new","cmduploadform.files_to_this_area":"files to this area","cmduploadform.tooltip.toggle_list_of_allowed_file_types":"Toggle list of allowed file types","cmduploadform.reset_upload":"Reset upload","cmduploadform.tooltip.all_files_will_be_removed":"All files will be remove from upload-list!","cmduploadform.select_image":"Select image","cmduploadform.select_file":"Select file","cmduploadform.drag_and_drop_file_here":"Drag and drop file here","cmduploadform.max_upload_size":"Max. upload size:"}}}};function jl(e,t){return function(){return e.apply(t,arguments)}}const{toString:YC}=Object.prototype,{getPrototypeOf:Lo}=Object,Jt=(e=>t=>{const n=YC.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),le=e=>(e=e.toLowerCase(),t=>Jt(t)===e),Kt=e=>t=>typeof t===e,{isArray:Ke}=Array,lt=Kt("undefined");function $C(e){return e!==null&&!lt(e)&&e.constructor!==null&&!lt(e.constructor)&&ee(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ql=le("ArrayBuffer");function vC(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ql(e.buffer),t}const ew=Kt("string"),ee=Kt("function"),zl=Kt("number"),Zt=e=>e!==null&&typeof e=="object",tw=e=>e===!0||e===!1,Xt=e=>{if(Jt(e)!=="object")return!1;const t=Lo(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},nw=le("Date"),ow=le("File"),rw=le("Blob"),iw=le("FileList"),lw=e=>Zt(e)&&ee(e.pipe),sw=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ee(e.append)&&((t=Jt(e))==="formdata"||t==="object"&&ee(e.toString)&&e.toString()==="[object FormData]"))},aw=le("URLSearchParams"),[cw,dw,mw,uw]=["ReadableStream","Request","Response","Headers"].map(le),fw=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function st(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Ke(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;let a;for(r=0;r<s;r++)a=l[r],t.call(null,e[a],a,e)}}function Hl(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 Ul=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Wl=e=>!lt(e)&&e!==Ul;function Ao(){const{caseless:e}=Wl(this)&&this||{},t={},n=(r,i)=>{const l=e&&Hl(t,i)||i;Xt(t[l])&&Xt(r)?t[l]=Ao(t[l],r):Xt(r)?t[l]=Ao({},r):Ke(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&st(arguments[r],n);return t}const hw=(e,t,n,{allOwnKeys:r}={})=>(st(t,(i,l)=>{n&&ee(i)?e[l]=jl(i,n):e[l]=i},{allOwnKeys:r}),e),pw=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),gw=(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)},yw=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Lo(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},bw=(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},kw=e=>{if(!e)return null;if(Ke(e))return e;let t=e.length;if(!zl(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Cw=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Lo(Uint8Array)),ww=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const l=i.value;t.call(e,l[0],l[1])}},xw=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Bw=le("HTMLFormElement"),_w=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Gl=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ew=le("RegExp"),Jl=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};st(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},Sw=e=>{Jl(e,(t,n)=>{if(ee(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ee(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+"'")})}})},Tw=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return Ke(e)?r(e):r(String(e).split(t)),n},Ow=()=>{},Nw=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Io="abcdefghijklmnopqrstuvwxyz",Kl="0123456789",Zl={DIGIT:Kl,ALPHA:Io,ALPHA_DIGIT:Io+Io.toUpperCase()+Kl},Vw=(e=16,t=Zl.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Fw(e){return!!(e&&ee(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Pw=e=>{const t=new Array(10),n=(r,i)=>{if(Zt(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=Ke(r)?[]:{};return st(r,(s,a)=>{const d=n(s,i+1);!lt(d)&&(l[a]=d)}),t[i]=void 0,l}}return r};return n(e,0)},Lw=le("AsyncFunction"),k={isArray:Ke,isArrayBuffer:ql,isBuffer:$C,isFormData:sw,isArrayBufferView:vC,isString:ew,isNumber:zl,isBoolean:tw,isObject:Zt,isPlainObject:Xt,isReadableStream:cw,isRequest:dw,isResponse:mw,isHeaders:uw,isUndefined:lt,isDate:nw,isFile:ow,isBlob:rw,isRegExp:Ew,isFunction:ee,isStream:lw,isURLSearchParams:aw,isTypedArray:Cw,isFileList:iw,forEach:st,merge:Ao,extend:hw,trim:fw,stripBOM:pw,inherits:gw,toFlatObject:yw,kindOf:Jt,kindOfTest:le,endsWith:bw,toArray:kw,forEachEntry:ww,matchAll:xw,isHTMLForm:Bw,hasOwnProperty:Gl,hasOwnProp:Gl,reduceDescriptors:Jl,freezeMethods:Sw,toObjectSet:Tw,toCamelCase:_w,noop:Ow,toFiniteNumber:Nw,findKey:Hl,global:Ul,isContextDefined:Wl,ALPHABET:Zl,generateString:Vw,isSpecCompliantForm:Fw,toJSONObject:Pw,isAsyncFn:Lw,isThenable:e=>e&&(Zt(e)||ee(e))&&ee(e.then)&&ee(e.catch)};function A(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)}k.inherits(A,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:k.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Xl=A.prototype,Ql={};["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=>{Ql[e]={value:e}}),Object.defineProperties(A,Ql),Object.defineProperty(Xl,"isAxiosError",{value:!0}),A.from=(e,t,n,r,i,l)=>{const s=Object.create(Xl);return k.toFlatObject(e,s,function(d){return d!==Error.prototype},a=>a!=="isAxiosError"),A.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const Aw=null;function Mo(e){return k.isPlainObject(e)||k.isArray(e)}function Yl(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function $l(e,t,n){return e?e.concat(t).map(function(i,l){return i=Yl(i),!n&&l?"["+i+"]":i}).join(n?".":""):t}function Iw(e){return k.isArray(e)&&!e.some(Mo)}const Mw=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function Qt(e,t,n){if(!k.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=k.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,g){return!k.isUndefined(g[y])});const r=n.metaTokens,i=n.visitor||m,l=n.dots,s=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(t);if(!k.isFunction(i))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(k.isDate(h))return h.toISOString();if(!d&&k.isBlob(h))throw new A("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(h)||k.isTypedArray(h)?d&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function m(h,y,g){let B=h;if(h&&!g&&typeof h=="object"){if(k.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(k.isArray(h)&&Iw(h)||(k.isFileList(h)||k.endsWith(y,"[]"))&&(B=k.toArray(h)))return y=Yl(y),B.forEach(function(_,O){!(k.isUndefined(_)||_===null)&&t.append(s===!0?$l([y],O,l):s===null?y:y+"[]",c(_))}),!1}return Mo(h)?!0:(t.append($l(g,y,l),c(h)),!1)}const u=[],p=Object.assign(Mw,{defaultVisitor:m,convertValue:c,isVisitable:Mo});function f(h,y){if(!k.isUndefined(h)){if(u.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));u.push(h),k.forEach(h,function(B,S){(!(k.isUndefined(B)||B===null)&&i.call(t,B,k.isString(S)?S.trim():S,y,p))===!0&&f(B,y?y.concat(S):[S])}),u.pop()}}if(!k.isObject(e))throw new TypeError("data must be an object");return f(e),t}function vl(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Do(e,t){this._pairs=[],e&&Qt(e,this,t)}const es=Do.prototype;es.append=function(t,n){this._pairs.push([t,n])},es.toString=function(t){const n=t?function(r){return t.call(this,r,vl)}:vl;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Dw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ts(e,t,n){if(!t)return e;const r=n&&n.encode||Dw,i=n&&n.serialize;let l;if(i?l=i(t,n):l=k.isURLSearchParams(t)?t.toString():new Do(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class ns{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){k.forEach(this.handlers,function(r){r!==null&&t(r)})}}const os={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Rw={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Do,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Ro=typeof window<"u"&&typeof document<"u",jw=(e=>Ro&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),qw=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",zw=Ro&&window.location.href||"http://localhost",se={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ro,hasStandardBrowserEnv:jw,hasStandardBrowserWebWorkerEnv:qw,origin:zw},Symbol.toStringTag,{value:"Module"})),...Rw};function Hw(e,t){return Qt(e,new se.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return se.isNode&&k.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function Uw(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Ww(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r<i;r++)l=n[r],t[l]=e[l];return t}function rs(e){function t(n,r,i,l){let s=n[l++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),d=l>=n.length;return s=!s&&k.isArray(i)?i.length:s,d?(k.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!k.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&k.isArray(i[s])&&(i[s]=Ww(i[s])),!a)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(r,i)=>{t(Uw(r),i,n,0)}),n}return null}function Gw(e,t,n){if(k.isString(e))try{return(t||JSON.parse)(e),k.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const at={transitional:os,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,l=k.isObject(t);if(l&&k.isHTMLForm(t)&&(t=new FormData(t)),k.isFormData(t))return i?JSON.stringify(rs(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t)||k.isReadableStream(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Hw(t,this.formSerializer).toString();if((a=k.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Qt(a?{"files[]":t}:t,d&&new d,this.formSerializer)}}return l||i?(n.setContentType("application/json",!1),Gw(t)):t}],transformResponse:[function(t){const n=this.transitional||at.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(k.isResponse(t)||k.isReadableStream(t))return t;if(t&&k.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?A.from(a,A.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:se.classes.FormData,Blob:se.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch"],e=>{at.headers[e]={}});const Jw=k.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"]),Kw=e=>{const t={};let n,r,i;return e&&e.split(`
5
- `).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&Jw[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},is=Symbol("internals");function ct(e){return e&&String(e).trim().toLowerCase()}function Yt(e){return e===!1||e==null?e:k.isArray(e)?e.map(Yt):String(e)}function Zw(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Xw=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function jo(e,t,n,r,i){if(k.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!k.isString(t)){if(k.isString(r))return t.indexOf(r)!==-1;if(k.isRegExp(r))return r.test(t)}}function Qw(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Yw(e,t){const n=k.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,s){return this[r].call(this,t,i,l,s)},configurable:!0})})}class Q{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(a,d,c){const m=ct(d);if(!m)throw new Error("header name must be a non-empty string");const u=k.findKey(i,m);(!u||i[u]===void 0||c===!0||c===void 0&&i[u]!==!1)&&(i[u||d]=Yt(a))}const s=(a,d)=>k.forEach(a,(c,m)=>l(c,m,d));if(k.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(k.isString(t)&&(t=t.trim())&&!Xw(t))s(Kw(t),n);else if(k.isHeaders(t))for(const[a,d]of t.entries())l(d,a,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=ct(t),t){const r=k.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return Zw(i);if(k.isFunction(n))return n.call(this,i,r);if(k.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ct(t),t){const r=k.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||jo(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(s){if(s=ct(s),s){const a=k.findKey(r,s);a&&(!n||jo(r,r[a],a,n))&&(delete r[a],i=!0)}}return k.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||jo(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return k.forEach(this,(i,l)=>{const s=k.findKey(r,l);if(s){n[s]=Yt(i),delete n[l];return}const a=t?Qw(l):String(l).trim();a!==l&&delete n[l],n[a]=Yt(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return k.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&k.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
6
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[is]=this[is]={accessors:{}}).accessors,i=this.prototype;function l(s){const a=ct(s);r[a]||(Yw(i,s),r[a]=!0)}return k.isArray(t)?t.forEach(l):l(t),this}}Q.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),k.reduceDescriptors(Q.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),k.freezeMethods(Q);function qo(e,t){const n=this||at,r=t||n,i=Q.from(r.headers);let l=r.data;return k.forEach(e,function(a){l=a.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function ls(e){return!!(e&&e.__CANCEL__)}function Ze(e,t,n){A.call(this,e??"canceled",A.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(Ze,A,{__CANCEL__:!0});function ss(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new A("Request failed with status code "+n.status,[A.ERR_BAD_REQUEST,A.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function $w(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function vw(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),m=r[l];s||(s=c),n[i]=d,r[i]=c;let u=l,p=0;for(;u!==i;)p+=n[u++],u=u%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),c-s<t)return;const f=m&&c-m;return f?Math.round(p*1e3/f):void 0}}function ex(e,t){let n=0;const r=1e3/t;let i=null;return function(){const s=this===!0,a=Date.now();if(s||a-n>r)return i&&(clearTimeout(i),i=null),n=a,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(a-n)))}}const $t=(e,t,n=3)=>{let r=0;const i=vw(50,250);return ex(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,d=s-r,c=i(d),m=s<=a;r=s;const u={loaded:s,total:a,progress:a?s/a:void 0,bytes:d,rate:c||void 0,estimated:c&&a&&m?(a-s)/c:void 0,event:l,lengthComputable:a!=null};u[t?"download":"upload"]=!0,e(u)},n)},tx=se.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(l){let s=l;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=k.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),nx=se.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];k.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),k.isString(r)&&s.push("path="+r),k.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ox(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function rx(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function as(e,t){return e&&!ox(t)?rx(e,t):t}const cs=e=>e instanceof Q?{...e}:e;function Pe(e,t){t=t||{};const n={};function r(c,m,u){return k.isPlainObject(c)&&k.isPlainObject(m)?k.merge.call({caseless:u},c,m):k.isPlainObject(m)?k.merge({},m):k.isArray(m)?m.slice():m}function i(c,m,u){if(k.isUndefined(m)){if(!k.isUndefined(c))return r(void 0,c,u)}else return r(c,m,u)}function l(c,m){if(!k.isUndefined(m))return r(void 0,m)}function s(c,m){if(k.isUndefined(m)){if(!k.isUndefined(c))return r(void 0,c)}else return r(void 0,m)}function a(c,m,u){if(u in t)return r(c,m);if(u in e)return r(void 0,c)}const d={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,m)=>i(cs(c),cs(m),!0)};return k.forEach(Object.keys(Object.assign({},e,t)),function(m){const u=d[m]||i,p=u(e[m],t[m],m);k.isUndefined(p)&&u!==a||(n[m]=p)}),n}const ds=e=>{const t=Pe({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=Q.from(s),t.url=ts(as(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let d;if(k.isFormData(n)){if(se.hasStandardBrowserEnv||se.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((d=s.getContentType())!==!1){const[c,...m]=d?d.split(";").map(u=>u.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...m].join("; "))}}if(se.hasStandardBrowserEnv&&(r&&k.isFunction(r)&&(r=r(t)),r||r!==!1&&tx(t.url))){const c=i&&l&&nx.read(l);c&&s.set(i,c)}return t},ix=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const i=ds(e);let l=i.data;const s=Q.from(i.headers).normalize();let{responseType:a}=i,d;function c(){i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let m=new XMLHttpRequest;m.open(i.method.toUpperCase(),i.url,!0),m.timeout=i.timeout;function u(){if(!m)return;const f=Q.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),y={data:!a||a==="text"||a==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:f,config:e,request:m};ss(function(B){n(B),c()},function(B){r(B),c()},y),m=null}"onloadend"in m?m.onloadend=u:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(u)},m.onabort=function(){m&&(r(new A("Request aborted",A.ECONNABORTED,i,m)),m=null)},m.onerror=function(){r(new A("Network Error",A.ERR_NETWORK,i,m)),m=null},m.ontimeout=function(){let h=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const y=i.transitional||os;i.timeoutErrorMessage&&(h=i.timeoutErrorMessage),r(new A(h,y.clarifyTimeoutError?A.ETIMEDOUT:A.ECONNABORTED,i,m)),m=null},l===void 0&&s.setContentType(null),"setRequestHeader"in m&&k.forEach(s.toJSON(),function(h,y){m.setRequestHeader(y,h)}),k.isUndefined(i.withCredentials)||(m.withCredentials=!!i.withCredentials),a&&a!=="json"&&(m.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&m.addEventListener("progress",$t(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",$t(i.onUploadProgress)),(i.cancelToken||i.signal)&&(d=f=>{m&&(r(!f||f.type?new Ze(null,e,m):f),m.abort(),m=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const p=$w(i.url);if(p&&se.protocols.indexOf(p)===-1){r(new A("Unsupported protocol "+p+":",A.ERR_BAD_REQUEST,e));return}m.send(l||null)})},lx=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,s();const c=d instanceof Error?d:this.reason;n.abort(c instanceof A?c:new Ze(c instanceof Error?c.message:c))}};let l=t&&setTimeout(()=>{i(new A(`timeout ${t} of ms exceeded`,A.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:a}=n;return a.unsubscribe=s,[a,()=>{l&&clearTimeout(l),l=null}]},sx=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},ax=async function*(e,t,n){for await(const r of e)yield*sx(ArrayBuffer.isView(r)?r:await n(String(r)),t)},ms=(e,t,n,r,i)=>{const l=ax(e,t,i);let s=0;return new ReadableStream({type:"bytes",async pull(a){const{done:d,value:c}=await l.next();if(d){a.close(),r();return}let m=c.byteLength;n&&n(s+=m),a.enqueue(new Uint8Array(c))},cancel(a){return r(a),l.return()}},{highWaterMark:2})},us=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},vt=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",fs=vt&&typeof ReadableStream=="function",zo=vt&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),cx=fs&&(()=>{let e=!1;const t=new Request(se.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),hs=64*1024,Ho=fs&&!!(()=>{try{return k.isReadableStream(new Response("").body)}catch{}})(),en={stream:Ho&&(e=>e.body)};vt&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!en[t]&&(en[t]=k.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new A(`Response type '${t}' is not supported`,A.ERR_NOT_SUPPORT,r)})})})(new Response);const dx=async e=>{if(e==null)return 0;if(k.isBlob(e))return e.size;if(k.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(k.isArrayBufferView(e))return e.byteLength;if(k.isURLSearchParams(e)&&(e=e+""),k.isString(e))return(await zo(e)).byteLength},mx=async(e,t)=>{const n=k.toFiniteNumber(e.getContentLength());return n??dx(t)},Uo={http:Aw,xhr:ix,fetch:vt&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:d,responseType:c,headers:m,withCredentials:u="same-origin",fetchOptions:p}=ds(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||l||s?lx([i,l],s):[],y,g;const B=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let S;try{if(d&&cx&&n!=="get"&&n!=="head"&&(S=await mx(m,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),E;k.isFormData(r)&&(E=b.headers.get("content-type"))&&m.setContentType(E),b.body&&(r=ms(b.body,hs,us(S,$t(d)),null,zo))}k.isString(u)||(u=u?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:"half",withCredentials:u});let _=await fetch(g);const O=Ho&&(c==="stream"||c==="response");if(Ho&&(a||O)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=_[F]});const E=k.toFiniteNumber(_.headers.get("content-length"));_=new Response(ms(_.body,hs,a&&us(E,$t(a,!0)),O&&B,zo),b)}c=c||"text";let P=await en[k.findKey(en,c)||"text"](_,e);return!O&&B(),h&&h(),await new Promise((b,E)=>{ss(b,E,{data:P,headers:Q.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:g})})}catch(_){throw B(),_&&_.name==="TypeError"&&/fetch/i.test(_.message)?Object.assign(new A("Network Error",A.ERR_NETWORK,e,g),{cause:_.cause||_}):A.from(_,_&&_.code,e,g)}})};k.forEach(Uo,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ps=e=>`- ${e}`,ux=e=>k.isFunction(e)||e===null||e===!1,gs={getAdapter:e=>{e=k.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l<t;l++){n=e[l];let s;if(r=n,!ux(n)&&(r=Uo[(s=String(n)).toLowerCase()],r===void 0))throw new A(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+l]=r}if(!r){const l=Object.entries(i).map(([a,d])=>`adapter ${a} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since :
7
- `+l.map(ps).join(`
8
- `):" "+ps(l[0]):"as no adapter specified";throw new A("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Uo};function Wo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ze(null,e)}function ys(e){return Wo(e),e.headers=Q.from(e.headers),e.data=qo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),gs.getAdapter(e.adapter||at.adapter)(e).then(function(r){return Wo(e),r.data=qo.call(e,e.transformResponse,r),r.headers=Q.from(r.headers),r},function(r){return ls(r)||(Wo(e),r&&r.response&&(r.response.data=qo.call(e,e.transformResponse,r.response),r.response.headers=Q.from(r.response.headers))),Promise.reject(r)})}const bs="1.7.2",Go={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Go[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ks={};Go.transitional=function(t,n,r){function i(l,s){return"[Axios v"+bs+"] Transitional option '"+l+"'"+s+(r?". "+r:"")}return(l,s,a)=>{if(t===!1)throw new A(i(s," has been removed"+(n?" in "+n:"")),A.ERR_DEPRECATED);return n&&!ks[s]&&(ks[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,s,a):!0}};function fx(e,t,n){if(typeof e!="object")throw new A("options must be an object",A.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],s=t[l];if(s){const a=e[l],d=a===void 0||s(a,l,e);if(d!==!0)throw new A("option "+l+" must be "+d,A.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new A("Unknown option "+l,A.ERR_BAD_OPTION)}}const Jo={assertOptions:fx,validators:Go},Ee=Jo.validators;class Le{constructor(t){this.defaults=t,this.interceptors={request:new ns,response:new ns}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=`
9
- `+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Pe(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&Jo.assertOptions(r,{silentJSONParsing:Ee.transitional(Ee.boolean),forcedJSONParsing:Ee.transitional(Ee.boolean),clarifyTimeoutError:Ee.transitional(Ee.boolean)},!1),i!=null&&(k.isFunction(i)?n.paramsSerializer={serialize:i}:Jo.assertOptions(i,{encode:Ee.function,serialize:Ee.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&k.merge(l.common,l[n.method]);l&&k.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),n.headers=Q.concat(s,l);const a=[];let d=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(d=d&&y.synchronous,a.unshift(y.fulfilled,y.rejected))});const c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let m,u=0,p;if(!d){const h=[ys.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),p=h.length,m=Promise.resolve(n);u<p;)m=m.then(h[u++],h[u++]);return m}p=a.length;let f=n;for(u=0;u<p;){const h=a[u++],y=a[u++];try{f=h(f)}catch(g){y.call(this,g);break}}try{m=ys.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,p=c.length;u<p;)m=m.then(c[u++],c[u++]);return m}getUri(t){t=Pe(this.defaults,t);const n=as(t.baseURL,t.url);return ts(n,t.params,t.paramsSerializer)}}k.forEach(["delete","get","head","options"],function(t){Le.prototype[t]=function(n,r){return this.request(Pe(r||{},{method:t,url:n,data:(r||{}).data}))}}),k.forEach(["post","put","patch"],function(t){function n(r){return function(l,s,a){return this.request(Pe(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:l,data:s}))}}Le.prototype[t]=n(),Le.prototype[t+"Form"]=n(!0)});class Ko{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(l){n=l});const r=this;this.promise.then(i=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(l,s,a){r.reason||(r.reason=new Ze(l,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Ko(function(i){t=i}),cancel:t}}}function hx(e){return function(n){return e.apply(null,n)}}function px(e){return k.isObject(e)&&e.isAxiosError===!0}const Zo={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Zo).forEach(([e,t])=>{Zo[t]=e});function Cs(e){const t=new Le(e),n=jl(Le.prototype.request,t);return k.extend(n,Le.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Cs(Pe(e,i))},n}const H=Cs(at);H.Axios=Le,H.CanceledError=Ze,H.CancelToken=Ko,H.isCancel=ls,H.VERSION=bs,H.toFormData=Qt,H.AxiosError=A,H.Cancel=H.CanceledError,H.all=function(t){return Promise.all(t)},H.spread=hx,H.isAxiosError=px,H.mergeConfig=Pe,H.AxiosHeaders=Q,H.formToJSON=e=>rs(k.isHTMLForm(e)?new FormData(e):e),H.getAdapter=gs.getAdapter,H.HttpStatusCode=Zo,H.default=H;const gx={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[X,QC],data(){return{comment:"",allowDrop:!1,listOfFiles:[],systemMessages:[],defaultSystemMessageStatus:"",showListOfFileExtensions:!1,resetForm:{},uploadInitiated:!1,errors:{}}},created(){this.resetForm.comment=this.presetComment,this.resetForm.allowDrop=this.allowDrop,this.resetForm.listOfFiles=JSON.parse(JSON.stringify(this.listOfFiles)),this.resetForm.systemMessages=this.systemMessages,this.resetForm.systemMessageStatus=this.systemMessageStatus},props:{useTransition:{type:Boolean,default:!0},showTotalUpload:{type:Boolean,default:!0},componentHandlesUpload:{type:Boolean,default:!0},allowedFileExtensions:{type:Array,required:!0},commentRequired:{type:Boolean,default:!0},commentStatusMessage:{type:String,default:""},enableDragAndDrop:{type:Boolean,default:!1},enableComment:{type:Boolean,default:!0},presetComment:{type:String,default:""},maxTotalUploadSize:{type:Number,default:5242880},maxFileUploadSize:{type:Number,default:10485760},allowMultipleFileUploads:{type:Boolean,default:!1},uploadOptions:{type:Object,required:!1},advancedMode:{type:Boolean,default:!0},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},iconDelete:{type:Object,default(){return{iconClass:"icon-delete",iconType:"auto"}}},iconFileUpload:{type:Object,default(){return{iconClass:"icon-file-upload",iconType:"auto"}}},iconFile:{type:Object,default(){return{iconClass:"icon-file",iconType:"auto"}}},iconInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},iconVisible:{type:Object,default(){return{iconClass:"icon-visible",iconType:"auto"}}},iconImage:{type:Object,default(){return{iconClass:"icon-image",iconType:"auto"}}},iconUpload:{type:Object,default(){return{iconClass:"icon-upload",iconType:"auto"}}},iconDragAndDrop:{type:Object,default(){return{iconClass:"icon-drag-and-drop",iconType:"auto"}}},iconCancel:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}},cmdHeadlineFieldset:{type:Object,required:!1},cmdHeadlineNoFilesToUpload:{type:Object,required:!1},cmdHeadlineNoFileToUpload:{type:Object,required:!1},cmdHeadlineSummaryOfAllFiles:{type:Object,required:!1},cmdHeadlineListOfSelectedFiles:{type:Object,required:!1},cmdHeadlineSelectAdditionalFiles:{type:Object,required:!1},cmdHeadlineSelectNewFile:{type:Object,required:!1}},computed:{headlineTextNoFilesToUpload(){return this.allowMultipleFileUploads?this.getMessage("cmduploadform.no_files_to_upload"):this.this.getMessage("cmduploadform.no_file_to_upload")},fileTypeImage(){return this.allowedFileExtensions.some(e=>e.includes("jpg"))},failedUpload(){return this.listOfFiles.some(e=>e.error)},totalBytesUploaded(){const e=this.listOfFiles.map(t=>[t.file.size,(t.progress||0)*t.file.size/100]).reduce((t,n)=>[t[0]+n[0],t[1]+n[1]]);return this.formatSize(e[1])+"/"+this.formatSize(e[0])},totalSize(){let e=0;for(let t=0;t<this.listOfFiles.length;t++)e=e+this.listOfFiles[t].file.size;return e},allSystemMessages(){return this.maxTotalUploadSize>0&&this.totalSize>this.maxTotalUploadSize?[this.getMessage("cmduploadform.system_message_total_size_of_files_too_large"),...this.systemMessages]:this.systemMessages},systemMessageStatus(){return this.defaultSystemMessageStatus||(this.allSystemMessages.length?"error":"")},dragAndDropHandler(){return this.enableDragAndDrop?{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}:{}},totalUploadProgress(){const e=this.listOfFiles.map(t=>[t.file.size,(t.progress||0)*t.file.size/100]).reduce((t,n)=>[t[0]+n[0],t[1]+n[1]]);return e[1]/e[0]*100}},watch:{presetComment:{handler(e){this.comment=e},immediate:!0}},methods:{getPercentage(e){return e?e.toFixed(2)+"%":"0.00%"},getFileExtension(e){return We(e)},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},dragEnter(e){this.dragOver(e)},dragOver(e){if(e.dataTransfer&&e.dataTransfer.items&&e.dataTransfer.items.length>0){e.dataTransfer.dropEffect="none";let t=!0;for(let n=0,r=e.dataTransfer.items.length;n<r;++n)if(e.dataTransfer.items[n].kind!=="file"){t=!1;break}t&&(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(),this.checkFiles(e.dataTransfer.files))},cancelUpload(){this.listOfFiles.forEach(e=>{e.abortController&&e.abortController.abort()}),this.errors={},this.listOfFiles=[],this.hideAllSystemMessages(),this.uploadInitiated=!1},cancel(){this.cancelUpload(),this.$emit("click","cancel")},filesSelected(e){this.checkFiles(e.target.files)},checkFiles(e){if(e.length){this.defaultSystemMessageStatus="",this.systemMessages=[],this.errors={};for(let t=0;t<e.length;t++){const n={file:e[t],progress:null,uploadedBytes:0};if(e[t].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.file_size_too_large",e[t].name,e[t].size));continue}if(!this.allowedFileExtensions.includes(We(e[t].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.not_allowed_file_type",e[t].name,We(e[t].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(r=>this.compareFiles(r.file,e[t]))){this.systemMessages.push(this.getMessage("cmduploadform.system_message.duplicate_file",e[t].name,We(e[t].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(n);else{e.length>1&&this.systemMessages.push(this.getMessage("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[n];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(e,t){return e.name===t.name&&e.lastModified===t.lastModified&&e.size===t.size},removeFile(e){this.listOfFiles.splice(e,1),this.listOfFiles.length||(this.uploadInitiated=!1),this.hideAllSystemMessages()},hideAllSystemMessages(){this.listOfFiles.length||(this.systemMessages=[])},formatSize(e){return e<1024?e:e<1048576?e=Math.round(e/1024*100)/100+" KB":e=Math.round(e/1048576*100)/100+" MB"},uploadFiles(){if(this.systemMessages=[],this.errors={},this.defaultSystemMessageStatus="",this.enableComment&&!this.comment&&this.commentRequired&&this.commentStatusMessage)this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.fill_required"));else if(this.uploadInitiated=!0,this.componentHandlesUpload&&this.uploadOptions&&this.uploadOptions.url){const e=new URL(this.uploadOptions.url,location.href),t=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([r,i])=>t.append(r,i)),this.enableComment&&t.append("comment",this.comment);const n=[];this.listOfFiles.forEach(r=>{n.push(this.uploadSingleFile(e,r,t))}),Promise.allSettled(n).then(r=>{const i=r.filter(l=>l.status==="rejected");this.uploadInitiated=!1,i.length?(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.some_files_are_not_uploaded_successfully"))):(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.all_files_are_uploaded_successfully"))),this.$emit("upload-complete",{success:!i.length})})}else{let e={};e.listOfFiles=this.listOfFiles,e.type="upload",e.comment=this.comment,this.$emit("click",e,this.showMessage)}},onUploadProgress(e,t){e.lengthComputable?(t.progress=e.loaded/e.total*100,t.uploadedBytes=e.loaded):(t.progress=null,t.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(e,t,n){return t.abortController=new AbortController,n.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",t.file),H.post(e,n,{signal:t.abortController.signal,onUploadProgress:r=>this.onUploadProgress(r,t)}).then(r=>(this.$emit("upload-file-success",t),r)).then(r=>{const i=this.listOfFiles.indexOf(t);return i!==-1&&this.listOfFiles.splice(i,1),r}).catch(r=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(r),t.error=!0,new Error})},showMessage(e){e===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_success"))):e===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const e=Object.keys(this.resetForm);for(let t of e)typeof this.resetForm[t]=="object"?this[t]=JSON.parse(JSON.stringify(this.resetForm[t])):this[t]=this.resetForm[t]}}}},yx={key:0},bx={key:1,class:"flex-container vertical"},kx={key:0,class:"flex-container vertical list-files-wrapper"},Cx={key:0,class:"list-of-files total-files"},wx={class:"flex-container no-flex"},xx=["title"],Bx={key:0,class:"progressbar"},_x=["value","title"],Ex=o.createElementVNode("hr",null,null,-1),Sx={class:"flex-container vertical list-files-wrapper"},Tx={class:"list-of-files"},Ox=["title","onClick"],Nx={key:0,class:"progressbar"},Vx=["value","title"],Fx=["title"],Px=o.createElementVNode("hr",null,null,-1),Lx={class:"upload-conditions"},Ax={class:"small"},Ix=["title"],Mx={key:0,class:"list-of-file-extensions"},Dx={class:"flex-container vertical no-gap"},Rx=["disabled"],jx={key:0},qx={key:1},zx={class:"button-wrapper no-flex"},Hx=["disabled"],Ux={key:0},Wx={key:1},Gx={key:0,class:"progressbar"},Jx=["value","title"];function Kx(e,t,n,r,i,l){const s=z,a=Po,d=j,c=J;return o.openBlock(),o.createElementBlock(o.Fragment,null,[n.advancedMode?(o.openBlock(),o.createElementBlock("fieldset",{key:0,class:o.normalizeClass(["cmd-upload-form flex-container",{"upload-initiated":i.uploadInitiated}])},[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),n.cmdHeadlineFieldset?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineFieldset)),null,16)):o.createCommentVNode("",!0),l.systemMessageStatus&&l.allSystemMessages.length?(o.openBlock(),o.createBlock(a,{key:1,iconClose:{show:!1},validationStatus:l.systemMessageStatus,systemMessage:l.allSystemMessages.length===1?l.allSystemMessages[0]:e.getMessage("cmduploadform.system_message.the_following_errors_occurred")},{default:o.withCtx(()=>[l.allSystemMessages.length>1?(o.openBlock(),o.createElementBlock("ul",yx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.allSystemMessages,(m,u)=>(o.openBlock(),o.createElementBlock("li",{key:u},o.toDisplayString(m),1))),128))])):o.createCommentVNode("",!0)]),_:1},8,["validationStatus","systemMessage"])):o.createCommentVNode("",!0),o.createElementVNode("div",o.mergeProps({class:["box flex-container vertical",{"drop-area":n.enableDragAndDrop,"allow-drop":i.allowDrop}]},o.toHandlers(l.dragAndDropHandler,!0)),[i.listOfFiles.length?(o.openBlock(),o.createElementBlock("div",bx,[n.showTotalUpload&&i.listOfFiles.length!==1?(o.openBlock(),o.createElementBlock("div",kx,[o.createVNode(s,o.mergeProps(n.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),n.showTotalUpload&&i.listOfFiles.length!==1?(o.openBlock(),o.createElementBlock("ul",Cx,[o.createElementVNode("li",wx,[o.createElementVNode("a",{href:"#",title:e.getMessage("cmduploadform.labeltext.remove_all_files_from_list"),onClick:t[0]||(t[0]=o.withModifiers((...m)=>l.cancelUpload&&l.cancelUpload(...m),["prevent"]))},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconDelete)),null,16)],8,xx),o.createElementVNode("span",null,[o.createTextVNode(o.toDisplayString(i.listOfFiles.length)+" ",1),n.allowMultipleFileUploads?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.labeltext.files_uploading")),1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.labeltext.file_uploading")),1)],64))]),o.createElementVNode("small",{class:o.normalizeClass(["text-align-right",{error:n.maxTotalUploadSize>0&&l.totalSize>n.maxTotalUploadSize}])}," ("+o.toDisplayString(l.formatSize(l.totalSize))+") ",3),i.uploadInitiated?(o.openBlock(),o.createElementBlock("span",Bx,[o.createElementVNode("span",null,o.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),o.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,_x)])):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0),Ex])):o.createCommentVNode("",!0),o.createElementVNode("div",Sx,[o.createVNode(s,o.mergeProps(n.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.headline.list_of_selected_files")),1)]),_:1},16),o.createElementVNode("ul",Tx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.listOfFiles,(m,u)=>(o.openBlock(),o.createElementBlock("li",{key:u,class:"flex-container no-flex"},[o.createElementVNode("a",{href:"#",title:e.getMessage("cmduploadform.labeltext.remove_file_from_list",m.file.name),onClick:o.withModifiers(p=>l.removeFile(u),["prevent"])},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconDelete)),null,16)],8,Ox),o.createElementVNode("span",{class:o.normalizeClass(["text-align-right",m.allowedType?"allowed":"not-allowed",{error:m.error}])},[o.createTextVNode(o.toDisplayString(m.file.name)+" ",1),o.createElementVNode("small",null,"("+o.toDisplayString(l.formatSize(m.file.size))+")",1)],2),i.uploadInitiated&&!m.error?(o.openBlock(),o.createElementBlock("span",Nx,[o.createElementVNode("span",null,o.toDisplayString(l.getPercentage(m.progress)),1),o.createElementVNode("progress",{max:"100",value:m.progress,title:l.formatSize(m.uploadedBytes)+"/"+l.formatSize(m.file.size)},null,8,Vx)])):o.createCommentVNode("",!0)]))),128))]),l.failedUpload?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[1]||(t[1]=o.withModifiers((...m)=>l.cancel&&l.cancel(...m),["prevent"])),title:e.getMessage("cmduploadform.all_files_will_be_removed")},o.toDisplayString(e.getMessage("cmduploadform.reset_upload")),9,Fx)):o.createCommentVNode("",!0),Px])])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.allowMultipleFileUploads?(o.openBlock(),o.createBlock(s,o.mergeProps({key:0},n.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(l.headlineTextNoFilesToUpload),1)]),_:1},16)):o.createCommentVNode("",!0)],64)),o.createElementVNode("div",Lx,[n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createBlock(s,o.mergeProps({key:0},n.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.headline.select_additional_files")),1)]),_:1},16)):o.createCommentVNode("",!0),!n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createBlock(s,o.mergeProps({key:1},n.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.headline.select_new_file")),1)]),_:1},16)):o.createCommentVNode("",!0),o.createElementVNode("dl",Ax,[n.maxTotalUploadSize>0?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("dt",{class:o.normalizeClass({error:l.totalSize>n.maxTotalUploadSize})},o.toDisplayString(e.getMessage("cmduploadform.max_total_upload_size")),3),o.createElementVNode("dd",{class:o.normalizeClass(["text-align-right",{error:l.totalSize>n.maxTotalUploadSize}])},o.toDisplayString(l.formatSize(n.maxTotalUploadSize)),3)],64)):o.createCommentVNode("",!0),o.createElementVNode("dt",{class:o.normalizeClass({error:i.errors.fileSize})},o.toDisplayString(e.getMessage("cmduploadform.max_file_upload_size")),3),o.createElementVNode("dd",{class:o.normalizeClass(["text-align-right",{error:i.errors.fileSize}])},o.toDisplayString(l.formatSize(n.maxFileUploadSize)),3),o.createElementVNode("dt",{class:o.normalizeClass({error:i.errors.fileType})},o.toDisplayString(e.getMessage("cmduploadform.allowed_file_types")),3),o.createElementVNode("dd",null,[o.createElementVNode("a",{href:"#",onClick:t[2]||(t[2]=o.withModifiers(m=>i.showListOfFileExtensions=!i.showListOfFileExtensions,["prevent"])),title:e.getMessage("cmduploadform.tooltip.toggle_list_of_allowed_file_types")},[o.createVNode(d,{iconClass:i.showListOfFileExtensions?n.iconInvisible.iconClass:n.iconVisible.iconClass,type:i.showListOfFileExtensions?n.iconInvisible.iconType:n.iconVisible.iconType},null,8,["iconClass","type"])],8,Ix),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[i.showListOfFileExtensions?(o.openBlock(),o.createElementBlock("ul",Mx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.allowedFileExtensions,(m,u)=>(o.openBlock(),o.createElementBlock("li",{key:u,class:o.normalizeClass({error:i.errors.fileType})},o.toDisplayString(m),3))),128))])):o.createCommentVNode("",!0)]),_:1},8,["name"])])])]),o.createElementVNode("div",Dx,[o.createElementVNode("button",{type:"button",class:o.normalizeClass(["button upload primary",{disabled:i.uploadInitiated}]),disabled:i.uploadInitiated,onClick:t[3]||(t[3]=m=>l.selectFiles())},[o.createVNode(d,{iconClass:n.iconFileUpload.iconClass,type:n.iconFileUpload.iconType},null,8,["iconClass","type"]),n.allowMultipleFileUploads?(o.openBlock(),o.createElementBlock("span",jx,o.toDisplayString(e.getMessage("cmduploadform.labeltext.select_files")),1)):(o.openBlock(),o.createElementBlock("span",qx,o.toDisplayString(e.getMessage("cmduploadform.labeltext.select_file")),1))],10,Rx),n.enableDragAndDrop?(o.openBlock(),o.createElementBlock("p",{key:0,class:o.normalizeClass(["text-drag-and-drop",{disabled:i.uploadInitiated}])},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("cmduploadform.or")),1),o.createElementVNode("strong",null,[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.drag_and_drop"))+" ",1),n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.additional")),1)],64)):o.createCommentVNode("",!0),!n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.new")),1)],64)):o.createCommentVNode("",!0),o.createTextVNode(" "+o.toDisplayString(e.getMessage("cmduploadform.files_to_this_area")),1)])],2)):o.createCommentVNode("",!0)])],16),n.enableComment?(o.openBlock(),o.createBlock(c,{key:2,element:"textarea",labelText:e.getMessage("cmduploadform.labeltext.comment"),modelValue:i.comment,"onUpdate:modelValue":t[4]||(t[4]=m=>i.comment=m),required:n.commentRequired,validationMessage:n.commentStatusMessage,placeholder:e.getMessage("cmduploadform.placeholder.comment"),status:n.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):o.createCommentVNode("",!0),o.createElementVNode("div",zx,[o.createElementVNode("button",{class:o.normalizeClass(["button primary",{disabled:i.listOfFiles.length===0||n.maxTotalUploadSize>0&&l.totalSize>n.maxTotalUploadSize||i.uploadInitiated}]),disabled:i.listOfFiles.length===0||n.maxTotalUploadSize>0&&l.totalSize>n.maxTotalUploadSize||i.uploadInitiated,onClick:t[5]||(t[5]=(...m)=>l.uploadFiles&&l.uploadFiles(...m))},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconUpload)),null,16),i.listOfFiles.length===1||!n.allowMultipleFileUploads?(o.openBlock(),o.createElementBlock("span",Ux,o.toDisplayString(e.getMessage("cmduploadform.buttontext.upload_file")),1)):(o.openBlock(),o.createElementBlock("span",Wx,o.toDisplayString(e.getMessage("cmduploadform.buttontext.upload_files")),1))],10,Hx),o.createElementVNode("button",{class:o.normalizeClass(["button",{disabled:i.listOfFiles.length===0}]),onClick:t[6]||(t[6]=(...m)=>l.cancel&&l.cancel(...m))},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconCancel)),null,16),o.createElementVNode("span",null,o.toDisplayString(e.getMessage("cmduploadform.buttontext.cancel")),1)],2)])],2)):(o.openBlock(),o.createElementBlock("a",o.mergeProps({key:1,href:"#",onClick:t[7]||(t[7]=o.withModifiers((...m)=>l.selectFiles&&l.selectFiles(...m),["prevent"])),class:["cmd-upload-form box",{"drop-area":n.enableDragAndDrop,"allow-drop":i.allowDrop}]},o.toHandlers(l.dragAndDropHandler,!0)),[i.uploadInitiated?(o.openBlock(),o.createElementBlock("span",Gx,[o.createElementVNode("span",null,o.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),o.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,Jx)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[n.enableDragAndDrop?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("cmduploadform.drag_and_drop_file_here")),1),o.createVNode(d,{iconClass:n.iconDragAndDrop.iconClass,type:n.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[l.fileTypeImage?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("cmduploadform.select_image")),1),o.createVNode(d,{iconClass:n.iconImage.iconClass,type:n.iconImage.iconType},null,8,["iconClass","type"])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("cmduploadform.select_file")),1),o.createVNode(d,{iconClass:n.iconFileUpload.iconClass,type:n.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)),o.createElementVNode("small",null,o.toDisplayString(e.getMessage("cmduploadform.max_upload_size"))+" "+o.toDisplayString(l.formatSize(n.maxFileUploadSize)),1),o.createElementVNode("small",null,o.toDisplayString(e.getMessage("cmduploadform.allowed_file_types"))+" "+o.toDisplayString(n.allowedFileExtensions),1)])],16)),o.createVNode(c,{element:"input",type:"file",labelText:e.getMessage("cmduploadform.labeltext.select_files"),disabled:i.uploadInitiated,multiple:n.allowMultipleFileUploads,onChange:l.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const Zx=N(gx,[["render",Kx]]),Xx={name:"CmdWidthLimitationWrapper",props:{containerType:{type:String,default:"flex"},innerComponent:{type:String,default:"section",validator(e){return e}},useInnerSection:{type:Boolean,default:!0},useFullDeviceWidth:{type:Boolean,default:!1},sticky:{type:Boolean,default:!1},anchorId:{type:String,required:!1},contentOrientation:{type:String,default:"vertical",validator(e){return e==="horizontal"||e==="vertical"}},cmdHeadline:{type:Object,required:!1}},computed:{setInnerClass(){if(this.useFullDeviceWidth)return"full-width";if(this.innerComponent==="header")return"grid-container-create-columns";if(this.innerComponent==="footer")return"flex-container";if(this.containerType==="grid")return"grid-container-create-columns";if(this.containerType==="flex"){if(this.contentOrientation==="horizontal")return"flex-container";if(this.contentOrientation==="vertical")return"flex-container vertical"}return""}},methods:{oneSlotItem(){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}}},Qx=["id"],Yx=["id"];function $x(e,t,n,r,i,l){const s=z;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-width-limitation-wrapper",{sticky:n.sticky}]),ref:"width-limitation-wrapper"},[n.useInnerSection?(o.openBlock(),o.createElementBlock("section",{key:0,class:o.normalizeClass(l.setInnerClass),id:n.anchorId},[n.cmdHeadline?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),l.oneSlotItem()?o.renderSlot(e.$slots,"default",{key:1}):(o.openBlock(),o.createElementBlock("div",{key:2,class:o.normalizeClass(l.setInnerClass)},[o.renderSlot(e.$slots,"default")],2))],10,Qx)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.anchorId?(o.openBlock(),o.createElementBlock("a",{key:0,id:n.anchorId},null,8,Yx)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64))],2)}const vx=N(Xx,[["render",$x]]),eB={name:"ContactInformation",props:{cmdBasicForm:{type:Object,default:null},cmdAddressData:{type:Object,default:null},cmdGoogleMaps:{type:Object,default:null}},computed:{contactFormOnly(){return!(this.cmdAddressData||this.cmdGoogleMaps||!this.isSlotEmpty)},isSlotEmpty(){return!this.$scopedSlots["custom-info"]}}},tB={key:1,class:"flex-container"},nB={class:"flex-container vertical"};function oB(e,t,n,r,i,l){const s=xl,a=yl,d=Pl;return l.contactFormOnly?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},e.basicForm)),null,16)):(o.openBlock(),o.createElementBlock("div",tB,[o.createVNode(s,o.normalizeProps(o.guardReactiveProps(e.basicForm)),null,16),o.createElementVNode("div",nB,[n.cmdAddressData?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdAddressData)),null,16)):o.createCommentVNode("",!0),n.cmdGoogleMaps?(o.openBlock(),o.createBlock(d,o.normalizeProps(o.mergeProps({key:1},n.cmdGoogleMaps)),null,16)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"additional-info")])]))}const rB=N(eB,[["render",oB]]),iB={name:"MultipleBoxWrapper",props:{segments:{type:Array,default:null}}},lB={class:"cmd-page-multiple-box-wrapper flex-container vertical"};function sB(e,t,n,r,i,l){const s=Vo,a=Tl;return o.openBlock(),o.createElementBlock("div",lB,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.segments,(d,c)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:c},[o.createVNode(a,o.normalizeProps(o.guardReactiveProps(d)),{default:o.withCtx(m=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(d.boxes,(u,p)=>(o.openBlock(),o.createBlock(s,o.mergeProps({"use-slots":["box-body"],key:p},u,{rowView:m.rowView}),{default:o.withCtx(()=>[o.createTextVNode(" box "+o.toDisplayString(u),1)]),_:2},1040,["rowView"]))),128))]),_:2},1040),o.renderSlot(e.$slots,"multiple-box-wrapper-slot-${index}")],64))),128))])}const aB=N(iB,[["render",sB]]),cB={name:"MultipleListsOfLinks",props:{segments:{type:Array,default:null}}},dB={class:"cmd-page-multiple-lists-of-links flex-container vertical"};function mB(e,t,n,r,i,l){const s=Oo;return o.openBlock(),o.createElementBlock("div",dB,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.segments,(a,d)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:d},[o.createVNode(s,{links:a.links,orientation:a.orientation,largeIcons:a.largeIcons,cmdHeadline:a.headline},null,8,["links","orientation","largeIcons","cmdHeadline"]),o.renderSlot(e.$slots,"multiple-lists-of-links-slot-${index}")],64))),128))])}const uB=N(cB,[["render",mB]]),fB={mounted(e){if(e.tagName==="INPUT"||e.tagName==="SELECT"||e.tagName==="TEXTAREA"||e.tagName==="A")e.focus();else{const t=e.querySelector("input, select, textarea");t?t.focus():console.warn("No input-element for focus-directive on element "+e.tagName+" found!")}}},hB={mounted(e,t){if(t.value&&typeof t.value=="string"){let n=/[^\d]/g,r=t.value.replace(/^\s*\+/,"00");e.href="tel:"+r.replace(n,"")}}};var pB=Object.defineProperty,gB=(e,t,n)=>t in e?pB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tn=(e,t,n)=>gB(e,typeof t!="symbol"?t+"":t,n);const dt=/^[a-z0-9]+(-[a-z0-9]+)*$/,nn=(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 a=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:a};return t&&!on(c)?null:c}const l=i[0],s=l.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!on(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:l};return t&&!on(a,n)?null:a}return null},on=(e,t)=>e?!!((e.provider===""||e.provider.match(dt))&&(t&&e.prefix===""||e.prefix.match(dt))&&e.name.match(dt)):!1,ws=Object.freeze({left:0,top:0,width:16,height:16}),rn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ln=Object.freeze({...ws,...rn}),Xo=Object.freeze({...ln,body:"",hidden:!1});function yB(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 xs(e,t){const n=yB(e,t);for(const r in Xo)r in rn?r in e&&!(r in n)&&(n[r]=rn[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function bB(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function l(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const a=r[s]&&r[s].parent,d=a&&l(a);d&&(i[s]=[a].concat(d))}return i[s]}return Object.keys(n).concat(Object.keys(r)).forEach(l),i}function kB(e,t,n){const r=e.icons,i=e.aliases||{};let l={};function s(a){l=xs(r[a]||i[a],l)}return s(t),n.forEach(s),xs(e,l)}function Bs(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=bB(e);for(const i in r){const l=r[i];l&&(t(i,kB(e,i,l)),n.push(i))}return n}const CB={provider:"",aliases:{},not_found:{},...ws};function Qo(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function _s(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Qo(e,CB))return null;const n=t.icons;for(const i in n){const l=n[i];if(!i.match(dt)||typeof l.body!="string"||!Qo(l,Xo))return null}const r=t.aliases||{};for(const i in r){const l=r[i],s=l.parent;if(!i.match(dt)||typeof s!="string"||!n[s]&&!r[s]||!Qo(l,Xo))return null}return t}const Es=Object.create(null);function wB(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ae(e,t){const n=Es[e]||(Es[e]=Object.create(null));return n[t]||(n[t]=wB(e,t))}function Yo(e,t){return _s(t)?Bs(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function xB(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let mt=!1;function Ss(e){return typeof e=="boolean"&&(mt=e),mt}function BB(e){const t=typeof e=="string"?nn(e,!0,mt):e;if(t){const n=Ae(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function _B(e,t){const n=nn(e,!0,mt);if(!n)return!1;const r=Ae(n.provider,n.prefix);return xB(r,n.name,t)}function Ts(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),mt&&!t&&!e.prefix){let i=!1;return _s(e)&&(e.prefix="",Bs(e,(l,s)=>{s&&_B(l,s)&&(i=!0)})),i}const n=e.prefix;if(!on({provider:t,prefix:n,name:"a"}))return!1;const r=Ae(t,n);return!!Yo(r,e)}const Os=Object.freeze({width:null,height:null}),Ns=Object.freeze({...Os,...rn}),EB=/(-?[0-9.]*[0-9]+[0-9.]*)/g,SB=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Vs(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(EB);if(r===null||!r.length)return e;const i=[];let l=r.shift(),s=SB.test(l);for(;;){if(s){const a=parseFloat(l);isNaN(a)?i.push(l):i.push(Math.ceil(a*t*n)/n)}else i.push(l);if(l=r.shift(),l===void 0)return i.join("");s=!s}}function TB(e,t){const n={...ln,...e},r={...Ns,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let l=n.body;[n,r].forEach(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=2:(f.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),f.push("scale(-1 1)"),i.top=i.left=0):y&&(f.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),f.push("scale(1 -1)"),i.top=i.left=0);let B;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:B=i.height/2+i.top,f.unshift("rotate(90 "+B.toString()+" "+B.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:B=i.width/2+i.left,f.unshift("rotate(-90 "+B.toString()+" "+B.toString()+")");break}g%2===1&&(i.left!==i.top&&(B=i.left,i.left=i.top,i.top=B),i.width!==i.height&&(B=i.width,i.width=i.height,i.height=B)),f.length&&(l='<g transform="'+f.join(" ")+'">'+l+"</g>")});const s=r.width,a=r.height,d=i.width,c=i.height;let m,u;return s===null?(u=a===null?"1em":a==="auto"?c:a,m=Vs(u,d/c)):(m=s==="auto"?d:s,u=a===null?Vs(m,c/d):a==="auto"?c:a),{attributes:{width:m.toString(),height:u.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:l}}const OB=/\sid="(\S+)"/g,NB="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let VB=0;function FB(e,t=NB){const n=[];let r;for(;r=OB.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const l=typeof t=="function"?t(i):t+(VB++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),e}const $o=Object.create(null);function PB(e,t){$o[e]=t}function vo(e){return $o[e]||$o[""]}function er(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 tr=Object.create(null),sn=["https://api.simplesvg.com","https://api.unisvg.com"],nr=[];for(;sn.length>0;)sn.length===1||Math.random()>.5?nr.push(sn.shift()):nr.push(sn.pop());tr[""]=er({resources:["https://api.iconify.design"].concat(nr)});function LB(e,t){const n=er(t);return n===null?!1:(tr[e]=n,!0)}function or(e){return tr[e]}let Fs=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function AB(e,t){const n=or(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const l=t+".json?icons=";r=n.maxURL-i-n.path.length-l.length}return r}function IB(e){return e===404}const MB=(e,t,n)=>{const r=[],i=AB(e,t),l="icons";let s={type:l,provider:e,prefix:t,icons:[]},a=0;return n.forEach((d,c)=>{a+=d.length+1,a>=i&&c>0&&(r.push(s),s={type:l,provider:e,prefix:t,icons:[]},a=d.length),s.icons.push(d)}),r.push(s),r};function DB(e){if(typeof e=="string"){const t=or(e);if(t)return t.path}return"/"}const RB=(e,t,n)=>{if(!Fs){n("abort",424);return}let r=DB(t.provider);switch(t.type){case"icons":{const l=t.prefix,s=t.icons.join(","),a=new URLSearchParams({icons:s});r+=l+".json?"+a.toString();break}case"custom":{const l=t.uri;r+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let i=503;Fs(e+r).then(l=>{const s=l.status;if(s!==200){setTimeout(()=>{n(IB(s)?"abort":"next",s)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",i)})},jB={prepare:MB,send:RB};function qB(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.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 l=i.provider,s=i.prefix,a=i.name,d=n[l]||(n[l]=Object.create(null)),c=d[s]||(d[s]=Ae(l,s));let m;a in c.icons?m=t.loaded:s===""||c.missing.has(a)?m=t.missing:m=t.pending;const u={provider:l,prefix:s,name:a};m.push(u)}),t}function Ps(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function zB(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(l=>{const s=l.icons,a=s.pending.length;s.pending=s.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||Ps([e],l.id),l.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),l.abort))})}))}let HB=0;function UB(e,t,n){const r=HB++,i=Ps.bind(null,n,r);if(!t.pending.length)return i;const l={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(l)}),i}function WB(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const l=typeof i=="string"?nn(i,t,n):i;l&&r.push(l)}),r}var GB={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function JB(e,t,n,r){const i=e.resources.length,l=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let b=e.resources.slice(0);for(s=[];b.length>1;){const E=Math.floor(Math.random()*b.length);s.push(b[E]),b=b.slice(0,E).concat(b.slice(E+1))}s=s.concat(b)}else s=e.resources.slice(l).concat(e.resources.slice(0,l));const a=Date.now();let d="pending",c=0,m,u=null,p=[],f=[];typeof r=="function"&&f.push(r);function h(){u&&(clearTimeout(u),u=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,E){E&&(f=[]),typeof b=="function"&&f.push(b)}function B(){return{startTime:a,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function S(){d="failed",f.forEach(b=>{b(void 0,m)})}function _(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function O(b,E,F){const R=E!=="success";switch(p=p.filter(L=>L!==b),d){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=F,S();return}if(R){m=F,p.length||(s.length?P():S());return}if(h(),_(),!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 P(){if(d!=="pending")return;h();const b=s.shift();if(b===void 0){if(p.length){u=setTimeout(()=>{h(),d==="pending"&&(_(),S())},e.timeout);return}S();return}const E={status:"pending",resource:b,callback:(F,R)=>{O(E,F,R)}};p.push(E),c++,u=setTimeout(P,e.rotate),n(b,t,E.callback)}return setTimeout(P),B}function Ls(e){const t={...GB,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function i(s,a,d){const c=JB(t,s,a,(m,u)=>{r(),d&&d(m,u)});return n.push(c),c}function l(s){return n.find(a=>s(a))||null}return{query:i,find:l,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function As(){}const rr=Object.create(null);function KB(e){if(!rr[e]){const t=or(e);if(!t)return;const n=Ls(t),r={config:t,redundancy:n};rr[e]=r}return rr[e]}function ZB(e,t,n){let r,i;if(typeof e=="string"){const l=vo(e);if(!l)return n(void 0,424),As;i=l.send;const s=KB(e);s&&(r=s.redundancy)}else{const l=er(e);if(l){r=Ls(l);const s=e.resources?e.resources[0]:"",a=vo(s);a&&(i=a.send)}}return!r||!i?(n(void 0,424),As):r.query(t,i,n)().abort}const Is="iconify2",ut="iconify",Ms=ut+"-count",Ds=ut+"-version",Rs=36e5,XB=168;function ir(e,t){try{return e.getItem(t)}catch{}}function lr(e,t,n){try{return e.setItem(t,n),!0}catch{}}function js(e,t){try{e.removeItem(t)}catch{}}function sr(e,t){return lr(e,Ms,t.toString())}function ar(e){return parseInt(ir(e,Ms))||0}const an={local:!0,session:!0},qs={local:new Set,session:new Set};let cr=!1;function QB(e){cr=e}let cn=typeof window>"u"?{}:window;function zs(e){const t=e+"Storage";try{if(cn&&cn[t]&&typeof cn[t].length=="number")return cn[t]}catch{}an[e]=!1}function Hs(e,t){const n=zs(e);if(!n)return;const r=ir(n,Ds);if(r!==Is){if(r){const a=ar(n);for(let d=0;d<a;d++)js(n,ut+d.toString())}lr(n,Ds,Is),sr(n,0);return}const i=Math.floor(Date.now()/Rs)-XB,l=a=>{const d=ut+a.toString(),c=ir(n,d);if(typeof c=="string"){try{const m=JSON.parse(c);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,a))return!0}catch{}js(n,d)}};let s=ar(n);for(let a=s-1;a>=0;a--)l(a)||(a===s-1?(s--,sr(n,s)):qs[e].add(a))}function Us(){if(!cr){QB(!0);for(const e in an)Hs(e,t=>{const n=t.data,r=t.provider,i=n.prefix,l=Ae(r,i);if(!Yo(l,n).length)return!1;const s=n.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,s):s,!0})}}function YB(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in an)Hs(r,i=>{const l=i.data;return i.provider!==e.provider||l.prefix!==e.prefix||l.lastModified===t});return!0}function $B(e,t){cr||Us();function n(r){let i;if(!an[r]||!(i=zs(r)))return;const l=qs[r];let s;if(l.size)l.delete(s=Array.from(l).shift());else if(s=ar(i),!sr(i,s+1))return;const a={cached:Math.floor(Date.now()/Rs),provider:e.provider,data:t};return lr(i,ut+s.toString(),JSON.stringify(a))}t.lastModified&&!YB(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ws(){}function vB(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,zB(e)}))}function e1(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 l;!i||!(l=vo(n))||l.prepare(n,r,i).forEach(s=>{ZB(n,s,(a,d)=>{if(typeof a!="object"){if(d!==404)return;s.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Yo(e,a);if(!c.length)return;const m=e.pendingIcons;m&&c.forEach(u=>{m.delete(u)}),$B(e,a)}catch(c){console.error(c)}vB(e)})})}))}const t1=(e,t)=>{const n=WB(e,!0,Ss()),r=qB(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,Ws)}),()=>{d=!1}}const i=Object.create(null),l=[];let s,a;return r.pending.forEach(d=>{const{provider:c,prefix:m}=d;if(m===a&&c===s)return;s=c,a=m,l.push(Ae(c,m));const u=i[c]||(i[c]=Object.create(null));u[m]||(u[m]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:m,name:u}=d,p=Ae(c,m),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(u)||(f.add(u),i[c][m].push(u))}),l.forEach(d=>{const{provider:c,prefix:m}=d;i[c][m].length&&e1(d,i[c][m])}),t?UB(t,r,l):Ws};function n1(e,t){const n={...e};for(const r in t){const i=t[r],l=typeof i;r in Os?(i===null||i&&(l==="string"||l==="number"))&&(n[r]=i):l===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const o1=/[\s,]+/;function r1(e,t){t.split(o1).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function i1(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 l=parseFloat(e.slice(0,e.length-n.length));return isNaN(l)?0:(l=l/i,l%1===0?r(l):0)}}return t}function l1(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 s1(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function a1(e){return'url("data:image/svg+xml,'+s1(e)+'")'}const Gs={...Ns,inline:!1},c1={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},d1={display:"inline-block"},dr={backgroundColor:"currentColor"},Js={backgroundColor:"transparent"},Ks={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Zs={webkitMask:dr,mask:dr,background:Js};for(const e in Zs){const t=Zs[e];for(const n in Ks)t[e+n]=Ks[n]}const dn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";dn[e+"-flip"]=t,dn[e.slice(0,1)+"-flip"]=t,dn[e+"Flip"]=t});function Xs(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Qs=(e,t)=>{const n=n1(Gs,t),r={...c1},i=t.mode||"svg",l={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&r1(n,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?n[y]=i1(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const B=dn[y];B?(g===!0||g==="true"||g===1)&&(n[B]=!0):Gs[y]===void 0&&(r[y]=g)}}}const d=TB(e,n),c=d.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),i==="svg"){r.style={...l,...a},Object.assign(r,c);let y=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=FB(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:m,width:u,height:p}=e,f=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),h=l1(m,{...c,width:u+"",height:p+""});return r.style={...l,"--svg":a1(h),width:Xs(c.width),height:Xs(c.height),...d1,...f?dr:Js,...a},o.h("span",r)};if(Ss(!0),PB("",jB),typeof document<"u"&&typeof window<"u"){Us();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"||!Ts(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;LB(n,i)||console.error(r)}catch{console.error(r)}}}}const m1={...ln,body:""};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=nn(e,!1,!0))===null)return this.abortLoading(),null;const r=BB(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:t1([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 Qs(m1,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Qs({...ln,...t.data},n)}});function u1(){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 f1(){return"cmd-"+u1()}const h1={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||f1()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},mr=class oo{constructor(t){tn(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,oo.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,oo.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,oo.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,""]}};tn(mr,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),tn(mr,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),tn(mr,"PATTERN_MESSAGE",/^.{2,500}$/);const p1=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(g1,{...e,show:!0}).mount(t)},g1=o.defineComponent({name:"CmdFancyBox",mixins:[h1],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,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},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:{largeGalleryImage(){const e={...this.fancyBoxGallery[this.index].image};return e.src=e.srcImageLarge,e},largeSingleImage(){var e;const t={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t},ariaLabelText(){var e;return(e=this.fancyBoxGallery)!=null&&e.length?this.fancyBoxGallery[this.index].figcaption.text:this.defaultAriaLabelText}},methods:{onDialogCancel(e){if(!this.allowEscapeKey){e.preventDefault();return}this.close()},showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].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 y1(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},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 y1(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}Ts({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
4
+ <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 MC={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}}},DC={class:"cmd-tabs"},RC=["onClick","title"],jC={key:1},qC={key:1,"aria-live":"assertive"},zC=["innerHTML"];function HC(e,t,n,r,i,l){const s=j,a=z;return o.openBlock(),o.createElementBlock("div",DC,[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(m=>l.setActiveTab(c),["prevent"]),title:d.name?void 0:d.tooltip},[d.iconClass?(o.openBlock(),o.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):o.createCommentVNode("",!0),d.name?(o.openBlock(),o.createElementBlock("span",jC,o.toDisplayString(d.name),1)):o.createCommentVNode("",!0)],8,RC)],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",qC,[n.cmdHeadline?(o.openBlock(),o.createBlock(a,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,zC)]))])}const UC=N(MC,[["render",HC]]),WC={name:"CmdTextImageBlock",mixins:[Z],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,K(this,{update(t){t.htmlContent=e}})}},watch:{htmlContent:{handler(){this.editableHtmlContent=this.htmlContent},immediate:!0}}},GC=["innerHTML"],JC=["innerHTML"],KC=[o.createElementVNode("span",{class:"icon-plus"},null,-1),o.createElementVNode("span",null,"Add new paragraph",-1)];function ZC(e,t,n,r,i,l){var c,m,u,p;const s=z,a=Ce,d=_e;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(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),n.cmdImage?(o.openBlock(),o.createBlock(a,{key:1,image:(m=n.cmdImage)==null?void 0:m.image,figcaption:(u=n.cmdImage)==null?void 0:u.figcaption,editModeConfig:{allowAddItem:!1}},null,8,["image","figcaption"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["flex-container vertical",l.setInnerClass])},[((p=n.cmdHeadline)!=null&&p.headlineText||e.editModeContext)&&(n.headlinePosition==="belowImage"||n.orientation==="horizontal")?(o.openBlock(),o.createBlock(s,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,GC)):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:l.textAlign},componentPath:l.paragraphComponentPath,allowDeleteComponent:!!n.htmlContent},{default:o.withCtx(f=>[f.editing?o.withDirectives((o.openBlock(),o.createElementBlock("textarea",{key:0,class:o.normalizeClass(["edit-mode",l.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(l.textAlign)},null,10,JC)):(o.openBlock(),o.createElementBlock("button",{key:2,type:"button",class:"button confirm",onClick:t[1]||(t[1]=(...h)=>l.onAddItem&&l.onAddItem(...h))},KC))]),_:1},8,["componentProps","componentPath","allowDeleteComponent"])):o.createCommentVNode("",!0)],2)}const XC=N(WC,[["render",ZC]]),QC={name:"ToggleDarkMode",mixins:[Z],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 K(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}}},YC={key:0};function $C(e,t,n,r,i,l){const s=j,a=J;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(a,{element:"input",type:"text",labelText:"Label for Light Mode",placeholder:"Label for Light Mode",modelValue:l.labelTextLightModeModel,"onUpdate:modelValue":t[2]||(t[2]=d=>l.labelTextLightModeModel=d)},null,8,["modelValue"]),o.createVNode(a,{element:"input",type:"text",labelText:"Label for Dark Mode",placeholder:"Label for Dark Mode",modelValue:l.labelTextDarkModeModel,"onUpdate:modelValue":t[3]||(t[3]=d=>l.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)=>l.toggleColorScheme&&l.toggleColorScheme(...d),["prevent"]))},[n.showLabel?(o.openBlock(),o.createElementBlock("span",YC,o.toDisplayString(l.labelText),1)):o.createCommentVNode("",!0),o.createVNode(s,{iconClass:l.iconClass,type:l.iconType,tooltip:n.showLabel?"":l.labelText},null,8,["iconClass","type","tooltip"])],2)):(o.openBlock(),o.createBlock(a,{key:1,element:"input",type:"checkbox",labelText:l.labelText,showLabel:n.showLabel,modelValue:i.darkMode,"onUpdate:modelValue":[t[1]||(t[1]=d=>i.darkMode=d),l.setColorScheme],"toggle-switch":!0,title:n.showLabel?"":l.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"]))],64))],2)}const vC=N(QC,[["render",$C]]),ew={data(){return{defaultMessageProperties:{"cmduploadform.no_file_to_upload":"No file selected to upload","cmduploadform.no_files_to_upload":"No files selected to upload","cmduploadform.labeltext.select_file":"Select file to upload","cmduploadform.labeltext.select_files":"Select files to upload","cmduploadform.labeltext.remove_file_from_list":"Remove file '{0}' from list","cmduploadform.labeltext.remove_all_files_from_list":"Remove all files from list","cmduploadform.labeltext.file_uploading":"file to upload","cmduploadform.labeltext.files_uploading":"files to upload","cmduploadform.labeltext.comment":"Comment:","cmduploadform.buttontext.upload_file":"Upload file","cmduploadform.buttontext.upload_files":"Upload files","cmduploadform.buttontext.cancel":"Cancel","cmduploadform.placeholder.comment":"Please type in a specific comment","cmduploadform.system_message.found_duplicate_file":"Found duplicate file (not added again)","cmduploadform.system_message.upload_success":"Upload successful","cmduploadform.system_message.upload_failed":"Upload failed","cmduploadform.system_message.fill_required":"Fill all required fields","cmduploadform.system_message.the_following_errors_occurred":"The following errors occurred!","cmduploadform.system_message.an_unknown_error_occurred":"An unknown error occurred!","cmduploadform.system_message.only_one_file_allowed":"Only one file allowed!","cmduploadform.system_message_total_size_of_files_too_large":"Total size of files too large!","cmduploadform.system_message.duplicate_file":'Duplicate file "{0}" found (not added to list again)',"cmduploadform.system_message.not_allowed_file_type":'File "{0}" has not allowed file type ({1})',"cmduploadform.system_message.all_files_are_uploaded_successfully":"All files are uploaded successfully","cmduploadform.system_message.some_files_are_not_uploaded_successfully":"Some files are not uploaded successfully","cmduploadform.system_message.file_size_too_large":'File size of "{0}" too large ({1})',"cmduploadform.headline.summary_of_all_files":"Summary of all files","cmduploadform.headline.list_of_selected_files":"List of selected files","cmduploadform.headline.select_additional_files":"Select additional files","cmduploadform.headline.select_new_file":"Chosen the wrong file? Select a new one","cmduploadform.allowed_file_types":"Allowed file types:","cmduploadform.max_total_upload_size":"Max. total upload size:","cmduploadform.max_file_upload_size":"Max. file upload size:","cmduploadform.or":"or","cmduploadform.drag_and_drop":"drag (and drop)","cmduploadform.additional":"additional","cmduploadform.new":"new","cmduploadform.files_to_this_area":"files to this area","cmduploadform.tooltip.toggle_list_of_allowed_file_types":"Toggle list of allowed file types","cmduploadform.reset_upload":"Reset upload","cmduploadform.tooltip.all_files_will_be_removed":"All files will be remove from upload-list!","cmduploadform.select_image":"Select image","cmduploadform.select_file":"Select file","cmduploadform.drag_and_drop_file_here":"Drag and drop file here","cmduploadform.max_upload_size":"Max. upload size:"}}}};function Hl(e,t){return function(){return e.apply(t,arguments)}}const{toString:tw}=Object.prototype,{getPrototypeOf:Ao}=Object,Jt=(e=>t=>{const n=tw.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),le=e=>(e=e.toLowerCase(),t=>Jt(t)===e),Kt=e=>t=>typeof t===e,{isArray:Ke}=Array,lt=Kt("undefined");function nw(e){return e!==null&&!lt(e)&&e.constructor!==null&&!lt(e.constructor)&&ee(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ul=le("ArrayBuffer");function ow(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ul(e.buffer),t}const rw=Kt("string"),ee=Kt("function"),Wl=Kt("number"),Zt=e=>e!==null&&typeof e=="object",iw=e=>e===!0||e===!1,Xt=e=>{if(Jt(e)!=="object")return!1;const t=Ao(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},lw=le("Date"),sw=le("File"),aw=le("Blob"),cw=le("FileList"),dw=e=>Zt(e)&&ee(e.pipe),mw=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ee(e.append)&&((t=Jt(e))==="formdata"||t==="object"&&ee(e.toString)&&e.toString()==="[object FormData]"))},uw=le("URLSearchParams"),[fw,hw,pw,gw]=["ReadableStream","Request","Response","Headers"].map(le),yw=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function st(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Ke(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;let a;for(r=0;r<s;r++)a=l[r],t.call(null,e[a],a,e)}}function Gl(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 Jl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Kl=e=>!lt(e)&&e!==Jl;function Io(){const{caseless:e}=Kl(this)&&this||{},t={},n=(r,i)=>{const l=e&&Gl(t,i)||i;Xt(t[l])&&Xt(r)?t[l]=Io(t[l],r):Xt(r)?t[l]=Io({},r):Ke(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&st(arguments[r],n);return t}const bw=(e,t,n,{allOwnKeys:r}={})=>(st(t,(i,l)=>{n&&ee(i)?e[l]=Hl(i,n):e[l]=i},{allOwnKeys:r}),e),kw=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Cw=(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)},ww=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Ao(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},xw=(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},Bw=e=>{if(!e)return null;if(Ke(e))return e;let t=e.length;if(!Wl(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},_w=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ao(Uint8Array)),Ew=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const l=i.value;t.call(e,l[0],l[1])}},Sw=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Tw=le("HTMLFormElement"),Ow=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Zl=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Nw=le("RegExp"),Xl=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};st(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},Vw=e=>{Xl(e,(t,n)=>{if(ee(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ee(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+"'")})}})},Fw=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return Ke(e)?r(e):r(String(e).split(t)),n},Pw=()=>{},Lw=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Mo="abcdefghijklmnopqrstuvwxyz",Ql="0123456789",Yl={DIGIT:Ql,ALPHA:Mo,ALPHA_DIGIT:Mo+Mo.toUpperCase()+Ql},Aw=(e=16,t=Yl.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Iw(e){return!!(e&&ee(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Mw=e=>{const t=new Array(10),n=(r,i)=>{if(Zt(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=Ke(r)?[]:{};return st(r,(s,a)=>{const d=n(s,i+1);!lt(d)&&(l[a]=d)}),t[i]=void 0,l}}return r};return n(e,0)},Dw=le("AsyncFunction"),k={isArray:Ke,isArrayBuffer:Ul,isBuffer:nw,isFormData:mw,isArrayBufferView:ow,isString:rw,isNumber:Wl,isBoolean:iw,isObject:Zt,isPlainObject:Xt,isReadableStream:fw,isRequest:hw,isResponse:pw,isHeaders:gw,isUndefined:lt,isDate:lw,isFile:sw,isBlob:aw,isRegExp:Nw,isFunction:ee,isStream:dw,isURLSearchParams:uw,isTypedArray:_w,isFileList:cw,forEach:st,merge:Io,extend:bw,trim:yw,stripBOM:kw,inherits:Cw,toFlatObject:ww,kindOf:Jt,kindOfTest:le,endsWith:xw,toArray:Bw,forEachEntry:Ew,matchAll:Sw,isHTMLForm:Tw,hasOwnProperty:Zl,hasOwnProp:Zl,reduceDescriptors:Xl,freezeMethods:Vw,toObjectSet:Fw,toCamelCase:Ow,noop:Pw,toFiniteNumber:Lw,findKey:Gl,global:Jl,isContextDefined:Kl,ALPHABET:Yl,generateString:Aw,isSpecCompliantForm:Iw,toJSONObject:Mw,isAsyncFn:Dw,isThenable:e=>e&&(Zt(e)||ee(e))&&ee(e.then)&&ee(e.catch)};function A(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)}k.inherits(A,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:k.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const $l=A.prototype,vl={};["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=>{vl[e]={value:e}}),Object.defineProperties(A,vl),Object.defineProperty($l,"isAxiosError",{value:!0}),A.from=(e,t,n,r,i,l)=>{const s=Object.create($l);return k.toFlatObject(e,s,function(d){return d!==Error.prototype},a=>a!=="isAxiosError"),A.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const Rw=null;function Do(e){return k.isPlainObject(e)||k.isArray(e)}function es(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function ts(e,t,n){return e?e.concat(t).map(function(i,l){return i=es(i),!n&&l?"["+i+"]":i}).join(n?".":""):t}function jw(e){return k.isArray(e)&&!e.some(Do)}const qw=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function Qt(e,t,n){if(!k.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=k.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,g){return!k.isUndefined(g[y])});const r=n.metaTokens,i=n.visitor||m,l=n.dots,s=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(t);if(!k.isFunction(i))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(k.isDate(h))return h.toISOString();if(!d&&k.isBlob(h))throw new A("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(h)||k.isTypedArray(h)?d&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function m(h,y,g){let B=h;if(h&&!g&&typeof h=="object"){if(k.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(k.isArray(h)&&jw(h)||(k.isFileList(h)||k.endsWith(y,"[]"))&&(B=k.toArray(h)))return y=es(y),B.forEach(function(_,O){!(k.isUndefined(_)||_===null)&&t.append(s===!0?ts([y],O,l):s===null?y:y+"[]",c(_))}),!1}return Do(h)?!0:(t.append(ts(g,y,l),c(h)),!1)}const u=[],p=Object.assign(qw,{defaultVisitor:m,convertValue:c,isVisitable:Do});function f(h,y){if(!k.isUndefined(h)){if(u.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));u.push(h),k.forEach(h,function(B,S){(!(k.isUndefined(B)||B===null)&&i.call(t,B,k.isString(S)?S.trim():S,y,p))===!0&&f(B,y?y.concat(S):[S])}),u.pop()}}if(!k.isObject(e))throw new TypeError("data must be an object");return f(e),t}function ns(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ro(e,t){this._pairs=[],e&&Qt(e,this,t)}const os=Ro.prototype;os.append=function(t,n){this._pairs.push([t,n])},os.toString=function(t){const n=t?function(r){return t.call(this,r,ns)}:ns;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function zw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function rs(e,t,n){if(!t)return e;const r=n&&n.encode||zw,i=n&&n.serialize;let l;if(i?l=i(t,n):l=k.isURLSearchParams(t)?t.toString():new Ro(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class is{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){k.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ls={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Hw={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Ro,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},jo=typeof window<"u"&&typeof document<"u",Uw=(e=>jo&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Ww=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gw=jo&&window.location.href||"http://localhost",se={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:jo,hasStandardBrowserEnv:Uw,hasStandardBrowserWebWorkerEnv:Ww,origin:Gw},Symbol.toStringTag,{value:"Module"})),...Hw};function Jw(e,t){return Qt(e,new se.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return se.isNode&&k.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function Kw(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Zw(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r<i;r++)l=n[r],t[l]=e[l];return t}function ss(e){function t(n,r,i,l){let s=n[l++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),d=l>=n.length;return s=!s&&k.isArray(i)?i.length:s,d?(k.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!k.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&k.isArray(i[s])&&(i[s]=Zw(i[s])),!a)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(r,i)=>{t(Kw(r),i,n,0)}),n}return null}function Xw(e,t,n){if(k.isString(e))try{return(t||JSON.parse)(e),k.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const at={transitional:ls,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,l=k.isObject(t);if(l&&k.isHTMLForm(t)&&(t=new FormData(t)),k.isFormData(t))return i?JSON.stringify(ss(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t)||k.isReadableStream(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Jw(t,this.formSerializer).toString();if((a=k.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Qt(a?{"files[]":t}:t,d&&new d,this.formSerializer)}}return l||i?(n.setContentType("application/json",!1),Xw(t)):t}],transformResponse:[function(t){const n=this.transitional||at.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(k.isResponse(t)||k.isReadableStream(t))return t;if(t&&k.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?A.from(a,A.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:se.classes.FormData,Blob:se.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch"],e=>{at.headers[e]={}});const Qw=k.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"]),Yw=e=>{const t={};let n,r,i;return e&&e.split(`
5
+ `).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&Qw[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},as=Symbol("internals");function ct(e){return e&&String(e).trim().toLowerCase()}function Yt(e){return e===!1||e==null?e:k.isArray(e)?e.map(Yt):String(e)}function $w(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const vw=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function qo(e,t,n,r,i){if(k.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!k.isString(t)){if(k.isString(r))return t.indexOf(r)!==-1;if(k.isRegExp(r))return r.test(t)}}function ex(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function tx(e,t){const n=k.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,s){return this[r].call(this,t,i,l,s)},configurable:!0})})}class Q{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(a,d,c){const m=ct(d);if(!m)throw new Error("header name must be a non-empty string");const u=k.findKey(i,m);(!u||i[u]===void 0||c===!0||c===void 0&&i[u]!==!1)&&(i[u||d]=Yt(a))}const s=(a,d)=>k.forEach(a,(c,m)=>l(c,m,d));if(k.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(k.isString(t)&&(t=t.trim())&&!vw(t))s(Yw(t),n);else if(k.isHeaders(t))for(const[a,d]of t.entries())l(d,a,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=ct(t),t){const r=k.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return $w(i);if(k.isFunction(n))return n.call(this,i,r);if(k.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ct(t),t){const r=k.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||qo(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(s){if(s=ct(s),s){const a=k.findKey(r,s);a&&(!n||qo(r,r[a],a,n))&&(delete r[a],i=!0)}}return k.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||qo(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return k.forEach(this,(i,l)=>{const s=k.findKey(r,l);if(s){n[s]=Yt(i),delete n[l];return}const a=t?ex(l):String(l).trim();a!==l&&delete n[l],n[a]=Yt(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return k.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&k.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
6
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[as]=this[as]={accessors:{}}).accessors,i=this.prototype;function l(s){const a=ct(s);r[a]||(tx(i,s),r[a]=!0)}return k.isArray(t)?t.forEach(l):l(t),this}}Q.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),k.reduceDescriptors(Q.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),k.freezeMethods(Q);function zo(e,t){const n=this||at,r=t||n,i=Q.from(r.headers);let l=r.data;return k.forEach(e,function(a){l=a.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function cs(e){return!!(e&&e.__CANCEL__)}function Ze(e,t,n){A.call(this,e??"canceled",A.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(Ze,A,{__CANCEL__:!0});function ds(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new A("Request failed with status code "+n.status,[A.ERR_BAD_REQUEST,A.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function nx(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ox(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),m=r[l];s||(s=c),n[i]=d,r[i]=c;let u=l,p=0;for(;u!==i;)p+=n[u++],u=u%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),c-s<t)return;const f=m&&c-m;return f?Math.round(p*1e3/f):void 0}}function rx(e,t){let n=0;const r=1e3/t;let i=null;return function(){const s=this===!0,a=Date.now();if(s||a-n>r)return i&&(clearTimeout(i),i=null),n=a,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(a-n)))}}const $t=(e,t,n=3)=>{let r=0;const i=ox(50,250);return rx(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,d=s-r,c=i(d),m=s<=a;r=s;const u={loaded:s,total:a,progress:a?s/a:void 0,bytes:d,rate:c||void 0,estimated:c&&a&&m?(a-s)/c:void 0,event:l,lengthComputable:a!=null};u[t?"download":"upload"]=!0,e(u)},n)},ix=se.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(l){let s=l;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=k.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),lx=se.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];k.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),k.isString(r)&&s.push("path="+r),k.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function sx(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ax(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ms(e,t){return e&&!sx(t)?ax(e,t):t}const us=e=>e instanceof Q?{...e}:e;function Pe(e,t){t=t||{};const n={};function r(c,m,u){return k.isPlainObject(c)&&k.isPlainObject(m)?k.merge.call({caseless:u},c,m):k.isPlainObject(m)?k.merge({},m):k.isArray(m)?m.slice():m}function i(c,m,u){if(k.isUndefined(m)){if(!k.isUndefined(c))return r(void 0,c,u)}else return r(c,m,u)}function l(c,m){if(!k.isUndefined(m))return r(void 0,m)}function s(c,m){if(k.isUndefined(m)){if(!k.isUndefined(c))return r(void 0,c)}else return r(void 0,m)}function a(c,m,u){if(u in t)return r(c,m);if(u in e)return r(void 0,c)}const d={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,m)=>i(us(c),us(m),!0)};return k.forEach(Object.keys(Object.assign({},e,t)),function(m){const u=d[m]||i,p=u(e[m],t[m],m);k.isUndefined(p)&&u!==a||(n[m]=p)}),n}const fs=e=>{const t=Pe({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=Q.from(s),t.url=rs(ms(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let d;if(k.isFormData(n)){if(se.hasStandardBrowserEnv||se.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((d=s.getContentType())!==!1){const[c,...m]=d?d.split(";").map(u=>u.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...m].join("; "))}}if(se.hasStandardBrowserEnv&&(r&&k.isFunction(r)&&(r=r(t)),r||r!==!1&&ix(t.url))){const c=i&&l&&lx.read(l);c&&s.set(i,c)}return t},cx=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const i=fs(e);let l=i.data;const s=Q.from(i.headers).normalize();let{responseType:a}=i,d;function c(){i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let m=new XMLHttpRequest;m.open(i.method.toUpperCase(),i.url,!0),m.timeout=i.timeout;function u(){if(!m)return;const f=Q.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),y={data:!a||a==="text"||a==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:f,config:e,request:m};ds(function(B){n(B),c()},function(B){r(B),c()},y),m=null}"onloadend"in m?m.onloadend=u:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(u)},m.onabort=function(){m&&(r(new A("Request aborted",A.ECONNABORTED,i,m)),m=null)},m.onerror=function(){r(new A("Network Error",A.ERR_NETWORK,i,m)),m=null},m.ontimeout=function(){let h=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const y=i.transitional||ls;i.timeoutErrorMessage&&(h=i.timeoutErrorMessage),r(new A(h,y.clarifyTimeoutError?A.ETIMEDOUT:A.ECONNABORTED,i,m)),m=null},l===void 0&&s.setContentType(null),"setRequestHeader"in m&&k.forEach(s.toJSON(),function(h,y){m.setRequestHeader(y,h)}),k.isUndefined(i.withCredentials)||(m.withCredentials=!!i.withCredentials),a&&a!=="json"&&(m.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&m.addEventListener("progress",$t(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",$t(i.onUploadProgress)),(i.cancelToken||i.signal)&&(d=f=>{m&&(r(!f||f.type?new Ze(null,e,m):f),m.abort(),m=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const p=nx(i.url);if(p&&se.protocols.indexOf(p)===-1){r(new A("Unsupported protocol "+p+":",A.ERR_BAD_REQUEST,e));return}m.send(l||null)})},dx=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,s();const c=d instanceof Error?d:this.reason;n.abort(c instanceof A?c:new Ze(c instanceof Error?c.message:c))}};let l=t&&setTimeout(()=>{i(new A(`timeout ${t} of ms exceeded`,A.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:a}=n;return a.unsubscribe=s,[a,()=>{l&&clearTimeout(l),l=null}]},mx=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},ux=async function*(e,t,n){for await(const r of e)yield*mx(ArrayBuffer.isView(r)?r:await n(String(r)),t)},hs=(e,t,n,r,i)=>{const l=ux(e,t,i);let s=0;return new ReadableStream({type:"bytes",async pull(a){const{done:d,value:c}=await l.next();if(d){a.close(),r();return}let m=c.byteLength;n&&n(s+=m),a.enqueue(new Uint8Array(c))},cancel(a){return r(a),l.return()}},{highWaterMark:2})},ps=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},vt=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",gs=vt&&typeof ReadableStream=="function",Ho=vt&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),fx=gs&&(()=>{let e=!1;const t=new Request(se.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),ys=64*1024,Uo=gs&&!!(()=>{try{return k.isReadableStream(new Response("").body)}catch{}})(),en={stream:Uo&&(e=>e.body)};vt&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!en[t]&&(en[t]=k.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new A(`Response type '${t}' is not supported`,A.ERR_NOT_SUPPORT,r)})})})(new Response);const hx=async e=>{if(e==null)return 0;if(k.isBlob(e))return e.size;if(k.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(k.isArrayBufferView(e))return e.byteLength;if(k.isURLSearchParams(e)&&(e=e+""),k.isString(e))return(await Ho(e)).byteLength},px=async(e,t)=>{const n=k.toFiniteNumber(e.getContentLength());return n??hx(t)},Wo={http:Rw,xhr:cx,fetch:vt&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:d,responseType:c,headers:m,withCredentials:u="same-origin",fetchOptions:p}=fs(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||l||s?dx([i,l],s):[],y,g;const B=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let S;try{if(d&&fx&&n!=="get"&&n!=="head"&&(S=await px(m,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),E;k.isFormData(r)&&(E=b.headers.get("content-type"))&&m.setContentType(E),b.body&&(r=hs(b.body,ys,ps(S,$t(d)),null,Ho))}k.isString(u)||(u=u?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:"half",withCredentials:u});let _=await fetch(g);const O=Uo&&(c==="stream"||c==="response");if(Uo&&(a||O)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=_[F]});const E=k.toFiniteNumber(_.headers.get("content-length"));_=new Response(hs(_.body,ys,a&&ps(E,$t(a,!0)),O&&B,Ho),b)}c=c||"text";let P=await en[k.findKey(en,c)||"text"](_,e);return!O&&B(),h&&h(),await new Promise((b,E)=>{ds(b,E,{data:P,headers:Q.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:g})})}catch(_){throw B(),_&&_.name==="TypeError"&&/fetch/i.test(_.message)?Object.assign(new A("Network Error",A.ERR_NETWORK,e,g),{cause:_.cause||_}):A.from(_,_&&_.code,e,g)}})};k.forEach(Wo,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const bs=e=>`- ${e}`,gx=e=>k.isFunction(e)||e===null||e===!1,ks={getAdapter:e=>{e=k.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l<t;l++){n=e[l];let s;if(r=n,!gx(n)&&(r=Wo[(s=String(n)).toLowerCase()],r===void 0))throw new A(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+l]=r}if(!r){const l=Object.entries(i).map(([a,d])=>`adapter ${a} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since :
7
+ `+l.map(bs).join(`
8
+ `):" "+bs(l[0]):"as no adapter specified";throw new A("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Wo};function Go(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ze(null,e)}function Cs(e){return Go(e),e.headers=Q.from(e.headers),e.data=zo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ks.getAdapter(e.adapter||at.adapter)(e).then(function(r){return Go(e),r.data=zo.call(e,e.transformResponse,r),r.headers=Q.from(r.headers),r},function(r){return cs(r)||(Go(e),r&&r.response&&(r.response.data=zo.call(e,e.transformResponse,r.response),r.response.headers=Q.from(r.response.headers))),Promise.reject(r)})}const ws="1.7.2",Jo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Jo[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const xs={};Jo.transitional=function(t,n,r){function i(l,s){return"[Axios v"+ws+"] Transitional option '"+l+"'"+s+(r?". "+r:"")}return(l,s,a)=>{if(t===!1)throw new A(i(s," has been removed"+(n?" in "+n:"")),A.ERR_DEPRECATED);return n&&!xs[s]&&(xs[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,s,a):!0}};function yx(e,t,n){if(typeof e!="object")throw new A("options must be an object",A.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],s=t[l];if(s){const a=e[l],d=a===void 0||s(a,l,e);if(d!==!0)throw new A("option "+l+" must be "+d,A.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new A("Unknown option "+l,A.ERR_BAD_OPTION)}}const Ko={assertOptions:yx,validators:Jo},Ee=Ko.validators;class Le{constructor(t){this.defaults=t,this.interceptors={request:new is,response:new is}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=`
9
+ `+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Pe(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&Ko.assertOptions(r,{silentJSONParsing:Ee.transitional(Ee.boolean),forcedJSONParsing:Ee.transitional(Ee.boolean),clarifyTimeoutError:Ee.transitional(Ee.boolean)},!1),i!=null&&(k.isFunction(i)?n.paramsSerializer={serialize:i}:Ko.assertOptions(i,{encode:Ee.function,serialize:Ee.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&k.merge(l.common,l[n.method]);l&&k.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),n.headers=Q.concat(s,l);const a=[];let d=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(d=d&&y.synchronous,a.unshift(y.fulfilled,y.rejected))});const c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let m,u=0,p;if(!d){const h=[Cs.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),p=h.length,m=Promise.resolve(n);u<p;)m=m.then(h[u++],h[u++]);return m}p=a.length;let f=n;for(u=0;u<p;){const h=a[u++],y=a[u++];try{f=h(f)}catch(g){y.call(this,g);break}}try{m=Cs.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,p=c.length;u<p;)m=m.then(c[u++],c[u++]);return m}getUri(t){t=Pe(this.defaults,t);const n=ms(t.baseURL,t.url);return rs(n,t.params,t.paramsSerializer)}}k.forEach(["delete","get","head","options"],function(t){Le.prototype[t]=function(n,r){return this.request(Pe(r||{},{method:t,url:n,data:(r||{}).data}))}}),k.forEach(["post","put","patch"],function(t){function n(r){return function(l,s,a){return this.request(Pe(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:l,data:s}))}}Le.prototype[t]=n(),Le.prototype[t+"Form"]=n(!0)});class Zo{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(l){n=l});const r=this;this.promise.then(i=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(l,s,a){r.reason||(r.reason=new Ze(l,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Zo(function(i){t=i}),cancel:t}}}function bx(e){return function(n){return e.apply(null,n)}}function kx(e){return k.isObject(e)&&e.isAxiosError===!0}const Xo={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Xo).forEach(([e,t])=>{Xo[t]=e});function Bs(e){const t=new Le(e),n=Hl(Le.prototype.request,t);return k.extend(n,Le.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Bs(Pe(e,i))},n}const H=Bs(at);H.Axios=Le,H.CanceledError=Ze,H.CancelToken=Zo,H.isCancel=cs,H.VERSION=ws,H.toFormData=Qt,H.AxiosError=A,H.Cancel=H.CanceledError,H.all=function(t){return Promise.all(t)},H.spread=bx,H.isAxiosError=kx,H.mergeConfig=Pe,H.AxiosHeaders=Q,H.formToJSON=e=>ss(k.isHTMLForm(e)?new FormData(e):e),H.getAdapter=ks.getAdapter,H.HttpStatusCode=Xo,H.default=H;const Cx={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[X,ew],data(){return{comment:"",allowDrop:!1,listOfFiles:[],systemMessages:[],defaultSystemMessageStatus:"",showListOfFileExtensions:!1,resetForm:{},uploadInitiated:!1,errors:{}}},created(){this.resetForm.comment=this.presetComment,this.resetForm.allowDrop=this.allowDrop,this.resetForm.listOfFiles=JSON.parse(JSON.stringify(this.listOfFiles)),this.resetForm.systemMessages=this.systemMessages,this.resetForm.systemMessageStatus=this.systemMessageStatus},props:{useTransition:{type:Boolean,default:!0},showTotalUpload:{type:Boolean,default:!0},componentHandlesUpload:{type:Boolean,default:!0},allowedFileExtensions:{type:Array,required:!0},commentRequired:{type:Boolean,default:!0},commentStatusMessage:{type:String,default:""},enableDragAndDrop:{type:Boolean,default:!1},enableComment:{type:Boolean,default:!0},presetComment:{type:String,default:""},maxTotalUploadSize:{type:Number,default:5242880},maxFileUploadSize:{type:Number,default:10485760},allowMultipleFileUploads:{type:Boolean,default:!1},uploadOptions:{type:Object,required:!1},advancedMode:{type:Boolean,default:!0},legend:{type:Object,default(){return{show:!0,align:"left",text:"Legend"}}},iconDelete:{type:Object,default(){return{iconClass:"icon-delete",iconType:"auto"}}},iconFileUpload:{type:Object,default(){return{iconClass:"icon-file-upload",iconType:"auto"}}},iconFile:{type:Object,default(){return{iconClass:"icon-file",iconType:"auto"}}},iconInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},iconVisible:{type:Object,default(){return{iconClass:"icon-visible",iconType:"auto"}}},iconImage:{type:Object,default(){return{iconClass:"icon-image",iconType:"auto"}}},iconUpload:{type:Object,default(){return{iconClass:"icon-upload",iconType:"auto"}}},iconDragAndDrop:{type:Object,default(){return{iconClass:"icon-drag-and-drop",iconType:"auto"}}},iconCancel:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}},cmdHeadlineFieldset:{type:Object,required:!1},cmdHeadlineNoFilesToUpload:{type:Object,required:!1},cmdHeadlineNoFileToUpload:{type:Object,required:!1},cmdHeadlineSummaryOfAllFiles:{type:Object,required:!1},cmdHeadlineListOfSelectedFiles:{type:Object,required:!1},cmdHeadlineSelectAdditionalFiles:{type:Object,required:!1},cmdHeadlineSelectNewFile:{type:Object,required:!1}},computed:{headlineTextNoFilesToUpload(){return this.allowMultipleFileUploads?this.getMessage("cmduploadform.no_files_to_upload"):this.this.getMessage("cmduploadform.no_file_to_upload")},fileTypeImage(){return this.allowedFileExtensions.some(e=>e.includes("jpg"))},failedUpload(){return this.listOfFiles.some(e=>e.error)},totalBytesUploaded(){const e=this.listOfFiles.map(t=>[t.file.size,(t.progress||0)*t.file.size/100]).reduce((t,n)=>[t[0]+n[0],t[1]+n[1]]);return this.formatSize(e[1])+"/"+this.formatSize(e[0])},totalSize(){let e=0;for(let t=0;t<this.listOfFiles.length;t++)e=e+this.listOfFiles[t].file.size;return e},allSystemMessages(){return this.maxTotalUploadSize>0&&this.totalSize>this.maxTotalUploadSize?[this.getMessage("cmduploadform.system_message_total_size_of_files_too_large"),...this.systemMessages]:this.systemMessages},systemMessageStatus(){return this.defaultSystemMessageStatus||(this.allSystemMessages.length?"error":"")},dragAndDropHandler(){return this.enableDragAndDrop?{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}:{}},totalUploadProgress(){const e=this.listOfFiles.map(t=>[t.file.size,(t.progress||0)*t.file.size/100]).reduce((t,n)=>[t[0]+n[0],t[1]+n[1]]);return e[1]/e[0]*100}},watch:{presetComment:{handler(e){this.comment=e},immediate:!0}},methods:{getPercentage(e){return e?e.toFixed(2)+"%":"0.00%"},getFileExtension(e){return We(e)},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},dragEnter(e){this.dragOver(e)},dragOver(e){if(e.dataTransfer&&e.dataTransfer.items&&e.dataTransfer.items.length>0){e.dataTransfer.dropEffect="none";let t=!0;for(let n=0,r=e.dataTransfer.items.length;n<r;++n)if(e.dataTransfer.items[n].kind!=="file"){t=!1;break}t&&(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(),this.checkFiles(e.dataTransfer.files))},cancelUpload(){this.listOfFiles.forEach(e=>{e.abortController&&e.abortController.abort()}),this.errors={},this.listOfFiles=[],this.hideAllSystemMessages(),this.uploadInitiated=!1},cancel(){this.cancelUpload(),this.$emit("click","cancel")},filesSelected(e){this.checkFiles(e.target.files)},checkFiles(e){if(e.length){this.defaultSystemMessageStatus="",this.systemMessages=[],this.errors={};for(let t=0;t<e.length;t++){const n={file:e[t],progress:null,uploadedBytes:0};if(e[t].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.file_size_too_large",e[t].name,e[t].size));continue}if(!this.allowedFileExtensions.includes(We(e[t].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.not_allowed_file_type",e[t].name,We(e[t].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(r=>this.compareFiles(r.file,e[t]))){this.systemMessages.push(this.getMessage("cmduploadform.system_message.duplicate_file",e[t].name,We(e[t].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(n);else{e.length>1&&this.systemMessages.push(this.getMessage("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[n];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(e,t){return e.name===t.name&&e.lastModified===t.lastModified&&e.size===t.size},removeFile(e){this.listOfFiles.splice(e,1),this.listOfFiles.length||(this.uploadInitiated=!1),this.hideAllSystemMessages()},hideAllSystemMessages(){this.listOfFiles.length||(this.systemMessages=[])},formatSize(e){return e<1024?e:e<1048576?e=Math.round(e/1024*100)/100+" KB":e=Math.round(e/1048576*100)/100+" MB"},uploadFiles(){if(this.systemMessages=[],this.errors={},this.defaultSystemMessageStatus="",this.enableComment&&!this.comment&&this.commentRequired&&this.commentStatusMessage)this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.fill_required"));else if(this.uploadInitiated=!0,this.componentHandlesUpload&&this.uploadOptions&&this.uploadOptions.url){const e=new URL(this.uploadOptions.url,location.href),t=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([r,i])=>t.append(r,i)),this.enableComment&&t.append("comment",this.comment);const n=[];this.listOfFiles.forEach(r=>{n.push(this.uploadSingleFile(e,r,t))}),Promise.allSettled(n).then(r=>{const i=r.filter(l=>l.status==="rejected");this.uploadInitiated=!1,i.length?(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.some_files_are_not_uploaded_successfully"))):(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.all_files_are_uploaded_successfully"))),this.$emit("upload-complete",{success:!i.length})})}else{let e={};e.listOfFiles=this.listOfFiles,e.type="upload",e.comment=this.comment,this.$emit("click",e,this.showMessage)}},onUploadProgress(e,t){e.lengthComputable?(t.progress=e.loaded/e.total*100,t.uploadedBytes=e.loaded):(t.progress=null,t.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(e,t,n){return t.abortController=new AbortController,n.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",t.file),H.post(e,n,{signal:t.abortController.signal,onUploadProgress:r=>this.onUploadProgress(r,t)}).then(r=>(this.$emit("upload-file-success",t),r)).then(r=>{const i=this.listOfFiles.indexOf(t);return i!==-1&&this.listOfFiles.splice(i,1),r}).catch(r=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(r),t.error=!0,new Error})},showMessage(e){e===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_success"))):e===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const e=Object.keys(this.resetForm);for(let t of e)typeof this.resetForm[t]=="object"?this[t]=JSON.parse(JSON.stringify(this.resetForm[t])):this[t]=this.resetForm[t]}}}},wx={key:0},xx={key:1,class:"flex-container vertical"},Bx={key:0,class:"flex-container vertical list-files-wrapper"},_x={key:0,class:"list-of-files total-files"},Ex={class:"flex-container no-flex"},Sx=["title"],Tx={key:0,class:"progressbar"},Ox=["value","title"],Nx=o.createElementVNode("hr",null,null,-1),Vx={class:"flex-container vertical list-files-wrapper"},Fx={class:"list-of-files"},Px=["title","onClick"],Lx={key:0,class:"progressbar"},Ax=["value","title"],Ix=["title"],Mx=o.createElementVNode("hr",null,null,-1),Dx={class:"upload-conditions"},Rx={class:"small"},jx=["title"],qx={key:0,class:"list-of-file-extensions"},zx={class:"flex-container vertical no-gap"},Hx=["disabled"],Ux={key:0},Wx={key:1},Gx={class:"button-wrapper no-flex"},Jx=["disabled"],Kx={key:0},Zx={key:1},Xx={key:0,class:"progressbar"},Qx=["value","title"];function Yx(e,t,n,r,i,l){const s=z,a=Po,d=j,c=J;return o.openBlock(),o.createElementBlock(o.Fragment,null,[n.advancedMode?(o.openBlock(),o.createElementBlock("fieldset",{key:0,class:o.normalizeClass(["cmd-upload-form flex-container",{"upload-initiated":i.uploadInitiated}])},[o.createElementVNode("legend",{class:o.normalizeClass({hidden:!n.legend.show,"align-left":n.legend.align==="left"})},o.toDisplayString(n.legend.text),3),n.cmdHeadlineFieldset?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadlineFieldset)),null,16)):o.createCommentVNode("",!0),l.systemMessageStatus&&l.allSystemMessages.length?(o.openBlock(),o.createBlock(a,{key:1,iconClose:{show:!1},validationStatus:l.systemMessageStatus,systemMessage:l.allSystemMessages.length===1?l.allSystemMessages[0]:e.getMessage("cmduploadform.system_message.the_following_errors_occurred")},{default:o.withCtx(()=>[l.allSystemMessages.length>1?(o.openBlock(),o.createElementBlock("ul",wx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.allSystemMessages,(m,u)=>(o.openBlock(),o.createElementBlock("li",{key:u},o.toDisplayString(m),1))),128))])):o.createCommentVNode("",!0)]),_:1},8,["validationStatus","systemMessage"])):o.createCommentVNode("",!0),o.createElementVNode("div",o.mergeProps({class:["box flex-container vertical",{"drop-area":n.enableDragAndDrop,"allow-drop":i.allowDrop}]},o.toHandlers(l.dragAndDropHandler,!0)),[i.listOfFiles.length?(o.openBlock(),o.createElementBlock("div",xx,[n.showTotalUpload&&i.listOfFiles.length!==1?(o.openBlock(),o.createElementBlock("div",Bx,[o.createVNode(s,o.mergeProps(n.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),n.showTotalUpload&&i.listOfFiles.length!==1?(o.openBlock(),o.createElementBlock("ul",_x,[o.createElementVNode("li",Ex,[o.createElementVNode("a",{href:"#",title:e.getMessage("cmduploadform.labeltext.remove_all_files_from_list"),onClick:t[0]||(t[0]=o.withModifiers((...m)=>l.cancelUpload&&l.cancelUpload(...m),["prevent"]))},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconDelete)),null,16)],8,Sx),o.createElementVNode("span",null,[o.createTextVNode(o.toDisplayString(i.listOfFiles.length)+" ",1),n.allowMultipleFileUploads?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.labeltext.files_uploading")),1)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.labeltext.file_uploading")),1)],64))]),o.createElementVNode("small",{class:o.normalizeClass(["text-align-right",{error:n.maxTotalUploadSize>0&&l.totalSize>n.maxTotalUploadSize}])}," ("+o.toDisplayString(l.formatSize(l.totalSize))+") ",3),i.uploadInitiated?(o.openBlock(),o.createElementBlock("span",Tx,[o.createElementVNode("span",null,o.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),o.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,Ox)])):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0),Nx])):o.createCommentVNode("",!0),o.createElementVNode("div",Vx,[o.createVNode(s,o.mergeProps(n.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.headline.list_of_selected_files")),1)]),_:1},16),o.createElementVNode("ul",Fx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.listOfFiles,(m,u)=>(o.openBlock(),o.createElementBlock("li",{key:u,class:"flex-container no-flex"},[o.createElementVNode("a",{href:"#",title:e.getMessage("cmduploadform.labeltext.remove_file_from_list",m.file.name),onClick:o.withModifiers(p=>l.removeFile(u),["prevent"])},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconDelete)),null,16)],8,Px),o.createElementVNode("span",{class:o.normalizeClass(["text-align-right",m.allowedType?"allowed":"not-allowed",{error:m.error}])},[o.createTextVNode(o.toDisplayString(m.file.name)+" ",1),o.createElementVNode("small",null,"("+o.toDisplayString(l.formatSize(m.file.size))+")",1)],2),i.uploadInitiated&&!m.error?(o.openBlock(),o.createElementBlock("span",Lx,[o.createElementVNode("span",null,o.toDisplayString(l.getPercentage(m.progress)),1),o.createElementVNode("progress",{max:"100",value:m.progress,title:l.formatSize(m.uploadedBytes)+"/"+l.formatSize(m.file.size)},null,8,Ax)])):o.createCommentVNode("",!0)]))),128))]),l.failedUpload?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",onClick:t[1]||(t[1]=o.withModifiers((...m)=>l.cancel&&l.cancel(...m),["prevent"])),title:e.getMessage("cmduploadform.all_files_will_be_removed")},o.toDisplayString(e.getMessage("cmduploadform.reset_upload")),9,Ix)):o.createCommentVNode("",!0),Mx])])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[n.allowMultipleFileUploads?(o.openBlock(),o.createBlock(s,o.mergeProps({key:0},n.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(l.headlineTextNoFilesToUpload),1)]),_:1},16)):o.createCommentVNode("",!0)],64)),o.createElementVNode("div",Dx,[n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createBlock(s,o.mergeProps({key:0},n.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.headline.select_additional_files")),1)]),_:1},16)):o.createCommentVNode("",!0),!n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createBlock(s,o.mergeProps({key:1},n.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.headline.select_new_file")),1)]),_:1},16)):o.createCommentVNode("",!0),o.createElementVNode("dl",Rx,[n.maxTotalUploadSize>0?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("dt",{class:o.normalizeClass({error:l.totalSize>n.maxTotalUploadSize})},o.toDisplayString(e.getMessage("cmduploadform.max_total_upload_size")),3),o.createElementVNode("dd",{class:o.normalizeClass(["text-align-right",{error:l.totalSize>n.maxTotalUploadSize}])},o.toDisplayString(l.formatSize(n.maxTotalUploadSize)),3)],64)):o.createCommentVNode("",!0),o.createElementVNode("dt",{class:o.normalizeClass({error:i.errors.fileSize})},o.toDisplayString(e.getMessage("cmduploadform.max_file_upload_size")),3),o.createElementVNode("dd",{class:o.normalizeClass(["text-align-right",{error:i.errors.fileSize}])},o.toDisplayString(l.formatSize(n.maxFileUploadSize)),3),o.createElementVNode("dt",{class:o.normalizeClass({error:i.errors.fileType})},o.toDisplayString(e.getMessage("cmduploadform.allowed_file_types")),3),o.createElementVNode("dd",null,[o.createElementVNode("a",{href:"#",onClick:t[2]||(t[2]=o.withModifiers(m=>i.showListOfFileExtensions=!i.showListOfFileExtensions,["prevent"])),title:e.getMessage("cmduploadform.tooltip.toggle_list_of_allowed_file_types")},[o.createVNode(d,{iconClass:i.showListOfFileExtensions?n.iconInvisible.iconClass:n.iconVisible.iconClass,type:i.showListOfFileExtensions?n.iconInvisible.iconType:n.iconVisible.iconType},null,8,["iconClass","type"])],8,jx),o.createVNode(o.Transition,{name:n.useTransition?"fade":null},{default:o.withCtx(()=>[i.showListOfFileExtensions?(o.openBlock(),o.createElementBlock("ul",qx,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.allowedFileExtensions,(m,u)=>(o.openBlock(),o.createElementBlock("li",{key:u,class:o.normalizeClass({error:i.errors.fileType})},o.toDisplayString(m),3))),128))])):o.createCommentVNode("",!0)]),_:1},8,["name"])])])]),o.createElementVNode("div",zx,[o.createElementVNode("button",{type:"button",class:o.normalizeClass(["button upload primary",{disabled:i.uploadInitiated}]),disabled:i.uploadInitiated,onClick:t[3]||(t[3]=m=>l.selectFiles())},[o.createVNode(d,{iconClass:n.iconFileUpload.iconClass,type:n.iconFileUpload.iconType},null,8,["iconClass","type"]),n.allowMultipleFileUploads?(o.openBlock(),o.createElementBlock("span",Ux,o.toDisplayString(e.getMessage("cmduploadform.labeltext.select_files")),1)):(o.openBlock(),o.createElementBlock("span",Wx,o.toDisplayString(e.getMessage("cmduploadform.labeltext.select_file")),1))],10,Hx),n.enableDragAndDrop?(o.openBlock(),o.createElementBlock("p",{key:0,class:o.normalizeClass(["text-drag-and-drop",{disabled:i.uploadInitiated}])},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("cmduploadform.or")),1),o.createElementVNode("strong",null,[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.drag_and_drop"))+" ",1),n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.additional")),1)],64)):o.createCommentVNode("",!0),!n.allowMultipleFileUploads&&i.listOfFiles.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(e.getMessage("cmduploadform.new")),1)],64)):o.createCommentVNode("",!0),o.createTextVNode(" "+o.toDisplayString(e.getMessage("cmduploadform.files_to_this_area")),1)])],2)):o.createCommentVNode("",!0)])],16),n.enableComment?(o.openBlock(),o.createBlock(c,{key:2,element:"textarea",labelText:e.getMessage("cmduploadform.labeltext.comment"),modelValue:i.comment,"onUpdate:modelValue":t[4]||(t[4]=m=>i.comment=m),required:n.commentRequired,validationMessage:n.commentStatusMessage,placeholder:e.getMessage("cmduploadform.placeholder.comment"),status:n.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):o.createCommentVNode("",!0),o.createElementVNode("div",Gx,[o.createElementVNode("button",{class:o.normalizeClass(["button primary",{disabled:i.listOfFiles.length===0||n.maxTotalUploadSize>0&&l.totalSize>n.maxTotalUploadSize||i.uploadInitiated}]),disabled:i.listOfFiles.length===0||n.maxTotalUploadSize>0&&l.totalSize>n.maxTotalUploadSize||i.uploadInitiated,onClick:t[5]||(t[5]=(...m)=>l.uploadFiles&&l.uploadFiles(...m))},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconUpload)),null,16),i.listOfFiles.length===1||!n.allowMultipleFileUploads?(o.openBlock(),o.createElementBlock("span",Kx,o.toDisplayString(e.getMessage("cmduploadform.buttontext.upload_file")),1)):(o.openBlock(),o.createElementBlock("span",Zx,o.toDisplayString(e.getMessage("cmduploadform.buttontext.upload_files")),1))],10,Jx),o.createElementVNode("button",{class:o.normalizeClass(["button",{disabled:i.listOfFiles.length===0}]),onClick:t[6]||(t[6]=(...m)=>l.cancel&&l.cancel(...m))},[o.createVNode(d,o.normalizeProps(o.guardReactiveProps(n.iconCancel)),null,16),o.createElementVNode("span",null,o.toDisplayString(e.getMessage("cmduploadform.buttontext.cancel")),1)],2)])],2)):(o.openBlock(),o.createElementBlock("a",o.mergeProps({key:1,href:"#",onClick:t[7]||(t[7]=o.withModifiers((...m)=>l.selectFiles&&l.selectFiles(...m),["prevent"])),class:["cmd-upload-form box",{"drop-area":n.enableDragAndDrop,"allow-drop":i.allowDrop}]},o.toHandlers(l.dragAndDropHandler,!0)),[i.uploadInitiated?(o.openBlock(),o.createElementBlock("span",Xx,[o.createElementVNode("span",null,o.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),o.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,Qx)])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default",{},()=>[n.enableDragAndDrop?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("cmduploadform.drag_and_drop_file_here")),1),o.createVNode(d,{iconClass:n.iconDragAndDrop.iconClass,type:n.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[l.fileTypeImage?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("cmduploadform.select_image")),1),o.createVNode(d,{iconClass:n.iconImage.iconClass,type:n.iconImage.iconType},null,8,["iconClass","type"])],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("span",null,o.toDisplayString(e.getMessage("cmduploadform.select_file")),1),o.createVNode(d,{iconClass:n.iconFileUpload.iconClass,type:n.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)),o.createElementVNode("small",null,o.toDisplayString(e.getMessage("cmduploadform.max_upload_size"))+" "+o.toDisplayString(l.formatSize(n.maxFileUploadSize)),1),o.createElementVNode("small",null,o.toDisplayString(e.getMessage("cmduploadform.allowed_file_types"))+" "+o.toDisplayString(n.allowedFileExtensions),1)])],16)),o.createVNode(c,{element:"input",type:"file",labelText:e.getMessage("cmduploadform.labeltext.select_files"),disabled:i.uploadInitiated,multiple:n.allowMultipleFileUploads,onChange:l.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const $x=N(Cx,[["render",Yx]]),vx={name:"CmdWidthLimitationWrapper",props:{containerType:{type:String,default:"flex"},innerComponent:{type:String,default:"section",validator(e){return e}},useInnerSection:{type:Boolean,default:!0},useFullDeviceWidth:{type:Boolean,default:!1},sticky:{type:Boolean,default:!1},anchorId:{type:String,required:!1},contentOrientation:{type:String,default:"vertical",validator(e){return e==="horizontal"||e==="vertical"}},cmdHeadline:{type:Object,required:!1}},computed:{setInnerClass(){if(this.useFullDeviceWidth)return"full-width";if(this.innerComponent==="header")return"grid-container-create-columns";if(this.innerComponent==="footer")return"flex-container";if(this.containerType==="grid")return"grid-container-create-columns";if(this.containerType==="flex"){if(this.contentOrientation==="horizontal")return"flex-container";if(this.contentOrientation==="vertical")return"flex-container vertical"}return""}},methods:{oneSlotItem(){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}}},eB=["id"],tB=["id"];function nB(e,t,n,r,i,l){const s=z;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["cmd-width-limitation-wrapper",{sticky:n.sticky}]),ref:"width-limitation-wrapper"},[n.useInnerSection?(o.openBlock(),o.createElementBlock("section",{key:0,class:o.normalizeClass(l.setInnerClass),id:n.anchorId},[n.cmdHeadline?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},n.cmdHeadline)),null,16)):o.createCommentVNode("",!0),l.oneSlotItem()?o.renderSlot(e.$slots,"default",{key:1}):(o.openBlock(),o.createElementBlock("div",{key:2,class:o.normalizeClass(l.setInnerClass)},[o.renderSlot(e.$slots,"default")],2))],10,eB)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[n.anchorId?(o.openBlock(),o.createElementBlock("a",{key:0,id:n.anchorId},null,8,tB)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")],64))],2)}const oB=N(vx,[["render",nB]]),rB={name:"ContactInformation",props:{cmdBasicForm:{type:Object,default:null},cmdAddressData:{type:Object,default:null},cmdGoogleMaps:{type:Object,default:null}},computed:{contactFormOnly(){return!(this.cmdAddressData||this.cmdGoogleMaps||!this.isSlotEmpty)},isSlotEmpty(){return!this.$scopedSlots["custom-info"]}}},iB={key:1,class:"flex-container"},lB={class:"flex-container vertical"};function sB(e,t,n,r,i,l){const s=Bl,a=bl,d=Il;return l.contactFormOnly?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},e.basicForm)),null,16)):(o.openBlock(),o.createElementBlock("div",iB,[o.createVNode(s,o.normalizeProps(o.guardReactiveProps(e.basicForm)),null,16),o.createElementVNode("div",lB,[n.cmdAddressData?(o.openBlock(),o.createBlock(a,o.normalizeProps(o.mergeProps({key:0},n.cmdAddressData)),null,16)):o.createCommentVNode("",!0),n.cmdGoogleMaps?(o.openBlock(),o.createBlock(d,o.normalizeProps(o.mergeProps({key:1},n.cmdGoogleMaps)),null,16)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"additional-info")])]))}const aB=N(rB,[["render",sB]]),cB={name:"MultipleBoxWrapper",props:{segments:{type:Array,default:null}}},dB={class:"cmd-page-multiple-box-wrapper flex-container vertical"};function mB(e,t,n,r,i,l){const s=Vo,a=Ol;return o.openBlock(),o.createElementBlock("div",dB,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.segments,(d,c)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:c},[o.createVNode(a,o.normalizeProps(o.guardReactiveProps(d)),{default:o.withCtx(m=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(d.boxes,(u,p)=>(o.openBlock(),o.createBlock(s,o.mergeProps({"use-slots":["box-body"],key:p},u,{rowView:m.rowView}),{default:o.withCtx(()=>[o.createTextVNode(" box "+o.toDisplayString(u),1)]),_:2},1040,["rowView"]))),128))]),_:2},1040),o.renderSlot(e.$slots,"multiple-box-wrapper-slot-${index}")],64))),128))])}const uB=N(cB,[["render",mB]]),fB={name:"MultipleListsOfLinks",props:{segments:{type:Array,default:null}}},hB={class:"cmd-page-multiple-lists-of-links flex-container vertical"};function pB(e,t,n,r,i,l){const s=Oo;return o.openBlock(),o.createElementBlock("div",hB,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.segments,(a,d)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:d},[o.createVNode(s,{links:a.links,orientation:a.orientation,largeIcons:a.largeIcons,cmdHeadline:a.headline},null,8,["links","orientation","largeIcons","cmdHeadline"]),o.renderSlot(e.$slots,"multiple-lists-of-links-slot-${index}")],64))),128))])}const gB=N(fB,[["render",pB]]),yB={mounted(e){if(e.tagName==="INPUT"||e.tagName==="SELECT"||e.tagName==="TEXTAREA"||e.tagName==="A")e.focus();else{const t=e.querySelector("input, select, textarea");t?t.focus():console.warn("No input-element for focus-directive on element "+e.tagName+" found!")}}},bB={mounted(e,t){if(t.value&&typeof t.value=="string"){let n=/[^\d]/g,r=t.value.replace(/^\s*\+/,"00");e.href="tel:"+r.replace(n,"")}}};var kB=Object.defineProperty,CB=(e,t,n)=>t in e?kB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tn=(e,t,n)=>CB(e,typeof t!="symbol"?t+"":t,n);const dt=/^[a-z0-9]+(-[a-z0-9]+)*$/,nn=(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 a=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:a};return t&&!on(c)?null:c}const l=i[0],s=l.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!on(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:l};return t&&!on(a,n)?null:a}return null},on=(e,t)=>e?!!((e.provider===""||e.provider.match(dt))&&(t&&e.prefix===""||e.prefix.match(dt))&&e.name.match(dt)):!1,_s=Object.freeze({left:0,top:0,width:16,height:16}),rn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ln=Object.freeze({..._s,...rn}),Qo=Object.freeze({...ln,body:"",hidden:!1});function wB(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 Es(e,t){const n=wB(e,t);for(const r in Qo)r in rn?r in e&&!(r in n)&&(n[r]=rn[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function xB(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function l(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const a=r[s]&&r[s].parent,d=a&&l(a);d&&(i[s]=[a].concat(d))}return i[s]}return Object.keys(n).concat(Object.keys(r)).forEach(l),i}function BB(e,t,n){const r=e.icons,i=e.aliases||{};let l={};function s(a){l=Es(r[a]||i[a],l)}return s(t),n.forEach(s),Es(e,l)}function Ss(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=xB(e);for(const i in r){const l=r[i];l&&(t(i,BB(e,i,l)),n.push(i))}return n}const _B={provider:"",aliases:{},not_found:{},..._s};function Yo(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Ts(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Yo(e,_B))return null;const n=t.icons;for(const i in n){const l=n[i];if(!i.match(dt)||typeof l.body!="string"||!Yo(l,Qo))return null}const r=t.aliases||{};for(const i in r){const l=r[i],s=l.parent;if(!i.match(dt)||typeof s!="string"||!n[s]&&!r[s]||!Yo(l,Qo))return null}return t}const Os=Object.create(null);function EB(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ae(e,t){const n=Os[e]||(Os[e]=Object.create(null));return n[t]||(n[t]=EB(e,t))}function $o(e,t){return Ts(t)?Ss(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function SB(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let mt=!1;function Ns(e){return typeof e=="boolean"&&(mt=e),mt}function TB(e){const t=typeof e=="string"?nn(e,!0,mt):e;if(t){const n=Ae(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function OB(e,t){const n=nn(e,!0,mt);if(!n)return!1;const r=Ae(n.provider,n.prefix);return SB(r,n.name,t)}function Vs(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),mt&&!t&&!e.prefix){let i=!1;return Ts(e)&&(e.prefix="",Ss(e,(l,s)=>{s&&OB(l,s)&&(i=!0)})),i}const n=e.prefix;if(!on({provider:t,prefix:n,name:"a"}))return!1;const r=Ae(t,n);return!!$o(r,e)}const Fs=Object.freeze({width:null,height:null}),Ps=Object.freeze({...Fs,...rn}),NB=/(-?[0-9.]*[0-9]+[0-9.]*)/g,VB=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ls(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(NB);if(r===null||!r.length)return e;const i=[];let l=r.shift(),s=VB.test(l);for(;;){if(s){const a=parseFloat(l);isNaN(a)?i.push(l):i.push(Math.ceil(a*t*n)/n)}else i.push(l);if(l=r.shift(),l===void 0)return i.join("");s=!s}}function FB(e,t){const n={...ln,...e},r={...Ps,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let l=n.body;[n,r].forEach(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=2:(f.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),f.push("scale(-1 1)"),i.top=i.left=0):y&&(f.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),f.push("scale(1 -1)"),i.top=i.left=0);let B;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:B=i.height/2+i.top,f.unshift("rotate(90 "+B.toString()+" "+B.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:B=i.width/2+i.left,f.unshift("rotate(-90 "+B.toString()+" "+B.toString()+")");break}g%2===1&&(i.left!==i.top&&(B=i.left,i.left=i.top,i.top=B),i.width!==i.height&&(B=i.width,i.width=i.height,i.height=B)),f.length&&(l='<g transform="'+f.join(" ")+'">'+l+"</g>")});const s=r.width,a=r.height,d=i.width,c=i.height;let m,u;return s===null?(u=a===null?"1em":a==="auto"?c:a,m=Ls(u,d/c)):(m=s==="auto"?d:s,u=a===null?Ls(m,c/d):a==="auto"?c:a),{attributes:{width:m.toString(),height:u.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:l}}const PB=/\sid="(\S+)"/g,LB="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let AB=0;function IB(e,t=LB){const n=[];let r;for(;r=PB.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const l=typeof t=="function"?t(i):t+(AB++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),e}const vo=Object.create(null);function MB(e,t){vo[e]=t}function er(e){return vo[e]||vo[""]}function tr(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 nr=Object.create(null),sn=["https://api.simplesvg.com","https://api.unisvg.com"],or=[];for(;sn.length>0;)sn.length===1||Math.random()>.5?or.push(sn.shift()):or.push(sn.pop());nr[""]=tr({resources:["https://api.iconify.design"].concat(or)});function DB(e,t){const n=tr(t);return n===null?!1:(nr[e]=n,!0)}function rr(e){return nr[e]}let As=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function RB(e,t){const n=rr(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const l=t+".json?icons=";r=n.maxURL-i-n.path.length-l.length}return r}function jB(e){return e===404}const qB=(e,t,n)=>{const r=[],i=RB(e,t),l="icons";let s={type:l,provider:e,prefix:t,icons:[]},a=0;return n.forEach((d,c)=>{a+=d.length+1,a>=i&&c>0&&(r.push(s),s={type:l,provider:e,prefix:t,icons:[]},a=d.length),s.icons.push(d)}),r.push(s),r};function zB(e){if(typeof e=="string"){const t=rr(e);if(t)return t.path}return"/"}const HB=(e,t,n)=>{if(!As){n("abort",424);return}let r=zB(t.provider);switch(t.type){case"icons":{const l=t.prefix,s=t.icons.join(","),a=new URLSearchParams({icons:s});r+=l+".json?"+a.toString();break}case"custom":{const l=t.uri;r+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let i=503;As(e+r).then(l=>{const s=l.status;if(s!==200){setTimeout(()=>{n(jB(s)?"abort":"next",s)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",i)})},UB={prepare:qB,send:HB};function WB(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.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 l=i.provider,s=i.prefix,a=i.name,d=n[l]||(n[l]=Object.create(null)),c=d[s]||(d[s]=Ae(l,s));let m;a in c.icons?m=t.loaded:s===""||c.missing.has(a)?m=t.missing:m=t.pending;const u={provider:l,prefix:s,name:a};m.push(u)}),t}function Is(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function GB(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(l=>{const s=l.icons,a=s.pending.length;s.pending=s.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||Is([e],l.id),l.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),l.abort))})}))}let JB=0;function KB(e,t,n){const r=JB++,i=Is.bind(null,n,r);if(!t.pending.length)return i;const l={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(l)}),i}function ZB(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const l=typeof i=="string"?nn(i,t,n):i;l&&r.push(l)}),r}var XB={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function QB(e,t,n,r){const i=e.resources.length,l=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let b=e.resources.slice(0);for(s=[];b.length>1;){const E=Math.floor(Math.random()*b.length);s.push(b[E]),b=b.slice(0,E).concat(b.slice(E+1))}s=s.concat(b)}else s=e.resources.slice(l).concat(e.resources.slice(0,l));const a=Date.now();let d="pending",c=0,m,u=null,p=[],f=[];typeof r=="function"&&f.push(r);function h(){u&&(clearTimeout(u),u=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,E){E&&(f=[]),typeof b=="function"&&f.push(b)}function B(){return{startTime:a,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function S(){d="failed",f.forEach(b=>{b(void 0,m)})}function _(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function O(b,E,F){const R=E!=="success";switch(p=p.filter(L=>L!==b),d){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=F,S();return}if(R){m=F,p.length||(s.length?P():S());return}if(h(),_(),!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 P(){if(d!=="pending")return;h();const b=s.shift();if(b===void 0){if(p.length){u=setTimeout(()=>{h(),d==="pending"&&(_(),S())},e.timeout);return}S();return}const E={status:"pending",resource:b,callback:(F,R)=>{O(E,F,R)}};p.push(E),c++,u=setTimeout(P,e.rotate),n(b,t,E.callback)}return setTimeout(P),B}function Ms(e){const t={...XB,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function i(s,a,d){const c=QB(t,s,a,(m,u)=>{r(),d&&d(m,u)});return n.push(c),c}function l(s){return n.find(a=>s(a))||null}return{query:i,find:l,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function Ds(){}const ir=Object.create(null);function YB(e){if(!ir[e]){const t=rr(e);if(!t)return;const n=Ms(t),r={config:t,redundancy:n};ir[e]=r}return ir[e]}function $B(e,t,n){let r,i;if(typeof e=="string"){const l=er(e);if(!l)return n(void 0,424),Ds;i=l.send;const s=YB(e);s&&(r=s.redundancy)}else{const l=tr(e);if(l){r=Ms(l);const s=e.resources?e.resources[0]:"",a=er(s);a&&(i=a.send)}}return!r||!i?(n(void 0,424),Ds):r.query(t,i,n)().abort}const Rs="iconify2",ut="iconify",js=ut+"-count",qs=ut+"-version",zs=36e5,vB=168;function lr(e,t){try{return e.getItem(t)}catch{}}function sr(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Hs(e,t){try{e.removeItem(t)}catch{}}function ar(e,t){return sr(e,js,t.toString())}function cr(e){return parseInt(lr(e,js))||0}const an={local:!0,session:!0},Us={local:new Set,session:new Set};let dr=!1;function e1(e){dr=e}let cn=typeof window>"u"?{}:window;function Ws(e){const t=e+"Storage";try{if(cn&&cn[t]&&typeof cn[t].length=="number")return cn[t]}catch{}an[e]=!1}function Gs(e,t){const n=Ws(e);if(!n)return;const r=lr(n,qs);if(r!==Rs){if(r){const a=cr(n);for(let d=0;d<a;d++)Hs(n,ut+d.toString())}sr(n,qs,Rs),ar(n,0);return}const i=Math.floor(Date.now()/zs)-vB,l=a=>{const d=ut+a.toString(),c=lr(n,d);if(typeof c=="string"){try{const m=JSON.parse(c);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,a))return!0}catch{}Hs(n,d)}};let s=cr(n);for(let a=s-1;a>=0;a--)l(a)||(a===s-1?(s--,ar(n,s)):Us[e].add(a))}function Js(){if(!dr){e1(!0);for(const e in an)Gs(e,t=>{const n=t.data,r=t.provider,i=n.prefix,l=Ae(r,i);if(!$o(l,n).length)return!1;const s=n.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,s):s,!0})}}function t1(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in an)Gs(r,i=>{const l=i.data;return i.provider!==e.provider||l.prefix!==e.prefix||l.lastModified===t});return!0}function n1(e,t){dr||Js();function n(r){let i;if(!an[r]||!(i=Ws(r)))return;const l=Us[r];let s;if(l.size)l.delete(s=Array.from(l).shift());else if(s=cr(i),!ar(i,s+1))return;const a={cached:Math.floor(Date.now()/zs),provider:e.provider,data:t};return sr(i,ut+s.toString(),JSON.stringify(a))}t.lastModified&&!t1(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ks(){}function o1(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,GB(e)}))}function r1(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 l;!i||!(l=er(n))||l.prepare(n,r,i).forEach(s=>{$B(n,s,(a,d)=>{if(typeof a!="object"){if(d!==404)return;s.icons.forEach(c=>{e.missing.add(c)})}else try{const c=$o(e,a);if(!c.length)return;const m=e.pendingIcons;m&&c.forEach(u=>{m.delete(u)}),n1(e,a)}catch(c){console.error(c)}o1(e)})})}))}const i1=(e,t)=>{const n=ZB(e,!0,Ns()),r=WB(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,Ks)}),()=>{d=!1}}const i=Object.create(null),l=[];let s,a;return r.pending.forEach(d=>{const{provider:c,prefix:m}=d;if(m===a&&c===s)return;s=c,a=m,l.push(Ae(c,m));const u=i[c]||(i[c]=Object.create(null));u[m]||(u[m]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:m,name:u}=d,p=Ae(c,m),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(u)||(f.add(u),i[c][m].push(u))}),l.forEach(d=>{const{provider:c,prefix:m}=d;i[c][m].length&&r1(d,i[c][m])}),t?KB(t,r,l):Ks};function l1(e,t){const n={...e};for(const r in t){const i=t[r],l=typeof i;r in Fs?(i===null||i&&(l==="string"||l==="number"))&&(n[r]=i):l===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const s1=/[\s,]+/;function a1(e,t){t.split(s1).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function c1(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 l=parseFloat(e.slice(0,e.length-n.length));return isNaN(l)?0:(l=l/i,l%1===0?r(l):0)}}return t}function d1(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 m1(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function u1(e){return'url("data:image/svg+xml,'+m1(e)+'")'}const Zs={...Ps,inline:!1},f1={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},h1={display:"inline-block"},mr={backgroundColor:"currentColor"},Xs={backgroundColor:"transparent"},Qs={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ys={webkitMask:mr,mask:mr,background:Xs};for(const e in Ys){const t=Ys[e];for(const n in Qs)t[e+n]=Qs[n]}const dn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";dn[e+"-flip"]=t,dn[e.slice(0,1)+"-flip"]=t,dn[e+"Flip"]=t});function $s(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const vs=(e,t)=>{const n=l1(Zs,t),r={...f1},i=t.mode||"svg",l={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&a1(n,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?n[y]=c1(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const B=dn[y];B?(g===!0||g==="true"||g===1)&&(n[B]=!0):Zs[y]===void 0&&(r[y]=g)}}}const d=FB(e,n),c=d.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),i==="svg"){r.style={...l,...a},Object.assign(r,c);let y=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=IB(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:m,width:u,height:p}=e,f=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),h=d1(m,{...c,width:u+"",height:p+""});return r.style={...l,"--svg":u1(h),width:$s(c.width),height:$s(c.height),...h1,...f?mr:Xs,...a},o.h("span",r)};if(Ns(!0),MB("",UB),typeof document<"u"&&typeof window<"u"){Js();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"||!Vs(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;DB(n,i)||console.error(r)}catch{console.error(r)}}}}const p1={...ln,body:""};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=nn(e,!1,!0))===null)return this.abortLoading(),null;const r=TB(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:i1([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 vs(p1,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),vs({...ln,...t.data},n)}});function g1(){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 y1(){return"cmd-"+g1()}const b1={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||y1()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},ur=class oo{constructor(t){tn(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,oo.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,oo.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,oo.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,""]}};tn(ur,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),tn(ur,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),tn(ur,"PATTERN_MESSAGE",/^.{2,500}$/);const k1=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(C1,{...e,show:!0}).mount(t)},C1=o.defineComponent({name:"CmdFancyBox",mixins:[b1],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,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},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:{largeGalleryImage(){const e={...this.fancyBoxGallery[this.index].image};return e.src=e.srcImageLarge,e},largeSingleImage(){var e;const t={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t},ariaLabelText(){var e;return(e=this.fancyBoxGallery)!=null&&e.length?this.fancyBoxGallery[this.index].figcaption.text:this.defaultAriaLabelText}},methods:{onDialogCancel(e){if(!this.allowEscapeKey){e.preventDefault();return}this.close()},showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].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 w1(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},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 w1(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}Vs({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
10
10
  c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
11
11
  <path fill="currentColor" d="M2,12h6v18H2V12z"/>
12
- <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});function Ys(e,t){return function(){return e.apply(t,arguments)}}const{toString:b1}=Object.prototype,{getPrototypeOf:ur}=Object,mn=(e=>t=>{const n=b1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ae=e=>(e=e.toLowerCase(),t=>mn(t)===e),un=e=>t=>typeof t===e,{isArray:Xe}=Array,ft=un("undefined");function k1(e){return e!==null&&!ft(e)&&e.constructor!==null&&!ft(e.constructor)&&te(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const $s=ae("ArrayBuffer");function C1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&$s(e.buffer),t}const w1=un("string"),te=un("function"),vs=un("number"),fn=e=>e!==null&&typeof e=="object",x1=e=>e===!0||e===!1,hn=e=>{if(mn(e)!=="object")return!1;const t=ur(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},B1=ae("Date"),_1=ae("File"),E1=ae("Blob"),S1=ae("FileList"),T1=e=>fn(e)&&te(e.pipe),O1=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||te(e.append)&&((t=mn(e))==="formdata"||t==="object"&&te(e.toString)&&e.toString()==="[object FormData]"))},N1=ae("URLSearchParams"),[V1,F1,P1,L1]=["ReadableStream","Request","Response","Headers"].map(ae),A1=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ht(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Xe(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;let a;for(r=0;r<s;r++)a=l[r],t.call(null,e[a],a,e)}}function ea(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 ta=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,na=e=>!ft(e)&&e!==ta;function fr(){const{caseless:e}=na(this)&&this||{},t={},n=(r,i)=>{const l=e&&ea(t,i)||i;hn(t[l])&&hn(r)?t[l]=fr(t[l],r):hn(r)?t[l]=fr({},r):Xe(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&ht(arguments[r],n);return t}const I1=(e,t,n,{allOwnKeys:r}={})=>(ht(t,(i,l)=>{n&&te(i)?e[l]=Ys(i,n):e[l]=i},{allOwnKeys:r}),e),M1=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),D1=(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)},R1=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&ur(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},j1=(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},q1=e=>{if(!e)return null;if(Xe(e))return e;let t=e.length;if(!vs(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},z1=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ur(Uint8Array)),H1=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},U1=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},W1=ae("HTMLFormElement"),G1=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),oa=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),J1=ae("RegExp"),ra=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ht(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},K1=e=>{ra(e,(t,n)=>{if(te(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(te(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+"'")})}})},Z1=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return Xe(e)?r(e):r(String(e).split(t)),n},X1=()=>{},Q1=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,hr="abcdefghijklmnopqrstuvwxyz",ia="0123456789",la={DIGIT:ia,ALPHA:hr,ALPHA_DIGIT:hr+hr.toUpperCase()+ia},Y1=(e=16,t=la.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function $1(e){return!!(e&&te(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const v1=e=>{const t=new Array(10),n=(r,i)=>{if(fn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=Xe(r)?[]:{};return ht(r,(s,a)=>{const d=n(s,i+1);!ft(d)&&(l[a]=d)}),t[i]=void 0,l}}return r};return n(e,0)},e_=ae("AsyncFunction"),t_=e=>e&&(fn(e)||te(e))&&te(e.then)&&te(e.catch),C={isArray:Xe,isArrayBuffer:$s,isBuffer:k1,isFormData:O1,isArrayBufferView:C1,isString:w1,isNumber:vs,isBoolean:x1,isObject:fn,isPlainObject:hn,isReadableStream:V1,isRequest:F1,isResponse:P1,isHeaders:L1,isUndefined:ft,isDate:B1,isFile:_1,isBlob:E1,isRegExp:J1,isFunction:te,isStream:T1,isURLSearchParams:N1,isTypedArray:z1,isFileList:S1,forEach:ht,merge:fr,extend:I1,trim:A1,stripBOM:M1,inherits:D1,toFlatObject:R1,kindOf:mn,kindOfTest:ae,endsWith:j1,toArray:q1,forEachEntry:H1,matchAll:U1,isHTMLForm:W1,hasOwnProperty:oa,hasOwnProp:oa,reduceDescriptors:ra,freezeMethods:K1,toObjectSet:Z1,toCamelCase:G1,noop:X1,toFiniteNumber:Q1,findKey:ea,global:ta,isContextDefined:na,ALPHABET:la,generateString:Y1,isSpecCompliantForm:$1,toJSONObject:v1,isAsyncFn:e_,isThenable:t_};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)}C.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:C.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const sa=I.prototype,aa={};["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=>{aa[e]={value:e}}),Object.defineProperties(I,aa),Object.defineProperty(sa,"isAxiosError",{value:!0}),I.from=(e,t,n,r,i,l)=>{const s=Object.create(sa);return C.toFlatObject(e,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),I.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const n_=null;function pr(e){return C.isPlainObject(e)||C.isArray(e)}function ca(e){return C.endsWith(e,"[]")?e.slice(0,-2):e}function da(e,t,n){return e?e.concat(t).map(function(r,i){return r=ca(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function o_(e){return C.isArray(e)&&!e.some(pr)}const r_=C.toFlatObject(C,{},null,function(e){return/^is[A-Z]/.test(e)});function pn(e,t,n){if(!C.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=C.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,h){return!C.isUndefined(h[f])});const r=n.metaTokens,i=n.visitor||c,l=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&C.isSpecCompliantForm(t);if(!C.isFunction(i))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(C.isDate(f))return f.toISOString();if(!a&&C.isBlob(f))throw new I("Blob is not supported. Use a Buffer instead.");return C.isArrayBuffer(f)||C.isTypedArray(f)?a&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function c(f,h,y){let g=f;if(f&&!y&&typeof f=="object"){if(C.endsWith(h,"{}"))h=r?h:h.slice(0,-2),f=JSON.stringify(f);else if(C.isArray(f)&&o_(f)||(C.isFileList(f)||C.endsWith(h,"[]"))&&(g=C.toArray(f)))return h=ca(h),g.forEach(function(B,S){!(C.isUndefined(B)||B===null)&&t.append(s===!0?da([h],S,l):s===null?h:h+"[]",d(B))}),!1}return pr(f)?!0:(t.append(da(y,h,l),d(f)),!1)}const m=[],u=Object.assign(r_,{defaultVisitor:c,convertValue:d,isVisitable:pr});function p(f,h){if(!C.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));m.push(f),C.forEach(f,function(y,g){(!(C.isUndefined(y)||y===null)&&i.call(t,y,C.isString(g)?g.trim():g,h,u))===!0&&p(y,h?h.concat(g):[g])}),m.pop()}}if(!C.isObject(e))throw new TypeError("data must be an object");return p(e),t}function ma(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function gr(e,t){this._pairs=[],e&&pn(e,this,t)}const ua=gr.prototype;ua.append=function(e,t){this._pairs.push([e,t])},ua.toString=function(e){const t=e?function(n){return e.call(this,n,ma)}:ma;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function i_(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function fa(e,t,n){if(!t)return e;const r=n&&n.encode||i_,i=n&&n.serialize;let l;if(i?l=i(t,n):l=C.isURLSearchParams(t)?t.toString():new gr(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class ha{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){C.forEach(this.handlers,function(n){n!==null&&t(n)})}}const pa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},l_=typeof URLSearchParams<"u"?URLSearchParams:gr,s_=typeof FormData<"u"?FormData:null,a_=typeof Blob<"u"?Blob:null,c_={isBrowser:!0,classes:{URLSearchParams:l_,FormData:s_,Blob:a_},protocols:["http","https","file","blob","url","data"]},yr=typeof window<"u"&&typeof document<"u",d_=(e=>yr&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),m_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",u_=yr&&window.location.href||"http://localhost",f_=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:yr,hasStandardBrowserEnv:d_,hasStandardBrowserWebWorkerEnv:m_,origin:u_},Symbol.toStringTag,{value:"Module"})),ce={...f_,...c_};function h_(e,t){return pn(e,new ce.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return ce.isNode&&C.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function p_(e){return C.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function g_(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r<i;r++)l=n[r],t[l]=e[l];return t}function ga(e){function t(n,r,i,l){let s=n[l++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),d=l>=n.length;return s=!s&&C.isArray(i)?i.length:s,d?(C.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!C.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&C.isArray(i[s])&&(i[s]=g_(i[s])),!a)}if(C.isFormData(e)&&C.isFunction(e.entries)){const n={};return C.forEachEntry(e,(r,i)=>{t(p_(r),i,n,0)}),n}return null}function y_(e,t,n){if(C.isString(e))try{return(t||JSON.parse)(e),C.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const pt={transitional:pa,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=C.isObject(e);if(i&&C.isHTMLForm(e)&&(e=new FormData(e)),C.isFormData(e))return r?JSON.stringify(ga(e)):e;if(C.isArrayBuffer(e)||C.isBuffer(e)||C.isStream(e)||C.isFile(e)||C.isBlob(e)||C.isReadableStream(e))return e;if(C.isArrayBufferView(e))return e.buffer;if(C.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return h_(e,this.formSerializer).toString();if((l=C.isFileList(e))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return pn(l?{"files[]":e}:e,s&&new s,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),y_(e)):e}],transformResponse:[function(e){const t=this.transitional||pt.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(C.isResponse(e)||C.isReadableStream(e))return e;if(e&&C.isString(e)&&(n&&!this.responseType||r)){const i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(l){if(i)throw l.name==="SyntaxError"?I.from(l,I.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ce.classes.FormData,Blob:ce.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};C.forEach(["delete","get","head","post","put","patch"],e=>{pt.headers[e]={}});const b_=C.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"]),k_=e=>{const t={};let n,r,i;return e&&e.split(`
13
- `).forEach(function(l){i=l.indexOf(":"),n=l.substring(0,i).trim().toLowerCase(),r=l.substring(i+1).trim(),!(!n||t[n]&&b_[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},ya=Symbol("internals");function gt(e){return e&&String(e).trim().toLowerCase()}function gn(e){return e===!1||e==null?e:C.isArray(e)?e.map(gn):String(e)}function C_(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const w_=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function br(e,t,n,r,i){if(C.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!C.isString(t)){if(C.isString(r))return t.indexOf(r)!==-1;if(C.isRegExp(r))return r.test(t)}}function x_(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function B_(e,t){const n=C.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,s){return this[r].call(this,t,i,l,s)},configurable:!0})})}class Y{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(a,d,c){const m=gt(d);if(!m)throw new Error("header name must be a non-empty string");const u=C.findKey(i,m);(!u||i[u]===void 0||c===!0||c===void 0&&i[u]!==!1)&&(i[u||d]=gn(a))}const s=(a,d)=>C.forEach(a,(c,m)=>l(c,m,d));if(C.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(C.isString(t)&&(t=t.trim())&&!w_(t))s(k_(t),n);else if(C.isHeaders(t))for(const[a,d]of t.entries())l(d,a,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=gt(t),t){const r=C.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return C_(i);if(C.isFunction(n))return n.call(this,i,r);if(C.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=gt(t),t){const r=C.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||br(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(s){if(s=gt(s),s){const a=C.findKey(r,s);a&&(!n||br(r,r[a],a,n))&&(delete r[a],i=!0)}}return C.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||br(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return C.forEach(this,(i,l)=>{const s=C.findKey(r,l);if(s){n[s]=gn(i),delete n[l];return}const a=t?x_(l):String(l).trim();a!==l&&delete n[l],n[a]=gn(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return C.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&C.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
14
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const n=(this[ya]=this[ya]={accessors:{}}).accessors,r=this.prototype;function i(l){const s=gt(l);n[s]||(B_(r,l),n[s]=!0)}return C.isArray(t)?t.forEach(i):i(t),this}}Y.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),C.reduceDescriptors(Y.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),C.freezeMethods(Y);function kr(e,t){const n=this||pt,r=t||n,i=Y.from(r.headers);let l=r.data;return C.forEach(e,function(s){l=s.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function ba(e){return!!(e&&e.__CANCEL__)}function Qe(e,t,n){I.call(this,e??"canceled",I.ERR_CANCELED,t,n),this.name="CanceledError"}C.inherits(Qe,I,{__CANCEL__:!0});function ka(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new I("Request failed with status code "+n.status,[I.ERR_BAD_REQUEST,I.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function __(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function E_(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(a){const d=Date.now(),c=r[l];s||(s=d),n[i]=a,r[i]=d;let m=l,u=0;for(;m!==i;)u+=n[m++],m=m%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),d-s<t)return;const p=c&&d-c;return p?Math.round(u*1e3/p):void 0}}function S_(e,t){let n=0;const r=1e3/t;let i=null;return function(){const l=this===!0,s=Date.now();if(l||s-n>r)return i&&(clearTimeout(i),i=null),n=s,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(s-n)))}}const yn=(e,t,n=3)=>{let r=0;const i=E_(50,250);return S_(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,d=s-r,c=i(d),m=s<=a;r=s;const u={loaded:s,total:a,progress:a?s/a:void 0,bytes:d,rate:c||void 0,estimated:c&&a&&m?(a-s)/c:void 0,event:l,lengthComputable:a!=null};u[t?"download":"upload"]=!0,e(u)},n)},T_=ce.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let l=i;return e&&(t.setAttribute("href",l),l=t.href),t.setAttribute("href",l),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(i){const l=C.isString(i)?r(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}(),O_=ce.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];C.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),C.isString(r)&&s.push("path="+r),C.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function N_(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function V_(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ca(e,t){return e&&!N_(t)?V_(e,t):t}const wa=e=>e instanceof Y?{...e}:e;function Ie(e,t){t=t||{};const n={};function r(c,m,u){return C.isPlainObject(c)&&C.isPlainObject(m)?C.merge.call({caseless:u},c,m):C.isPlainObject(m)?C.merge({},m):C.isArray(m)?m.slice():m}function i(c,m,u){if(C.isUndefined(m)){if(!C.isUndefined(c))return r(void 0,c,u)}else return r(c,m,u)}function l(c,m){if(!C.isUndefined(m))return r(void 0,m)}function s(c,m){if(C.isUndefined(m)){if(!C.isUndefined(c))return r(void 0,c)}else return r(void 0,m)}function a(c,m,u){if(u in t)return r(c,m);if(u in e)return r(void 0,c)}const d={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,m)=>i(wa(c),wa(m),!0)};return C.forEach(Object.keys(Object.assign({},e,t)),function(c){const m=d[c]||i,u=m(e[c],t[c],c);C.isUndefined(u)&&m!==a||(n[c]=u)}),n}const xa=e=>{const t=Ie({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=Y.from(s),t.url=fa(Ca(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let d;if(C.isFormData(n)){if(ce.hasStandardBrowserEnv||ce.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((d=s.getContentType())!==!1){const[c,...m]=d?d.split(";").map(u=>u.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...m].join("; "))}}if(ce.hasStandardBrowserEnv&&(r&&C.isFunction(r)&&(r=r(t)),r||r!==!1&&T_(t.url))){const c=i&&l&&O_.read(l);c&&s.set(i,c)}return t},F_=typeof XMLHttpRequest<"u",P_=F_&&function(e){return new Promise(function(t,n){const r=xa(e);let i=r.data;const l=Y.from(r.headers).normalize();let{responseType:s}=r,a;function d(){r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function m(){if(!c)return;const p=Y.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:e,request:c};ka(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=m:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(m)},c.onabort=function(){c&&(n(new I("Request aborted",I.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new I("Network Error",I.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let p=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||pa;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new I(p,f.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,r,c)),c=null},i===void 0&&l.setContentType(null),"setRequestHeader"in c&&C.forEach(l.toJSON(),function(p,f){c.setRequestHeader(f,p)}),C.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),s&&s!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",yn(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",yn(r.onUploadProgress)),(r.cancelToken||r.signal)&&(a=p=>{c&&(n(!p||p.type?new Qe(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const u=__(r.url);if(u&&ce.protocols.indexOf(u)===-1){n(new I("Unsupported protocol "+u+":",I.ERR_BAD_REQUEST,e));return}c.send(i||null)})},L_=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,s();const c=d instanceof Error?d:this.reason;n.abort(c instanceof I?c:new Qe(c instanceof Error?c.message:c))}};let l=t&&setTimeout(()=>{i(new I(`timeout ${t} of ms exceeded`,I.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:a}=n;return a.unsubscribe=s,[a,()=>{l&&clearTimeout(l),l=null}]},A_=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},I_=async function*(e,t,n){for await(const r of e)yield*A_(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Ba=(e,t,n,r,i)=>{const l=I_(e,t,i);let s=0;return new ReadableStream({type:"bytes",async pull(a){const{done:d,value:c}=await l.next();if(d){a.close(),r();return}let m=c.byteLength;n&&n(s+=m),a.enqueue(new Uint8Array(c))},cancel(a){return r(a),l.return()}},{highWaterMark:2})},_a=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},bn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ea=bn&&typeof ReadableStream=="function",Cr=bn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),M_=Ea&&(()=>{let e=!1;const t=new Request(ce.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Sa=64*1024,wr=Ea&&!!(()=>{try{return C.isReadableStream(new Response("").body)}catch{}})(),kn={stream:wr&&(e=>e.body)};bn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!kn[t]&&(kn[t]=C.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new I(`Response type '${t}' is not supported`,I.ERR_NOT_SUPPORT,r)})})})(new Response);const D_=async e=>{if(e==null)return 0;if(C.isBlob(e))return e.size;if(C.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(C.isArrayBufferView(e))return e.byteLength;if(C.isURLSearchParams(e)&&(e=e+""),C.isString(e))return(await Cr(e)).byteLength},R_=async(e,t)=>C.toFiniteNumber(e.getContentLength())??D_(t),j_=bn&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:d,responseType:c,headers:m,withCredentials:u="same-origin",fetchOptions:p}=xa(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||l||s?L_([i,l],s):[],y,g;const B=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let S;try{if(d&&M_&&n!=="get"&&n!=="head"&&(S=await R_(m,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),E;C.isFormData(r)&&(E=b.headers.get("content-type"))&&m.setContentType(E),b.body&&(r=Ba(b.body,Sa,_a(S,yn(d)),null,Cr))}C.isString(u)||(u=u?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:"half",withCredentials:u});let _=await fetch(g);const O=wr&&(c==="stream"||c==="response");if(wr&&(a||O)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=_[F]});const E=C.toFiniteNumber(_.headers.get("content-length"));_=new Response(Ba(_.body,Sa,a&&_a(E,yn(a,!0)),O&&B,Cr),b)}c=c||"text";let P=await kn[C.findKey(kn,c)||"text"](_,e);return!O&&B(),h&&h(),await new Promise((b,E)=>{ka(b,E,{data:P,headers:Y.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:g})})}catch(_){throw B(),_&&_.name==="TypeError"&&/fetch/i.test(_.message)?Object.assign(new I("Network Error",I.ERR_NETWORK,e,g),{cause:_.cause||_}):I.from(_,_&&_.code,e,g)}}),xr={http:n_,xhr:P_,fetch:j_};C.forEach(xr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ta=e=>`- ${e}`,q_=e=>C.isFunction(e)||e===null||e===!1,Oa={getAdapter:e=>{e=C.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l<t;l++){n=e[l];let s;if(r=n,!q_(n)&&(r=xr[(s=String(n)).toLowerCase()],r===void 0))throw new I(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+l]=r}if(!r){const l=Object.entries(i).map(([a,d])=>`adapter ${a} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since :
15
- `+l.map(Ta).join(`
16
- `):" "+Ta(l[0]):"as no adapter specified";throw new I("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:xr};function Br(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Qe(null,e)}function Na(e){return Br(e),e.headers=Y.from(e.headers),e.data=kr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Oa.getAdapter(e.adapter||pt.adapter)(e).then(function(t){return Br(e),t.data=kr.call(e,e.transformResponse,t),t.headers=Y.from(t.headers),t},function(t){return ba(t)||(Br(e),t&&t.response&&(t.response.data=kr.call(e,e.transformResponse,t.response),t.response.headers=Y.from(t.response.headers))),Promise.reject(t)})}const Va="1.7.2",_r={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{_r[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Fa={};_r.transitional=function(e,t,n){function r(i,l){return"[Axios v"+Va+"] Transitional option '"+i+"'"+l+(n?". "+n:"")}return(i,l,s)=>{if(e===!1)throw new I(r(l," has been removed"+(t?" in "+t:"")),I.ERR_DEPRECATED);return t&&!Fa[l]&&(Fa[l]=!0,console.warn(r(l," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,l,s):!0}};function z_(e,t,n){if(typeof e!="object")throw new I("options must be an object",I.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],s=t[l];if(s){const a=e[l],d=a===void 0||s(a,l,e);if(d!==!0)throw new I("option "+l+" must be "+d,I.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new I("Unknown option "+l,I.ERR_BAD_OPTION)}}const Er={assertOptions:z_,validators:_r},Se=Er.validators;class Me{constructor(t){this.defaults=t,this.interceptors={request:new ha,response:new ha}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=`
17
- `+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ie(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&Er.assertOptions(r,{silentJSONParsing:Se.transitional(Se.boolean),forcedJSONParsing:Se.transitional(Se.boolean),clarifyTimeoutError:Se.transitional(Se.boolean)},!1),i!=null&&(C.isFunction(i)?n.paramsSerializer={serialize:i}:Er.assertOptions(i,{encode:Se.function,serialize:Se.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&C.merge(l.common,l[n.method]);l&&C.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),n.headers=Y.concat(s,l);const a=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let m,u=0,p;if(!d){const h=[Na.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),p=h.length,m=Promise.resolve(n);u<p;)m=m.then(h[u++],h[u++]);return m}p=a.length;let f=n;for(u=0;u<p;){const h=a[u++],y=a[u++];try{f=h(f)}catch(g){y.call(this,g);break}}try{m=Na.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,p=c.length;u<p;)m=m.then(c[u++],c[u++]);return m}getUri(t){t=Ie(this.defaults,t);const n=Ca(t.baseURL,t.url);return fa(n,t.params,t.paramsSerializer)}}C.forEach(["delete","get","head","options"],function(e){Me.prototype[e]=function(t,n){return this.request(Ie(n||{},{method:e,url:t,data:(n||{}).data}))}}),C.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,l){return this.request(Ie(l||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}Me.prototype[e]=t(),Me.prototype[e+"Form"]=t(!0)});class Sr{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(i=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(i,l,s){r.reason||(r.reason=new Qe(i,l,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Sr(function(n){t=n}),cancel:t}}}function H_(e){return function(t){return e.apply(null,t)}}function U_(e){return C.isObject(e)&&e.isAxiosError===!0}const Tr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Tr).forEach(([e,t])=>{Tr[t]=e});function Pa(e){const t=new Me(e),n=Ys(Me.prototype.request,t);return C.extend(n,Me.prototype,t,{allOwnKeys:!0}),C.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Pa(Ie(e,r))},n}const U=Pa(pt);U.Axios=Me,U.CanceledError=Qe,U.CancelToken=Sr,U.isCancel=ba,U.VERSION=Va,U.toFormData=pn,U.AxiosError=I,U.Cancel=U.CanceledError,U.all=function(e){return Promise.all(e)},U.spread=H_,U.isAxiosError=U_,U.mergeConfig=Ie,U.AxiosHeaders=Y,U.formToJSON=e=>ga(C.isHTMLForm(e)?new FormData(e):e),U.getAdapter=Oa.getAdapter,U.HttpStatusCode=Tr,U.default=U;var W_=Object.defineProperty,G_=(e,t,n)=>t in e?W_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Cn=(e,t,n)=>G_(e,typeof t!="symbol"?t+"":t,n);const yt=/^[a-z0-9]+(-[a-z0-9]+)*$/,wn=(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 a=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:a};return t&&!xn(c)?null:c}const l=i[0],s=l.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!xn(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:l};return t&&!xn(a,n)?null:a}return null},xn=(e,t)=>e?!!((e.provider===""||e.provider.match(yt))&&(t&&e.prefix===""||e.prefix.match(yt))&&e.name.match(yt)):!1,La=Object.freeze({left:0,top:0,width:16,height:16}),Bn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),_n=Object.freeze({...La,...Bn}),Or=Object.freeze({..._n,body:"",hidden:!1});function J_(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 Aa(e,t){const n=J_(e,t);for(const r in Or)r in Bn?r in e&&!(r in n)&&(n[r]=Bn[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function K_(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function l(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const a=r[s]&&r[s].parent,d=a&&l(a);d&&(i[s]=[a].concat(d))}return i[s]}return Object.keys(n).concat(Object.keys(r)).forEach(l),i}function Z_(e,t,n){const r=e.icons,i=e.aliases||{};let l={};function s(a){l=Aa(r[a]||i[a],l)}return s(t),n.forEach(s),Aa(e,l)}function Ia(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=K_(e);for(const i in r){const l=r[i];l&&(t(i,Z_(e,i,l)),n.push(i))}return n}const X_={provider:"",aliases:{},not_found:{},...La};function Nr(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Ma(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Nr(e,X_))return null;const n=t.icons;for(const i in n){const l=n[i];if(!i.match(yt)||typeof l.body!="string"||!Nr(l,Or))return null}const r=t.aliases||{};for(const i in r){const l=r[i],s=l.parent;if(!i.match(yt)||typeof s!="string"||!n[s]&&!r[s]||!Nr(l,Or))return null}return t}const Da=Object.create(null);function Q_(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function De(e,t){const n=Da[e]||(Da[e]=Object.create(null));return n[t]||(n[t]=Q_(e,t))}function Vr(e,t){return Ma(t)?Ia(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Y_(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let bt=!1;function Ra(e){return typeof e=="boolean"&&(bt=e),bt}function $_(e){const t=typeof e=="string"?wn(e,!0,bt):e;if(t){const n=De(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function v_(e,t){const n=wn(e,!0,bt);if(!n)return!1;const r=De(n.provider,n.prefix);return Y_(r,n.name,t)}function ja(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),bt&&!t&&!e.prefix){let i=!1;return Ma(e)&&(e.prefix="",Ia(e,(l,s)=>{s&&v_(l,s)&&(i=!0)})),i}const n=e.prefix;if(!xn({provider:t,prefix:n,name:"a"}))return!1;const r=De(t,n);return!!Vr(r,e)}const qa=Object.freeze({width:null,height:null}),za=Object.freeze({...qa,...Bn}),eE=/(-?[0-9.]*[0-9]+[0-9.]*)/g,tE=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ha(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(eE);if(r===null||!r.length)return e;const i=[];let l=r.shift(),s=tE.test(l);for(;;){if(s){const a=parseFloat(l);isNaN(a)?i.push(l):i.push(Math.ceil(a*t*n)/n)}else i.push(l);if(l=r.shift(),l===void 0)return i.join("");s=!s}}function nE(e,t){const n={..._n,...e},r={...za,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let l=n.body;[n,r].forEach(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=2:(f.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),f.push("scale(-1 1)"),i.top=i.left=0):y&&(f.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),f.push("scale(1 -1)"),i.top=i.left=0);let B;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:B=i.height/2+i.top,f.unshift("rotate(90 "+B.toString()+" "+B.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:B=i.width/2+i.left,f.unshift("rotate(-90 "+B.toString()+" "+B.toString()+")");break}g%2===1&&(i.left!==i.top&&(B=i.left,i.left=i.top,i.top=B),i.width!==i.height&&(B=i.width,i.width=i.height,i.height=B)),f.length&&(l='<g transform="'+f.join(" ")+'">'+l+"</g>")});const s=r.width,a=r.height,d=i.width,c=i.height;let m,u;return s===null?(u=a===null?"1em":a==="auto"?c:a,m=Ha(u,d/c)):(m=s==="auto"?d:s,u=a===null?Ha(m,c/d):a==="auto"?c:a),{attributes:{width:m.toString(),height:u.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:l}}const oE=/\sid="(\S+)"/g,rE="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let iE=0;function lE(e,t=rE){const n=[];let r;for(;r=oE.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const l=typeof t=="function"?t(i):t+(iE++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),e}const Fr=Object.create(null);function sE(e,t){Fr[e]=t}function Pr(e){return Fr[e]||Fr[""]}function Lr(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 Ar=Object.create(null),En=["https://api.simplesvg.com","https://api.unisvg.com"],Ir=[];for(;En.length>0;)En.length===1||Math.random()>.5?Ir.push(En.shift()):Ir.push(En.pop());Ar[""]=Lr({resources:["https://api.iconify.design"].concat(Ir)});function aE(e,t){const n=Lr(t);return n===null?!1:(Ar[e]=n,!0)}function Mr(e){return Ar[e]}let Ua=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function cE(e,t){const n=Mr(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const l=t+".json?icons=";r=n.maxURL-i-n.path.length-l.length}return r}function dE(e){return e===404}const mE=(e,t,n)=>{const r=[],i=cE(e,t),l="icons";let s={type:l,provider:e,prefix:t,icons:[]},a=0;return n.forEach((d,c)=>{a+=d.length+1,a>=i&&c>0&&(r.push(s),s={type:l,provider:e,prefix:t,icons:[]},a=d.length),s.icons.push(d)}),r.push(s),r};function uE(e){if(typeof e=="string"){const t=Mr(e);if(t)return t.path}return"/"}const fE=(e,t,n)=>{if(!Ua){n("abort",424);return}let r=uE(t.provider);switch(t.type){case"icons":{const l=t.prefix,s=t.icons.join(","),a=new URLSearchParams({icons:s});r+=l+".json?"+a.toString();break}case"custom":{const l=t.uri;r+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let i=503;Ua(e+r).then(l=>{const s=l.status;if(s!==200){setTimeout(()=>{n(dE(s)?"abort":"next",s)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",i)})},hE={prepare:mE,send:fE};function pE(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.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 l=i.provider,s=i.prefix,a=i.name,d=n[l]||(n[l]=Object.create(null)),c=d[s]||(d[s]=De(l,s));let m;a in c.icons?m=t.loaded:s===""||c.missing.has(a)?m=t.missing:m=t.pending;const u={provider:l,prefix:s,name:a};m.push(u)}),t}function Wa(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function gE(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(l=>{const s=l.icons,a=s.pending.length;s.pending=s.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||Wa([e],l.id),l.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),l.abort))})}))}let yE=0;function bE(e,t,n){const r=yE++,i=Wa.bind(null,n,r);if(!t.pending.length)return i;const l={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(l)}),i}function kE(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const l=typeof i=="string"?wn(i,t,n):i;l&&r.push(l)}),r}var CE={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function wE(e,t,n,r){const i=e.resources.length,l=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let b=e.resources.slice(0);for(s=[];b.length>1;){const E=Math.floor(Math.random()*b.length);s.push(b[E]),b=b.slice(0,E).concat(b.slice(E+1))}s=s.concat(b)}else s=e.resources.slice(l).concat(e.resources.slice(0,l));const a=Date.now();let d="pending",c=0,m,u=null,p=[],f=[];typeof r=="function"&&f.push(r);function h(){u&&(clearTimeout(u),u=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,E){E&&(f=[]),typeof b=="function"&&f.push(b)}function B(){return{startTime:a,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function S(){d="failed",f.forEach(b=>{b(void 0,m)})}function _(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function O(b,E,F){const R=E!=="success";switch(p=p.filter(L=>L!==b),d){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=F,S();return}if(R){m=F,p.length||(s.length?P():S());return}if(h(),_(),!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 P(){if(d!=="pending")return;h();const b=s.shift();if(b===void 0){if(p.length){u=setTimeout(()=>{h(),d==="pending"&&(_(),S())},e.timeout);return}S();return}const E={status:"pending",resource:b,callback:(F,R)=>{O(E,F,R)}};p.push(E),c++,u=setTimeout(P,e.rotate),n(b,t,E.callback)}return setTimeout(P),B}function Ga(e){const t={...CE,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function i(s,a,d){const c=wE(t,s,a,(m,u)=>{r(),d&&d(m,u)});return n.push(c),c}function l(s){return n.find(a=>s(a))||null}return{query:i,find:l,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function Ja(){}const Dr=Object.create(null);function xE(e){if(!Dr[e]){const t=Mr(e);if(!t)return;const n=Ga(t),r={config:t,redundancy:n};Dr[e]=r}return Dr[e]}function BE(e,t,n){let r,i;if(typeof e=="string"){const l=Pr(e);if(!l)return n(void 0,424),Ja;i=l.send;const s=xE(e);s&&(r=s.redundancy)}else{const l=Lr(e);if(l){r=Ga(l);const s=e.resources?e.resources[0]:"",a=Pr(s);a&&(i=a.send)}}return!r||!i?(n(void 0,424),Ja):r.query(t,i,n)().abort}const Ka="iconify2",kt="iconify",Za=kt+"-count",Xa=kt+"-version",Qa=36e5,_E=168;function Rr(e,t){try{return e.getItem(t)}catch{}}function jr(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Ya(e,t){try{e.removeItem(t)}catch{}}function qr(e,t){return jr(e,Za,t.toString())}function zr(e){return parseInt(Rr(e,Za))||0}const Sn={local:!0,session:!0},$a={local:new Set,session:new Set};let Hr=!1;function EE(e){Hr=e}let Tn=typeof window>"u"?{}:window;function va(e){const t=e+"Storage";try{if(Tn&&Tn[t]&&typeof Tn[t].length=="number")return Tn[t]}catch{}Sn[e]=!1}function ec(e,t){const n=va(e);if(!n)return;const r=Rr(n,Xa);if(r!==Ka){if(r){const a=zr(n);for(let d=0;d<a;d++)Ya(n,kt+d.toString())}jr(n,Xa,Ka),qr(n,0);return}const i=Math.floor(Date.now()/Qa)-_E,l=a=>{const d=kt+a.toString(),c=Rr(n,d);if(typeof c=="string"){try{const m=JSON.parse(c);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,a))return!0}catch{}Ya(n,d)}};let s=zr(n);for(let a=s-1;a>=0;a--)l(a)||(a===s-1?(s--,qr(n,s)):$a[e].add(a))}function tc(){if(!Hr){EE(!0);for(const e in Sn)ec(e,t=>{const n=t.data,r=t.provider,i=n.prefix,l=De(r,i);if(!Vr(l,n).length)return!1;const s=n.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,s):s,!0})}}function SE(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Sn)ec(r,i=>{const l=i.data;return i.provider!==e.provider||l.prefix!==e.prefix||l.lastModified===t});return!0}function TE(e,t){Hr||tc();function n(r){let i;if(!Sn[r]||!(i=va(r)))return;const l=$a[r];let s;if(l.size)l.delete(s=Array.from(l).shift());else if(s=zr(i),!qr(i,s+1))return;const a={cached:Math.floor(Date.now()/Qa),provider:e.provider,data:t};return jr(i,kt+s.toString(),JSON.stringify(a))}t.lastModified&&!SE(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function nc(){}function OE(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,gE(e)}))}function NE(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 l;!i||!(l=Pr(n))||l.prepare(n,r,i).forEach(s=>{BE(n,s,(a,d)=>{if(typeof a!="object"){if(d!==404)return;s.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Vr(e,a);if(!c.length)return;const m=e.pendingIcons;m&&c.forEach(u=>{m.delete(u)}),TE(e,a)}catch(c){console.error(c)}OE(e)})})}))}const VE=(e,t)=>{const n=kE(e,!0,Ra()),r=pE(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,nc)}),()=>{d=!1}}const i=Object.create(null),l=[];let s,a;return r.pending.forEach(d=>{const{provider:c,prefix:m}=d;if(m===a&&c===s)return;s=c,a=m,l.push(De(c,m));const u=i[c]||(i[c]=Object.create(null));u[m]||(u[m]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:m,name:u}=d,p=De(c,m),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(u)||(f.add(u),i[c][m].push(u))}),l.forEach(d=>{const{provider:c,prefix:m}=d;i[c][m].length&&NE(d,i[c][m])}),t?bE(t,r,l):nc};function FE(e,t){const n={...e};for(const r in t){const i=t[r],l=typeof i;r in qa?(i===null||i&&(l==="string"||l==="number"))&&(n[r]=i):l===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const PE=/[\s,]+/;function LE(e,t){t.split(PE).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function AE(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 l=parseFloat(e.slice(0,e.length-n.length));return isNaN(l)?0:(l=l/i,l%1===0?r(l):0)}}return t}function IE(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 ME(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function DE(e){return'url("data:image/svg+xml,'+ME(e)+'")'}const oc={...za,inline:!1},RE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},jE={display:"inline-block"},Ur={backgroundColor:"currentColor"},rc={backgroundColor:"transparent"},ic={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},lc={webkitMask:Ur,mask:Ur,background:rc};for(const e in lc){const t=lc[e];for(const n in ic)t[e+n]=ic[n]}const On={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";On[e+"-flip"]=t,On[e.slice(0,1)+"-flip"]=t,On[e+"Flip"]=t});function sc(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const ac=(e,t)=>{const n=FE(oc,t),r={...RE},i=t.mode||"svg",l={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&LE(n,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?n[y]=AE(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const B=On[y];B?(g===!0||g==="true"||g===1)&&(n[B]=!0):oc[y]===void 0&&(r[y]=g)}}}const d=nE(e,n),c=d.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),i==="svg"){r.style={...l,...a},Object.assign(r,c);let y=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=lE(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:m,width:u,height:p}=e,f=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),h=IE(m,{...c,width:u+"",height:p+""});return r.style={...l,"--svg":DE(h),width:sc(c.width),height:sc(c.height),...jE,...f?Ur:rc,...a},o.h("span",r)};if(Ra(!0),sE("",hE),typeof document<"u"&&typeof window<"u"){tc();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"||!ja(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;aE(n,i)||console.error(r)}catch{console.error(r)}}}}const qE={..._n,body:""};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=wn(e,!1,!0))===null)return this.abortLoading(),null;const r=$_(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:VE([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 ac(qE,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),ac({..._n,...t.data},n)}});function zE(){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 HE(){return"cmd-"+zE()}const UE={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||HE()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Wr=class ro{constructor(t){Cn(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,ro.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,ro.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,ro.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,""]}};Cn(Wr,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),Cn(Wr,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),Cn(Wr,"PATTERN_MESSAGE",/^.{2,500}$/);const WE=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(GE,{...e,show:!0}).mount(t)},GE=o.defineComponent({name:"CmdFancyBox",mixins:[UE],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,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},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:{largeGalleryImage(){const e={...this.fancyBoxGallery[this.index].image};return e.src=e.srcImageLarge,e},largeSingleImage(){var e;const t={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t},ariaLabelText(){var e;return(e=this.fancyBoxGallery)!=null&&e.length?this.fancyBoxGallery[this.index].figcaption.text:this.defaultAriaLabelText}},methods:{onDialogCancel(e){if(!this.allowEscapeKey){e.preventDefault();return}this.close()},showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].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 JE(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},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 JE(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}ja({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
+ <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});function ea(e,t){return function(){return e.apply(t,arguments)}}const{toString:x1}=Object.prototype,{getPrototypeOf:fr}=Object,mn=(e=>t=>{const n=x1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ae=e=>(e=e.toLowerCase(),t=>mn(t)===e),un=e=>t=>typeof t===e,{isArray:Xe}=Array,ft=un("undefined");function B1(e){return e!==null&&!ft(e)&&e.constructor!==null&&!ft(e.constructor)&&te(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ta=ae("ArrayBuffer");function _1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ta(e.buffer),t}const E1=un("string"),te=un("function"),na=un("number"),fn=e=>e!==null&&typeof e=="object",S1=e=>e===!0||e===!1,hn=e=>{if(mn(e)!=="object")return!1;const t=fr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},T1=ae("Date"),O1=ae("File"),N1=ae("Blob"),V1=ae("FileList"),F1=e=>fn(e)&&te(e.pipe),P1=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||te(e.append)&&((t=mn(e))==="formdata"||t==="object"&&te(e.toString)&&e.toString()==="[object FormData]"))},L1=ae("URLSearchParams"),[A1,I1,M1,D1]=["ReadableStream","Request","Response","Headers"].map(ae),R1=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ht(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Xe(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;let a;for(r=0;r<s;r++)a=l[r],t.call(null,e[a],a,e)}}function oa(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 ra=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ia=e=>!ft(e)&&e!==ra;function hr(){const{caseless:e}=ia(this)&&this||{},t={},n=(r,i)=>{const l=e&&oa(t,i)||i;hn(t[l])&&hn(r)?t[l]=hr(t[l],r):hn(r)?t[l]=hr({},r):Xe(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&ht(arguments[r],n);return t}const j1=(e,t,n,{allOwnKeys:r}={})=>(ht(t,(i,l)=>{n&&te(i)?e[l]=ea(i,n):e[l]=i},{allOwnKeys:r}),e),q1=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),z1=(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)},H1=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&fr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},U1=(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},W1=e=>{if(!e)return null;if(Xe(e))return e;let t=e.length;if(!na(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},G1=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&fr(Uint8Array)),J1=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},K1=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Z1=ae("HTMLFormElement"),X1=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),la=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Q1=ae("RegExp"),sa=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ht(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},Y1=e=>{sa(e,(t,n)=>{if(te(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(te(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+"'")})}})},$1=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return Xe(e)?r(e):r(String(e).split(t)),n},v1=()=>{},e_=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,pr="abcdefghijklmnopqrstuvwxyz",aa="0123456789",ca={DIGIT:aa,ALPHA:pr,ALPHA_DIGIT:pr+pr.toUpperCase()+aa},t_=(e=16,t=ca.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function n_(e){return!!(e&&te(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const o_=e=>{const t=new Array(10),n=(r,i)=>{if(fn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=Xe(r)?[]:{};return ht(r,(s,a)=>{const d=n(s,i+1);!ft(d)&&(l[a]=d)}),t[i]=void 0,l}}return r};return n(e,0)},r_=ae("AsyncFunction"),i_=e=>e&&(fn(e)||te(e))&&te(e.then)&&te(e.catch),C={isArray:Xe,isArrayBuffer:ta,isBuffer:B1,isFormData:P1,isArrayBufferView:_1,isString:E1,isNumber:na,isBoolean:S1,isObject:fn,isPlainObject:hn,isReadableStream:A1,isRequest:I1,isResponse:M1,isHeaders:D1,isUndefined:ft,isDate:T1,isFile:O1,isBlob:N1,isRegExp:Q1,isFunction:te,isStream:F1,isURLSearchParams:L1,isTypedArray:G1,isFileList:V1,forEach:ht,merge:hr,extend:j1,trim:R1,stripBOM:q1,inherits:z1,toFlatObject:H1,kindOf:mn,kindOfTest:ae,endsWith:U1,toArray:W1,forEachEntry:J1,matchAll:K1,isHTMLForm:Z1,hasOwnProperty:la,hasOwnProp:la,reduceDescriptors:sa,freezeMethods:Y1,toObjectSet:$1,toCamelCase:X1,noop:v1,toFiniteNumber:e_,findKey:oa,global:ra,isContextDefined:ia,ALPHABET:ca,generateString:t_,isSpecCompliantForm:n_,toJSONObject:o_,isAsyncFn:r_,isThenable:i_};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)}C.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:C.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const da=I.prototype,ma={};["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=>{ma[e]={value:e}}),Object.defineProperties(I,ma),Object.defineProperty(da,"isAxiosError",{value:!0}),I.from=(e,t,n,r,i,l)=>{const s=Object.create(da);return C.toFlatObject(e,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),I.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const l_=null;function gr(e){return C.isPlainObject(e)||C.isArray(e)}function ua(e){return C.endsWith(e,"[]")?e.slice(0,-2):e}function fa(e,t,n){return e?e.concat(t).map(function(r,i){return r=ua(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function s_(e){return C.isArray(e)&&!e.some(gr)}const a_=C.toFlatObject(C,{},null,function(e){return/^is[A-Z]/.test(e)});function pn(e,t,n){if(!C.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=C.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,h){return!C.isUndefined(h[f])});const r=n.metaTokens,i=n.visitor||c,l=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&C.isSpecCompliantForm(t);if(!C.isFunction(i))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(C.isDate(f))return f.toISOString();if(!a&&C.isBlob(f))throw new I("Blob is not supported. Use a Buffer instead.");return C.isArrayBuffer(f)||C.isTypedArray(f)?a&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function c(f,h,y){let g=f;if(f&&!y&&typeof f=="object"){if(C.endsWith(h,"{}"))h=r?h:h.slice(0,-2),f=JSON.stringify(f);else if(C.isArray(f)&&s_(f)||(C.isFileList(f)||C.endsWith(h,"[]"))&&(g=C.toArray(f)))return h=ua(h),g.forEach(function(B,S){!(C.isUndefined(B)||B===null)&&t.append(s===!0?fa([h],S,l):s===null?h:h+"[]",d(B))}),!1}return gr(f)?!0:(t.append(fa(y,h,l),d(f)),!1)}const m=[],u=Object.assign(a_,{defaultVisitor:c,convertValue:d,isVisitable:gr});function p(f,h){if(!C.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));m.push(f),C.forEach(f,function(y,g){(!(C.isUndefined(y)||y===null)&&i.call(t,y,C.isString(g)?g.trim():g,h,u))===!0&&p(y,h?h.concat(g):[g])}),m.pop()}}if(!C.isObject(e))throw new TypeError("data must be an object");return p(e),t}function ha(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function yr(e,t){this._pairs=[],e&&pn(e,this,t)}const pa=yr.prototype;pa.append=function(e,t){this._pairs.push([e,t])},pa.toString=function(e){const t=e?function(n){return e.call(this,n,ha)}:ha;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function c_(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ga(e,t,n){if(!t)return e;const r=n&&n.encode||c_,i=n&&n.serialize;let l;if(i?l=i(t,n):l=C.isURLSearchParams(t)?t.toString():new yr(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class ya{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){C.forEach(this.handlers,function(n){n!==null&&t(n)})}}const ba={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},d_=typeof URLSearchParams<"u"?URLSearchParams:yr,m_=typeof FormData<"u"?FormData:null,u_=typeof Blob<"u"?Blob:null,f_={isBrowser:!0,classes:{URLSearchParams:d_,FormData:m_,Blob:u_},protocols:["http","https","file","blob","url","data"]},br=typeof window<"u"&&typeof document<"u",h_=(e=>br&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),p_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",g_=br&&window.location.href||"http://localhost",y_=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:br,hasStandardBrowserEnv:h_,hasStandardBrowserWebWorkerEnv:p_,origin:g_},Symbol.toStringTag,{value:"Module"})),ce={...y_,...f_};function b_(e,t){return pn(e,new ce.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return ce.isNode&&C.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function k_(e){return C.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function C_(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r<i;r++)l=n[r],t[l]=e[l];return t}function ka(e){function t(n,r,i,l){let s=n[l++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),d=l>=n.length;return s=!s&&C.isArray(i)?i.length:s,d?(C.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!C.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&C.isArray(i[s])&&(i[s]=C_(i[s])),!a)}if(C.isFormData(e)&&C.isFunction(e.entries)){const n={};return C.forEachEntry(e,(r,i)=>{t(k_(r),i,n,0)}),n}return null}function w_(e,t,n){if(C.isString(e))try{return(t||JSON.parse)(e),C.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const pt={transitional:ba,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=C.isObject(e);if(i&&C.isHTMLForm(e)&&(e=new FormData(e)),C.isFormData(e))return r?JSON.stringify(ka(e)):e;if(C.isArrayBuffer(e)||C.isBuffer(e)||C.isStream(e)||C.isFile(e)||C.isBlob(e)||C.isReadableStream(e))return e;if(C.isArrayBufferView(e))return e.buffer;if(C.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return b_(e,this.formSerializer).toString();if((l=C.isFileList(e))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return pn(l?{"files[]":e}:e,s&&new s,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),w_(e)):e}],transformResponse:[function(e){const t=this.transitional||pt.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(C.isResponse(e)||C.isReadableStream(e))return e;if(e&&C.isString(e)&&(n&&!this.responseType||r)){const i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(l){if(i)throw l.name==="SyntaxError"?I.from(l,I.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ce.classes.FormData,Blob:ce.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};C.forEach(["delete","get","head","post","put","patch"],e=>{pt.headers[e]={}});const x_=C.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"]),B_=e=>{const t={};let n,r,i;return e&&e.split(`
13
+ `).forEach(function(l){i=l.indexOf(":"),n=l.substring(0,i).trim().toLowerCase(),r=l.substring(i+1).trim(),!(!n||t[n]&&x_[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Ca=Symbol("internals");function gt(e){return e&&String(e).trim().toLowerCase()}function gn(e){return e===!1||e==null?e:C.isArray(e)?e.map(gn):String(e)}function __(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const E_=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function kr(e,t,n,r,i){if(C.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!C.isString(t)){if(C.isString(r))return t.indexOf(r)!==-1;if(C.isRegExp(r))return r.test(t)}}function S_(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function T_(e,t){const n=C.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,s){return this[r].call(this,t,i,l,s)},configurable:!0})})}class Y{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(a,d,c){const m=gt(d);if(!m)throw new Error("header name must be a non-empty string");const u=C.findKey(i,m);(!u||i[u]===void 0||c===!0||c===void 0&&i[u]!==!1)&&(i[u||d]=gn(a))}const s=(a,d)=>C.forEach(a,(c,m)=>l(c,m,d));if(C.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(C.isString(t)&&(t=t.trim())&&!E_(t))s(B_(t),n);else if(C.isHeaders(t))for(const[a,d]of t.entries())l(d,a,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=gt(t),t){const r=C.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return __(i);if(C.isFunction(n))return n.call(this,i,r);if(C.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=gt(t),t){const r=C.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||kr(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(s){if(s=gt(s),s){const a=C.findKey(r,s);a&&(!n||kr(r,r[a],a,n))&&(delete r[a],i=!0)}}return C.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||kr(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return C.forEach(this,(i,l)=>{const s=C.findKey(r,l);if(s){n[s]=gn(i),delete n[l];return}const a=t?S_(l):String(l).trim();a!==l&&delete n[l],n[a]=gn(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return C.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&C.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
14
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const n=(this[Ca]=this[Ca]={accessors:{}}).accessors,r=this.prototype;function i(l){const s=gt(l);n[s]||(T_(r,l),n[s]=!0)}return C.isArray(t)?t.forEach(i):i(t),this}}Y.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),C.reduceDescriptors(Y.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),C.freezeMethods(Y);function Cr(e,t){const n=this||pt,r=t||n,i=Y.from(r.headers);let l=r.data;return C.forEach(e,function(s){l=s.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function wa(e){return!!(e&&e.__CANCEL__)}function Qe(e,t,n){I.call(this,e??"canceled",I.ERR_CANCELED,t,n),this.name="CanceledError"}C.inherits(Qe,I,{__CANCEL__:!0});function xa(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new I("Request failed with status code "+n.status,[I.ERR_BAD_REQUEST,I.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function O_(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function N_(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(a){const d=Date.now(),c=r[l];s||(s=d),n[i]=a,r[i]=d;let m=l,u=0;for(;m!==i;)u+=n[m++],m=m%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),d-s<t)return;const p=c&&d-c;return p?Math.round(u*1e3/p):void 0}}function V_(e,t){let n=0;const r=1e3/t;let i=null;return function(){const l=this===!0,s=Date.now();if(l||s-n>r)return i&&(clearTimeout(i),i=null),n=s,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(s-n)))}}const yn=(e,t,n=3)=>{let r=0;const i=N_(50,250);return V_(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,d=s-r,c=i(d),m=s<=a;r=s;const u={loaded:s,total:a,progress:a?s/a:void 0,bytes:d,rate:c||void 0,estimated:c&&a&&m?(a-s)/c:void 0,event:l,lengthComputable:a!=null};u[t?"download":"upload"]=!0,e(u)},n)},F_=ce.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let l=i;return e&&(t.setAttribute("href",l),l=t.href),t.setAttribute("href",l),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(i){const l=C.isString(i)?r(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}(),P_=ce.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];C.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),C.isString(r)&&s.push("path="+r),C.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function L_(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function A_(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ba(e,t){return e&&!L_(t)?A_(e,t):t}const _a=e=>e instanceof Y?{...e}:e;function Ie(e,t){t=t||{};const n={};function r(c,m,u){return C.isPlainObject(c)&&C.isPlainObject(m)?C.merge.call({caseless:u},c,m):C.isPlainObject(m)?C.merge({},m):C.isArray(m)?m.slice():m}function i(c,m,u){if(C.isUndefined(m)){if(!C.isUndefined(c))return r(void 0,c,u)}else return r(c,m,u)}function l(c,m){if(!C.isUndefined(m))return r(void 0,m)}function s(c,m){if(C.isUndefined(m)){if(!C.isUndefined(c))return r(void 0,c)}else return r(void 0,m)}function a(c,m,u){if(u in t)return r(c,m);if(u in e)return r(void 0,c)}const d={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,m)=>i(_a(c),_a(m),!0)};return C.forEach(Object.keys(Object.assign({},e,t)),function(c){const m=d[c]||i,u=m(e[c],t[c],c);C.isUndefined(u)&&m!==a||(n[c]=u)}),n}const Ea=e=>{const t=Ie({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=Y.from(s),t.url=ga(Ba(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let d;if(C.isFormData(n)){if(ce.hasStandardBrowserEnv||ce.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((d=s.getContentType())!==!1){const[c,...m]=d?d.split(";").map(u=>u.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...m].join("; "))}}if(ce.hasStandardBrowserEnv&&(r&&C.isFunction(r)&&(r=r(t)),r||r!==!1&&F_(t.url))){const c=i&&l&&P_.read(l);c&&s.set(i,c)}return t},I_=typeof XMLHttpRequest<"u",M_=I_&&function(e){return new Promise(function(t,n){const r=Ea(e);let i=r.data;const l=Y.from(r.headers).normalize();let{responseType:s}=r,a;function d(){r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function m(){if(!c)return;const p=Y.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:e,request:c};xa(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=m:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(m)},c.onabort=function(){c&&(n(new I("Request aborted",I.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new I("Network Error",I.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let p=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||ba;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new I(p,f.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,r,c)),c=null},i===void 0&&l.setContentType(null),"setRequestHeader"in c&&C.forEach(l.toJSON(),function(p,f){c.setRequestHeader(f,p)}),C.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),s&&s!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",yn(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",yn(r.onUploadProgress)),(r.cancelToken||r.signal)&&(a=p=>{c&&(n(!p||p.type?new Qe(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const u=O_(r.url);if(u&&ce.protocols.indexOf(u)===-1){n(new I("Unsupported protocol "+u+":",I.ERR_BAD_REQUEST,e));return}c.send(i||null)})},D_=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,s();const c=d instanceof Error?d:this.reason;n.abort(c instanceof I?c:new Qe(c instanceof Error?c.message:c))}};let l=t&&setTimeout(()=>{i(new I(`timeout ${t} of ms exceeded`,I.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:a}=n;return a.unsubscribe=s,[a,()=>{l&&clearTimeout(l),l=null}]},R_=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},j_=async function*(e,t,n){for await(const r of e)yield*R_(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Sa=(e,t,n,r,i)=>{const l=j_(e,t,i);let s=0;return new ReadableStream({type:"bytes",async pull(a){const{done:d,value:c}=await l.next();if(d){a.close(),r();return}let m=c.byteLength;n&&n(s+=m),a.enqueue(new Uint8Array(c))},cancel(a){return r(a),l.return()}},{highWaterMark:2})},Ta=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},bn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Oa=bn&&typeof ReadableStream=="function",wr=bn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),q_=Oa&&(()=>{let e=!1;const t=new Request(ce.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Na=64*1024,xr=Oa&&!!(()=>{try{return C.isReadableStream(new Response("").body)}catch{}})(),kn={stream:xr&&(e=>e.body)};bn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!kn[t]&&(kn[t]=C.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new I(`Response type '${t}' is not supported`,I.ERR_NOT_SUPPORT,r)})})})(new Response);const z_=async e=>{if(e==null)return 0;if(C.isBlob(e))return e.size;if(C.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(C.isArrayBufferView(e))return e.byteLength;if(C.isURLSearchParams(e)&&(e=e+""),C.isString(e))return(await wr(e)).byteLength},H_=async(e,t)=>C.toFiniteNumber(e.getContentLength())??z_(t),U_=bn&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:d,responseType:c,headers:m,withCredentials:u="same-origin",fetchOptions:p}=Ea(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||l||s?D_([i,l],s):[],y,g;const B=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let S;try{if(d&&q_&&n!=="get"&&n!=="head"&&(S=await H_(m,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),E;C.isFormData(r)&&(E=b.headers.get("content-type"))&&m.setContentType(E),b.body&&(r=Sa(b.body,Na,Ta(S,yn(d)),null,wr))}C.isString(u)||(u=u?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:"half",withCredentials:u});let _=await fetch(g);const O=xr&&(c==="stream"||c==="response");if(xr&&(a||O)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=_[F]});const E=C.toFiniteNumber(_.headers.get("content-length"));_=new Response(Sa(_.body,Na,a&&Ta(E,yn(a,!0)),O&&B,wr),b)}c=c||"text";let P=await kn[C.findKey(kn,c)||"text"](_,e);return!O&&B(),h&&h(),await new Promise((b,E)=>{xa(b,E,{data:P,headers:Y.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:g})})}catch(_){throw B(),_&&_.name==="TypeError"&&/fetch/i.test(_.message)?Object.assign(new I("Network Error",I.ERR_NETWORK,e,g),{cause:_.cause||_}):I.from(_,_&&_.code,e,g)}}),Br={http:l_,xhr:M_,fetch:U_};C.forEach(Br,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Va=e=>`- ${e}`,W_=e=>C.isFunction(e)||e===null||e===!1,Fa={getAdapter:e=>{e=C.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l<t;l++){n=e[l];let s;if(r=n,!W_(n)&&(r=Br[(s=String(n)).toLowerCase()],r===void 0))throw new I(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+l]=r}if(!r){const l=Object.entries(i).map(([a,d])=>`adapter ${a} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since :
15
+ `+l.map(Va).join(`
16
+ `):" "+Va(l[0]):"as no adapter specified";throw new I("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Br};function _r(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Qe(null,e)}function Pa(e){return _r(e),e.headers=Y.from(e.headers),e.data=Cr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Fa.getAdapter(e.adapter||pt.adapter)(e).then(function(t){return _r(e),t.data=Cr.call(e,e.transformResponse,t),t.headers=Y.from(t.headers),t},function(t){return wa(t)||(_r(e),t&&t.response&&(t.response.data=Cr.call(e,e.transformResponse,t.response),t.response.headers=Y.from(t.response.headers))),Promise.reject(t)})}const La="1.7.2",Er={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Er[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Aa={};Er.transitional=function(e,t,n){function r(i,l){return"[Axios v"+La+"] Transitional option '"+i+"'"+l+(n?". "+n:"")}return(i,l,s)=>{if(e===!1)throw new I(r(l," has been removed"+(t?" in "+t:"")),I.ERR_DEPRECATED);return t&&!Aa[l]&&(Aa[l]=!0,console.warn(r(l," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,l,s):!0}};function G_(e,t,n){if(typeof e!="object")throw new I("options must be an object",I.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],s=t[l];if(s){const a=e[l],d=a===void 0||s(a,l,e);if(d!==!0)throw new I("option "+l+" must be "+d,I.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new I("Unknown option "+l,I.ERR_BAD_OPTION)}}const Sr={assertOptions:G_,validators:Er},Se=Sr.validators;class Me{constructor(t){this.defaults=t,this.interceptors={request:new ya,response:new ya}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=`
17
+ `+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ie(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&Sr.assertOptions(r,{silentJSONParsing:Se.transitional(Se.boolean),forcedJSONParsing:Se.transitional(Se.boolean),clarifyTimeoutError:Se.transitional(Se.boolean)},!1),i!=null&&(C.isFunction(i)?n.paramsSerializer={serialize:i}:Sr.assertOptions(i,{encode:Se.function,serialize:Se.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&C.merge(l.common,l[n.method]);l&&C.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),n.headers=Y.concat(s,l);const a=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let m,u=0,p;if(!d){const h=[Pa.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),p=h.length,m=Promise.resolve(n);u<p;)m=m.then(h[u++],h[u++]);return m}p=a.length;let f=n;for(u=0;u<p;){const h=a[u++],y=a[u++];try{f=h(f)}catch(g){y.call(this,g);break}}try{m=Pa.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,p=c.length;u<p;)m=m.then(c[u++],c[u++]);return m}getUri(t){t=Ie(this.defaults,t);const n=Ba(t.baseURL,t.url);return ga(n,t.params,t.paramsSerializer)}}C.forEach(["delete","get","head","options"],function(e){Me.prototype[e]=function(t,n){return this.request(Ie(n||{},{method:e,url:t,data:(n||{}).data}))}}),C.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,l){return this.request(Ie(l||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}Me.prototype[e]=t(),Me.prototype[e+"Form"]=t(!0)});class Tr{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(i=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(i,l,s){r.reason||(r.reason=new Qe(i,l,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Tr(function(n){t=n}),cancel:t}}}function J_(e){return function(t){return e.apply(null,t)}}function K_(e){return C.isObject(e)&&e.isAxiosError===!0}const Or={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Or).forEach(([e,t])=>{Or[t]=e});function Ia(e){const t=new Me(e),n=ea(Me.prototype.request,t);return C.extend(n,Me.prototype,t,{allOwnKeys:!0}),C.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Ia(Ie(e,r))},n}const U=Ia(pt);U.Axios=Me,U.CanceledError=Qe,U.CancelToken=Tr,U.isCancel=wa,U.VERSION=La,U.toFormData=pn,U.AxiosError=I,U.Cancel=U.CanceledError,U.all=function(e){return Promise.all(e)},U.spread=J_,U.isAxiosError=K_,U.mergeConfig=Ie,U.AxiosHeaders=Y,U.formToJSON=e=>ka(C.isHTMLForm(e)?new FormData(e):e),U.getAdapter=Fa.getAdapter,U.HttpStatusCode=Or,U.default=U;var Z_=Object.defineProperty,X_=(e,t,n)=>t in e?Z_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Cn=(e,t,n)=>X_(e,typeof t!="symbol"?t+"":t,n);const yt=/^[a-z0-9]+(-[a-z0-9]+)*$/,wn=(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 a=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:a};return t&&!xn(c)?null:c}const l=i[0],s=l.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!xn(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:l};return t&&!xn(a,n)?null:a}return null},xn=(e,t)=>e?!!((e.provider===""||e.provider.match(yt))&&(t&&e.prefix===""||e.prefix.match(yt))&&e.name.match(yt)):!1,Ma=Object.freeze({left:0,top:0,width:16,height:16}),Bn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),_n=Object.freeze({...Ma,...Bn}),Nr=Object.freeze({..._n,body:"",hidden:!1});function Q_(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 Da(e,t){const n=Q_(e,t);for(const r in Nr)r in Bn?r in e&&!(r in n)&&(n[r]=Bn[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Y_(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function l(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const a=r[s]&&r[s].parent,d=a&&l(a);d&&(i[s]=[a].concat(d))}return i[s]}return Object.keys(n).concat(Object.keys(r)).forEach(l),i}function $_(e,t,n){const r=e.icons,i=e.aliases||{};let l={};function s(a){l=Da(r[a]||i[a],l)}return s(t),n.forEach(s),Da(e,l)}function Ra(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=Y_(e);for(const i in r){const l=r[i];l&&(t(i,$_(e,i,l)),n.push(i))}return n}const v_={provider:"",aliases:{},not_found:{},...Ma};function Vr(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function ja(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Vr(e,v_))return null;const n=t.icons;for(const i in n){const l=n[i];if(!i.match(yt)||typeof l.body!="string"||!Vr(l,Nr))return null}const r=t.aliases||{};for(const i in r){const l=r[i],s=l.parent;if(!i.match(yt)||typeof s!="string"||!n[s]&&!r[s]||!Vr(l,Nr))return null}return t}const qa=Object.create(null);function eE(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function De(e,t){const n=qa[e]||(qa[e]=Object.create(null));return n[t]||(n[t]=eE(e,t))}function Fr(e,t){return ja(t)?Ra(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function tE(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let bt=!1;function za(e){return typeof e=="boolean"&&(bt=e),bt}function nE(e){const t=typeof e=="string"?wn(e,!0,bt):e;if(t){const n=De(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function oE(e,t){const n=wn(e,!0,bt);if(!n)return!1;const r=De(n.provider,n.prefix);return tE(r,n.name,t)}function Ha(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),bt&&!t&&!e.prefix){let i=!1;return ja(e)&&(e.prefix="",Ra(e,(l,s)=>{s&&oE(l,s)&&(i=!0)})),i}const n=e.prefix;if(!xn({provider:t,prefix:n,name:"a"}))return!1;const r=De(t,n);return!!Fr(r,e)}const Ua=Object.freeze({width:null,height:null}),Wa=Object.freeze({...Ua,...Bn}),rE=/(-?[0-9.]*[0-9]+[0-9.]*)/g,iE=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ga(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(rE);if(r===null||!r.length)return e;const i=[];let l=r.shift(),s=iE.test(l);for(;;){if(s){const a=parseFloat(l);isNaN(a)?i.push(l):i.push(Math.ceil(a*t*n)/n)}else i.push(l);if(l=r.shift(),l===void 0)return i.join("");s=!s}}function lE(e,t){const n={..._n,...e},r={...Wa,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let l=n.body;[n,r].forEach(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=2:(f.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),f.push("scale(-1 1)"),i.top=i.left=0):y&&(f.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),f.push("scale(1 -1)"),i.top=i.left=0);let B;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:B=i.height/2+i.top,f.unshift("rotate(90 "+B.toString()+" "+B.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:B=i.width/2+i.left,f.unshift("rotate(-90 "+B.toString()+" "+B.toString()+")");break}g%2===1&&(i.left!==i.top&&(B=i.left,i.left=i.top,i.top=B),i.width!==i.height&&(B=i.width,i.width=i.height,i.height=B)),f.length&&(l='<g transform="'+f.join(" ")+'">'+l+"</g>")});const s=r.width,a=r.height,d=i.width,c=i.height;let m,u;return s===null?(u=a===null?"1em":a==="auto"?c:a,m=Ga(u,d/c)):(m=s==="auto"?d:s,u=a===null?Ga(m,c/d):a==="auto"?c:a),{attributes:{width:m.toString(),height:u.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:l}}const sE=/\sid="(\S+)"/g,aE="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let cE=0;function dE(e,t=aE){const n=[];let r;for(;r=sE.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const l=typeof t=="function"?t(i):t+(cE++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),e}const Pr=Object.create(null);function mE(e,t){Pr[e]=t}function Lr(e){return Pr[e]||Pr[""]}function Ar(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 Ir=Object.create(null),En=["https://api.simplesvg.com","https://api.unisvg.com"],Mr=[];for(;En.length>0;)En.length===1||Math.random()>.5?Mr.push(En.shift()):Mr.push(En.pop());Ir[""]=Ar({resources:["https://api.iconify.design"].concat(Mr)});function uE(e,t){const n=Ar(t);return n===null?!1:(Ir[e]=n,!0)}function Dr(e){return Ir[e]}let Ja=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function fE(e,t){const n=Dr(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const l=t+".json?icons=";r=n.maxURL-i-n.path.length-l.length}return r}function hE(e){return e===404}const pE=(e,t,n)=>{const r=[],i=fE(e,t),l="icons";let s={type:l,provider:e,prefix:t,icons:[]},a=0;return n.forEach((d,c)=>{a+=d.length+1,a>=i&&c>0&&(r.push(s),s={type:l,provider:e,prefix:t,icons:[]},a=d.length),s.icons.push(d)}),r.push(s),r};function gE(e){if(typeof e=="string"){const t=Dr(e);if(t)return t.path}return"/"}const yE=(e,t,n)=>{if(!Ja){n("abort",424);return}let r=gE(t.provider);switch(t.type){case"icons":{const l=t.prefix,s=t.icons.join(","),a=new URLSearchParams({icons:s});r+=l+".json?"+a.toString();break}case"custom":{const l=t.uri;r+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let i=503;Ja(e+r).then(l=>{const s=l.status;if(s!==200){setTimeout(()=>{n(hE(s)?"abort":"next",s)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",i)})},bE={prepare:pE,send:yE};function kE(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.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 l=i.provider,s=i.prefix,a=i.name,d=n[l]||(n[l]=Object.create(null)),c=d[s]||(d[s]=De(l,s));let m;a in c.icons?m=t.loaded:s===""||c.missing.has(a)?m=t.missing:m=t.pending;const u={provider:l,prefix:s,name:a};m.push(u)}),t}function Ka(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function CE(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(l=>{const s=l.icons,a=s.pending.length;s.pending=s.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||Ka([e],l.id),l.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),l.abort))})}))}let wE=0;function xE(e,t,n){const r=wE++,i=Ka.bind(null,n,r);if(!t.pending.length)return i;const l={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(l)}),i}function BE(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const l=typeof i=="string"?wn(i,t,n):i;l&&r.push(l)}),r}var _E={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function EE(e,t,n,r){const i=e.resources.length,l=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let b=e.resources.slice(0);for(s=[];b.length>1;){const E=Math.floor(Math.random()*b.length);s.push(b[E]),b=b.slice(0,E).concat(b.slice(E+1))}s=s.concat(b)}else s=e.resources.slice(l).concat(e.resources.slice(0,l));const a=Date.now();let d="pending",c=0,m,u=null,p=[],f=[];typeof r=="function"&&f.push(r);function h(){u&&(clearTimeout(u),u=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,E){E&&(f=[]),typeof b=="function"&&f.push(b)}function B(){return{startTime:a,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function S(){d="failed",f.forEach(b=>{b(void 0,m)})}function _(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function O(b,E,F){const R=E!=="success";switch(p=p.filter(L=>L!==b),d){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=F,S();return}if(R){m=F,p.length||(s.length?P():S());return}if(h(),_(),!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 P(){if(d!=="pending")return;h();const b=s.shift();if(b===void 0){if(p.length){u=setTimeout(()=>{h(),d==="pending"&&(_(),S())},e.timeout);return}S();return}const E={status:"pending",resource:b,callback:(F,R)=>{O(E,F,R)}};p.push(E),c++,u=setTimeout(P,e.rotate),n(b,t,E.callback)}return setTimeout(P),B}function Za(e){const t={..._E,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function i(s,a,d){const c=EE(t,s,a,(m,u)=>{r(),d&&d(m,u)});return n.push(c),c}function l(s){return n.find(a=>s(a))||null}return{query:i,find:l,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function Xa(){}const Rr=Object.create(null);function SE(e){if(!Rr[e]){const t=Dr(e);if(!t)return;const n=Za(t),r={config:t,redundancy:n};Rr[e]=r}return Rr[e]}function TE(e,t,n){let r,i;if(typeof e=="string"){const l=Lr(e);if(!l)return n(void 0,424),Xa;i=l.send;const s=SE(e);s&&(r=s.redundancy)}else{const l=Ar(e);if(l){r=Za(l);const s=e.resources?e.resources[0]:"",a=Lr(s);a&&(i=a.send)}}return!r||!i?(n(void 0,424),Xa):r.query(t,i,n)().abort}const Qa="iconify2",kt="iconify",Ya=kt+"-count",$a=kt+"-version",va=36e5,OE=168;function jr(e,t){try{return e.getItem(t)}catch{}}function qr(e,t,n){try{return e.setItem(t,n),!0}catch{}}function ec(e,t){try{e.removeItem(t)}catch{}}function zr(e,t){return qr(e,Ya,t.toString())}function Hr(e){return parseInt(jr(e,Ya))||0}const Sn={local:!0,session:!0},tc={local:new Set,session:new Set};let Ur=!1;function NE(e){Ur=e}let Tn=typeof window>"u"?{}:window;function nc(e){const t=e+"Storage";try{if(Tn&&Tn[t]&&typeof Tn[t].length=="number")return Tn[t]}catch{}Sn[e]=!1}function oc(e,t){const n=nc(e);if(!n)return;const r=jr(n,$a);if(r!==Qa){if(r){const a=Hr(n);for(let d=0;d<a;d++)ec(n,kt+d.toString())}qr(n,$a,Qa),zr(n,0);return}const i=Math.floor(Date.now()/va)-OE,l=a=>{const d=kt+a.toString(),c=jr(n,d);if(typeof c=="string"){try{const m=JSON.parse(c);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,a))return!0}catch{}ec(n,d)}};let s=Hr(n);for(let a=s-1;a>=0;a--)l(a)||(a===s-1?(s--,zr(n,s)):tc[e].add(a))}function rc(){if(!Ur){NE(!0);for(const e in Sn)oc(e,t=>{const n=t.data,r=t.provider,i=n.prefix,l=De(r,i);if(!Fr(l,n).length)return!1;const s=n.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,s):s,!0})}}function VE(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Sn)oc(r,i=>{const l=i.data;return i.provider!==e.provider||l.prefix!==e.prefix||l.lastModified===t});return!0}function FE(e,t){Ur||rc();function n(r){let i;if(!Sn[r]||!(i=nc(r)))return;const l=tc[r];let s;if(l.size)l.delete(s=Array.from(l).shift());else if(s=Hr(i),!zr(i,s+1))return;const a={cached:Math.floor(Date.now()/va),provider:e.provider,data:t};return qr(i,kt+s.toString(),JSON.stringify(a))}t.lastModified&&!VE(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function ic(){}function PE(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,CE(e)}))}function LE(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 l;!i||!(l=Lr(n))||l.prepare(n,r,i).forEach(s=>{TE(n,s,(a,d)=>{if(typeof a!="object"){if(d!==404)return;s.icons.forEach(c=>{e.missing.add(c)})}else try{const c=Fr(e,a);if(!c.length)return;const m=e.pendingIcons;m&&c.forEach(u=>{m.delete(u)}),FE(e,a)}catch(c){console.error(c)}PE(e)})})}))}const AE=(e,t)=>{const n=BE(e,!0,za()),r=kE(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,ic)}),()=>{d=!1}}const i=Object.create(null),l=[];let s,a;return r.pending.forEach(d=>{const{provider:c,prefix:m}=d;if(m===a&&c===s)return;s=c,a=m,l.push(De(c,m));const u=i[c]||(i[c]=Object.create(null));u[m]||(u[m]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:m,name:u}=d,p=De(c,m),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(u)||(f.add(u),i[c][m].push(u))}),l.forEach(d=>{const{provider:c,prefix:m}=d;i[c][m].length&&LE(d,i[c][m])}),t?xE(t,r,l):ic};function IE(e,t){const n={...e};for(const r in t){const i=t[r],l=typeof i;r in Ua?(i===null||i&&(l==="string"||l==="number"))&&(n[r]=i):l===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const ME=/[\s,]+/;function DE(e,t){t.split(ME).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function RE(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 l=parseFloat(e.slice(0,e.length-n.length));return isNaN(l)?0:(l=l/i,l%1===0?r(l):0)}}return t}function jE(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 qE(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function zE(e){return'url("data:image/svg+xml,'+qE(e)+'")'}const lc={...Wa,inline:!1},HE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},UE={display:"inline-block"},Wr={backgroundColor:"currentColor"},sc={backgroundColor:"transparent"},ac={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},cc={webkitMask:Wr,mask:Wr,background:sc};for(const e in cc){const t=cc[e];for(const n in ac)t[e+n]=ac[n]}const On={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";On[e+"-flip"]=t,On[e.slice(0,1)+"-flip"]=t,On[e+"Flip"]=t});function dc(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const mc=(e,t)=>{const n=IE(lc,t),r={...HE},i=t.mode||"svg",l={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&DE(n,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?n[y]=RE(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const B=On[y];B?(g===!0||g==="true"||g===1)&&(n[B]=!0):lc[y]===void 0&&(r[y]=g)}}}const d=lE(e,n),c=d.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),i==="svg"){r.style={...l,...a},Object.assign(r,c);let y=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=dE(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:m,width:u,height:p}=e,f=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),h=jE(m,{...c,width:u+"",height:p+""});return r.style={...l,"--svg":zE(h),width:dc(c.width),height:dc(c.height),...UE,...f?Wr:sc,...a},o.h("span",r)};if(za(!0),mE("",bE),typeof document<"u"&&typeof window<"u"){rc();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"||!Ha(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;uE(n,i)||console.error(r)}catch{console.error(r)}}}}const WE={..._n,body:""};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=wn(e,!1,!0))===null)return this.abortLoading(),null;const r=nE(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:AE([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 mc(WE,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),mc({..._n,...t.data},n)}});function GE(){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 JE(){return"cmd-"+GE()}const KE={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||JE()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Gr=class ro{constructor(t){Cn(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,ro.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,ro.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,ro.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,""]}};Cn(Gr,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),Cn(Gr,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),Cn(Gr,"PATTERN_MESSAGE",/^.{2,500}$/);const ZE=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(XE,{...e,show:!0}).mount(t)},XE=o.defineComponent({name:"CmdFancyBox",mixins:[KE],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,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},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:{largeGalleryImage(){const e={...this.fancyBoxGallery[this.index].image};return e.src=e.srcImageLarge,e},largeSingleImage(){var e;const t={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t},ariaLabelText(){var e;return(e=this.fancyBoxGallery)!=null&&e.length?this.fancyBoxGallery[this.index].figcaption.text:this.defaultAriaLabelText}},methods:{onDialogCancel(e){if(!this.allowEscapeKey){e.preventDefault();return}this.close()},showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].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 QE(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},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 QE(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}Ha({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
18
18
  c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
19
19
  <path fill="currentColor" d="M2,12h6v18H2V12z"/>
20
- <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});function cc(e,t){return function(){return e.apply(t,arguments)}}const{toString:KE}=Object.prototype,{getPrototypeOf:Gr}=Object,Nn=(e=>t=>{const n=KE.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),de=e=>(e=e.toLowerCase(),t=>Nn(t)===e),Vn=e=>t=>typeof t===e,{isArray:Ye}=Array,Ct=Vn("undefined");function ZE(e){return e!==null&&!Ct(e)&&e.constructor!==null&&!Ct(e.constructor)&&ne(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const dc=de("ArrayBuffer");function XE(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&dc(e.buffer),t}const QE=Vn("string"),ne=Vn("function"),mc=Vn("number"),Fn=e=>e!==null&&typeof e=="object",YE=e=>e===!0||e===!1,Pn=e=>{if(Nn(e)!=="object")return!1;const t=Gr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$E=de("Date"),vE=de("File"),eS=de("Blob"),tS=de("FileList"),nS=e=>Fn(e)&&ne(e.pipe),oS=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ne(e.append)&&((t=Nn(e))==="formdata"||t==="object"&&ne(e.toString)&&e.toString()==="[object FormData]"))},rS=de("URLSearchParams"),[iS,lS,sS,aS]=["ReadableStream","Request","Response","Headers"].map(de),cS=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function wt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Ye(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;let a;for(r=0;r<s;r++)a=l[r],t.call(null,e[a],a,e)}}function uc(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 fc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,hc=e=>!Ct(e)&&e!==fc;function Jr(){const{caseless:e}=hc(this)&&this||{},t={},n=(r,i)=>{const l=e&&uc(t,i)||i;Pn(t[l])&&Pn(r)?t[l]=Jr(t[l],r):Pn(r)?t[l]=Jr({},r):Ye(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&wt(arguments[r],n);return t}const dS=(e,t,n,{allOwnKeys:r}={})=>(wt(t,(i,l)=>{n&&ne(i)?e[l]=cc(i,n):e[l]=i},{allOwnKeys:r}),e),mS=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),uS=(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)},fS=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Gr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},hS=(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},pS=e=>{if(!e)return null;if(Ye(e))return e;let t=e.length;if(!mc(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},gS=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Gr(Uint8Array)),yS=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},bS=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},kS=de("HTMLFormElement"),CS=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),pc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),wS=de("RegExp"),gc=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};wt(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},xS=e=>{gc(e,(t,n)=>{if(ne(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ne(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+"'")})}})},BS=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return Ye(e)?r(e):r(String(e).split(t)),n},_S=()=>{},ES=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Kr="abcdefghijklmnopqrstuvwxyz",yc="0123456789",bc={DIGIT:yc,ALPHA:Kr,ALPHA_DIGIT:Kr+Kr.toUpperCase()+yc},SS=(e=16,t=bc.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function TS(e){return!!(e&&ne(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const OS=e=>{const t=new Array(10),n=(r,i)=>{if(Fn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=Ye(r)?[]:{};return wt(r,(s,a)=>{const d=n(s,i+1);!Ct(d)&&(l[a]=d)}),t[i]=void 0,l}}return r};return n(e,0)},NS=de("AsyncFunction"),VS=e=>e&&(Fn(e)||ne(e))&&ne(e.then)&&ne(e.catch),w={isArray:Ye,isArrayBuffer:dc,isBuffer:ZE,isFormData:oS,isArrayBufferView:XE,isString:QE,isNumber:mc,isBoolean:YE,isObject:Fn,isPlainObject:Pn,isReadableStream:iS,isRequest:lS,isResponse:sS,isHeaders:aS,isUndefined:Ct,isDate:$E,isFile:vE,isBlob:eS,isRegExp:wS,isFunction:ne,isStream:nS,isURLSearchParams:rS,isTypedArray:gS,isFileList:tS,forEach:wt,merge:Jr,extend:dS,trim:cS,stripBOM:mS,inherits:uS,toFlatObject:fS,kindOf:Nn,kindOfTest:de,endsWith:hS,toArray:pS,forEachEntry:yS,matchAll:bS,isHTMLForm:kS,hasOwnProperty:pc,hasOwnProp:pc,reduceDescriptors:gc,freezeMethods:xS,toObjectSet:BS,toCamelCase:CS,noop:_S,toFiniteNumber:ES,findKey:uc,global:fc,isContextDefined:hc,ALPHABET:bc,generateString:SS,isSpecCompliantForm:TS,toJSONObject:OS,isAsyncFn:NS,isThenable:VS};function M(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(M,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 kc=M.prototype,Cc={};["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=>{Cc[e]={value:e}}),Object.defineProperties(M,Cc),Object.defineProperty(kc,"isAxiosError",{value:!0}),M.from=(e,t,n,r,i,l)=>{const s=Object.create(kc);return w.toFlatObject(e,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),M.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const FS=null;function Zr(e){return w.isPlainObject(e)||w.isArray(e)}function wc(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function xc(e,t,n){return e?e.concat(t).map(function(r,i){return r=wc(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function PS(e){return w.isArray(e)&&!e.some(Zr)}const LS=w.toFlatObject(w,{},null,function(e){return/^is[A-Z]/.test(e)});function Ln(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(f,h){return!w.isUndefined(h[f])});const r=n.metaTokens,i=n.visitor||c,l=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(t);if(!w.isFunction(i))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(w.isDate(f))return f.toISOString();if(!a&&w.isBlob(f))throw new M("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(f)||w.isTypedArray(f)?a&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function c(f,h,y){let g=f;if(f&&!y&&typeof f=="object"){if(w.endsWith(h,"{}"))h=r?h:h.slice(0,-2),f=JSON.stringify(f);else if(w.isArray(f)&&PS(f)||(w.isFileList(f)||w.endsWith(h,"[]"))&&(g=w.toArray(f)))return h=wc(h),g.forEach(function(B,S){!(w.isUndefined(B)||B===null)&&t.append(s===!0?xc([h],S,l):s===null?h:h+"[]",d(B))}),!1}return Zr(f)?!0:(t.append(xc(y,h,l),d(f)),!1)}const m=[],u=Object.assign(LS,{defaultVisitor:c,convertValue:d,isVisitable:Zr});function p(f,h){if(!w.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));m.push(f),w.forEach(f,function(y,g){(!(w.isUndefined(y)||y===null)&&i.call(t,y,w.isString(g)?g.trim():g,h,u))===!0&&p(y,h?h.concat(g):[g])}),m.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Bc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Xr(e,t){this._pairs=[],e&&Ln(e,this,t)}const _c=Xr.prototype;_c.append=function(e,t){this._pairs.push([e,t])},_c.toString=function(e){const t=e?function(n){return e.call(this,n,Bc)}:Bc;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function AS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ec(e,t,n){if(!t)return e;const r=n&&n.encode||AS,i=n&&n.serialize;let l;if(i?l=i(t,n):l=w.isURLSearchParams(t)?t.toString():new Xr(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Sc{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(n){n!==null&&t(n)})}}const Tc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},IS=typeof URLSearchParams<"u"?URLSearchParams:Xr,MS=typeof FormData<"u"?FormData:null,DS=typeof Blob<"u"?Blob:null,RS={isBrowser:!0,classes:{URLSearchParams:IS,FormData:MS,Blob:DS},protocols:["http","https","file","blob","url","data"]},Qr=typeof window<"u"&&typeof document<"u",jS=(e=>Qr&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),qS=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",zS=Qr&&window.location.href||"http://localhost",HS=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Qr,hasStandardBrowserEnv:jS,hasStandardBrowserWebWorkerEnv:qS,origin:zS},Symbol.toStringTag,{value:"Module"})),me={...HS,...RS};function US(e,t){return Ln(e,new me.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return me.isNode&&w.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function WS(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function GS(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r<i;r++)l=n[r],t[l]=e[l];return t}function Oc(e){function t(n,r,i,l){let s=n[l++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),d=l>=n.length;return s=!s&&w.isArray(i)?i.length:s,d?(w.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!w.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&w.isArray(i[s])&&(i[s]=GS(i[s])),!a)}if(w.isFormData(e)&&w.isFunction(e.entries)){const n={};return w.forEachEntry(e,(r,i)=>{t(WS(r),i,n,0)}),n}return null}function JS(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(0,JSON.stringify)(e)}const xt={transitional:Tc,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=w.isObject(e);if(i&&w.isHTMLForm(e)&&(e=new FormData(e)),w.isFormData(e))return r?JSON.stringify(Oc(e)):e;if(w.isArrayBuffer(e)||w.isBuffer(e)||w.isStream(e)||w.isFile(e)||w.isBlob(e)||w.isReadableStream(e))return e;if(w.isArrayBufferView(e))return e.buffer;if(w.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return US(e,this.formSerializer).toString();if((l=w.isFileList(e))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Ln(l?{"files[]":e}:e,s&&new s,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),JS(e)):e}],transformResponse:[function(e){const t=this.transitional||xt.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(w.isResponse(e)||w.isReadableStream(e))return e;if(e&&w.isString(e)&&(n&&!this.responseType||r)){const i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(l){if(i)throw l.name==="SyntaxError"?M.from(l,M.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:me.classes.FormData,Blob:me.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch"],e=>{xt.headers[e]={}});const KS=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"]),ZS=e=>{const t={};let n,r,i;return e&&e.split(`
21
- `).forEach(function(l){i=l.indexOf(":"),n=l.substring(0,i).trim().toLowerCase(),r=l.substring(i+1).trim(),!(!n||t[n]&&KS[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Nc=Symbol("internals");function Bt(e){return e&&String(e).trim().toLowerCase()}function An(e){return e===!1||e==null?e:w.isArray(e)?e.map(An):String(e)}function XS(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const QS=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Yr(e,t,n,r,i){if(w.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!w.isString(t)){if(w.isString(r))return t.indexOf(r)!==-1;if(w.isRegExp(r))return r.test(t)}}function YS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function $S(e,t){const n=w.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,s){return this[r].call(this,t,i,l,s)},configurable:!0})})}class ${constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(a,d,c){const m=Bt(d);if(!m)throw new Error("header name must be a non-empty string");const u=w.findKey(i,m);(!u||i[u]===void 0||c===!0||c===void 0&&i[u]!==!1)&&(i[u||d]=An(a))}const s=(a,d)=>w.forEach(a,(c,m)=>l(c,m,d));if(w.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(w.isString(t)&&(t=t.trim())&&!QS(t))s(ZS(t),n);else if(w.isHeaders(t))for(const[a,d]of t.entries())l(d,a,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=Bt(t),t){const r=w.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return XS(i);if(w.isFunction(n))return n.call(this,i,r);if(w.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Bt(t),t){const r=w.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Yr(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(s){if(s=Bt(s),s){const a=w.findKey(r,s);a&&(!n||Yr(r,r[a],a,n))&&(delete r[a],i=!0)}}return w.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||Yr(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return w.forEach(this,(i,l)=>{const s=w.findKey(r,l);if(s){n[s]=An(i),delete n[l];return}const a=t?YS(l):String(l).trim();a!==l&&delete n[l],n[a]=An(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return w.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&w.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
22
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const n=(this[Nc]=this[Nc]={accessors:{}}).accessors,r=this.prototype;function i(l){const s=Bt(l);n[s]||($S(r,l),n[s]=!0)}return w.isArray(t)?t.forEach(i):i(t),this}}$.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),w.reduceDescriptors($.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),w.freezeMethods($);function $r(e,t){const n=this||xt,r=t||n,i=$.from(r.headers);let l=r.data;return w.forEach(e,function(s){l=s.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function Vc(e){return!!(e&&e.__CANCEL__)}function $e(e,t,n){M.call(this,e??"canceled",M.ERR_CANCELED,t,n),this.name="CanceledError"}w.inherits($e,M,{__CANCEL__:!0});function Fc(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new M("Request failed with status code "+n.status,[M.ERR_BAD_REQUEST,M.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function vS(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function e2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(a){const d=Date.now(),c=r[l];s||(s=d),n[i]=a,r[i]=d;let m=l,u=0;for(;m!==i;)u+=n[m++],m=m%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),d-s<t)return;const p=c&&d-c;return p?Math.round(u*1e3/p):void 0}}function t2(e,t){let n=0;const r=1e3/t;let i=null;return function(){const l=this===!0,s=Date.now();if(l||s-n>r)return i&&(clearTimeout(i),i=null),n=s,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(s-n)))}}const In=(e,t,n=3)=>{let r=0;const i=e2(50,250);return t2(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,d=s-r,c=i(d),m=s<=a;r=s;const u={loaded:s,total:a,progress:a?s/a:void 0,bytes:d,rate:c||void 0,estimated:c&&a&&m?(a-s)/c:void 0,event:l,lengthComputable:a!=null};u[t?"download":"upload"]=!0,e(u)},n)},n2=me.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let l=i;return e&&(t.setAttribute("href",l),l=t.href),t.setAttribute("href",l),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(i){const l=w.isString(i)?r(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}(),o2=me.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];w.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),w.isString(r)&&s.push("path="+r),w.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function r2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function i2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Pc(e,t){return e&&!r2(t)?i2(e,t):t}const Lc=e=>e instanceof $?{...e}:e;function Re(e,t){t=t||{};const n={};function r(c,m,u){return w.isPlainObject(c)&&w.isPlainObject(m)?w.merge.call({caseless:u},c,m):w.isPlainObject(m)?w.merge({},m):w.isArray(m)?m.slice():m}function i(c,m,u){if(w.isUndefined(m)){if(!w.isUndefined(c))return r(void 0,c,u)}else return r(c,m,u)}function l(c,m){if(!w.isUndefined(m))return r(void 0,m)}function s(c,m){if(w.isUndefined(m)){if(!w.isUndefined(c))return r(void 0,c)}else return r(void 0,m)}function a(c,m,u){if(u in t)return r(c,m);if(u in e)return r(void 0,c)}const d={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,m)=>i(Lc(c),Lc(m),!0)};return w.forEach(Object.keys(Object.assign({},e,t)),function(c){const m=d[c]||i,u=m(e[c],t[c],c);w.isUndefined(u)&&m!==a||(n[c]=u)}),n}const Ac=e=>{const t=Re({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=$.from(s),t.url=Ec(Pc(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let d;if(w.isFormData(n)){if(me.hasStandardBrowserEnv||me.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((d=s.getContentType())!==!1){const[c,...m]=d?d.split(";").map(u=>u.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...m].join("; "))}}if(me.hasStandardBrowserEnv&&(r&&w.isFunction(r)&&(r=r(t)),r||r!==!1&&n2(t.url))){const c=i&&l&&o2.read(l);c&&s.set(i,c)}return t},l2=typeof XMLHttpRequest<"u",s2=l2&&function(e){return new Promise(function(t,n){const r=Ac(e);let i=r.data;const l=$.from(r.headers).normalize();let{responseType:s}=r,a;function d(){r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function m(){if(!c)return;const p=$.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:e,request:c};Fc(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=m:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(m)},c.onabort=function(){c&&(n(new M("Request aborted",M.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new M("Network Error",M.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let p=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||Tc;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new M(p,f.clarifyTimeoutError?M.ETIMEDOUT:M.ECONNABORTED,r,c)),c=null},i===void 0&&l.setContentType(null),"setRequestHeader"in c&&w.forEach(l.toJSON(),function(p,f){c.setRequestHeader(f,p)}),w.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),s&&s!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",In(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",In(r.onUploadProgress)),(r.cancelToken||r.signal)&&(a=p=>{c&&(n(!p||p.type?new $e(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const u=vS(r.url);if(u&&me.protocols.indexOf(u)===-1){n(new M("Unsupported protocol "+u+":",M.ERR_BAD_REQUEST,e));return}c.send(i||null)})},a2=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,s();const c=d instanceof Error?d:this.reason;n.abort(c instanceof M?c:new $e(c instanceof Error?c.message:c))}};let l=t&&setTimeout(()=>{i(new M(`timeout ${t} of ms exceeded`,M.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:a}=n;return a.unsubscribe=s,[a,()=>{l&&clearTimeout(l),l=null}]},c2=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},d2=async function*(e,t,n){for await(const r of e)yield*c2(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Ic=(e,t,n,r,i)=>{const l=d2(e,t,i);let s=0;return new ReadableStream({type:"bytes",async pull(a){const{done:d,value:c}=await l.next();if(d){a.close(),r();return}let m=c.byteLength;n&&n(s+=m),a.enqueue(new Uint8Array(c))},cancel(a){return r(a),l.return()}},{highWaterMark:2})},Mc=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},Mn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Dc=Mn&&typeof ReadableStream=="function",vr=Mn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),m2=Dc&&(()=>{let e=!1;const t=new Request(me.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Rc=64*1024,ei=Dc&&!!(()=>{try{return w.isReadableStream(new Response("").body)}catch{}})(),Dn={stream:ei&&(e=>e.body)};Mn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Dn[t]&&(Dn[t]=w.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new M(`Response type '${t}' is not supported`,M.ERR_NOT_SUPPORT,r)})})})(new Response);const u2=async e=>{if(e==null)return 0;if(w.isBlob(e))return e.size;if(w.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(w.isArrayBufferView(e))return e.byteLength;if(w.isURLSearchParams(e)&&(e=e+""),w.isString(e))return(await vr(e)).byteLength},f2=async(e,t)=>w.toFiniteNumber(e.getContentLength())??u2(t),h2=Mn&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:d,responseType:c,headers:m,withCredentials:u="same-origin",fetchOptions:p}=Ac(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||l||s?a2([i,l],s):[],y,g;const B=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let S;try{if(d&&m2&&n!=="get"&&n!=="head"&&(S=await f2(m,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),E;w.isFormData(r)&&(E=b.headers.get("content-type"))&&m.setContentType(E),b.body&&(r=Ic(b.body,Rc,Mc(S,In(d)),null,vr))}w.isString(u)||(u=u?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:"half",withCredentials:u});let _=await fetch(g);const O=ei&&(c==="stream"||c==="response");if(ei&&(a||O)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=_[F]});const E=w.toFiniteNumber(_.headers.get("content-length"));_=new Response(Ic(_.body,Rc,a&&Mc(E,In(a,!0)),O&&B,vr),b)}c=c||"text";let P=await Dn[w.findKey(Dn,c)||"text"](_,e);return!O&&B(),h&&h(),await new Promise((b,E)=>{Fc(b,E,{data:P,headers:$.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:g})})}catch(_){throw B(),_&&_.name==="TypeError"&&/fetch/i.test(_.message)?Object.assign(new M("Network Error",M.ERR_NETWORK,e,g),{cause:_.cause||_}):M.from(_,_&&_.code,e,g)}}),ti={http:FS,xhr:s2,fetch:h2};w.forEach(ti,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const jc=e=>`- ${e}`,p2=e=>w.isFunction(e)||e===null||e===!1,qc={getAdapter:e=>{e=w.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l<t;l++){n=e[l];let s;if(r=n,!p2(n)&&(r=ti[(s=String(n)).toLowerCase()],r===void 0))throw new M(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+l]=r}if(!r){const l=Object.entries(i).map(([a,d])=>`adapter ${a} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since :
23
- `+l.map(jc).join(`
24
- `):" "+jc(l[0]):"as no adapter specified";throw new M("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:ti};function ni(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new $e(null,e)}function zc(e){return ni(e),e.headers=$.from(e.headers),e.data=$r.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),qc.getAdapter(e.adapter||xt.adapter)(e).then(function(t){return ni(e),t.data=$r.call(e,e.transformResponse,t),t.headers=$.from(t.headers),t},function(t){return Vc(t)||(ni(e),t&&t.response&&(t.response.data=$r.call(e,e.transformResponse,t.response),t.response.headers=$.from(t.response.headers))),Promise.reject(t)})}const Hc="1.7.2",oi={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{oi[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Uc={};oi.transitional=function(e,t,n){function r(i,l){return"[Axios v"+Hc+"] Transitional option '"+i+"'"+l+(n?". "+n:"")}return(i,l,s)=>{if(e===!1)throw new M(r(l," has been removed"+(t?" in "+t:"")),M.ERR_DEPRECATED);return t&&!Uc[l]&&(Uc[l]=!0,console.warn(r(l," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,l,s):!0}};function g2(e,t,n){if(typeof e!="object")throw new M("options must be an object",M.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],s=t[l];if(s){const a=e[l],d=a===void 0||s(a,l,e);if(d!==!0)throw new M("option "+l+" must be "+d,M.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new M("Unknown option "+l,M.ERR_BAD_OPTION)}}const ri={assertOptions:g2,validators:oi},Te=ri.validators;class je{constructor(t){this.defaults=t,this.interceptors={request:new Sc,response:new Sc}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=`
25
- `+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Re(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&ri.assertOptions(r,{silentJSONParsing:Te.transitional(Te.boolean),forcedJSONParsing:Te.transitional(Te.boolean),clarifyTimeoutError:Te.transitional(Te.boolean)},!1),i!=null&&(w.isFunction(i)?n.paramsSerializer={serialize:i}:ri.assertOptions(i,{encode:Te.function,serialize:Te.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&w.merge(l.common,l[n.method]);l&&w.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),n.headers=$.concat(s,l);const a=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let m,u=0,p;if(!d){const h=[zc.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),p=h.length,m=Promise.resolve(n);u<p;)m=m.then(h[u++],h[u++]);return m}p=a.length;let f=n;for(u=0;u<p;){const h=a[u++],y=a[u++];try{f=h(f)}catch(g){y.call(this,g);break}}try{m=zc.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,p=c.length;u<p;)m=m.then(c[u++],c[u++]);return m}getUri(t){t=Re(this.defaults,t);const n=Pc(t.baseURL,t.url);return Ec(n,t.params,t.paramsSerializer)}}w.forEach(["delete","get","head","options"],function(e){je.prototype[e]=function(t,n){return this.request(Re(n||{},{method:e,url:t,data:(n||{}).data}))}}),w.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,l){return this.request(Re(l||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}je.prototype[e]=t(),je.prototype[e+"Form"]=t(!0)});class ii{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(i=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(i,l,s){r.reason||(r.reason=new $e(i,l,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new ii(function(n){t=n}),cancel:t}}}function y2(e){return function(t){return e.apply(null,t)}}function b2(e){return w.isObject(e)&&e.isAxiosError===!0}const li={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(li).forEach(([e,t])=>{li[t]=e});function Wc(e){const t=new je(e),n=cc(je.prototype.request,t);return w.extend(n,je.prototype,t,{allOwnKeys:!0}),w.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Wc(Re(e,r))},n}const W=Wc(xt);W.Axios=je,W.CanceledError=$e,W.CancelToken=ii,W.isCancel=Vc,W.VERSION=Hc,W.toFormData=Ln,W.AxiosError=M,W.Cancel=W.CanceledError,W.all=function(e){return Promise.all(e)},W.spread=y2,W.isAxiosError=b2,W.mergeConfig=Re,W.AxiosHeaders=$,W.formToJSON=e=>Oc(w.isHTMLForm(e)?new FormData(e):e),W.getAdapter=qc.getAdapter,W.HttpStatusCode=li,W.default=W;var k2=Object.defineProperty,C2=(e,t,n)=>t in e?k2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Rn=(e,t,n)=>C2(e,typeof t!="symbol"?t+"":t,n);const _t=/^[a-z0-9]+(-[a-z0-9]+)*$/,jn=(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 a=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:a};return t&&!qn(c)?null:c}const l=i[0],s=l.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!qn(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:l};return t&&!qn(a,n)?null:a}return null},qn=(e,t)=>e?!!((e.provider===""||e.provider.match(_t))&&(t&&e.prefix===""||e.prefix.match(_t))&&e.name.match(_t)):!1,Gc=Object.freeze({left:0,top:0,width:16,height:16}),zn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Hn=Object.freeze({...Gc,...zn}),si=Object.freeze({...Hn,body:"",hidden:!1});function w2(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 Jc(e,t){const n=w2(e,t);for(const r in si)r in zn?r in e&&!(r in n)&&(n[r]=zn[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function x2(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function l(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const a=r[s]&&r[s].parent,d=a&&l(a);d&&(i[s]=[a].concat(d))}return i[s]}return Object.keys(n).concat(Object.keys(r)).forEach(l),i}function B2(e,t,n){const r=e.icons,i=e.aliases||{};let l={};function s(a){l=Jc(r[a]||i[a],l)}return s(t),n.forEach(s),Jc(e,l)}function Kc(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=x2(e);for(const i in r){const l=r[i];l&&(t(i,B2(e,i,l)),n.push(i))}return n}const _2={provider:"",aliases:{},not_found:{},...Gc};function ai(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Zc(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ai(e,_2))return null;const n=t.icons;for(const i in n){const l=n[i];if(!i.match(_t)||typeof l.body!="string"||!ai(l,si))return null}const r=t.aliases||{};for(const i in r){const l=r[i],s=l.parent;if(!i.match(_t)||typeof s!="string"||!n[s]&&!r[s]||!ai(l,si))return null}return t}const Xc=Object.create(null);function E2(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function qe(e,t){const n=Xc[e]||(Xc[e]=Object.create(null));return n[t]||(n[t]=E2(e,t))}function ci(e,t){return Zc(t)?Kc(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function S2(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Et=!1;function Qc(e){return typeof e=="boolean"&&(Et=e),Et}function T2(e){const t=typeof e=="string"?jn(e,!0,Et):e;if(t){const n=qe(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function O2(e,t){const n=jn(e,!0,Et);if(!n)return!1;const r=qe(n.provider,n.prefix);return S2(r,n.name,t)}function Yc(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Et&&!t&&!e.prefix){let i=!1;return Zc(e)&&(e.prefix="",Kc(e,(l,s)=>{s&&O2(l,s)&&(i=!0)})),i}const n=e.prefix;if(!qn({provider:t,prefix:n,name:"a"}))return!1;const r=qe(t,n);return!!ci(r,e)}const $c=Object.freeze({width:null,height:null}),vc=Object.freeze({...$c,...zn}),N2=/(-?[0-9.]*[0-9]+[0-9.]*)/g,V2=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ed(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(N2);if(r===null||!r.length)return e;const i=[];let l=r.shift(),s=V2.test(l);for(;;){if(s){const a=parseFloat(l);isNaN(a)?i.push(l):i.push(Math.ceil(a*t*n)/n)}else i.push(l);if(l=r.shift(),l===void 0)return i.join("");s=!s}}function F2(e,t){const n={...Hn,...e},r={...vc,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let l=n.body;[n,r].forEach(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=2:(f.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),f.push("scale(-1 1)"),i.top=i.left=0):y&&(f.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),f.push("scale(1 -1)"),i.top=i.left=0);let B;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:B=i.height/2+i.top,f.unshift("rotate(90 "+B.toString()+" "+B.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:B=i.width/2+i.left,f.unshift("rotate(-90 "+B.toString()+" "+B.toString()+")");break}g%2===1&&(i.left!==i.top&&(B=i.left,i.left=i.top,i.top=B),i.width!==i.height&&(B=i.width,i.width=i.height,i.height=B)),f.length&&(l='<g transform="'+f.join(" ")+'">'+l+"</g>")});const s=r.width,a=r.height,d=i.width,c=i.height;let m,u;return s===null?(u=a===null?"1em":a==="auto"?c:a,m=ed(u,d/c)):(m=s==="auto"?d:s,u=a===null?ed(m,c/d):a==="auto"?c:a),{attributes:{width:m.toString(),height:u.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:l}}const P2=/\sid="(\S+)"/g,L2="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let A2=0;function I2(e,t=L2){const n=[];let r;for(;r=P2.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const l=typeof t=="function"?t(i):t+(A2++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),e}const di=Object.create(null);function M2(e,t){di[e]=t}function mi(e){return di[e]||di[""]}function ui(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 fi=Object.create(null),Un=["https://api.simplesvg.com","https://api.unisvg.com"],hi=[];for(;Un.length>0;)Un.length===1||Math.random()>.5?hi.push(Un.shift()):hi.push(Un.pop());fi[""]=ui({resources:["https://api.iconify.design"].concat(hi)});function D2(e,t){const n=ui(t);return n===null?!1:(fi[e]=n,!0)}function pi(e){return fi[e]}let td=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function R2(e,t){const n=pi(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const l=t+".json?icons=";r=n.maxURL-i-n.path.length-l.length}return r}function j2(e){return e===404}const q2=(e,t,n)=>{const r=[],i=R2(e,t),l="icons";let s={type:l,provider:e,prefix:t,icons:[]},a=0;return n.forEach((d,c)=>{a+=d.length+1,a>=i&&c>0&&(r.push(s),s={type:l,provider:e,prefix:t,icons:[]},a=d.length),s.icons.push(d)}),r.push(s),r};function z2(e){if(typeof e=="string"){const t=pi(e);if(t)return t.path}return"/"}const H2=(e,t,n)=>{if(!td){n("abort",424);return}let r=z2(t.provider);switch(t.type){case"icons":{const l=t.prefix,s=t.icons.join(","),a=new URLSearchParams({icons:s});r+=l+".json?"+a.toString();break}case"custom":{const l=t.uri;r+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let i=503;td(e+r).then(l=>{const s=l.status;if(s!==200){setTimeout(()=>{n(j2(s)?"abort":"next",s)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",i)})},U2={prepare:q2,send:H2};function W2(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.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 l=i.provider,s=i.prefix,a=i.name,d=n[l]||(n[l]=Object.create(null)),c=d[s]||(d[s]=qe(l,s));let m;a in c.icons?m=t.loaded:s===""||c.missing.has(a)?m=t.missing:m=t.pending;const u={provider:l,prefix:s,name:a};m.push(u)}),t}function nd(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function G2(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(l=>{const s=l.icons,a=s.pending.length;s.pending=s.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||nd([e],l.id),l.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),l.abort))})}))}let J2=0;function K2(e,t,n){const r=J2++,i=nd.bind(null,n,r);if(!t.pending.length)return i;const l={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(l)}),i}function Z2(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const l=typeof i=="string"?jn(i,t,n):i;l&&r.push(l)}),r}var X2={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Q2(e,t,n,r){const i=e.resources.length,l=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let b=e.resources.slice(0);for(s=[];b.length>1;){const E=Math.floor(Math.random()*b.length);s.push(b[E]),b=b.slice(0,E).concat(b.slice(E+1))}s=s.concat(b)}else s=e.resources.slice(l).concat(e.resources.slice(0,l));const a=Date.now();let d="pending",c=0,m,u=null,p=[],f=[];typeof r=="function"&&f.push(r);function h(){u&&(clearTimeout(u),u=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,E){E&&(f=[]),typeof b=="function"&&f.push(b)}function B(){return{startTime:a,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function S(){d="failed",f.forEach(b=>{b(void 0,m)})}function _(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function O(b,E,F){const R=E!=="success";switch(p=p.filter(L=>L!==b),d){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=F,S();return}if(R){m=F,p.length||(s.length?P():S());return}if(h(),_(),!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 P(){if(d!=="pending")return;h();const b=s.shift();if(b===void 0){if(p.length){u=setTimeout(()=>{h(),d==="pending"&&(_(),S())},e.timeout);return}S();return}const E={status:"pending",resource:b,callback:(F,R)=>{O(E,F,R)}};p.push(E),c++,u=setTimeout(P,e.rotate),n(b,t,E.callback)}return setTimeout(P),B}function od(e){const t={...X2,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function i(s,a,d){const c=Q2(t,s,a,(m,u)=>{r(),d&&d(m,u)});return n.push(c),c}function l(s){return n.find(a=>s(a))||null}return{query:i,find:l,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function rd(){}const gi=Object.create(null);function Y2(e){if(!gi[e]){const t=pi(e);if(!t)return;const n=od(t),r={config:t,redundancy:n};gi[e]=r}return gi[e]}function $2(e,t,n){let r,i;if(typeof e=="string"){const l=mi(e);if(!l)return n(void 0,424),rd;i=l.send;const s=Y2(e);s&&(r=s.redundancy)}else{const l=ui(e);if(l){r=od(l);const s=e.resources?e.resources[0]:"",a=mi(s);a&&(i=a.send)}}return!r||!i?(n(void 0,424),rd):r.query(t,i,n)().abort}const id="iconify2",St="iconify",ld=St+"-count",sd=St+"-version",ad=36e5,v2=168;function yi(e,t){try{return e.getItem(t)}catch{}}function bi(e,t,n){try{return e.setItem(t,n),!0}catch{}}function cd(e,t){try{e.removeItem(t)}catch{}}function ki(e,t){return bi(e,ld,t.toString())}function Ci(e){return parseInt(yi(e,ld))||0}const Wn={local:!0,session:!0},dd={local:new Set,session:new Set};let wi=!1;function eT(e){wi=e}let Gn=typeof window>"u"?{}:window;function md(e){const t=e+"Storage";try{if(Gn&&Gn[t]&&typeof Gn[t].length=="number")return Gn[t]}catch{}Wn[e]=!1}function ud(e,t){const n=md(e);if(!n)return;const r=yi(n,sd);if(r!==id){if(r){const a=Ci(n);for(let d=0;d<a;d++)cd(n,St+d.toString())}bi(n,sd,id),ki(n,0);return}const i=Math.floor(Date.now()/ad)-v2,l=a=>{const d=St+a.toString(),c=yi(n,d);if(typeof c=="string"){try{const m=JSON.parse(c);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,a))return!0}catch{}cd(n,d)}};let s=Ci(n);for(let a=s-1;a>=0;a--)l(a)||(a===s-1?(s--,ki(n,s)):dd[e].add(a))}function fd(){if(!wi){eT(!0);for(const e in Wn)ud(e,t=>{const n=t.data,r=t.provider,i=n.prefix,l=qe(r,i);if(!ci(l,n).length)return!1;const s=n.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,s):s,!0})}}function tT(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Wn)ud(r,i=>{const l=i.data;return i.provider!==e.provider||l.prefix!==e.prefix||l.lastModified===t});return!0}function nT(e,t){wi||fd();function n(r){let i;if(!Wn[r]||!(i=md(r)))return;const l=dd[r];let s;if(l.size)l.delete(s=Array.from(l).shift());else if(s=Ci(i),!ki(i,s+1))return;const a={cached:Math.floor(Date.now()/ad),provider:e.provider,data:t};return bi(i,St+s.toString(),JSON.stringify(a))}t.lastModified&&!tT(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function hd(){}function oT(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,G2(e)}))}function rT(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 l;!i||!(l=mi(n))||l.prepare(n,r,i).forEach(s=>{$2(n,s,(a,d)=>{if(typeof a!="object"){if(d!==404)return;s.icons.forEach(c=>{e.missing.add(c)})}else try{const c=ci(e,a);if(!c.length)return;const m=e.pendingIcons;m&&c.forEach(u=>{m.delete(u)}),nT(e,a)}catch(c){console.error(c)}oT(e)})})}))}const iT=(e,t)=>{const n=Z2(e,!0,Qc()),r=W2(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,hd)}),()=>{d=!1}}const i=Object.create(null),l=[];let s,a;return r.pending.forEach(d=>{const{provider:c,prefix:m}=d;if(m===a&&c===s)return;s=c,a=m,l.push(qe(c,m));const u=i[c]||(i[c]=Object.create(null));u[m]||(u[m]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:m,name:u}=d,p=qe(c,m),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(u)||(f.add(u),i[c][m].push(u))}),l.forEach(d=>{const{provider:c,prefix:m}=d;i[c][m].length&&rT(d,i[c][m])}),t?K2(t,r,l):hd};function lT(e,t){const n={...e};for(const r in t){const i=t[r],l=typeof i;r in $c?(i===null||i&&(l==="string"||l==="number"))&&(n[r]=i):l===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const sT=/[\s,]+/;function aT(e,t){t.split(sT).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function cT(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 l=parseFloat(e.slice(0,e.length-n.length));return isNaN(l)?0:(l=l/i,l%1===0?r(l):0)}}return t}function dT(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 mT(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function uT(e){return'url("data:image/svg+xml,'+mT(e)+'")'}const pd={...vc,inline:!1},fT={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},hT={display:"inline-block"},xi={backgroundColor:"currentColor"},gd={backgroundColor:"transparent"},yd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},bd={webkitMask:xi,mask:xi,background:gd};for(const e in bd){const t=bd[e];for(const n in yd)t[e+n]=yd[n]}const Jn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Jn[e+"-flip"]=t,Jn[e.slice(0,1)+"-flip"]=t,Jn[e+"Flip"]=t});function kd(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Cd=(e,t)=>{const n=lT(pd,t),r={...fT},i=t.mode||"svg",l={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&aT(n,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?n[y]=cT(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const B=Jn[y];B?(g===!0||g==="true"||g===1)&&(n[B]=!0):pd[y]===void 0&&(r[y]=g)}}}const d=F2(e,n),c=d.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),i==="svg"){r.style={...l,...a},Object.assign(r,c);let y=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=I2(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:m,width:u,height:p}=e,f=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),h=dT(m,{...c,width:u+"",height:p+""});return r.style={...l,"--svg":uT(h),width:kd(c.width),height:kd(c.height),...hT,...f?xi:gd,...a},o.h("span",r)};if(Qc(!0),M2("",U2),typeof document<"u"&&typeof window<"u"){fd();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"||!Yc(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;D2(n,i)||console.error(r)}catch{console.error(r)}}}}const pT={...Hn,body:""};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=jn(e,!1,!0))===null)return this.abortLoading(),null;const r=T2(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:iT([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 Cd(pT,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Cd({...Hn,...t.data},n)}});function gT(){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 yT(){return"cmd-"+gT()}const bT={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||yT()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},Bi=class io{constructor(t){Rn(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,io.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,io.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,io.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,""]}};Rn(Bi,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),Rn(Bi,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),Rn(Bi,"PATTERN_MESSAGE",/^.{2,500}$/);const kT=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(CT,{...e,show:!0}).mount(t)},CT=o.defineComponent({name:"CmdFancyBox",mixins:[bT],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,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},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:{largeGalleryImage(){const e={...this.fancyBoxGallery[this.index].image};return e.src=e.srcImageLarge,e},largeSingleImage(){var e;const t={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t},ariaLabelText(){var e;return(e=this.fancyBoxGallery)!=null&&e.length?this.fancyBoxGallery[this.index].figcaption.text:this.defaultAriaLabelText}},methods:{onDialogCancel(e){if(!this.allowEscapeKey){e.preventDefault();return}this.close()},showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].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 wT(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},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 wT(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}Yc({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
20
+ <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});function uc(e,t){return function(){return e.apply(t,arguments)}}const{toString:YE}=Object.prototype,{getPrototypeOf:Jr}=Object,Nn=(e=>t=>{const n=YE.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),de=e=>(e=e.toLowerCase(),t=>Nn(t)===e),Vn=e=>t=>typeof t===e,{isArray:Ye}=Array,Ct=Vn("undefined");function $E(e){return e!==null&&!Ct(e)&&e.constructor!==null&&!Ct(e.constructor)&&ne(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const fc=de("ArrayBuffer");function vE(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&fc(e.buffer),t}const eS=Vn("string"),ne=Vn("function"),hc=Vn("number"),Fn=e=>e!==null&&typeof e=="object",tS=e=>e===!0||e===!1,Pn=e=>{if(Nn(e)!=="object")return!1;const t=Jr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},nS=de("Date"),oS=de("File"),rS=de("Blob"),iS=de("FileList"),lS=e=>Fn(e)&&ne(e.pipe),sS=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ne(e.append)&&((t=Nn(e))==="formdata"||t==="object"&&ne(e.toString)&&e.toString()==="[object FormData]"))},aS=de("URLSearchParams"),[cS,dS,mS,uS]=["ReadableStream","Request","Response","Headers"].map(de),fS=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function wt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Ye(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;let a;for(r=0;r<s;r++)a=l[r],t.call(null,e[a],a,e)}}function pc(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 gc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,yc=e=>!Ct(e)&&e!==gc;function Kr(){const{caseless:e}=yc(this)&&this||{},t={},n=(r,i)=>{const l=e&&pc(t,i)||i;Pn(t[l])&&Pn(r)?t[l]=Kr(t[l],r):Pn(r)?t[l]=Kr({},r):Ye(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&wt(arguments[r],n);return t}const hS=(e,t,n,{allOwnKeys:r}={})=>(wt(t,(i,l)=>{n&&ne(i)?e[l]=uc(i,n):e[l]=i},{allOwnKeys:r}),e),pS=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),gS=(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)},yS=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Jr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},bS=(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},kS=e=>{if(!e)return null;if(Ye(e))return e;let t=e.length;if(!hc(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},CS=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Jr(Uint8Array)),wS=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},xS=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},BS=de("HTMLFormElement"),_S=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),bc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ES=de("RegExp"),kc=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};wt(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},SS=e=>{kc(e,(t,n)=>{if(ne(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ne(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+"'")})}})},TS=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return Ye(e)?r(e):r(String(e).split(t)),n},OS=()=>{},NS=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Zr="abcdefghijklmnopqrstuvwxyz",Cc="0123456789",wc={DIGIT:Cc,ALPHA:Zr,ALPHA_DIGIT:Zr+Zr.toUpperCase()+Cc},VS=(e=16,t=wc.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function FS(e){return!!(e&&ne(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const PS=e=>{const t=new Array(10),n=(r,i)=>{if(Fn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=Ye(r)?[]:{};return wt(r,(s,a)=>{const d=n(s,i+1);!Ct(d)&&(l[a]=d)}),t[i]=void 0,l}}return r};return n(e,0)},LS=de("AsyncFunction"),AS=e=>e&&(Fn(e)||ne(e))&&ne(e.then)&&ne(e.catch),w={isArray:Ye,isArrayBuffer:fc,isBuffer:$E,isFormData:sS,isArrayBufferView:vE,isString:eS,isNumber:hc,isBoolean:tS,isObject:Fn,isPlainObject:Pn,isReadableStream:cS,isRequest:dS,isResponse:mS,isHeaders:uS,isUndefined:Ct,isDate:nS,isFile:oS,isBlob:rS,isRegExp:ES,isFunction:ne,isStream:lS,isURLSearchParams:aS,isTypedArray:CS,isFileList:iS,forEach:wt,merge:Kr,extend:hS,trim:fS,stripBOM:pS,inherits:gS,toFlatObject:yS,kindOf:Nn,kindOfTest:de,endsWith:bS,toArray:kS,forEachEntry:wS,matchAll:xS,isHTMLForm:BS,hasOwnProperty:bc,hasOwnProp:bc,reduceDescriptors:kc,freezeMethods:SS,toObjectSet:TS,toCamelCase:_S,noop:OS,toFiniteNumber:NS,findKey:pc,global:gc,isContextDefined:yc,ALPHABET:wc,generateString:VS,isSpecCompliantForm:FS,toJSONObject:PS,isAsyncFn:LS,isThenable:AS};function M(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(M,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 xc=M.prototype,Bc={};["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=>{Bc[e]={value:e}}),Object.defineProperties(M,Bc),Object.defineProperty(xc,"isAxiosError",{value:!0}),M.from=(e,t,n,r,i,l)=>{const s=Object.create(xc);return w.toFlatObject(e,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),M.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const IS=null;function Xr(e){return w.isPlainObject(e)||w.isArray(e)}function _c(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function Ec(e,t,n){return e?e.concat(t).map(function(r,i){return r=_c(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function MS(e){return w.isArray(e)&&!e.some(Xr)}const DS=w.toFlatObject(w,{},null,function(e){return/^is[A-Z]/.test(e)});function Ln(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(f,h){return!w.isUndefined(h[f])});const r=n.metaTokens,i=n.visitor||c,l=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(t);if(!w.isFunction(i))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(w.isDate(f))return f.toISOString();if(!a&&w.isBlob(f))throw new M("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(f)||w.isTypedArray(f)?a&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function c(f,h,y){let g=f;if(f&&!y&&typeof f=="object"){if(w.endsWith(h,"{}"))h=r?h:h.slice(0,-2),f=JSON.stringify(f);else if(w.isArray(f)&&MS(f)||(w.isFileList(f)||w.endsWith(h,"[]"))&&(g=w.toArray(f)))return h=_c(h),g.forEach(function(B,S){!(w.isUndefined(B)||B===null)&&t.append(s===!0?Ec([h],S,l):s===null?h:h+"[]",d(B))}),!1}return Xr(f)?!0:(t.append(Ec(y,h,l),d(f)),!1)}const m=[],u=Object.assign(DS,{defaultVisitor:c,convertValue:d,isVisitable:Xr});function p(f,h){if(!w.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));m.push(f),w.forEach(f,function(y,g){(!(w.isUndefined(y)||y===null)&&i.call(t,y,w.isString(g)?g.trim():g,h,u))===!0&&p(y,h?h.concat(g):[g])}),m.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Sc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Qr(e,t){this._pairs=[],e&&Ln(e,this,t)}const Tc=Qr.prototype;Tc.append=function(e,t){this._pairs.push([e,t])},Tc.toString=function(e){const t=e?function(n){return e.call(this,n,Sc)}:Sc;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function RS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Oc(e,t,n){if(!t)return e;const r=n&&n.encode||RS,i=n&&n.serialize;let l;if(i?l=i(t,n):l=w.isURLSearchParams(t)?t.toString():new Qr(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Nc{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(n){n!==null&&t(n)})}}const Vc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},jS=typeof URLSearchParams<"u"?URLSearchParams:Qr,qS=typeof FormData<"u"?FormData:null,zS=typeof Blob<"u"?Blob:null,HS={isBrowser:!0,classes:{URLSearchParams:jS,FormData:qS,Blob:zS},protocols:["http","https","file","blob","url","data"]},Yr=typeof window<"u"&&typeof document<"u",US=(e=>Yr&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),WS=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",GS=Yr&&window.location.href||"http://localhost",JS=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Yr,hasStandardBrowserEnv:US,hasStandardBrowserWebWorkerEnv:WS,origin:GS},Symbol.toStringTag,{value:"Module"})),me={...JS,...HS};function KS(e,t){return Ln(e,new me.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return me.isNode&&w.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function ZS(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function XS(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r<i;r++)l=n[r],t[l]=e[l];return t}function Fc(e){function t(n,r,i,l){let s=n[l++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),d=l>=n.length;return s=!s&&w.isArray(i)?i.length:s,d?(w.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!w.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&w.isArray(i[s])&&(i[s]=XS(i[s])),!a)}if(w.isFormData(e)&&w.isFunction(e.entries)){const n={};return w.forEachEntry(e,(r,i)=>{t(ZS(r),i,n,0)}),n}return null}function QS(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(0,JSON.stringify)(e)}const xt={transitional:Vc,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=w.isObject(e);if(i&&w.isHTMLForm(e)&&(e=new FormData(e)),w.isFormData(e))return r?JSON.stringify(Fc(e)):e;if(w.isArrayBuffer(e)||w.isBuffer(e)||w.isStream(e)||w.isFile(e)||w.isBlob(e)||w.isReadableStream(e))return e;if(w.isArrayBufferView(e))return e.buffer;if(w.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return KS(e,this.formSerializer).toString();if((l=w.isFileList(e))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Ln(l?{"files[]":e}:e,s&&new s,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),QS(e)):e}],transformResponse:[function(e){const t=this.transitional||xt.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(w.isResponse(e)||w.isReadableStream(e))return e;if(e&&w.isString(e)&&(n&&!this.responseType||r)){const i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(l){if(i)throw l.name==="SyntaxError"?M.from(l,M.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:me.classes.FormData,Blob:me.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch"],e=>{xt.headers[e]={}});const YS=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"]),$S=e=>{const t={};let n,r,i;return e&&e.split(`
21
+ `).forEach(function(l){i=l.indexOf(":"),n=l.substring(0,i).trim().toLowerCase(),r=l.substring(i+1).trim(),!(!n||t[n]&&YS[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Pc=Symbol("internals");function Bt(e){return e&&String(e).trim().toLowerCase()}function An(e){return e===!1||e==null?e:w.isArray(e)?e.map(An):String(e)}function vS(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const e2=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function $r(e,t,n,r,i){if(w.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!w.isString(t)){if(w.isString(r))return t.indexOf(r)!==-1;if(w.isRegExp(r))return r.test(t)}}function t2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function n2(e,t){const n=w.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,s){return this[r].call(this,t,i,l,s)},configurable:!0})})}class ${constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(a,d,c){const m=Bt(d);if(!m)throw new Error("header name must be a non-empty string");const u=w.findKey(i,m);(!u||i[u]===void 0||c===!0||c===void 0&&i[u]!==!1)&&(i[u||d]=An(a))}const s=(a,d)=>w.forEach(a,(c,m)=>l(c,m,d));if(w.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(w.isString(t)&&(t=t.trim())&&!e2(t))s($S(t),n);else if(w.isHeaders(t))for(const[a,d]of t.entries())l(d,a,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=Bt(t),t){const r=w.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return vS(i);if(w.isFunction(n))return n.call(this,i,r);if(w.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Bt(t),t){const r=w.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||$r(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(s){if(s=Bt(s),s){const a=w.findKey(r,s);a&&(!n||$r(r,r[a],a,n))&&(delete r[a],i=!0)}}return w.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||$r(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return w.forEach(this,(i,l)=>{const s=w.findKey(r,l);if(s){n[s]=An(i),delete n[l];return}const a=t?t2(l):String(l).trim();a!==l&&delete n[l],n[a]=An(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return w.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&w.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
22
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const n=(this[Pc]=this[Pc]={accessors:{}}).accessors,r=this.prototype;function i(l){const s=Bt(l);n[s]||(n2(r,l),n[s]=!0)}return w.isArray(t)?t.forEach(i):i(t),this}}$.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),w.reduceDescriptors($.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),w.freezeMethods($);function vr(e,t){const n=this||xt,r=t||n,i=$.from(r.headers);let l=r.data;return w.forEach(e,function(s){l=s.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function Lc(e){return!!(e&&e.__CANCEL__)}function $e(e,t,n){M.call(this,e??"canceled",M.ERR_CANCELED,t,n),this.name="CanceledError"}w.inherits($e,M,{__CANCEL__:!0});function Ac(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new M("Request failed with status code "+n.status,[M.ERR_BAD_REQUEST,M.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function o2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function r2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(a){const d=Date.now(),c=r[l];s||(s=d),n[i]=a,r[i]=d;let m=l,u=0;for(;m!==i;)u+=n[m++],m=m%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),d-s<t)return;const p=c&&d-c;return p?Math.round(u*1e3/p):void 0}}function i2(e,t){let n=0;const r=1e3/t;let i=null;return function(){const l=this===!0,s=Date.now();if(l||s-n>r)return i&&(clearTimeout(i),i=null),n=s,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(s-n)))}}const In=(e,t,n=3)=>{let r=0;const i=r2(50,250);return i2(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,d=s-r,c=i(d),m=s<=a;r=s;const u={loaded:s,total:a,progress:a?s/a:void 0,bytes:d,rate:c||void 0,estimated:c&&a&&m?(a-s)/c:void 0,event:l,lengthComputable:a!=null};u[t?"download":"upload"]=!0,e(u)},n)},l2=me.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let l=i;return e&&(t.setAttribute("href",l),l=t.href),t.setAttribute("href",l),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(i){const l=w.isString(i)?r(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}(),s2=me.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];w.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),w.isString(r)&&s.push("path="+r),w.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function a2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function c2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ic(e,t){return e&&!a2(t)?c2(e,t):t}const Mc=e=>e instanceof $?{...e}:e;function Re(e,t){t=t||{};const n={};function r(c,m,u){return w.isPlainObject(c)&&w.isPlainObject(m)?w.merge.call({caseless:u},c,m):w.isPlainObject(m)?w.merge({},m):w.isArray(m)?m.slice():m}function i(c,m,u){if(w.isUndefined(m)){if(!w.isUndefined(c))return r(void 0,c,u)}else return r(c,m,u)}function l(c,m){if(!w.isUndefined(m))return r(void 0,m)}function s(c,m){if(w.isUndefined(m)){if(!w.isUndefined(c))return r(void 0,c)}else return r(void 0,m)}function a(c,m,u){if(u in t)return r(c,m);if(u in e)return r(void 0,c)}const d={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,m)=>i(Mc(c),Mc(m),!0)};return w.forEach(Object.keys(Object.assign({},e,t)),function(c){const m=d[c]||i,u=m(e[c],t[c],c);w.isUndefined(u)&&m!==a||(n[c]=u)}),n}const Dc=e=>{const t=Re({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=$.from(s),t.url=Oc(Ic(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let d;if(w.isFormData(n)){if(me.hasStandardBrowserEnv||me.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((d=s.getContentType())!==!1){const[c,...m]=d?d.split(";").map(u=>u.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...m].join("; "))}}if(me.hasStandardBrowserEnv&&(r&&w.isFunction(r)&&(r=r(t)),r||r!==!1&&l2(t.url))){const c=i&&l&&s2.read(l);c&&s.set(i,c)}return t},d2=typeof XMLHttpRequest<"u",m2=d2&&function(e){return new Promise(function(t,n){const r=Dc(e);let i=r.data;const l=$.from(r.headers).normalize();let{responseType:s}=r,a;function d(){r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function m(){if(!c)return;const p=$.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:e,request:c};Ac(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=m:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(m)},c.onabort=function(){c&&(n(new M("Request aborted",M.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new M("Network Error",M.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let p=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||Vc;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new M(p,f.clarifyTimeoutError?M.ETIMEDOUT:M.ECONNABORTED,r,c)),c=null},i===void 0&&l.setContentType(null),"setRequestHeader"in c&&w.forEach(l.toJSON(),function(p,f){c.setRequestHeader(f,p)}),w.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),s&&s!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",In(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",In(r.onUploadProgress)),(r.cancelToken||r.signal)&&(a=p=>{c&&(n(!p||p.type?new $e(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const u=o2(r.url);if(u&&me.protocols.indexOf(u)===-1){n(new M("Unsupported protocol "+u+":",M.ERR_BAD_REQUEST,e));return}c.send(i||null)})},u2=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,s();const c=d instanceof Error?d:this.reason;n.abort(c instanceof M?c:new $e(c instanceof Error?c.message:c))}};let l=t&&setTimeout(()=>{i(new M(`timeout ${t} of ms exceeded`,M.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:a}=n;return a.unsubscribe=s,[a,()=>{l&&clearTimeout(l),l=null}]},f2=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},h2=async function*(e,t,n){for await(const r of e)yield*f2(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Rc=(e,t,n,r,i)=>{const l=h2(e,t,i);let s=0;return new ReadableStream({type:"bytes",async pull(a){const{done:d,value:c}=await l.next();if(d){a.close(),r();return}let m=c.byteLength;n&&n(s+=m),a.enqueue(new Uint8Array(c))},cancel(a){return r(a),l.return()}},{highWaterMark:2})},jc=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},Mn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",qc=Mn&&typeof ReadableStream=="function",ei=Mn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),p2=qc&&(()=>{let e=!1;const t=new Request(me.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),zc=64*1024,ti=qc&&!!(()=>{try{return w.isReadableStream(new Response("").body)}catch{}})(),Dn={stream:ti&&(e=>e.body)};Mn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Dn[t]&&(Dn[t]=w.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new M(`Response type '${t}' is not supported`,M.ERR_NOT_SUPPORT,r)})})})(new Response);const g2=async e=>{if(e==null)return 0;if(w.isBlob(e))return e.size;if(w.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(w.isArrayBufferView(e))return e.byteLength;if(w.isURLSearchParams(e)&&(e=e+""),w.isString(e))return(await ei(e)).byteLength},y2=async(e,t)=>w.toFiniteNumber(e.getContentLength())??g2(t),b2=Mn&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:d,responseType:c,headers:m,withCredentials:u="same-origin",fetchOptions:p}=Dc(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||l||s?u2([i,l],s):[],y,g;const B=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let S;try{if(d&&p2&&n!=="get"&&n!=="head"&&(S=await y2(m,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),E;w.isFormData(r)&&(E=b.headers.get("content-type"))&&m.setContentType(E),b.body&&(r=Rc(b.body,zc,jc(S,In(d)),null,ei))}w.isString(u)||(u=u?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:"half",withCredentials:u});let _=await fetch(g);const O=ti&&(c==="stream"||c==="response");if(ti&&(a||O)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=_[F]});const E=w.toFiniteNumber(_.headers.get("content-length"));_=new Response(Rc(_.body,zc,a&&jc(E,In(a,!0)),O&&B,ei),b)}c=c||"text";let P=await Dn[w.findKey(Dn,c)||"text"](_,e);return!O&&B(),h&&h(),await new Promise((b,E)=>{Ac(b,E,{data:P,headers:$.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:g})})}catch(_){throw B(),_&&_.name==="TypeError"&&/fetch/i.test(_.message)?Object.assign(new M("Network Error",M.ERR_NETWORK,e,g),{cause:_.cause||_}):M.from(_,_&&_.code,e,g)}}),ni={http:IS,xhr:m2,fetch:b2};w.forEach(ni,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Hc=e=>`- ${e}`,k2=e=>w.isFunction(e)||e===null||e===!1,Uc={getAdapter:e=>{e=w.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l<t;l++){n=e[l];let s;if(r=n,!k2(n)&&(r=ni[(s=String(n)).toLowerCase()],r===void 0))throw new M(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+l]=r}if(!r){const l=Object.entries(i).map(([a,d])=>`adapter ${a} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since :
23
+ `+l.map(Hc).join(`
24
+ `):" "+Hc(l[0]):"as no adapter specified";throw new M("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:ni};function oi(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new $e(null,e)}function Wc(e){return oi(e),e.headers=$.from(e.headers),e.data=vr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Uc.getAdapter(e.adapter||xt.adapter)(e).then(function(t){return oi(e),t.data=vr.call(e,e.transformResponse,t),t.headers=$.from(t.headers),t},function(t){return Lc(t)||(oi(e),t&&t.response&&(t.response.data=vr.call(e,e.transformResponse,t.response),t.response.headers=$.from(t.response.headers))),Promise.reject(t)})}const Gc="1.7.2",ri={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ri[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Jc={};ri.transitional=function(e,t,n){function r(i,l){return"[Axios v"+Gc+"] Transitional option '"+i+"'"+l+(n?". "+n:"")}return(i,l,s)=>{if(e===!1)throw new M(r(l," has been removed"+(t?" in "+t:"")),M.ERR_DEPRECATED);return t&&!Jc[l]&&(Jc[l]=!0,console.warn(r(l," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,l,s):!0}};function C2(e,t,n){if(typeof e!="object")throw new M("options must be an object",M.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],s=t[l];if(s){const a=e[l],d=a===void 0||s(a,l,e);if(d!==!0)throw new M("option "+l+" must be "+d,M.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new M("Unknown option "+l,M.ERR_BAD_OPTION)}}const ii={assertOptions:C2,validators:ri},Te=ii.validators;class je{constructor(t){this.defaults=t,this.interceptors={request:new Nc,response:new Nc}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=`
25
+ `+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Re(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&ii.assertOptions(r,{silentJSONParsing:Te.transitional(Te.boolean),forcedJSONParsing:Te.transitional(Te.boolean),clarifyTimeoutError:Te.transitional(Te.boolean)},!1),i!=null&&(w.isFunction(i)?n.paramsSerializer={serialize:i}:ii.assertOptions(i,{encode:Te.function,serialize:Te.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&w.merge(l.common,l[n.method]);l&&w.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),n.headers=$.concat(s,l);const a=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let m,u=0,p;if(!d){const h=[Wc.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),p=h.length,m=Promise.resolve(n);u<p;)m=m.then(h[u++],h[u++]);return m}p=a.length;let f=n;for(u=0;u<p;){const h=a[u++],y=a[u++];try{f=h(f)}catch(g){y.call(this,g);break}}try{m=Wc.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,p=c.length;u<p;)m=m.then(c[u++],c[u++]);return m}getUri(t){t=Re(this.defaults,t);const n=Ic(t.baseURL,t.url);return Oc(n,t.params,t.paramsSerializer)}}w.forEach(["delete","get","head","options"],function(e){je.prototype[e]=function(t,n){return this.request(Re(n||{},{method:e,url:t,data:(n||{}).data}))}}),w.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,l){return this.request(Re(l||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}je.prototype[e]=t(),je.prototype[e+"Form"]=t(!0)});class li{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(i=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(i,l,s){r.reason||(r.reason=new $e(i,l,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new li(function(n){t=n}),cancel:t}}}function w2(e){return function(t){return e.apply(null,t)}}function x2(e){return w.isObject(e)&&e.isAxiosError===!0}const si={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(si).forEach(([e,t])=>{si[t]=e});function Kc(e){const t=new je(e),n=uc(je.prototype.request,t);return w.extend(n,je.prototype,t,{allOwnKeys:!0}),w.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Kc(Re(e,r))},n}const W=Kc(xt);W.Axios=je,W.CanceledError=$e,W.CancelToken=li,W.isCancel=Lc,W.VERSION=Gc,W.toFormData=Ln,W.AxiosError=M,W.Cancel=W.CanceledError,W.all=function(e){return Promise.all(e)},W.spread=w2,W.isAxiosError=x2,W.mergeConfig=Re,W.AxiosHeaders=$,W.formToJSON=e=>Fc(w.isHTMLForm(e)?new FormData(e):e),W.getAdapter=Uc.getAdapter,W.HttpStatusCode=si,W.default=W;var B2=Object.defineProperty,_2=(e,t,n)=>t in e?B2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Rn=(e,t,n)=>_2(e,typeof t!="symbol"?t+"":t,n);const _t=/^[a-z0-9]+(-[a-z0-9]+)*$/,jn=(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 a=i.pop(),d=i.pop(),c={provider:i.length>0?i[0]:r,prefix:d,name:a};return t&&!qn(c)?null:c}const l=i[0],s=l.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!qn(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:l};return t&&!qn(a,n)?null:a}return null},qn=(e,t)=>e?!!((e.provider===""||e.provider.match(_t))&&(t&&e.prefix===""||e.prefix.match(_t))&&e.name.match(_t)):!1,Zc=Object.freeze({left:0,top:0,width:16,height:16}),zn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Hn=Object.freeze({...Zc,...zn}),ai=Object.freeze({...Hn,body:"",hidden:!1});function E2(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 Xc(e,t){const n=E2(e,t);for(const r in ai)r in zn?r in e&&!(r in n)&&(n[r]=zn[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function S2(e,t){const n=e.icons,r=e.aliases||{},i=Object.create(null);function l(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const a=r[s]&&r[s].parent,d=a&&l(a);d&&(i[s]=[a].concat(d))}return i[s]}return Object.keys(n).concat(Object.keys(r)).forEach(l),i}function T2(e,t,n){const r=e.icons,i=e.aliases||{};let l={};function s(a){l=Xc(r[a]||i[a],l)}return s(t),n.forEach(s),Xc(e,l)}function Qc(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=S2(e);for(const i in r){const l=r[i];l&&(t(i,T2(e,i,l)),n.push(i))}return n}const O2={provider:"",aliases:{},not_found:{},...Zc};function ci(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Yc(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ci(e,O2))return null;const n=t.icons;for(const i in n){const l=n[i];if(!i.match(_t)||typeof l.body!="string"||!ci(l,ai))return null}const r=t.aliases||{};for(const i in r){const l=r[i],s=l.parent;if(!i.match(_t)||typeof s!="string"||!n[s]&&!r[s]||!ci(l,ai))return null}return t}const $c=Object.create(null);function N2(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function qe(e,t){const n=$c[e]||($c[e]=Object.create(null));return n[t]||(n[t]=N2(e,t))}function di(e,t){return Yc(t)?Qc(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function V2(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Et=!1;function vc(e){return typeof e=="boolean"&&(Et=e),Et}function F2(e){const t=typeof e=="string"?jn(e,!0,Et):e;if(t){const n=qe(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function P2(e,t){const n=jn(e,!0,Et);if(!n)return!1;const r=qe(n.provider,n.prefix);return V2(r,n.name,t)}function ed(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Et&&!t&&!e.prefix){let i=!1;return Yc(e)&&(e.prefix="",Qc(e,(l,s)=>{s&&P2(l,s)&&(i=!0)})),i}const n=e.prefix;if(!qn({provider:t,prefix:n,name:"a"}))return!1;const r=qe(t,n);return!!di(r,e)}const td=Object.freeze({width:null,height:null}),nd=Object.freeze({...td,...zn}),L2=/(-?[0-9.]*[0-9]+[0-9.]*)/g,A2=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function od(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(L2);if(r===null||!r.length)return e;const i=[];let l=r.shift(),s=A2.test(l);for(;;){if(s){const a=parseFloat(l);isNaN(a)?i.push(l):i.push(Math.ceil(a*t*n)/n)}else i.push(l);if(l=r.shift(),l===void 0)return i.join("");s=!s}}function I2(e,t){const n={...Hn,...e},r={...nd,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let l=n.body;[n,r].forEach(p=>{const f=[],h=p.hFlip,y=p.vFlip;let g=p.rotate;h?y?g+=2:(f.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),f.push("scale(-1 1)"),i.top=i.left=0):y&&(f.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),f.push("scale(1 -1)"),i.top=i.left=0);let B;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:B=i.height/2+i.top,f.unshift("rotate(90 "+B.toString()+" "+B.toString()+")");break;case 2:f.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:B=i.width/2+i.left,f.unshift("rotate(-90 "+B.toString()+" "+B.toString()+")");break}g%2===1&&(i.left!==i.top&&(B=i.left,i.left=i.top,i.top=B),i.width!==i.height&&(B=i.width,i.width=i.height,i.height=B)),f.length&&(l='<g transform="'+f.join(" ")+'">'+l+"</g>")});const s=r.width,a=r.height,d=i.width,c=i.height;let m,u;return s===null?(u=a===null?"1em":a==="auto"?c:a,m=od(u,d/c)):(m=s==="auto"?d:s,u=a===null?od(m,c/d):a==="auto"?c:a),{attributes:{width:m.toString(),height:u.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+d.toString()+" "+c.toString()},body:l}}const M2=/\sid="(\S+)"/g,D2="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let R2=0;function j2(e,t=D2){const n=[];let r;for(;r=M2.exec(e);)n.push(r[1]);return n.length&&n.forEach(i=>{const l=typeof t=="function"?t(i):t+(R2++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),e}const mi=Object.create(null);function q2(e,t){mi[e]=t}function ui(e){return mi[e]||mi[""]}function fi(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 hi=Object.create(null),Un=["https://api.simplesvg.com","https://api.unisvg.com"],pi=[];for(;Un.length>0;)Un.length===1||Math.random()>.5?pi.push(Un.shift()):pi.push(Un.pop());hi[""]=fi({resources:["https://api.iconify.design"].concat(pi)});function z2(e,t){const n=fi(t);return n===null?!1:(hi[e]=n,!0)}function gi(e){return hi[e]}let rd=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function H2(e,t){const n=gi(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const l=t+".json?icons=";r=n.maxURL-i-n.path.length-l.length}return r}function U2(e){return e===404}const W2=(e,t,n)=>{const r=[],i=H2(e,t),l="icons";let s={type:l,provider:e,prefix:t,icons:[]},a=0;return n.forEach((d,c)=>{a+=d.length+1,a>=i&&c>0&&(r.push(s),s={type:l,provider:e,prefix:t,icons:[]},a=d.length),s.icons.push(d)}),r.push(s),r};function G2(e){if(typeof e=="string"){const t=gi(e);if(t)return t.path}return"/"}const J2=(e,t,n)=>{if(!rd){n("abort",424);return}let r=G2(t.provider);switch(t.type){case"icons":{const l=t.prefix,s=t.icons.join(","),a=new URLSearchParams({icons:s});r+=l+".json?"+a.toString();break}case"custom":{const l=t.uri;r+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let i=503;rd(e+r).then(l=>{const s=l.status;if(s!==200){setTimeout(()=>{n(U2(s)?"abort":"next",s)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{n("next",i)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",i)})},K2={prepare:W2,send:J2};function Z2(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.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 l=i.provider,s=i.prefix,a=i.name,d=n[l]||(n[l]=Object.create(null)),c=d[s]||(d[s]=qe(l,s));let m;a in c.icons?m=t.loaded:s===""||c.missing.has(a)?m=t.missing:m=t.pending;const u={provider:l,prefix:s,name:a};m.push(u)}),t}function id(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function X2(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(l=>{const s=l.icons,a=s.pending.length;s.pending=s.pending.filter(d=>{if(d.prefix!==i)return!0;const c=d.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||id([e],l.id),l.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),l.abort))})}))}let Q2=0;function Y2(e,t,n){const r=Q2++,i=id.bind(null,n,r);if(!t.pending.length)return i;const l={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(l)}),i}function $2(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const l=typeof i=="string"?jn(i,t,n):i;l&&r.push(l)}),r}var v2={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function eT(e,t,n,r){const i=e.resources.length,l=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let b=e.resources.slice(0);for(s=[];b.length>1;){const E=Math.floor(Math.random()*b.length);s.push(b[E]),b=b.slice(0,E).concat(b.slice(E+1))}s=s.concat(b)}else s=e.resources.slice(l).concat(e.resources.slice(0,l));const a=Date.now();let d="pending",c=0,m,u=null,p=[],f=[];typeof r=="function"&&f.push(r);function h(){u&&(clearTimeout(u),u=null)}function y(){d==="pending"&&(d="aborted"),h(),p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function g(b,E){E&&(f=[]),typeof b=="function"&&f.push(b)}function B(){return{startTime:a,payload:t,status:d,queriesSent:c,queriesPending:p.length,subscribe:g,abort:y}}function S(){d="failed",f.forEach(b=>{b(void 0,m)})}function _(){p.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),p=[]}function O(b,E,F){const R=E!=="success";switch(p=p.filter(L=>L!==b),d){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=F,S();return}if(R){m=F,p.length||(s.length?P():S());return}if(h(),_(),!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 P(){if(d!=="pending")return;h();const b=s.shift();if(b===void 0){if(p.length){u=setTimeout(()=>{h(),d==="pending"&&(_(),S())},e.timeout);return}S();return}const E={status:"pending",resource:b,callback:(F,R)=>{O(E,F,R)}};p.push(E),c++,u=setTimeout(P,e.rotate),n(b,t,E.callback)}return setTimeout(P),B}function ld(e){const t={...v2,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function i(s,a,d){const c=eT(t,s,a,(m,u)=>{r(),d&&d(m,u)});return n.push(c),c}function l(s){return n.find(a=>s(a))||null}return{query:i,find:l,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function sd(){}const yi=Object.create(null);function tT(e){if(!yi[e]){const t=gi(e);if(!t)return;const n=ld(t),r={config:t,redundancy:n};yi[e]=r}return yi[e]}function nT(e,t,n){let r,i;if(typeof e=="string"){const l=ui(e);if(!l)return n(void 0,424),sd;i=l.send;const s=tT(e);s&&(r=s.redundancy)}else{const l=fi(e);if(l){r=ld(l);const s=e.resources?e.resources[0]:"",a=ui(s);a&&(i=a.send)}}return!r||!i?(n(void 0,424),sd):r.query(t,i,n)().abort}const ad="iconify2",St="iconify",cd=St+"-count",dd=St+"-version",md=36e5,oT=168;function bi(e,t){try{return e.getItem(t)}catch{}}function ki(e,t,n){try{return e.setItem(t,n),!0}catch{}}function ud(e,t){try{e.removeItem(t)}catch{}}function Ci(e,t){return ki(e,cd,t.toString())}function wi(e){return parseInt(bi(e,cd))||0}const Wn={local:!0,session:!0},fd={local:new Set,session:new Set};let xi=!1;function rT(e){xi=e}let Gn=typeof window>"u"?{}:window;function hd(e){const t=e+"Storage";try{if(Gn&&Gn[t]&&typeof Gn[t].length=="number")return Gn[t]}catch{}Wn[e]=!1}function pd(e,t){const n=hd(e);if(!n)return;const r=bi(n,dd);if(r!==ad){if(r){const a=wi(n);for(let d=0;d<a;d++)ud(n,St+d.toString())}ki(n,dd,ad),Ci(n,0);return}const i=Math.floor(Date.now()/md)-oT,l=a=>{const d=St+a.toString(),c=bi(n,d);if(typeof c=="string"){try{const m=JSON.parse(c);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,a))return!0}catch{}ud(n,d)}};let s=wi(n);for(let a=s-1;a>=0;a--)l(a)||(a===s-1?(s--,Ci(n,s)):fd[e].add(a))}function gd(){if(!xi){rT(!0);for(const e in Wn)pd(e,t=>{const n=t.data,r=t.provider,i=n.prefix,l=qe(r,i);if(!di(l,n).length)return!1;const s=n.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,s):s,!0})}}function iT(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Wn)pd(r,i=>{const l=i.data;return i.provider!==e.provider||l.prefix!==e.prefix||l.lastModified===t});return!0}function lT(e,t){xi||gd();function n(r){let i;if(!Wn[r]||!(i=hd(r)))return;const l=fd[r];let s;if(l.size)l.delete(s=Array.from(l).shift());else if(s=wi(i),!Ci(i,s+1))return;const a={cached:Math.floor(Date.now()/md),provider:e.provider,data:t};return ki(i,St+s.toString(),JSON.stringify(a))}t.lastModified&&!iT(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function yd(){}function sT(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,X2(e)}))}function aT(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 l;!i||!(l=ui(n))||l.prepare(n,r,i).forEach(s=>{nT(n,s,(a,d)=>{if(typeof a!="object"){if(d!==404)return;s.icons.forEach(c=>{e.missing.add(c)})}else try{const c=di(e,a);if(!c.length)return;const m=e.pendingIcons;m&&c.forEach(u=>{m.delete(u)}),lT(e,a)}catch(c){console.error(c)}sT(e)})})}))}const cT=(e,t)=>{const n=$2(e,!0,vc()),r=Z2(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,yd)}),()=>{d=!1}}const i=Object.create(null),l=[];let s,a;return r.pending.forEach(d=>{const{provider:c,prefix:m}=d;if(m===a&&c===s)return;s=c,a=m,l.push(qe(c,m));const u=i[c]||(i[c]=Object.create(null));u[m]||(u[m]=[])}),r.pending.forEach(d=>{const{provider:c,prefix:m,name:u}=d,p=qe(c,m),f=p.pendingIcons||(p.pendingIcons=new Set);f.has(u)||(f.add(u),i[c][m].push(u))}),l.forEach(d=>{const{provider:c,prefix:m}=d;i[c][m].length&&aT(d,i[c][m])}),t?Y2(t,r,l):yd};function dT(e,t){const n={...e};for(const r in t){const i=t[r],l=typeof i;r in td?(i===null||i&&(l==="string"||l==="number"))&&(n[r]=i):l===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const mT=/[\s,]+/;function uT(e,t){t.split(mT).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function fT(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 l=parseFloat(e.slice(0,e.length-n.length));return isNaN(l)?0:(l=l/i,l%1===0?r(l):0)}}return t}function hT(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 pT(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function gT(e){return'url("data:image/svg+xml,'+pT(e)+'")'}const bd={...nd,inline:!1},yT={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},bT={display:"inline-block"},Bi={backgroundColor:"currentColor"},kd={backgroundColor:"transparent"},Cd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},wd={webkitMask:Bi,mask:Bi,background:kd};for(const e in wd){const t=wd[e];for(const n in Cd)t[e+n]=Cd[n]}const Jn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Jn[e+"-flip"]=t,Jn[e.slice(0,1)+"-flip"]=t,Jn[e+"Flip"]=t});function xd(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Bd=(e,t)=>{const n=dT(bd,t),r={...yT},i=t.mode||"svg",l={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let y in t){const g=t[y];if(g!==void 0)switch(y){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[y]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&uT(n,g);break;case"color":l.color=g;break;case"rotate":typeof g=="string"?n[y]=fT(g):typeof g=="number"&&(n[y]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const B=Jn[y];B?(g===!0||g==="true"||g===1)&&(n[B]=!0):bd[y]===void 0&&(r[y]=g)}}}const d=I2(e,n),c=d.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),i==="svg"){r.style={...l,...a},Object.assign(r,c);let y=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=j2(d.body,g?()=>g+"ID"+y++:"iconifyVue"),o.h("svg",r)}const{body:m,width:u,height:p}=e,f=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),h=hT(m,{...c,width:u+"",height:p+""});return r.style={...l,"--svg":gT(h),width:xd(c.width),height:xd(c.height),...bT,...f?Bi:kd,...a},o.h("span",r)};if(vc(!0),q2("",K2),typeof document<"u"&&typeof window<"u"){gd();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"||!ed(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;z2(n,i)||console.error(r)}catch{console.error(r)}}}}const kT={...Hn,body:""};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=jn(e,!1,!0))===null)return this.abortLoading(),null;const r=F2(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:cT([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 Bd(kT,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Bd({...Hn,...t.data},n)}});function CT(){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 wT(){return"cmd-"+CT()}const xT={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||wT()}},methods:{buildHtmlId(...e){return e.map(t=>t.replace(/\s/g,"")).join("")}}},_i=class io{constructor(t){Rn(this,"label"),this.label=t}validate(t){return[t.lastName.error,t.lastName.errorMessage]=this.validateRequired(t.lastName.value,io.PATTERN_SURNAME,this.label("form_error_invalid_surname"))[t.email.error,t.email.errorMessage]=this.validateRequired(t.email.value,io.PATTERN_EMAIL,this.label("form_error_invalid_email"))[t.additionalText.error,t.additionalText.errorMessage]=this.validateRequired(t.additionalText.value,io.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,""]}};Rn(_i,"PATTERN_SURNAME",/^[a-züöäßáéíóàèìòêîô '-]+$/i),Rn(_i,"PATTERN_EMAIL",/^[a-z\d._%+-]+@[a-z\d._%+-]+\.[a-z]{2,}$/i),Rn(_i,"PATTERN_MESSAGE",/^.{2,500}$/);const BT=e=>{const t=document.createElement("div");document.querySelector("body").appendChild(t),o.createApp(_T,{...e,show:!0}).mount(t)},_T=o.defineComponent({name:"CmdFancyBox",mixins:[xT],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,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},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:{largeGalleryImage(){const e={...this.fancyBoxGallery[this.index].image};return e.src=e.srcImageLarge,e},largeSingleImage(){var e;const t={...((e=this.cmdImage)==null?void 0:e.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t},ariaLabelText(){var e;return(e=this.fancyBoxGallery)!=null&&e.length?this.fancyBoxGallery[this.index].figcaption.text:this.defaultAriaLabelText}},methods:{onDialogCancel(e){if(!this.allowEscapeKey){e.preventDefault();return}this.close()},showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].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 ET(e)).startsWith("image/")?this.fancyBoxImageUrl=e:fetch(e).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},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 ET(e){const t=await fetch(e,{method:"HEAD"});return t.ok?(t.headers.get("Content-Type")||"").split(";")[0]:"text/html"}ed({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
26
26
  c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
27
27
  <path fill="currentColor" d="M2,12h6v18H2V12z"/>
28
- <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});function wd(e,t){return function(){return e.apply(t,arguments)}}const{toString:xT}=Object.prototype,{getPrototypeOf:_i}=Object,Kn=(e=>t=>{const n=xT.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ue=e=>(e=e.toLowerCase(),t=>Kn(t)===e),Zn=e=>t=>typeof t===e,{isArray:ve}=Array,Tt=Zn("undefined");function BT(e){return e!==null&&!Tt(e)&&e.constructor!==null&&!Tt(e.constructor)&&oe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const xd=ue("ArrayBuffer");function _T(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&xd(e.buffer),t}const ET=Zn("string"),oe=Zn("function"),Bd=Zn("number"),Xn=e=>e!==null&&typeof e=="object",ST=e=>e===!0||e===!1,Qn=e=>{if(Kn(e)!=="object")return!1;const t=_i(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},TT=ue("Date"),OT=ue("File"),NT=ue("Blob"),VT=ue("FileList"),FT=e=>Xn(e)&&oe(e.pipe),PT=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||oe(e.append)&&((t=Kn(e))==="formdata"||t==="object"&&oe(e.toString)&&e.toString()==="[object FormData]"))},LT=ue("URLSearchParams"),[AT,IT,MT,DT]=["ReadableStream","Request","Response","Headers"].map(ue),RT=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ot(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ve(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;let a;for(r=0;r<s;r++)a=l[r],t.call(null,e[a],a,e)}}function _d(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 Ed=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Sd=e=>!Tt(e)&&e!==Ed;function Ei(){const{caseless:e}=Sd(this)&&this||{},t={},n=(r,i)=>{const l=e&&_d(t,i)||i;Qn(t[l])&&Qn(r)?t[l]=Ei(t[l],r):Qn(r)?t[l]=Ei({},r):ve(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Ot(arguments[r],n);return t}const jT=(e,t,n,{allOwnKeys:r}={})=>(Ot(t,(i,l)=>{n&&oe(i)?e[l]=wd(i,n):e[l]=i},{allOwnKeys:r}),e),qT=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),zT=(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)},HT=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&_i(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},UT=(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},WT=e=>{if(!e)return null;if(ve(e))return e;let t=e.length;if(!Bd(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},GT=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&_i(Uint8Array)),JT=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},KT=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},ZT=ue("HTMLFormElement"),XT=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),Td=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),QT=ue("RegExp"),Od=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ot(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},YT=e=>{Od(e,(t,n)=>{if(oe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(oe(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+"'")})}})},$T=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return ve(e)?r(e):r(String(e).split(t)),n},vT=()=>{},eO=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Si="abcdefghijklmnopqrstuvwxyz",Nd="0123456789",Vd={DIGIT:Nd,ALPHA:Si,ALPHA_DIGIT:Si+Si.toUpperCase()+Nd},tO=(e=16,t=Vd.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function nO(e){return!!(e&&oe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const oO=e=>{const t=new Array(10),n=(r,i)=>{if(Xn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=ve(r)?[]:{};return Ot(r,(s,a)=>{const d=n(s,i+1);!Tt(d)&&(l[a]=d)}),t[i]=void 0,l}}return r};return n(e,0)},rO=ue("AsyncFunction"),iO=e=>e&&(Xn(e)||oe(e))&&oe(e.then)&&oe(e.catch),x={isArray:ve,isArrayBuffer:xd,isBuffer:BT,isFormData:PT,isArrayBufferView:_T,isString:ET,isNumber:Bd,isBoolean:ST,isObject:Xn,isPlainObject:Qn,isReadableStream:AT,isRequest:IT,isResponse:MT,isHeaders:DT,isUndefined:Tt,isDate:TT,isFile:OT,isBlob:NT,isRegExp:QT,isFunction:oe,isStream:FT,isURLSearchParams:LT,isTypedArray:GT,isFileList:VT,forEach:Ot,merge:Ei,extend:jT,trim:RT,stripBOM:qT,inherits:zT,toFlatObject:HT,kindOf:Kn,kindOfTest:ue,endsWith:UT,toArray:WT,forEachEntry:JT,matchAll:KT,isHTMLForm:ZT,hasOwnProperty:Td,hasOwnProp:Td,reduceDescriptors:Od,freezeMethods:YT,toObjectSet:$T,toCamelCase:XT,noop:vT,toFiniteNumber:eO,findKey:_d,global:Ed,isContextDefined:Sd,ALPHABET:Vd,generateString:tO,isSpecCompliantForm:nO,toJSONObject:oO,isAsyncFn:rO,isThenable:iO};function D(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)}x.inherits(D,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:x.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Fd=D.prototype,Pd={};["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=>{Pd[e]={value:e}}),Object.defineProperties(D,Pd),Object.defineProperty(Fd,"isAxiosError",{value:!0}),D.from=(e,t,n,r,i,l)=>{const s=Object.create(Fd);return x.toFlatObject(e,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),D.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const lO=null;function Ti(e){return x.isPlainObject(e)||x.isArray(e)}function Ld(e){return x.endsWith(e,"[]")?e.slice(0,-2):e}function Ad(e,t,n){return e?e.concat(t).map(function(r,i){return r=Ld(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function sO(e){return x.isArray(e)&&!e.some(Ti)}const aO=x.toFlatObject(x,{},null,function(e){return/^is[A-Z]/.test(e)});function Yn(e,t,n){if(!x.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=x.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,h){return!x.isUndefined(h[f])});const r=n.metaTokens,i=n.visitor||c,l=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&x.isSpecCompliantForm(t);if(!x.isFunction(i))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(x.isDate(f))return f.toISOString();if(!a&&x.isBlob(f))throw new D("Blob is not supported. Use a Buffer instead.");return x.isArrayBuffer(f)||x.isTypedArray(f)?a&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function c(f,h,y){let g=f;if(f&&!y&&typeof f=="object"){if(x.endsWith(h,"{}"))h=r?h:h.slice(0,-2),f=JSON.stringify(f);else if(x.isArray(f)&&sO(f)||(x.isFileList(f)||x.endsWith(h,"[]"))&&(g=x.toArray(f)))return h=Ld(h),g.forEach(function(B,S){!(x.isUndefined(B)||B===null)&&t.append(s===!0?Ad([h],S,l):s===null?h:h+"[]",d(B))}),!1}return Ti(f)?!0:(t.append(Ad(y,h,l),d(f)),!1)}const m=[],u=Object.assign(aO,{defaultVisitor:c,convertValue:d,isVisitable:Ti});function p(f,h){if(!x.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));m.push(f),x.forEach(f,function(y,g){(!(x.isUndefined(y)||y===null)&&i.call(t,y,x.isString(g)?g.trim():g,h,u))===!0&&p(y,h?h.concat(g):[g])}),m.pop()}}if(!x.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Id(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Oi(e,t){this._pairs=[],e&&Yn(e,this,t)}const Md=Oi.prototype;Md.append=function(e,t){this._pairs.push([e,t])},Md.toString=function(e){const t=e?function(n){return e.call(this,n,Id)}:Id;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function cO(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Dd(e,t,n){if(!t)return e;const r=n&&n.encode||cO,i=n&&n.serialize;let l;if(i?l=i(t,n):l=x.isURLSearchParams(t)?t.toString():new Oi(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Rd{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){x.forEach(this.handlers,function(n){n!==null&&t(n)})}}const jd={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},dO=typeof URLSearchParams<"u"?URLSearchParams:Oi,mO=typeof FormData<"u"?FormData:null,uO=typeof Blob<"u"?Blob:null,fO={isBrowser:!0,classes:{URLSearchParams:dO,FormData:mO,Blob:uO},protocols:["http","https","file","blob","url","data"]},Ni=typeof window<"u"&&typeof document<"u",hO=(e=>Ni&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),pO=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",gO=Ni&&window.location.href||"http://localhost",yO=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ni,hasStandardBrowserEnv:hO,hasStandardBrowserWebWorkerEnv:pO,origin:gO},Symbol.toStringTag,{value:"Module"})),fe={...yO,...fO};function bO(e,t){return Yn(e,new fe.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return fe.isNode&&x.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function kO(e){return x.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function CO(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r<i;r++)l=n[r],t[l]=e[l];return t}function qd(e){function t(n,r,i,l){let s=n[l++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),d=l>=n.length;return s=!s&&x.isArray(i)?i.length:s,d?(x.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!x.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&x.isArray(i[s])&&(i[s]=CO(i[s])),!a)}if(x.isFormData(e)&&x.isFunction(e.entries)){const n={};return x.forEachEntry(e,(r,i)=>{t(kO(r),i,n,0)}),n}return null}function wO(e,t,n){if(x.isString(e))try{return(t||JSON.parse)(e),x.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Nt={transitional:jd,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=x.isObject(e);if(i&&x.isHTMLForm(e)&&(e=new FormData(e)),x.isFormData(e))return r?JSON.stringify(qd(e)):e;if(x.isArrayBuffer(e)||x.isBuffer(e)||x.isStream(e)||x.isFile(e)||x.isBlob(e)||x.isReadableStream(e))return e;if(x.isArrayBufferView(e))return e.buffer;if(x.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return bO(e,this.formSerializer).toString();if((l=x.isFileList(e))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Yn(l?{"files[]":e}:e,s&&new s,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),wO(e)):e}],transformResponse:[function(e){const t=this.transitional||Nt.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(x.isResponse(e)||x.isReadableStream(e))return e;if(e&&x.isString(e)&&(n&&!this.responseType||r)){const i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(l){if(i)throw l.name==="SyntaxError"?D.from(l,D.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:fe.classes.FormData,Blob:fe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};x.forEach(["delete","get","head","post","put","patch"],e=>{Nt.headers[e]={}});const xO=x.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"]),BO=e=>{const t={};let n,r,i;return e&&e.split(`
29
- `).forEach(function(l){i=l.indexOf(":"),n=l.substring(0,i).trim().toLowerCase(),r=l.substring(i+1).trim(),!(!n||t[n]&&xO[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},zd=Symbol("internals");function Vt(e){return e&&String(e).trim().toLowerCase()}function $n(e){return e===!1||e==null?e:x.isArray(e)?e.map($n):String(e)}function _O(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const EO=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Vi(e,t,n,r,i){if(x.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!x.isString(t)){if(x.isString(r))return t.indexOf(r)!==-1;if(x.isRegExp(r))return r.test(t)}}function SO(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function TO(e,t){const n=x.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,s){return this[r].call(this,t,i,l,s)},configurable:!0})})}class v{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(a,d,c){const m=Vt(d);if(!m)throw new Error("header name must be a non-empty string");const u=x.findKey(i,m);(!u||i[u]===void 0||c===!0||c===void 0&&i[u]!==!1)&&(i[u||d]=$n(a))}const s=(a,d)=>x.forEach(a,(c,m)=>l(c,m,d));if(x.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(x.isString(t)&&(t=t.trim())&&!EO(t))s(BO(t),n);else if(x.isHeaders(t))for(const[a,d]of t.entries())l(d,a,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=Vt(t),t){const r=x.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return _O(i);if(x.isFunction(n))return n.call(this,i,r);if(x.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Vt(t),t){const r=x.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Vi(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(s){if(s=Vt(s),s){const a=x.findKey(r,s);a&&(!n||Vi(r,r[a],a,n))&&(delete r[a],i=!0)}}return x.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||Vi(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return x.forEach(this,(i,l)=>{const s=x.findKey(r,l);if(s){n[s]=$n(i),delete n[l];return}const a=t?SO(l):String(l).trim();a!==l&&delete n[l],n[a]=$n(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return x.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&x.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
30
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const n=(this[zd]=this[zd]={accessors:{}}).accessors,r=this.prototype;function i(l){const s=Vt(l);n[s]||(TO(r,l),n[s]=!0)}return x.isArray(t)?t.forEach(i):i(t),this}}v.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),x.reduceDescriptors(v.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),x.freezeMethods(v);function Fi(e,t){const n=this||Nt,r=t||n,i=v.from(r.headers);let l=r.data;return x.forEach(e,function(s){l=s.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function Hd(e){return!!(e&&e.__CANCEL__)}function et(e,t,n){D.call(this,e??"canceled",D.ERR_CANCELED,t,n),this.name="CanceledError"}x.inherits(et,D,{__CANCEL__:!0});function Ud(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new D("Request failed with status code "+n.status,[D.ERR_BAD_REQUEST,D.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function OO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function NO(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(a){const d=Date.now(),c=r[l];s||(s=d),n[i]=a,r[i]=d;let m=l,u=0;for(;m!==i;)u+=n[m++],m=m%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),d-s<t)return;const p=c&&d-c;return p?Math.round(u*1e3/p):void 0}}function VO(e,t){let n=0;const r=1e3/t;let i=null;return function(){const l=this===!0,s=Date.now();if(l||s-n>r)return i&&(clearTimeout(i),i=null),n=s,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(s-n)))}}const vn=(e,t,n=3)=>{let r=0;const i=NO(50,250);return VO(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,d=s-r,c=i(d),m=s<=a;r=s;const u={loaded:s,total:a,progress:a?s/a:void 0,bytes:d,rate:c||void 0,estimated:c&&a&&m?(a-s)/c:void 0,event:l,lengthComputable:a!=null};u[t?"download":"upload"]=!0,e(u)},n)},FO=fe.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let l=i;return e&&(t.setAttribute("href",l),l=t.href),t.setAttribute("href",l),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(i){const l=x.isString(i)?r(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}(),PO=fe.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];x.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),x.isString(r)&&s.push("path="+r),x.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function LO(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function AO(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Wd(e,t){return e&&!LO(t)?AO(e,t):t}const Gd=e=>e instanceof v?{...e}:e;function ze(e,t){t=t||{};const n={};function r(c,m,u){return x.isPlainObject(c)&&x.isPlainObject(m)?x.merge.call({caseless:u},c,m):x.isPlainObject(m)?x.merge({},m):x.isArray(m)?m.slice():m}function i(c,m,u){if(x.isUndefined(m)){if(!x.isUndefined(c))return r(void 0,c,u)}else return r(c,m,u)}function l(c,m){if(!x.isUndefined(m))return r(void 0,m)}function s(c,m){if(x.isUndefined(m)){if(!x.isUndefined(c))return r(void 0,c)}else return r(void 0,m)}function a(c,m,u){if(u in t)return r(c,m);if(u in e)return r(void 0,c)}const d={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,m)=>i(Gd(c),Gd(m),!0)};return x.forEach(Object.keys(Object.assign({},e,t)),function(c){const m=d[c]||i,u=m(e[c],t[c],c);x.isUndefined(u)&&m!==a||(n[c]=u)}),n}const Jd=e=>{const t=ze({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=v.from(s),t.url=Dd(Wd(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let d;if(x.isFormData(n)){if(fe.hasStandardBrowserEnv||fe.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((d=s.getContentType())!==!1){const[c,...m]=d?d.split(";").map(u=>u.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...m].join("; "))}}if(fe.hasStandardBrowserEnv&&(r&&x.isFunction(r)&&(r=r(t)),r||r!==!1&&FO(t.url))){const c=i&&l&&PO.read(l);c&&s.set(i,c)}return t},IO=typeof XMLHttpRequest<"u",MO=IO&&function(e){return new Promise(function(t,n){const r=Jd(e);let i=r.data;const l=v.from(r.headers).normalize();let{responseType:s}=r,a;function d(){r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function m(){if(!c)return;const p=v.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:e,request:c};Ud(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=m:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(m)},c.onabort=function(){c&&(n(new D("Request aborted",D.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new D("Network Error",D.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let p=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||jd;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new D(p,f.clarifyTimeoutError?D.ETIMEDOUT:D.ECONNABORTED,r,c)),c=null},i===void 0&&l.setContentType(null),"setRequestHeader"in c&&x.forEach(l.toJSON(),function(p,f){c.setRequestHeader(f,p)}),x.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),s&&s!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",vn(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",vn(r.onUploadProgress)),(r.cancelToken||r.signal)&&(a=p=>{c&&(n(!p||p.type?new et(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const u=OO(r.url);if(u&&fe.protocols.indexOf(u)===-1){n(new D("Unsupported protocol "+u+":",D.ERR_BAD_REQUEST,e));return}c.send(i||null)})},DO=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,s();const c=d instanceof Error?d:this.reason;n.abort(c instanceof D?c:new et(c instanceof Error?c.message:c))}};let l=t&&setTimeout(()=>{i(new D(`timeout ${t} of ms exceeded`,D.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:a}=n;return a.unsubscribe=s,[a,()=>{l&&clearTimeout(l),l=null}]},RO=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},jO=async function*(e,t,n){for await(const r of e)yield*RO(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Kd=(e,t,n,r,i)=>{const l=jO(e,t,i);let s=0;return new ReadableStream({type:"bytes",async pull(a){const{done:d,value:c}=await l.next();if(d){a.close(),r();return}let m=c.byteLength;n&&n(s+=m),a.enqueue(new Uint8Array(c))},cancel(a){return r(a),l.return()}},{highWaterMark:2})},Zd=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},eo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Xd=eo&&typeof ReadableStream=="function",Pi=eo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),qO=Xd&&(()=>{let e=!1;const t=new Request(fe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Qd=64*1024,Li=Xd&&!!(()=>{try{return x.isReadableStream(new Response("").body)}catch{}})(),to={stream:Li&&(e=>e.body)};eo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!to[t]&&(to[t]=x.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new D(`Response type '${t}' is not supported`,D.ERR_NOT_SUPPORT,r)})})})(new Response);const zO=async e=>{if(e==null)return 0;if(x.isBlob(e))return e.size;if(x.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(x.isArrayBufferView(e))return e.byteLength;if(x.isURLSearchParams(e)&&(e=e+""),x.isString(e))return(await Pi(e)).byteLength},HO=async(e,t)=>x.toFiniteNumber(e.getContentLength())??zO(t),UO=eo&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:d,responseType:c,headers:m,withCredentials:u="same-origin",fetchOptions:p}=Jd(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||l||s?DO([i,l],s):[],y,g;const B=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let S;try{if(d&&qO&&n!=="get"&&n!=="head"&&(S=await HO(m,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),E;x.isFormData(r)&&(E=b.headers.get("content-type"))&&m.setContentType(E),b.body&&(r=Kd(b.body,Qd,Zd(S,vn(d)),null,Pi))}x.isString(u)||(u=u?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:"half",withCredentials:u});let _=await fetch(g);const O=Li&&(c==="stream"||c==="response");if(Li&&(a||O)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=_[F]});const E=x.toFiniteNumber(_.headers.get("content-length"));_=new Response(Kd(_.body,Qd,a&&Zd(E,vn(a,!0)),O&&B,Pi),b)}c=c||"text";let P=await to[x.findKey(to,c)||"text"](_,e);return!O&&B(),h&&h(),await new Promise((b,E)=>{Ud(b,E,{data:P,headers:v.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:g})})}catch(_){throw B(),_&&_.name==="TypeError"&&/fetch/i.test(_.message)?Object.assign(new D("Network Error",D.ERR_NETWORK,e,g),{cause:_.cause||_}):D.from(_,_&&_.code,e,g)}}),Ai={http:lO,xhr:MO,fetch:UO};x.forEach(Ai,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Yd=e=>`- ${e}`,WO=e=>x.isFunction(e)||e===null||e===!1,$d={getAdapter:e=>{e=x.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l<t;l++){n=e[l];let s;if(r=n,!WO(n)&&(r=Ai[(s=String(n)).toLowerCase()],r===void 0))throw new D(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+l]=r}if(!r){const l=Object.entries(i).map(([a,d])=>`adapter ${a} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since :
31
- `+l.map(Yd).join(`
32
- `):" "+Yd(l[0]):"as no adapter specified";throw new D("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Ai};function Ii(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new et(null,e)}function vd(e){return Ii(e),e.headers=v.from(e.headers),e.data=Fi.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),$d.getAdapter(e.adapter||Nt.adapter)(e).then(function(t){return Ii(e),t.data=Fi.call(e,e.transformResponse,t),t.headers=v.from(t.headers),t},function(t){return Hd(t)||(Ii(e),t&&t.response&&(t.response.data=Fi.call(e,e.transformResponse,t.response),t.response.headers=v.from(t.response.headers))),Promise.reject(t)})}const em="1.7.2",Mi={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Mi[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const tm={};Mi.transitional=function(e,t,n){function r(i,l){return"[Axios v"+em+"] Transitional option '"+i+"'"+l+(n?". "+n:"")}return(i,l,s)=>{if(e===!1)throw new D(r(l," has been removed"+(t?" in "+t:"")),D.ERR_DEPRECATED);return t&&!tm[l]&&(tm[l]=!0,console.warn(r(l," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,l,s):!0}};function GO(e,t,n){if(typeof e!="object")throw new D("options must be an object",D.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],s=t[l];if(s){const a=e[l],d=a===void 0||s(a,l,e);if(d!==!0)throw new D("option "+l+" must be "+d,D.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new D("Unknown option "+l,D.ERR_BAD_OPTION)}}const Di={assertOptions:GO,validators:Mi},Oe=Di.validators;class He{constructor(t){this.defaults=t,this.interceptors={request:new Rd,response:new Rd}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=`
33
- `+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ze(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&Di.assertOptions(r,{silentJSONParsing:Oe.transitional(Oe.boolean),forcedJSONParsing:Oe.transitional(Oe.boolean),clarifyTimeoutError:Oe.transitional(Oe.boolean)},!1),i!=null&&(x.isFunction(i)?n.paramsSerializer={serialize:i}:Di.assertOptions(i,{encode:Oe.function,serialize:Oe.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&x.merge(l.common,l[n.method]);l&&x.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),n.headers=v.concat(s,l);const a=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let m,u=0,p;if(!d){const h=[vd.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),p=h.length,m=Promise.resolve(n);u<p;)m=m.then(h[u++],h[u++]);return m}p=a.length;let f=n;for(u=0;u<p;){const h=a[u++],y=a[u++];try{f=h(f)}catch(g){y.call(this,g);break}}try{m=vd.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,p=c.length;u<p;)m=m.then(c[u++],c[u++]);return m}getUri(t){t=ze(this.defaults,t);const n=Wd(t.baseURL,t.url);return Dd(n,t.params,t.paramsSerializer)}}x.forEach(["delete","get","head","options"],function(e){He.prototype[e]=function(t,n){return this.request(ze(n||{},{method:e,url:t,data:(n||{}).data}))}}),x.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,l){return this.request(ze(l||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}He.prototype[e]=t(),He.prototype[e+"Form"]=t(!0)});class Ri{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(i=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(i,l,s){r.reason||(r.reason=new et(i,l,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Ri(function(n){t=n}),cancel:t}}}function JO(e){return function(t){return e.apply(null,t)}}function KO(e){return x.isObject(e)&&e.isAxiosError===!0}const ji={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ji).forEach(([e,t])=>{ji[t]=e});function nm(e){const t=new He(e),n=wd(He.prototype.request,t);return x.extend(n,He.prototype,t,{allOwnKeys:!0}),x.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return nm(ze(e,r))},n}const G=nm(Nt);G.Axios=He,G.CanceledError=et,G.CancelToken=Ri,G.isCancel=Hd,G.VERSION=em,G.toFormData=Yn,G.AxiosError=D,G.Cancel=G.CanceledError,G.all=function(e){return Promise.all(e)},G.spread=JO,G.isAxiosError=KO,G.mergeConfig=ze,G.AxiosHeaders=v,G.formToJSON=e=>qd(x.isHTMLForm(e)?new FormData(e):e),G.getAdapter=$d.getAdapter,G.HttpStatusCode=ji,G.default=G;function ZO(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),kT({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(XO);function XO(e){const t=[];for(let n=0;n<e.length;n++)if(e[n].type==="attributes")e[n].target.classList.contains("fancybox")&&t.push(e[n].target);else if(e[n].type==="childList"){let r=Array.from(e[n].addedNodes).filter(i=>i.classList?i.classList.contains("fancybox"):!1);r.length&&t.push(...r)}t.length>0&&ZO(t)}function QO(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),WE({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(YO);function YO(e){const t=[];for(let n=0;n<e.length;n++)if(e[n].type==="attributes")e[n].target.classList.contains("fancybox")&&t.push(e[n].target);else if(e[n].type==="childList"){let r=Array.from(e[n].addedNodes).filter(i=>i.classList?i.classList.contains("fancybox"):!1);r.length&&t.push(...r)}t.length>0&&QO(t)}function om(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),p1({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}const no=new MutationObserver($O);function $O(e){const t=[];for(let n=0;n<e.length;n++)if(e[n].type==="attributes")e[n].target.classList.contains("fancybox")&&t.push(e[n].target);else if(e[n].type==="childList"){let r=Array.from(e[n].addedNodes).filter(i=>i.classList?i.classList.contains("fancybox"):!1);r.length&&t.push(...r)}t.length>0&&om(t)}const vO=e=>{const t=e.querySelectorAll(".fancybox");om(t),no==null||no.disconnect(),no.observe(e,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["class"],characterData:!1})};function eN(){const e={};o.onBeforeUpdate(r);function t(i="defaultSequence"){const l=e[i]||0;return e[i]=l+1,e[i]}function n(i="defaultSequence"){return e[i]||0}function r(i="defaultSequence"){e[i]&&(e[i]=0)}return{nextSequenceValue:t,currentSequenceValue:n,resetSequence:r}}T.CmdAddressData=yl,T.CmdBackToTopButton=Fh,T.CmdBankAccountData=Rh,T.CmdBasicForm=xl,T.CmdBox=Vo,T.CmdBoxWrapper=Tl,T.CmdBreadcrumbs=Ol,T.CmdCompanyLogo=Nl,T.CmdContainer=yy,T.CmdCookieDisclaimer=Ly,T.CmdCopyrightInformation=Ry,T.CmdFakeSelect=Vl,T.CmdFancyBox=Dp,T.CmdForm=bl,T.CmdFormElement=J,T.CmdFormFilters=Fl,T.CmdGoogleMaps=Pl,T.CmdHeadline=z,T.CmdIcon=j,T.CmdImage=Ce,T.CmdImageGallery=Sb,T.CmdImageZoom=Lb,T.CmdInputGroup=Il,T.CmdLink=Ge,T.CmdListOfLinks=Oo,T.CmdLoginForm=ok,T.CmdMainNavigation=Ml,T.CmdMultistepFormProgressBar=xk,T.CmdNewsletterSubscription=Tk,T.CmdOpeningHours=vk,T.CmdPageFooter=E0,T.CmdPageHeader=V0,T.CmdPagination=d0,T.CmdProgressBar=D0,T.CmdSidebar=W0,T.CmdSiteFooter=Z0,T.CmdSiteHeader=$0,T.CmdSiteSearch=sC,T.CmdSlideButton=it,T.CmdSlideshow=pC,T.CmdSocialNetworks=Rl,T.CmdSwitchLanguage=BC,T.CmdSystemMessage=Po,T.CmdTable=FC,T.CmdTabs=jC,T.CmdTextImageBlock=GC,T.CmdThumbnailScroller=Cl,T.CmdToggleDarkMode=XC,T.CmdTooltip=gl,T.CmdUploadForm=Zx,T.CmdWidthLimitationWrapper=vx,T.ContactInformation=rB,T.DirFancybox=vO,T.DirFocus=fB,T.DirTelephone=hB,T.EditComponentWrapper=_e,T.I18n=X,T.MultipleBoxWrapper=aB,T.MultipleListsOfLinks=uB,T.createHtmlId=_o,T.createUuid=Ue,T.getFileExtension=We,T.openFancyBox=Fe,T.useSequence=eN,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})});
28
+ <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});function _d(e,t){return function(){return e.apply(t,arguments)}}const{toString:ST}=Object.prototype,{getPrototypeOf:Ei}=Object,Kn=(e=>t=>{const n=ST.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ue=e=>(e=e.toLowerCase(),t=>Kn(t)===e),Zn=e=>t=>typeof t===e,{isArray:ve}=Array,Tt=Zn("undefined");function TT(e){return e!==null&&!Tt(e)&&e.constructor!==null&&!Tt(e.constructor)&&oe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ed=ue("ArrayBuffer");function OT(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ed(e.buffer),t}const NT=Zn("string"),oe=Zn("function"),Sd=Zn("number"),Xn=e=>e!==null&&typeof e=="object",VT=e=>e===!0||e===!1,Qn=e=>{if(Kn(e)!=="object")return!1;const t=Ei(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},FT=ue("Date"),PT=ue("File"),LT=ue("Blob"),AT=ue("FileList"),IT=e=>Xn(e)&&oe(e.pipe),MT=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||oe(e.append)&&((t=Kn(e))==="formdata"||t==="object"&&oe(e.toString)&&e.toString()==="[object FormData]"))},DT=ue("URLSearchParams"),[RT,jT,qT,zT]=["ReadableStream","Request","Response","Headers"].map(ue),HT=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ot(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ve(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;let a;for(r=0;r<s;r++)a=l[r],t.call(null,e[a],a,e)}}function Td(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 Od=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Nd=e=>!Tt(e)&&e!==Od;function Si(){const{caseless:e}=Nd(this)&&this||{},t={},n=(r,i)=>{const l=e&&Td(t,i)||i;Qn(t[l])&&Qn(r)?t[l]=Si(t[l],r):Qn(r)?t[l]=Si({},r):ve(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Ot(arguments[r],n);return t}const UT=(e,t,n,{allOwnKeys:r}={})=>(Ot(t,(i,l)=>{n&&oe(i)?e[l]=_d(i,n):e[l]=i},{allOwnKeys:r}),e),WT=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),GT=(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)},JT=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Ei(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},KT=(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},ZT=e=>{if(!e)return null;if(ve(e))return e;let t=e.length;if(!Sd(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},XT=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ei(Uint8Array)),QT=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},YT=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},$T=ue("HTMLFormElement"),vT=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),Vd=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),eO=ue("RegExp"),Fd=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ot(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},tO=e=>{Fd(e,(t,n)=>{if(oe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(oe(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+"'")})}})},nO=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return ve(e)?r(e):r(String(e).split(t)),n},oO=()=>{},rO=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Ti="abcdefghijklmnopqrstuvwxyz",Pd="0123456789",Ld={DIGIT:Pd,ALPHA:Ti,ALPHA_DIGIT:Ti+Ti.toUpperCase()+Pd},iO=(e=16,t=Ld.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function lO(e){return!!(e&&oe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const sO=e=>{const t=new Array(10),n=(r,i)=>{if(Xn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=ve(r)?[]:{};return Ot(r,(s,a)=>{const d=n(s,i+1);!Tt(d)&&(l[a]=d)}),t[i]=void 0,l}}return r};return n(e,0)},aO=ue("AsyncFunction"),cO=e=>e&&(Xn(e)||oe(e))&&oe(e.then)&&oe(e.catch),x={isArray:ve,isArrayBuffer:Ed,isBuffer:TT,isFormData:MT,isArrayBufferView:OT,isString:NT,isNumber:Sd,isBoolean:VT,isObject:Xn,isPlainObject:Qn,isReadableStream:RT,isRequest:jT,isResponse:qT,isHeaders:zT,isUndefined:Tt,isDate:FT,isFile:PT,isBlob:LT,isRegExp:eO,isFunction:oe,isStream:IT,isURLSearchParams:DT,isTypedArray:XT,isFileList:AT,forEach:Ot,merge:Si,extend:UT,trim:HT,stripBOM:WT,inherits:GT,toFlatObject:JT,kindOf:Kn,kindOfTest:ue,endsWith:KT,toArray:ZT,forEachEntry:QT,matchAll:YT,isHTMLForm:$T,hasOwnProperty:Vd,hasOwnProp:Vd,reduceDescriptors:Fd,freezeMethods:tO,toObjectSet:nO,toCamelCase:vT,noop:oO,toFiniteNumber:rO,findKey:Td,global:Od,isContextDefined:Nd,ALPHABET:Ld,generateString:iO,isSpecCompliantForm:lO,toJSONObject:sO,isAsyncFn:aO,isThenable:cO};function D(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)}x.inherits(D,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:x.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ad=D.prototype,Id={};["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=>{Id[e]={value:e}}),Object.defineProperties(D,Id),Object.defineProperty(Ad,"isAxiosError",{value:!0}),D.from=(e,t,n,r,i,l)=>{const s=Object.create(Ad);return x.toFlatObject(e,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),D.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const dO=null;function Oi(e){return x.isPlainObject(e)||x.isArray(e)}function Md(e){return x.endsWith(e,"[]")?e.slice(0,-2):e}function Dd(e,t,n){return e?e.concat(t).map(function(r,i){return r=Md(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function mO(e){return x.isArray(e)&&!e.some(Oi)}const uO=x.toFlatObject(x,{},null,function(e){return/^is[A-Z]/.test(e)});function Yn(e,t,n){if(!x.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=x.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,h){return!x.isUndefined(h[f])});const r=n.metaTokens,i=n.visitor||c,l=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&x.isSpecCompliantForm(t);if(!x.isFunction(i))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(x.isDate(f))return f.toISOString();if(!a&&x.isBlob(f))throw new D("Blob is not supported. Use a Buffer instead.");return x.isArrayBuffer(f)||x.isTypedArray(f)?a&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function c(f,h,y){let g=f;if(f&&!y&&typeof f=="object"){if(x.endsWith(h,"{}"))h=r?h:h.slice(0,-2),f=JSON.stringify(f);else if(x.isArray(f)&&mO(f)||(x.isFileList(f)||x.endsWith(h,"[]"))&&(g=x.toArray(f)))return h=Md(h),g.forEach(function(B,S){!(x.isUndefined(B)||B===null)&&t.append(s===!0?Dd([h],S,l):s===null?h:h+"[]",d(B))}),!1}return Oi(f)?!0:(t.append(Dd(y,h,l),d(f)),!1)}const m=[],u=Object.assign(uO,{defaultVisitor:c,convertValue:d,isVisitable:Oi});function p(f,h){if(!x.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));m.push(f),x.forEach(f,function(y,g){(!(x.isUndefined(y)||y===null)&&i.call(t,y,x.isString(g)?g.trim():g,h,u))===!0&&p(y,h?h.concat(g):[g])}),m.pop()}}if(!x.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Rd(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Ni(e,t){this._pairs=[],e&&Yn(e,this,t)}const jd=Ni.prototype;jd.append=function(e,t){this._pairs.push([e,t])},jd.toString=function(e){const t=e?function(n){return e.call(this,n,Rd)}:Rd;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function fO(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function qd(e,t,n){if(!t)return e;const r=n&&n.encode||fO,i=n&&n.serialize;let l;if(i?l=i(t,n):l=x.isURLSearchParams(t)?t.toString():new Ni(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class zd{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){x.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Hd={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hO=typeof URLSearchParams<"u"?URLSearchParams:Ni,pO=typeof FormData<"u"?FormData:null,gO=typeof Blob<"u"?Blob:null,yO={isBrowser:!0,classes:{URLSearchParams:hO,FormData:pO,Blob:gO},protocols:["http","https","file","blob","url","data"]},Vi=typeof window<"u"&&typeof document<"u",bO=(e=>Vi&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),kO=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",CO=Vi&&window.location.href||"http://localhost",wO=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Vi,hasStandardBrowserEnv:bO,hasStandardBrowserWebWorkerEnv:kO,origin:CO},Symbol.toStringTag,{value:"Module"})),fe={...wO,...yO};function xO(e,t){return Yn(e,new fe.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return fe.isNode&&x.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function BO(e){return x.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function _O(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r<i;r++)l=n[r],t[l]=e[l];return t}function Ud(e){function t(n,r,i,l){let s=n[l++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),d=l>=n.length;return s=!s&&x.isArray(i)?i.length:s,d?(x.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!x.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&x.isArray(i[s])&&(i[s]=_O(i[s])),!a)}if(x.isFormData(e)&&x.isFunction(e.entries)){const n={};return x.forEachEntry(e,(r,i)=>{t(BO(r),i,n,0)}),n}return null}function EO(e,t,n){if(x.isString(e))try{return(t||JSON.parse)(e),x.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Nt={transitional:Hd,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=x.isObject(e);if(i&&x.isHTMLForm(e)&&(e=new FormData(e)),x.isFormData(e))return r?JSON.stringify(Ud(e)):e;if(x.isArrayBuffer(e)||x.isBuffer(e)||x.isStream(e)||x.isFile(e)||x.isBlob(e)||x.isReadableStream(e))return e;if(x.isArrayBufferView(e))return e.buffer;if(x.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return xO(e,this.formSerializer).toString();if((l=x.isFileList(e))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Yn(l?{"files[]":e}:e,s&&new s,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),EO(e)):e}],transformResponse:[function(e){const t=this.transitional||Nt.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(x.isResponse(e)||x.isReadableStream(e))return e;if(e&&x.isString(e)&&(n&&!this.responseType||r)){const i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(l){if(i)throw l.name==="SyntaxError"?D.from(l,D.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:fe.classes.FormData,Blob:fe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};x.forEach(["delete","get","head","post","put","patch"],e=>{Nt.headers[e]={}});const SO=x.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"]),TO=e=>{const t={};let n,r,i;return e&&e.split(`
29
+ `).forEach(function(l){i=l.indexOf(":"),n=l.substring(0,i).trim().toLowerCase(),r=l.substring(i+1).trim(),!(!n||t[n]&&SO[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Wd=Symbol("internals");function Vt(e){return e&&String(e).trim().toLowerCase()}function $n(e){return e===!1||e==null?e:x.isArray(e)?e.map($n):String(e)}function OO(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const NO=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Fi(e,t,n,r,i){if(x.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!x.isString(t)){if(x.isString(r))return t.indexOf(r)!==-1;if(x.isRegExp(r))return r.test(t)}}function VO(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function FO(e,t){const n=x.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,s){return this[r].call(this,t,i,l,s)},configurable:!0})})}class v{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(a,d,c){const m=Vt(d);if(!m)throw new Error("header name must be a non-empty string");const u=x.findKey(i,m);(!u||i[u]===void 0||c===!0||c===void 0&&i[u]!==!1)&&(i[u||d]=$n(a))}const s=(a,d)=>x.forEach(a,(c,m)=>l(c,m,d));if(x.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(x.isString(t)&&(t=t.trim())&&!NO(t))s(TO(t),n);else if(x.isHeaders(t))for(const[a,d]of t.entries())l(d,a,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=Vt(t),t){const r=x.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return OO(i);if(x.isFunction(n))return n.call(this,i,r);if(x.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Vt(t),t){const r=x.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Fi(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(s){if(s=Vt(s),s){const a=x.findKey(r,s);a&&(!n||Fi(r,r[a],a,n))&&(delete r[a],i=!0)}}return x.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||Fi(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return x.forEach(this,(i,l)=>{const s=x.findKey(r,l);if(s){n[s]=$n(i),delete n[l];return}const a=t?VO(l):String(l).trim();a!==l&&delete n[l],n[a]=$n(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return x.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&x.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
30
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const n=(this[Wd]=this[Wd]={accessors:{}}).accessors,r=this.prototype;function i(l){const s=Vt(l);n[s]||(FO(r,l),n[s]=!0)}return x.isArray(t)?t.forEach(i):i(t),this}}v.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),x.reduceDescriptors(v.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),x.freezeMethods(v);function Pi(e,t){const n=this||Nt,r=t||n,i=v.from(r.headers);let l=r.data;return x.forEach(e,function(s){l=s.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function Gd(e){return!!(e&&e.__CANCEL__)}function et(e,t,n){D.call(this,e??"canceled",D.ERR_CANCELED,t,n),this.name="CanceledError"}x.inherits(et,D,{__CANCEL__:!0});function Jd(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new D("Request failed with status code "+n.status,[D.ERR_BAD_REQUEST,D.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function PO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function LO(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(a){const d=Date.now(),c=r[l];s||(s=d),n[i]=a,r[i]=d;let m=l,u=0;for(;m!==i;)u+=n[m++],m=m%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),d-s<t)return;const p=c&&d-c;return p?Math.round(u*1e3/p):void 0}}function AO(e,t){let n=0;const r=1e3/t;let i=null;return function(){const l=this===!0,s=Date.now();if(l||s-n>r)return i&&(clearTimeout(i),i=null),n=s,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(s-n)))}}const vn=(e,t,n=3)=>{let r=0;const i=LO(50,250);return AO(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,d=s-r,c=i(d),m=s<=a;r=s;const u={loaded:s,total:a,progress:a?s/a:void 0,bytes:d,rate:c||void 0,estimated:c&&a&&m?(a-s)/c:void 0,event:l,lengthComputable:a!=null};u[t?"download":"upload"]=!0,e(u)},n)},IO=fe.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(i){let l=i;return e&&(t.setAttribute("href",l),l=t.href),t.setAttribute("href",l),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(i){const l=x.isString(i)?r(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}(),MO=fe.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];x.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),x.isString(r)&&s.push("path="+r),x.isString(i)&&s.push("domain="+i),l===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function DO(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function RO(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Kd(e,t){return e&&!DO(t)?RO(e,t):t}const Zd=e=>e instanceof v?{...e}:e;function ze(e,t){t=t||{};const n={};function r(c,m,u){return x.isPlainObject(c)&&x.isPlainObject(m)?x.merge.call({caseless:u},c,m):x.isPlainObject(m)?x.merge({},m):x.isArray(m)?m.slice():m}function i(c,m,u){if(x.isUndefined(m)){if(!x.isUndefined(c))return r(void 0,c,u)}else return r(c,m,u)}function l(c,m){if(!x.isUndefined(m))return r(void 0,m)}function s(c,m){if(x.isUndefined(m)){if(!x.isUndefined(c))return r(void 0,c)}else return r(void 0,m)}function a(c,m,u){if(u in t)return r(c,m);if(u in e)return r(void 0,c)}const d={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,m)=>i(Zd(c),Zd(m),!0)};return x.forEach(Object.keys(Object.assign({},e,t)),function(c){const m=d[c]||i,u=m(e[c],t[c],c);x.isUndefined(u)&&m!==a||(n[c]=u)}),n}const Xd=e=>{const t=ze({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=v.from(s),t.url=qd(Kd(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let d;if(x.isFormData(n)){if(fe.hasStandardBrowserEnv||fe.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((d=s.getContentType())!==!1){const[c,...m]=d?d.split(";").map(u=>u.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...m].join("; "))}}if(fe.hasStandardBrowserEnv&&(r&&x.isFunction(r)&&(r=r(t)),r||r!==!1&&IO(t.url))){const c=i&&l&&MO.read(l);c&&s.set(i,c)}return t},jO=typeof XMLHttpRequest<"u",qO=jO&&function(e){return new Promise(function(t,n){const r=Xd(e);let i=r.data;const l=v.from(r.headers).normalize();let{responseType:s}=r,a;function d(){r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let c=new XMLHttpRequest;c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout;function m(){if(!c)return;const p=v.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),f={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:e,request:c};Jd(function(h){t(h),d()},function(h){n(h),d()},f),c=null}"onloadend"in c?c.onloadend=m:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(m)},c.onabort=function(){c&&(n(new D("Request aborted",D.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new D("Network Error",D.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let p=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const f=r.transitional||Hd;r.timeoutErrorMessage&&(p=r.timeoutErrorMessage),n(new D(p,f.clarifyTimeoutError?D.ETIMEDOUT:D.ECONNABORTED,r,c)),c=null},i===void 0&&l.setContentType(null),"setRequestHeader"in c&&x.forEach(l.toJSON(),function(p,f){c.setRequestHeader(f,p)}),x.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),s&&s!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",vn(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",vn(r.onUploadProgress)),(r.cancelToken||r.signal)&&(a=p=>{c&&(n(!p||p.type?new et(null,e,c):p),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const u=PO(r.url);if(u&&fe.protocols.indexOf(u)===-1){n(new D("Unsupported protocol "+u+":",D.ERR_BAD_REQUEST,e));return}c.send(i||null)})},zO=(e,t)=>{let n=new AbortController,r;const i=function(d){if(!r){r=!0,s();const c=d instanceof Error?d:this.reason;n.abort(c instanceof D?c:new et(c instanceof Error?c.message:c))}};let l=t&&setTimeout(()=>{i(new D(`timeout ${t} of ms exceeded`,D.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(d=>{d&&(d.removeEventListener?d.removeEventListener("abort",i):d.unsubscribe(i))}),e=null)};e.forEach(d=>d&&d.addEventListener&&d.addEventListener("abort",i));const{signal:a}=n;return a.unsubscribe=s,[a,()=>{l&&clearTimeout(l),l=null}]},HO=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},UO=async function*(e,t,n){for await(const r of e)yield*HO(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Qd=(e,t,n,r,i)=>{const l=UO(e,t,i);let s=0;return new ReadableStream({type:"bytes",async pull(a){const{done:d,value:c}=await l.next();if(d){a.close(),r();return}let m=c.byteLength;n&&n(s+=m),a.enqueue(new Uint8Array(c))},cancel(a){return r(a),l.return()}},{highWaterMark:2})},Yd=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},eo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",$d=eo&&typeof ReadableStream=="function",Li=eo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),WO=$d&&(()=>{let e=!1;const t=new Request(fe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),vd=64*1024,Ai=$d&&!!(()=>{try{return x.isReadableStream(new Response("").body)}catch{}})(),to={stream:Ai&&(e=>e.body)};eo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!to[t]&&(to[t]=x.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new D(`Response type '${t}' is not supported`,D.ERR_NOT_SUPPORT,r)})})})(new Response);const GO=async e=>{if(e==null)return 0;if(x.isBlob(e))return e.size;if(x.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(x.isArrayBufferView(e))return e.byteLength;if(x.isURLSearchParams(e)&&(e=e+""),x.isString(e))return(await Li(e)).byteLength},JO=async(e,t)=>x.toFiniteNumber(e.getContentLength())??GO(t),KO=eo&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:d,responseType:c,headers:m,withCredentials:u="same-origin",fetchOptions:p}=Xd(e);c=c?(c+"").toLowerCase():"text";let[f,h]=i||l||s?zO([i,l],s):[],y,g;const B=()=>{!y&&setTimeout(()=>{f&&f.unsubscribe()}),y=!0};let S;try{if(d&&WO&&n!=="get"&&n!=="head"&&(S=await JO(m,r))!==0){let b=new Request(t,{method:"POST",body:r,duplex:"half"}),E;x.isFormData(r)&&(E=b.headers.get("content-type"))&&m.setContentType(E),b.body&&(r=Qd(b.body,vd,Yd(S,vn(d)),null,Li))}x.isString(u)||(u=u?"cors":"omit"),g=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:"half",withCredentials:u});let _=await fetch(g);const O=Ai&&(c==="stream"||c==="response");if(Ai&&(a||O)){const b={};["status","statusText","headers"].forEach(F=>{b[F]=_[F]});const E=x.toFiniteNumber(_.headers.get("content-length"));_=new Response(Qd(_.body,vd,a&&Yd(E,vn(a,!0)),O&&B,Li),b)}c=c||"text";let P=await to[x.findKey(to,c)||"text"](_,e);return!O&&B(),h&&h(),await new Promise((b,E)=>{Jd(b,E,{data:P,headers:v.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:g})})}catch(_){throw B(),_&&_.name==="TypeError"&&/fetch/i.test(_.message)?Object.assign(new D("Network Error",D.ERR_NETWORK,e,g),{cause:_.cause||_}):D.from(_,_&&_.code,e,g)}}),Ii={http:dO,xhr:qO,fetch:KO};x.forEach(Ii,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const em=e=>`- ${e}`,ZO=e=>x.isFunction(e)||e===null||e===!1,tm={getAdapter:e=>{e=x.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l<t;l++){n=e[l];let s;if(r=n,!ZO(n)&&(r=Ii[(s=String(n)).toLowerCase()],r===void 0))throw new D(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+l]=r}if(!r){const l=Object.entries(i).map(([a,d])=>`adapter ${a} `+(d===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since :
31
+ `+l.map(em).join(`
32
+ `):" "+em(l[0]):"as no adapter specified";throw new D("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Ii};function Mi(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new et(null,e)}function nm(e){return Mi(e),e.headers=v.from(e.headers),e.data=Pi.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tm.getAdapter(e.adapter||Nt.adapter)(e).then(function(t){return Mi(e),t.data=Pi.call(e,e.transformResponse,t),t.headers=v.from(t.headers),t},function(t){return Gd(t)||(Mi(e),t&&t.response&&(t.response.data=Pi.call(e,e.transformResponse,t.response),t.response.headers=v.from(t.response.headers))),Promise.reject(t)})}const om="1.7.2",Di={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Di[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const rm={};Di.transitional=function(e,t,n){function r(i,l){return"[Axios v"+om+"] Transitional option '"+i+"'"+l+(n?". "+n:"")}return(i,l,s)=>{if(e===!1)throw new D(r(l," has been removed"+(t?" in "+t:"")),D.ERR_DEPRECATED);return t&&!rm[l]&&(rm[l]=!0,console.warn(r(l," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,l,s):!0}};function XO(e,t,n){if(typeof e!="object")throw new D("options must be an object",D.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],s=t[l];if(s){const a=e[l],d=a===void 0||s(a,l,e);if(d!==!0)throw new D("option "+l+" must be "+d,D.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new D("Unknown option "+l,D.ERR_BAD_OPTION)}}const Ri={assertOptions:XO,validators:Di},Oe=Ri.validators;class He{constructor(t){this.defaults=t,this.interceptors={request:new zd,response:new zd}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=`
33
+ `+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ze(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&Ri.assertOptions(r,{silentJSONParsing:Oe.transitional(Oe.boolean),forcedJSONParsing:Oe.transitional(Oe.boolean),clarifyTimeoutError:Oe.transitional(Oe.boolean)},!1),i!=null&&(x.isFunction(i)?n.paramsSerializer={serialize:i}:Ri.assertOptions(i,{encode:Oe.function,serialize:Oe.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&x.merge(l.common,l[n.method]);l&&x.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),n.headers=v.concat(s,l);const a=[];let d=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(d=d&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let m,u=0,p;if(!d){const h=[nm.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),p=h.length,m=Promise.resolve(n);u<p;)m=m.then(h[u++],h[u++]);return m}p=a.length;let f=n;for(u=0;u<p;){const h=a[u++],y=a[u++];try{f=h(f)}catch(g){y.call(this,g);break}}try{m=nm.call(this,f)}catch(h){return Promise.reject(h)}for(u=0,p=c.length;u<p;)m=m.then(c[u++],c[u++]);return m}getUri(t){t=ze(this.defaults,t);const n=Kd(t.baseURL,t.url);return qd(n,t.params,t.paramsSerializer)}}x.forEach(["delete","get","head","options"],function(e){He.prototype[e]=function(t,n){return this.request(ze(n||{},{method:e,url:t,data:(n||{}).data}))}}),x.forEach(["post","put","patch"],function(e){function t(n){return function(r,i,l){return this.request(ze(l||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}He.prototype[e]=t(),He.prototype[e+"Form"]=t(!0)});class ji{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(i=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const s=new Promise(a=>{r.subscribe(a),l=a}).then(i);return s.cancel=function(){r.unsubscribe(l)},s},t(function(i,l,s){r.reason||(r.reason=new et(i,l,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new ji(function(n){t=n}),cancel:t}}}function QO(e){return function(t){return e.apply(null,t)}}function YO(e){return x.isObject(e)&&e.isAxiosError===!0}const qi={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(qi).forEach(([e,t])=>{qi[t]=e});function im(e){const t=new He(e),n=_d(He.prototype.request,t);return x.extend(n,He.prototype,t,{allOwnKeys:!0}),x.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return im(ze(e,r))},n}const G=im(Nt);G.Axios=He,G.CanceledError=et,G.CancelToken=ji,G.isCancel=Gd,G.VERSION=om,G.toFormData=Yn,G.AxiosError=D,G.Cancel=G.CanceledError,G.all=function(e){return Promise.all(e)},G.spread=QO,G.isAxiosError=YO,G.mergeConfig=ze,G.AxiosHeaders=v,G.formToJSON=e=>Ud(x.isHTMLForm(e)?new FormData(e):e),G.getAdapter=tm.getAdapter,G.HttpStatusCode=qi,G.default=G;function $O(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),BT({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(vO);function vO(e){const t=[];for(let n=0;n<e.length;n++)if(e[n].type==="attributes")e[n].target.classList.contains("fancybox")&&t.push(e[n].target);else if(e[n].type==="childList"){let r=Array.from(e[n].addedNodes).filter(i=>i.classList?i.classList.contains("fancybox"):!1);r.length&&t.push(...r)}t.length>0&&$O(t)}function eN(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),ZE({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}new MutationObserver(tN);function tN(e){const t=[];for(let n=0;n<e.length;n++)if(e[n].type==="attributes")e[n].target.classList.contains("fancybox")&&t.push(e[n].target);else if(e[n].type==="childList"){let r=Array.from(e[n].addedNodes).filter(i=>i.classList?i.classList.contains("fancybox"):!1);r.length&&t.push(...r)}t.length>0&&eN(t)}function lm(e){for(let t=0;t<e.length;t++)e[t].dataset.cmdFancyBoxHandlerRegistered||(e[t].addEventListener("click",n=>{n.preventDefault(),k1({url:e[t].href})}),e[t].dataset.cmdFancyBoxHandlerRegistered="true")}const no=new MutationObserver(nN);function nN(e){const t=[];for(let n=0;n<e.length;n++)if(e[n].type==="attributes")e[n].target.classList.contains("fancybox")&&t.push(e[n].target);else if(e[n].type==="childList"){let r=Array.from(e[n].addedNodes).filter(i=>i.classList?i.classList.contains("fancybox"):!1);r.length&&t.push(...r)}t.length>0&&lm(t)}const oN=e=>{const t=e.querySelectorAll(".fancybox");lm(t),no==null||no.disconnect(),no.observe(e,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["class"],characterData:!1})};function rN(){const e={};o.onBeforeUpdate(r);function t(i="defaultSequence"){const l=e[i]||0;return e[i]=l+1,e[i]}function n(i="defaultSequence"){return e[i]||0}function r(i="defaultSequence"){e[i]&&(e[i]=0)}return{nextSequenceValue:t,currentSequenceValue:n,resetSequence:r}}T.CmdAddressData=bl,T.CmdBackToTopButton=Ah,T.CmdBankAccountData=zh,T.CmdBasicForm=Bl,T.CmdBox=Vo,T.CmdBoxWrapper=Ol,T.CmdBreadcrumbs=Nl,T.CmdCompanyLogo=Vl,T.CmdContainer=Cy,T.CmdCookieDisclaimer=My,T.CmdCopyrightInformation=zy,T.CmdFakeSelect=Fl,T.CmdFancyBox=qp,T.CmdForm=kl,T.CmdFormElement=J,T.CmdFormFilters=Pl,T.CmdGoogleMaps=Il,T.CmdHeadline=z,T.CmdIcon=j,T.CmdImage=Ce,T.CmdImageGallery=Vb,T.CmdImageZoom=Db,T.CmdInputGroup=Rl,T.CmdLink=Ge,T.CmdListOfLinks=Oo,T.CmdLoginForm=sk,T.CmdMainNavigation=jl,T.CmdMultistepFormProgressBar=Sk,T.CmdNewsletterSubscription=Fk,T.CmdOpeningHours=o0,T.CmdPageFooter=N0,T.CmdPageHeader=A0,T.CmdPagination=h0,T.CmdProgressBar=z0,T.CmdSidebar=Z0,T.CmdSiteFooter=$0,T.CmdSiteHeader=nC,T.CmdSiteSearch=mC,T.CmdSlideButton=it,T.CmdSlideshow=kC,T.CmdSocialNetworks=zl,T.CmdSwitchLanguage=TC,T.CmdSystemMessage=Po,T.CmdTable=IC,T.CmdTabs=UC,T.CmdTextImageBlock=XC,T.CmdThumbnailScroller=wl,T.CmdToggleDarkMode=vC,T.CmdTooltip=yl,T.CmdUploadForm=$x,T.CmdWidthLimitationWrapper=oB,T.ContactInformation=aB,T.DirFancybox=oN,T.DirFocus=yB,T.DirTelephone=bB,T.EditComponentWrapper=_e,T.I18n=X,T.MultipleBoxWrapper=uB,T.MultipleListsOfLinks=gB,T.createHtmlId=_o,T.createUuid=Ue,T.getCookieDisclaimerCookie=Lo,T.getFileExtension=We,T.openFancyBox=Fe,T.setCookieDisclaimerCookie=Al,T.useSequence=rN,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})});