comand-component-library 3.3.70 → 3.3.71
Sign up to get free protection for your applications and to get access to all the features.
@@ -7670,9 +7670,10 @@ const im = {
|
|
7670
7670
|
},
|
7671
7671
|
created() {
|
7672
7672
|
const e = window.matchMedia("(prefers-color-scheme: dark)");
|
7673
|
-
e.addEventListener("change", this.onColorSchemeChange), this.onColorSchemeChange(e)
|
7674
|
-
|
7675
|
-
|
7673
|
+
e.addEventListener("change", this.onColorSchemeChange), this.onColorSchemeChange(e), this.$nextTick(() => {
|
7674
|
+
const i = window.localStorage.getItem("cmd-color-scheme");
|
7675
|
+
i && (this.darkMode = i === "dark-mode");
|
7676
|
+
}), document.documentElement.addEventListener("toggle-color-scheme", this.onToggleColorScheme);
|
7676
7677
|
},
|
7677
7678
|
beforeUnmount() {
|
7678
7679
|
window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change", this.onColorSchemeChange), document.documentElement.removeEventListener("toggle-color-scheme", this.onToggleColorScheme);
|
@@ -2,5 +2,5 @@
|
|
2
2
|
`,16,ws)):e.createCommentVNode("",!0),o.element==="textarea"&&o.showCharactersTextarea?(e.openBlock(),e.createElementBlock("span",Ns,e.toDisplayString(i.charactersTextarea),1)):o.element==="input"&&t.$attrs.type==="search"?(e.openBlock(),e.createElementBlock("span",Ss,[e.createElementVNode("input",e.mergeProps(i.elementAttributes,{id:t.htmlId,onInput:n[20]||(n[20]=(..._)=>i.onInput&&i.onInput(..._)),maxlength:i.getMaxLength(),value:o.modelValue}),null,16,Is),o.showSearchButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button no-flex",{disabled:t.$attrs.disabled}]),title:o.iconSearch.tooltip,onClick:n[21]||(n[21]=e.withModifiers((..._)=>i.executeSearch&&i.executeSearch(..._),["prevent"]))},[e.createVNode(d,{iconClass:o.iconSearch.iconClass},null,8,["iconClass"])],10,xs)):e.createCommentVNode("",!0),(s=o.iconDelete)!=null&&s.show?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[22]||(n[22]=e.withModifiers(_=>t.$emit("update:modelValue",""),["prevent"])),title:(r=o.iconDelete)==null?void 0:r.tooltip},[e.createVNode(d,{iconClass:(m=o.iconDelete)==null?void 0:m.iconClass,type:(u=o.iconDelete)==null?void 0:u.iconType},null,8,["iconClass","type"])],8,Ts)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,ls)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,class:"button"},i.buttonAttrs),[((h=(f=o.nativeButton)==null?void 0:f.icon)==null?void 0:h.show)&&(((p=(y=o.nativeButton)==null?void 0:y.icon)==null?void 0:p.position)==="before"||!((B=(k=o.nativeButton)==null?void 0:k.icon)!=null&&B.position))?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(V=(N=o.nativeButton)==null?void 0:N.icon)==null?void 0:V.iconClass,type:(x=(g=o.nativeButton)==null?void 0:g.icon)==null?void 0:x.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),((w=o.nativeButton)==null?void 0:w.icon)&&((S=o.nativeButton)==null?void 0:S.text)?(e.openBlock(),e.createElementBlock("span",Ms,e.toDisplayString(o.nativeButton.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(o.nativeButton.text),1)],64)),((D=(E=o.nativeButton)==null?void 0:E.icon)==null?void 0:D.show)&&((P=(T=o.nativeButton)==null?void 0:T.icon)==null?void 0:P.position)==="after"?(e.openBlock(),e.createBlock(d,{key:3,iconClass:(Q=(j=o.nativeButton)==null?void 0:j.icon)==null?void 0:Q.iconClass,type:(ne=(A=o.nativeButton)==null?void 0:A.icon)==null?void 0:ne.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],16))}const U=b(ns,[["render",Vs]]),Es={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!"}}}},Uh="",Ds={name:"CmdCookieDisclaimer",mixins:[F,Es],data(){return{showCookieDisclaimer:!0,dataPrivacyContent:""}},props:{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 o,a;const t=this.modelValue?[...this.modelValue]:[],n=((a=(o=this.cookieOptions)==null?void 0:o.required)==null?void 0:a.cookies)||[];for(let l=0;l<n.length;l++)t.includes(n[l].value)||t.push(n[l].value);return t},set(t){this.$emit("update:modelValue",t)}}},methods:{acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var a,l,i,c;const t=[],n=(l=(a=this.cookieOptions)==null?void 0:a.required)==null?void 0:l.cookies;if(n)for(let d=0;d<n.length;d++)t.push(n[d].value);const o=(c=(i=this.cookieOptions)==null?void 0:i.optional)==null?void 0:c.cookies;if(o)for(let d=0;d<o.length;d++)t.push(o[d].value);this.$emit("close-cookie-disclaimer",t)},openDataPrivacy(t){t.target.target||(t.preventDefault(),fetch(t.target.href).then(n=>n.text()).then(n=>{this.dataPrivacyContent=n}))}}},Os={class:"cmd-cookie-disclaimer flex-container vertical"},Ls={key:0,class:"flex-container vertical"},js={key:0},Fs={key:1},Ps=["href","target"],zs=["innerHTML"],As=e.createElementVNode("hr",null,null,-1),Hs={key:1,class:"flex-container vertical"},qs={key:0},Rs={key:1},Us=["href","target"],Gs=["innerHTML"],Qs={class:"button-wrapper align-center"};function Ws(t,n,o,a,l,i){const c=M,d=U,s=Jt;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var r,m,u;return[e.createElementVNode("div",Os,[((r=o.cmdHeadlineCookieDisclaimer)==null?void 0:r.show)&&((m=o.cmdHeadlineCookieDisclaimer)==null?void 0:m.headlineText)&&((u=o.cmdHeadlineCookieDisclaimer)==null?void 0:u.headlineLevel)?(e.openBlock(),e.createBlock(c,{key:0,headlineText:o.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:o.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"cookie-options",{},()=>{var f,h,y,p,k,B,N,V;return[(f=o.cookieOptions)!=null&&f.required?(e.openBlock(),e.createElementBlock("div",Ls,[(h=o.cmdBoxRequiredCookies)!=null&&h.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-text":(y=o.cmdBoxRequiredCookies)==null?void 0:y.headlineText,"headline-level":(p=o.cmdBoxRequiredCookies)==null?void 0:p.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.required.cookies||[],(g,x)=>{var w;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(w=o.cmdBoxRequiredCookies)==null?void 0:w.collapsible,key:x},{header:e.withCtx(()=>[e.createVNode(d,{element:"input",type:"checkbox",modelValue:i.acceptedCookies,"onUpdate:modelValue":n[0]||(n[0]=S=>i.acceptedCookies=S),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:t.getMessage("cmdcookiedisclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[g.description?(e.openBlock(),e.createElementBlock("p",js,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Fs,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[1]||(n[1]=(...S)=>i.openDataPrivacy&&i.openDataPrivacy(...S)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Ps)])):e.createCommentVNode("",!0),l.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:l.dataPrivacyContent},null,8,zs)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0),As,(k=o.cookieOptions)!=null&&k.optional?(e.openBlock(),e.createElementBlock("div",Hs,[(B=o.cmdBoxOptionalCookies)!=null&&B.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-text":(N=o.cmdBoxOptionalCookies)==null?void 0:N.headlineText,"headline-level":(V=o.cmdBoxOptionalCookies)==null?void 0:V.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.optional.cookies||[],(g,x)=>{var w;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(w=o.cmdBoxOptionalCookies)==null?void 0:w.collapsible,key:x},{header:e.withCtx(()=>[e.createVNode(d,{element:"input",type:"checkbox",modelValue:i.acceptedCookies,"onUpdate:modelValue":n[2]||(n[2]=S=>i.acceptedCookies=S),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:t.getMessage("cmdcookiedisclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[g.description?(e.openBlock(),e.createElementBlock("p",qs,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Rs,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[3]||(n[3]=(...S)=>i.openDataPrivacy&&i.openDataPrivacy(...S)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Us)])):e.createCommentVNode("",!0),l.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:l.dataPrivacyContent},null,8,Gs)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0)]}),e.renderSlot(t.$slots,"privacy-text"),e.createElementVNode("div",Qs,[o.buttonLabelAcceptCurrentSettings?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",onClick:n[4]||(n[4]=(...f)=>i.acceptCurrentCookies&&i.acceptCurrentCookies(...f))},[e.createElementVNode("span",null,e.toDisplayString(o.buttonLabelAcceptCurrentSettings),1)])):e.createCommentVNode("",!0),o.buttonLabelAcceptAllCookies?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:"primary",onClick:n[5]||(n[5]=(...f)=>i.acceptAllCookies&&i.acceptAllCookies(...f))},[e.createElementVNode("span",null,e.toDisplayString(o.buttonLabelAcceptAllCookies),1)])):e.createCommentVNode("",!0)])])]}),_:3})}const Zs=b(Ds,[["render",Ws]]),Gh="",Js={name:"CmdCopyrightWrapper"},Ys={class:"cmd-copyright-information",role:"contentinfo"},Ks=[e.createElementVNode("a",{href:"http://www.comand-cms.com",target:"_blank",lang:"en",title:"CoManD-Website"},"\xA9 CoManD",-1)];function Xs(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Ys,Ks)}const $s=b(Js,[["render",Xs]]),vs={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"}}}},Wh="",er={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[F,vs,ze,ee,He],data(){return{showOptions:!1,validationStatus:"",limitWidthStyle:{},allOptionsSelected:!1}},props:{type:{type:String,default:"default"},optionLinkType:{type:String,default:"href"},modelValue:{type:[String,Number,Array],default:""},selectData:{type:Array,required:!1},showSelectAllOptions:{type:Boolean,default:!0},status:{type:String,required:!1},iconDropdown:{type:Object,default(){return{iconClass:"icon-single-arrow-down",tooltip:"Toggle dropdown visibility",iconType:"auto"}}},labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},pathFlags:{type:String,default:"/media/images/flags"},textPleaseSelect:{type:String,default:"Please select\u2026"},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 t,n;if(this.type!=="checkboxOptions"&&this.type!=="content"&&this.modelValue){const o=this.selectData.find(a=>a.value===this.modelValue);if(o)return o.text}else if(this.type==="checkboxOptions"){if(this.modelValue.length===1)return(t=this.selectData.find(o=>String(o.value)===String(this.modelValue[0])))==null?void 0:t.text;if(this.modelValue.length>1)return this.getMessage("cmdfakeselect.option.options_selected",this.modelValue.length)}else if((n=this.selectData)!=null&&n.length)return this.selectData[0].text;return this.textPleaseSelect},optionIcon(){if(this.type==="default"){const t=this.selectData.find(n=>n.value===this.modelValue);return{iconClass:t==null?void 0:t.iconClass,tooltip:t==null?void 0:t.tooltip}}return null},optionCountry(){var t,n;return this.type==="country"?this.modelValue||((n=(t=this.selectData)==null?void 0:t[0])==null?void 0:n.value):null},optionColor(){var t,n;return this.type==="color"?this.modelValue||((n=(t=this.selectData)==null?void 0:t[0])==null?void 0:n.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"))}},mounted(){const t=setInterval(()=>{this.$refs.fakeselect&&(clearInterval(t),this.limitWidth())},100)},methods:{toggleAllOptions(){this.validationStatus="success";const t=[];if(this.modelValue.length===this.selectData.length)this.$attrs.required&&(this.validationStatus="error");else for(let n=0;n<this.selectData.length;n++)t.push(String(this.selectData[n].value));this.$emit("update:modelValue",t)},limitWidth(){if(this.$refs.fakeselect){const t=this.$refs.fakeselect.offsetWidth;this.limitWidthStyle={width:t/100*90+"px"}}},toggleOptions(){this.$attrs.disabled!=="disabled"&&(this.showOptions=!this.showOptions)},compareValues(t){return this.modelValue.some(n=>n===t||n===String(t))},selectOption(t){this.validationStatus="success",this.$attrs.required!==void 0&&(t||(this.validationStatus="error")),this.showOptions=!1,this.$emit("update:modelValue",t)},optionSelect(t){this.validationStatus="success";let n=[...this.modelValue];t.target.checked?n.push(t.target.value):n=n.filter(o=>o!==t.target.value&&String(o)!==t.target.value),this.$attrs.required!==void 0&&!n.length&&(this.validationStatus="error"),this.$emit("update:modelValue",n)},closeOptions(){this.showOptions=!1},pathFlag(t){return this.pathFlags+"/flag-"+t+".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 t;this.type==="default"&&((t=this.selectData)==null?void 0:t.length)&&!this.selectData.some(n=>n.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},tr=["title","aria-labelledby","aria-required"],or={key:0,class:"label-text"},nr=["id"],lr={key:0},ir=["title","aria-errormessage","id"],ar=["aria-expanded"],sr=["title"],rr=["src","alt"],cr={key:0,role:"listbox"},dr=["aria-selected"],mr=["onClick","title"],ur={key:1},hr=["aria-expanded"],fr=["for"],pr=["value","checked","id"],gr=["onClick"],yr=["src","alt"],kr=["onClick"],Cr={key:0,class:"select-all-options"};function Br(t,n,o,a,l,i){var r,m,u,f;const c=Pe,d=I,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([l.validationStatus,"cmd-fake-select label",{color:o.type==="color","has-state":l.validationStatus&&l.validationStatus!=="none",disabled:t.$attrs.disabled}]),title:t.$attrs.title,role:"listbox","aria-labelledby":t.htmlId,"aria-required":t.$attrs.required!==void 0,ref:"fakeselect"},[o.showLabel?(e.openBlock(),e.createElementBlock("span",or,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required!==void 0?(e.openBlock(),e.createElementBlock("sup",lr,"*")):e.createCommentVNode("",!0)],8,nr),t.useCustomTooltip&&(l.validationStatus===""||l.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",validationStatus:l.validationStatus,validationMessage:t.getValidationMessage,relatedId:t.tooltipId,cmdListOfRequirements:t.listOfRequirements,role:l.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0),t.$attrs.required||t.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:t.useCustomTooltip?"":t.getValidationMessage,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(d,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,ir)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass({open:l.showOptions}),onClickout:n[5]||(n[5]=(...h)=>i.closeOptions&&i.closeOptions(...h)),"aria-expanded":l.showOptions},[e.createElementVNode("li",null,[e.createElementVNode("a",{href:"#",onClick:n[1]||(n[1]=e.withModifiers((...h)=>i.toggleOptions&&i.toggleOptions(...h),["prevent"])),onBlur:n[2]||(n[2]=(...h)=>i.onBlur&&i.onBlur(...h)),title:(r=i.optionIcon)==null?void 0:r.tooltip},[o.type==="country"&&i.optionCountry?(e.openBlock(),e.createElementBlock("img",{key:0,src:i.pathFlag(i.optionCountry),alt:i.optionCountry,class:e.normalizeClass(["flag",i.optionCountry])},null,10,rr)):o.type==="color"?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle("background: "+i.optionColor)},null,4)):e.createCommentVNode("",!0),(m=i.optionIcon)!=null&&m.iconClass?(e.openBlock(),e.createBlock(d,{key:2,type:(u=i.optionIcon)==null?void 0:u.iconType,iconClass:(f=i.optionIcon)==null?void 0:f.iconClass},null,8,["type","iconClass"])):e.createCommentVNode("",!0),i.optionName?(e.openBlock(),e.createElementBlock("span",{key:3,class:"option-name",style:e.normalizeStyle(l.limitWidthStyle)},e.toDisplayString(i.optionName),5)):e.createCommentVNode("",!0),o.iconDropdown?(e.openBlock(),e.createBlock(d,{key:4,iconClass:o.iconDropdown.iconClass,type:o.iconDropdown.iconType,title:o.iconDropdown.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0)],40,sr),o.type==="default"&&l.showOptions?(e.openBlock(),e.createElementBlock("ul",cr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(h,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,role:"option","aria-selected":h.value===o.modelValue},[o.optionLinkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:e.withModifiers(p=>i.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue}),title:h.tooltip},[h.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",ur,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0)],10,mr)):e.createCommentVNode("",!0),o.optionLinkType==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:"#",onClick:e.withModifiers(p=>i.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},{default:e.withCtx(()=>[h.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(h.text),1)]),_:2},1032,["onClick","class"])):e.createCommentVNode("",!0)],8,dr))),128))])):o.type!=="default"&&o.type!=="content"&&l.showOptions?(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass({"checkbox-options":o.type==="checkboxOptions"}),"aria-expanded":l.showOptions},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(h,y)=>(e.openBlock(),e.createElementBlock("li",{key:y},[o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("label",{key:0,for:"option-"+(y+1),class:e.normalizeClass({active:o.modelValue.includes(`${h.value}`)})},[e.createElementVNode("input",{type:"checkbox",value:h.value,onChange:n[3]||(n[3]=(...p)=>i.optionSelect&&i.optionSelect(...p)),checked:i.compareValues(h.value),id:"option-"+(y+1)},null,40,pr),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,fr)):o.type==="country"?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:e.withModifiers(p=>i.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},[e.createElementVNode("img",{class:"flag",src:i.pathFlag(h.value),alt:h.text},null,8,yr),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,gr)):o.type==="color"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",onClick:e.withModifiers(p=>i.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},[e.createElementVNode("span",{class:"color",style:e.normalizeStyle("background: "+h.value)},null,4),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,kr)):e.createCommentVNode("",!0)]))),128)),o.showSelectAllOptions&&o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("li",Cr,[e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers((...h)=>i.toggleAllOptions&&i.toggleAllOptions(...h),["prevent"]))},[l.allOptionsSelected?(e.openBlock(),e.createBlock(d,{key:1,iconClass:o.iconDeselectAllOptions.iconClass,type:o.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(e.openBlock(),e.createBlock(d,{key:0,iconClass:o.iconSelectAllOptions.iconClass,type:o.iconSelectAllOptions.iconType},null,8,["iconClass","type"])),e.createElementVNode("span",null,e.toDisplayString(i.selectAllOptionsText),1)])])):e.createCommentVNode("",!0)],10,hr)):o.type==="content"&&l.showOptions?e.renderSlot(t.$slots,"default",{key:2}):e.createCommentVNode("",!0)])],42,ar)],10,tr)}const vt=b(er,[["render",Br]]),Zh="",_r={name:"CmdForm",emits:["submit"],data(){return{errorOccurred:!1}},props:{novalidate:{type:Boolean,default:!0},useValidation:{type:Boolean,default:!0},useFieldset:{type:Boolean,default:!0},showLegend:{type:Boolean,default:!0},textLegend:{type:String,required:!1}},methods:{onSubmit(t){this.useValidation&&(t.preventDefault(),t.target.checkValidity()?(this.errorOccurred=!1,this.$emit("submit",t)):this.errorOccurred=!0)}}},br=["data-use-validation","novalidate"],wr={class:"flex-container"};function Nr(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("form",{class:e.normalizeClass(["cmd-form",{error:l.errorOccurred}]),"data-use-validation":o.useValidation,onSubmit:n[0]||(n[0]=(...c)=>i.onSubmit&&i.onSubmit(...c)),novalidate:o.novalidate},[o.useFieldset?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("fieldset",wr,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),e.renderSlot(t.$slots,"default")]),e.renderSlot(t.$slots,"button-row")],64)):e.renderSlot(t.$slots,"default",{key:1})],42,br)}const Sr=b(_r,[["render",Nr]]),Jh="",Ir={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(t){this.options.splice(t,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}}},xr={key:0,class:"cmd-form-filters"},Tr={key:0},Mr={key:1},Vr=["onClick","title"];function Er(t,n,o,a,l,i){const c=I;return l.options.length?(e.openBlock(),e.createElementBlock("ul",xr,[l.options.length>1?(e.openBlock(),e.createElementBlock("li",Tr,[e.createElementVNode("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers((...d)=>i.deleteAllFilters&&i.deleteAllFilters(...d),["prevent"]))},[o.linkDeleteAllFilters.icon&&o.linkDeleteAllFilters.icon.show?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.linkDeleteAllFilters.icon.iconClass,title:o.linkDeleteAllFilters.icon.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),o.linkDeleteAllFilters.text?(e.openBlock(),e.createElementBlock("span",Mr,e.toDisplayString(o.linkDeleteAllFilters.text),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,(d,s)=>(e.openBlock(),e.createElementBlock("li",{key:s},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(r=>i.deleteClickedFilter(s),["prevent"]),title:o.deleteFilterIcon.tooltip},[e.createElementVNode("span",null,e.toDisplayString(o.selectedOptionsName(d)),1),e.createVNode(c,{iconClass:o.deleteFilterIcon.iconClass,type:o.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,Vr)]))),128))])):e.createCommentVNode("",!0)}const eo=b(Ir,[["render",Er]]),Yh="",Dr={name:"CmdGoogleMaps",props:{address:{type:Object,required:!0}},computed:{locateAddress(){if(this.address){const t=new URL("https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed");return t.searchParams.set("hl","de"),t.searchParams.set("q",[this.address.streetNo,this.address.zip,this.address.city,this.address.latitude,this.address.longitude,this.address.location].join(" ").trim()),t.href}return"https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed"}}},Or={class:"cmd-google-maps responsive-wrapper"},Lr=["src"];function jr(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Or,[e.createElementVNode("iframe",{src:i.locateAddress},null,8,Lr)])}const Fr=b(Dr,[["render",jr]]),Pr={data(){return{defaultMessageProperties:{"cmdimagegallery.tooltip.open_large_image":"Open large image"}}}},Kh="",zr={name:"CmdImageGallery",mixins:[F,Pr],props:{images:{type:Array,required:!0},figcaptionPosition:{type:String,default:"bottom"}},methods:{showFancyBox(t){he({fancyBoxGallery:this.images,defaultGalleryIndex:t})}}},Ar={class:"grid-container-create-columns cmd-image-gallery"},Hr=["onClick","title"];function qr(t,n,o,a,l,i){const c=W;return e.openBlock(),e.createElementBlock("div",Ar,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.images,(d,s)=>(e.openBlock(),e.createElementBlock("a",{key:s,onClick:e.withModifiers(r=>i.showFancyBox(s),["prevent"]),href:"#",title:t.getMessage("cmdimagegallery.tooltip.open_large_image")},[e.createVNode(c,{image:d.image,figcaption:d.figcaption},null,8,["image","figcaption"])],8,Hr))),128))])}const Rr=b(zr,[["render",qr]]),Xh="",Ur={name:"CmdImageZoom",props:{imageSmall:{type:Object,required:!0},imageLarge:{type:Object,required:!0}},data(){return{showLargeImage:!1}},methods:{onMouseOver(t){this.showLargeImage=!0,this.$nextTick(()=>{const n=window.innerHeight-this.$el.getBoundingClientRect().y-10,o=this.$el.querySelector(".zoom-container");o.style.height=`${n}px`,to(this,t)})},onMouseMove(t){to(this,t)},onMouseOut(){this.showLargeImage=!1}}};function to(t,n){const o=t.$el.querySelector(".zoom-container"),a=o.querySelector("img"),l=t.$el.querySelector(".zoom-overlay"),i=n.target.getBoundingClientRect().width,c=n.target.getBoundingClientRect().height,d=a.getBoundingClientRect().width,s=a.getBoundingClientRect().height,r=n.pageX-n.target.getBoundingClientRect().x-window.pageXOffset,m=n.pageY-n.target.getBoundingClientRect().y-window.pageYOffset,u=Math.min(i,o.getBoundingClientRect().width/d*i),f=Math.min(c,o.getBoundingClientRect().height/s*c),h=oo(r-u/2,0,i-u),y=oo(m-f/2,0,c-f),p=-(h*(d/i)),k=-(y*(s/c));l.style.left=`${h}px`,l.style.top=`${y}px`,l.style.width=`${u}px`,l.style.height=`${f}px`,l.style.display="block",a.style.marginLeft=`${p}px`,a.style.marginTop=`${k}px`}function oo(t,n,o){return t<n?n:t>o?o:t}const Gr={class:"cmd-imagezoom flex-container"},Qr=["title"],Wr=["src","alt"],Zr={key:0,class:"zoom-container"},Jr=["src","alt"],Yr={key:1,class:"zoom-overlay"};function Kr(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Gr,[e.createElementVNode("a",{href:"#",class:"no-flex thumbnails-imagezoom",title:o.imageSmall.tooltip},[e.createElementVNode("img",{src:o.imageSmall.src,alt:o.imageSmall.alt,onMouseover:n[0]||(n[0]=(...c)=>i.onMouseOver&&i.onMouseOver(...c)),onMousemove:n[1]||(n[1]=(...c)=>i.onMouseMove&&i.onMouseMove(...c)),onMouseout:n[2]||(n[2]=(...c)=>i.onMouseOut&&i.onMouseOut(...c))},null,40,Wr)],8,Qr),l.showLargeImage?(e.openBlock(),e.createElementBlock("div",Zr,[e.createElementVNode("img",{src:o.imageLarge.src,alt:o.imageLarge.alt},null,8,Jr)])):e.createCommentVNode("",!0),l.showLargeImage?(e.openBlock(),e.createElementBlock("div",Yr)):e.createCommentVNode("",!0)])}const Xr=b(Ur,[["render",Kr]]),$h="",$r={mixins:[ze,ee,He],data(){return{value:""}},props:{modelValue:{type:[Array,String],required:!1},required:{type:Boolean,default:!1},inputElements:{type:Array,required:!1},inputTypes:{type:String,default:"radio"},status:{type:String,required:!1},replaceInputType:{type:Boolean,default:!1},toggleSwitch:{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 t;if(this.required){if((t=this.inputValue)!=null&&t.length){this.validationStatus="";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(t){this.$emit("update:modelValue",t)}}},watch:{status:{handler(){this.updateStatus()},immediate:!0},modelValue:{handler(){this.updateStatus()},immediate:!0}}},vr=["aria-labelledby"],ec={class:"label-text"},tc=["id"],oc={key:0},nc=["title","aria-errormessage","id"],lc=["for"],ic=["type","id","name","value","disabled"],ac={key:1},sc={key:1,class:"flex-container no-flex"};function rc(t,n,o,a,l,i){const c=Pe,d=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-input-group label",t.validationStatus,{inline:o.labelInline,"multiple-switch":o.multipleSwitch,disabled:o.disabled,"toggle-switch":o.toggleSwitch,"has-state":t.validationStatus}]),"aria-labelledby":t.htmlId},[e.withDirectives(e.createElementVNode("span",ec,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),o.required?(e.openBlock(),e.createElementBlock("sup",oc,"*")):e.createCommentVNode("",!0)],8,tc),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",showRequirements:t.showRequirements,cmdListOfRequirements:t.listOfRequirements,validationStatus:t.validationStatus,validationMessage:t.getValidationMessage,inputAttributes:t.$attrs,inputModelValue:o.modelValue,helplink:t.helplink,relatedId:t.tooltipId,role:t.validationStatus==="error"?"alert":"dialog"},null,8,["showRequirements","cmdListOfRequirements","validationStatus","validationMessage","inputAttributes","inputModelValue","helplink","relatedId","role"])):e.createCommentVNode("",!0),o.required||t.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:i.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(d,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,nc)):e.createCommentVNode("",!0)],512),[[e.vShow,o.showLabel]]),o.useSlot?(e.openBlock(),e.createElementBlock("div",sc,[e.renderSlot(t.$slots,"default")])):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["flex-container",{"no-flex":!o.stretchHorizontally,"no-gap":o.multipleSwitch}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inputElements,(s,r)=>(e.openBlock(),e.createElementBlock("label",{key:r,for:s.id},[e.withDirectives(e.createElementVNode("input",{type:o.inputTypes,id:s.id,name:s.name,value:s.value,"onUpdate:modelValue":n[1]||(n[1]=m=>i.inputValue=m),disabled:o.disabled,class:e.normalizeClass({"replace-input-type":o.replaceInputType,"toggle-switch":o.toggleSwitch})},null,10,ic),[[e.vModelDynamic,i.inputValue]]),o.multipleSwitch&&s.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.labelText?(e.openBlock(),e.createElementBlock("span",ac,e.toDisplayString(s.labelText),1)):e.createCommentVNode("",!0)],8,lc))),128))],2))],10,vr)}const cc=b($r,[["render",rc]]),vh="",dc={name:"CmdLoginForm",data(){return{usernameValidationStatus:!1,passwordValidationStatus:!1,emailValidationStatus:!1,sendLoginMail:"",sendLogin:!1}},props:{modelValue:{type:Object,default(){return{username:"",password:""}}},textLegendLoginForm:{type:String,default:"Login form"},showLegend:{type:Boolean,default:!0},textLegendForgotLoginForm:{type:String,default:"Forgot login form"},cmdHeadlineLoginForm:{type:Object,required:!1},cmdHeadlineSendLoginForm:{type:Object,required:!1},cmdFormElementUsername:{type:Object,default(){return{labelText:"Username:",placeholder:"Type in username",innerIconClass:"icon-user-profile",name:"login-username",id:"login-username",required:!0}}},cmdFormElementPassword:{type:Object,default(){return{labelText:"Password:",placeholder:"Type in password",innerIconClass:"icon-security-settings",name:"login-password",id:"login-password",required:!0}}},cmdFormElementSendLogin:{type:Object,default(){return{labelText:"Email-address:",placeholder:"Type in email-address you are registered with",innerIconClass:"icon-mail",name:"login-send-login",id:"login-send-login",required:!0}}},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-single-arrow-left",tooltip:""},text:"Back to login form"}}}},buttons:{type:Object,default(){return{login:{linkType:"button",type:"submit",path:"",text:"Login",primary:!0,icon:{show:!0,iconClass:"icon-logon",tooltip:""}},sendLogin:{linkType:"button",type:"submit",path:"",text:"Send login",primary:!0,icon:{show:!0,iconClass:"icon-mail",tooltip:""}}}}}},computed:{buttonLoginDisabled(){return!(this.usernameValidationStatus&&this.passwordValidationStatus)},buttonSendLoginDisabled(){return!this.emailValidationStatus},username:{get(){return this.modelValue.username},set(t){this.$emit("update:modelValue",{username:t,password:this.password})}},password:{get(){return this.modelValue.password},set(t){this.$emit("update:modelValue",{username:this.username,password:t})}}},methods:{modelChange(){this.$emit("update:modelValue",{username:this.username,password:this.password})},onClick(t){this.$emit("click",t)},getRoute(t){return R(t)},checkValidationStatus(t,n){t!=null&&(n==="username"?this.usernameValidationStatus=t==="success":n==="password"?this.passwordValidationStatus=t==="success":this.emailValidationStatus=t==="success")}},watch:{username(){this.modelChange()},password(){this.modelChange()}}},mc={class:"cmd-login-form flex-container"},uc={class:"flex-container"},hc={class:"option-wrapper flex-container"},fc={key:1},pc=["href"],gc={key:1},yc=e.createTextVNode(" /> "),kc={key:1},Cc=["type","disabled"],Bc={key:1},_c={class:"cmd-login-form flex-container"},bc={class:"option-wrapper flex-container"},wc={key:1},Nc=["type","disabled"],Sc={key:1};function Ic(t,n,o,a,l,i){var m,u,f,h,y,p,k;const c=M,d=U,s=I,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("fieldset",mc,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendLoginForm),3),o.cmdHeadlineLoginForm?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineLoginForm)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",uc,[e.createVNode(d,{element:"input",type:"text",name:o.cmdFormElementUsername.name,id:o.cmdFormElementUsername.id,modelValue:i.username,"onUpdate:modelValue":n[0]||(n[0]=B=>i.username=B),fieldIconClass:o.cmdFormElementUsername.innerIconClass,labelText:o.cmdFormElementUsername.labelText,placeholder:o.cmdFormElementUsername.placeholder,required:o.cmdFormElementUsername.required,onValidationStatusChange:n[1]||(n[1]=B=>i.checkValidationStatus(B,"username"))},null,8,["name","id","modelValue","fieldIconClass","labelText","placeholder","required"]),e.createVNode(d,{element:"input",type:"password",name:o.cmdFormElementPassword.name,id:o.cmdFormElementPassword.id,fieldIconClass:o.cmdFormElementPassword.innerIconClass,modelValue:i.password,"onUpdate:modelValue":n[2]||(n[2]=B=>i.password=B),labelText:o.cmdFormElementPassword.labelText,placeholder:o.cmdFormElementPassword.placeholder,required:o.cmdFormElementPassword.required,onValidationStatusChange:n[3]||(n[3]=B=>i.checkValidationStatus(B,"password"))},null,8,["name","id","fieldIconClass","modelValue","labelText","placeholder","required"])]),e.createElementVNode("div",hc,[o.options.forgotPassword||o.options.createAccount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.options.forgotPassword?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[4]||(n[4]=e.withModifiers(B=>l.sendLogin=!0,["prevent"]))},[((m=o.options.forgotPassword.icon)==null?void 0:m.show)&&((u=o.options.forgotPassword.icon)==null?void 0:u.iconClass)?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.options.forgotPassword.icon.iconClass,type:o.options.forgotPassword.icon.iconType,title:o.options.forgotPassword.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.options.forgotPassword.text?(e.openBlock(),e.createElementBlock("span",fc,e.toDisplayString(o.options.forgotPassword.text),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.options.createAccount&&o.options.createAccount.linkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:1,href:o.options.createAccount.path},[((f=o.options.createAccount.icon)==null?void 0:f.show)&&((h=o.options.createAccount.icon)==null?void 0:h.iconClass)?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.options.createAccount.icon.iconClass,type:o.options.createAccount.icon.iconType,title:o.options.createAccount.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",gc,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)],8,pc)):o.options.createAccount&&o.options.createAccount.linkType==="router"?(e.openBlock(),e.createBlock(r,{key:2,to:o.options.createAccount.path},{default:e.withCtx(()=>[o.options.createAccount.icon&&o.options.createAccount.icon.show&&o.options.createAccount.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,class:e.normalizeClass(o.options.createAccount.icon.iconClass),type:o.options.createAccount.icon.iconType,title:o.options.createAccount.icon.tooltip},null,8,["class","type","title"])):e.createCommentVNode("",!0),yc,o.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",kc,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),o.buttons.login.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:1,type:o.buttons.login.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:o.buttons.login.primary}]),onClick:n[5]||(n[5]=(...B)=>i.onClick&&i.onClick(...B)),disabled:i.buttonLoginDisabled},[o.buttons.login.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.buttons.login.icon.iconClass,type:o.buttons.login.icon.iconType,title:o.buttons.login.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.buttons.login.text?(e.openBlock(),e.createElementBlock("span",Bc,e.toDisplayString(o.buttons.login.text),1)):e.createCommentVNode("",!0)],10,Cc)):e.createCommentVNode("",!0)])],512),[[e.vShow,!l.sendLogin]]),e.withDirectives(e.createElementVNode("fieldset",_c,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendForgotLoginForm),3),o.cmdHeadlineSendLoginForm?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineSendLoginForm)),null,16)):e.createCommentVNode("",!0),e.createVNode(d,{element:"input",type:"email",fieldIconClass:o.cmdFormElementSendLogin.innerIconClass,labelText:o.cmdFormElementSendLogin.labelText,placeholder:o.cmdFormElementSendLogin.placeholder,name:o.cmdFormElementSendLogin.name,required:o.cmdFormElementSendLogin.required,id:o.cmdFormElementSendLogin.id,onValidationStatusChange:n[6]||(n[6]=B=>i.checkValidationStatus(B,"email")),modelValue:l.sendLoginMail,"onUpdate:modelValue":n[7]||(n[7]=B=>l.sendLoginMail=B)},null,8,["fieldIconClass","labelText","placeholder","name","required","id","modelValue"]),e.createElementVNode("div",bc,[e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers(B=>l.sendLogin=!1,["prevent"]))},[o.options.backToLoginForm&&o.options.backToLoginForm.icon&&o.options.backToLoginForm.icon.show&&o.options.backToLoginForm.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.options.backToLoginForm.icon.iconClass,type:o.options.backToLoginForm.icon.iconType,title:o.options.backToLoginForm.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.options.backToLoginForm.text?(e.openBlock(),e.createElementBlock("span",wc,e.toDisplayString(o.options.backToLoginForm.text),1)):e.createCommentVNode("",!0)]),o.buttons.sendLogin.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:0,type:o.buttons.sendLogin.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:o.buttons.sendLogin.primary}]),disabled:i.buttonSendLoginDisabled},[(y=o.buttons.sendLogin.icon)!=null&&y.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(p=o.buttons.sendLogin.icon)==null?void 0:p.iconClass,title:(k=o.buttons.sendLogin.icon)==null?void 0:k.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),o.buttons.sendLogin.text?(e.openBlock(),e.createElementBlock("span",Sc,e.toDisplayString(o.buttons.sendLogin.text),1)):e.createCommentVNode("",!0)],10,Nc)):e.createCommentVNode("",!0)])],512),[[e.vShow,l.sendLogin]])],64)}const xc=b(dc,[["render",Ic]]),ef="",Tc={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},navigationEntries:{type:Array,required:!0},closeOffcanvas:{type:Object,default:function(){return{iconClass:"icon-cancel",text:"Close navigation",showText:!0}}},offcanvasPosition:{type:String,default:"right"},buttonOffcanvas:{type:Object,default:function(){return{iconClass:"icon-bars",text:"Open navigation",showText:!1}}},subentriesIconClass:{type:String,default:"icon-single-arrow-down"},subSubentriesIconClass:{type:String,default:"icon-single-arrow-right"},showContentOverlay:{type:Boolean,default:!0}},methods:{closeAllSubentries(t){t||(this.openEntry=-1),this.openSubentry=-1},executeLink(t,n,o,a){var l;if(n.target||n.path.length>1)return this.showOffcanvas=!1,!0;if((l=n==null?void 0:n.subentries)!=null&&l.length){t.preventDefault(),a?this.openSubentry=this.openSubentry===o?-1:o:(this.openEntry=this.openEntry===o?-1:o,this.openSubentry=-1);return}(n.path==="#"||n.path==="")&&(t.preventDefault(),this.$emit("click",n.path)),this.showOffcanvas=!1},getRoute(t){return R(t)},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})}}},Mc={key:0,class:"close-nav"},Vc=["href","title","target","onClick"],Ec={key:1},Dc={key:1},Oc=["aria-expanded"],Lc=["href","title","target","onClick"],jc={key:1},Fc={key:1},Pc=["aria-expanded"],zc=["href","title","target","onClick"],Ac={key:1},Hc={key:1};function qc(t,n,o,a,l,i){const c=I,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-main-navigation",{"hide-sub-navigation":!l.showSubNavigations,"open-off-canvas":l.showOffcanvas,"persist-on-mobile":o.persistOnMobile,"show-content-overlay":o.showContentOverlay,"off-canvas-right":o.offcanvasPosition==="right"}]),id:"main-navigation-wrapper"},[e.createElementVNode("nav",null,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-items":o.stretchMainItems})},[l.showOffcanvas?(e.openBlock(),e.createElementBlock("li",Mc,[e.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:n[0]||(n[0]=e.withModifiers((...s)=>i.closeOffcanvasNavigation&&i.closeOffcanvasNavigation(...s),["prevent"]))},[o.closeOffcanvas.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.closeOffcanvas.iconClass,type:o.closeOffcanvas.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.closeOffcanvas.showText})},e.toDisplayString(o.closeOffcanvas.text),3)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.navigationEntries,(s,r)=>{var m,u,f;return e.openBlock(),e.createElementBlock("li",{key:r,class:e.normalizeClass({active:s.active,open:l.openEntry===r,"has-subentries":(m=s==null?void 0:s.subentries)==null?void 0:m.length})},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path,title:s.tooltip,target:s.target,onClick:h=>i.executeLink(h,s,r),onMouseover:n[1]||(n[1]=h=>i.closeAllSubentries()),onFocus:n[2]||(n[2]=h=>i.closeAllSubentries())},[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Ec,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),(u=s==null?void 0:s.subentries)!=null&&u.length?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,Vc)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:i.getRoute(s),title:s.tooltip},{default:e.withCtx(()=>[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Dc,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),s.subentries&&s.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),(f=s==null?void 0:s.subentries)!=null&&f.length?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":l.openEntry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.subentries,(h,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,class:e.normalizeClass({open:l.openSubentry===y})},[h.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:h.path,title:h.tooltip,target:h.target,onClick:p=>i.executeLink(p,h,y,1),onMouseover:n[3]||(n[3]=p=>i.closeAllSubentries(1)),onFocus:n[4]||(n[4]=p=>i.closeAllSubentries(1))},[h.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",jc,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0),h.subentries&&h.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,Lc)):e.createCommentVNode("",!0),h.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:i.getRoute(h),title:h.tooltip},{default:e.withCtx(()=>[h.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",Fc,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0),h.subentries&&h.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),h.subentries?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":l.openSubentry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.subentries,(p,k)=>(e.openBlock(),e.createElementBlock("li",{key:k},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:p.path,title:p.tooltip,target:p.target,onClick:B=>i.executeLink(B,p)},[p.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",Ac,e.toDisplayString(p.text),1)):e.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],8,zc)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:i.getRoute(p),target:p.target},{default:e.withCtx(()=>[p.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",Hc,e.toDisplayString(p.text),1)):e.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","target"])):e.createCommentVNode("",!0)]))),128))],8,Pc)):e.createCommentVNode("",!0)],2))),128))],8,Oc)):e.createCommentVNode("",!0)],2)}),128))],2)]),o.persistOnMobile===!1?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button",id:"toggle-offcanvas",onClick:n[5]||(n[5]=e.withModifiers((...s)=>i.toggleOffcanvasNavigation&&i.toggleOffcanvasNavigation(...s),["prevent"]))},[e.createVNode(c,{iconClass:o.buttonOffcanvas.iconClass,type:o.buttonOffcanvas.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.buttonOffcanvas.showText})},e.toDisplayString(o.buttonOffcanvas.text),3)])):e.createCommentVNode("",!0)],2)}const no=b(Tc,[["render",qc]]),tf="",Rc={name:"CmdMultistepFormProgressBar",data(){return{activeLink:0}},props:{showStepNumber:{type:Boolean,default:!1},multisteps:{type:Array,required:!0},separatorIconClass:{type:String,default(){return"icon-single-arrow-right"}}},methods:{clickedStep(t,n){this.activeLink=n,this.$emit("click",{event:t,index:n,stepPath:this.multisteps[n].path})},getRoute(t){return R(t)}}},Uc={class:"cmd-multistep-form-progress-bar"},Gc=["href","onClick","title"],Qc={key:0,class:"number"},Wc={key:2},Zc={key:0,class:"number"},Jc={key:2},Yc=["type","name","title","formaction","onClick"],Kc={key:0,class:"number"},Xc={key:2};function $c(t,n,o,a,l,i){const c=I,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ol",Uc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.multisteps,(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,class:e.normalizeClass({active:l.activeLink===r})},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path,onClick:e.withModifiers(m=>i.clickedStep(m,r),["stop","prevent"]),title:s.tooltip},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Qc,e.toDisplayString(r+1),1)):e.createCommentVNode("",!0),s.iconClass?(e.openBlock(),e.createBlock(c,{key:1,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Wc,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,Gc)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:i.getRoute(s),title:s.tooltip},{default:e.withCtx(()=>[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Zc,e.toDisplayString(r+1),1)):e.createCommentVNode("",!0),s.iconClass?(e.openBlock(),e.createBlock(c,{key:1,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Jc,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),s.type==="button"||s.type==="submit"?(e.openBlock(),e.createElementBlock("button",{key:2,class:"button",type:s.type,name:s.name,title:s.tooltip,formaction:s.formaction,onClick:e.withModifiers(m=>i.clickedStep(m,r),["stop","prevent"])},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Kc,e.toDisplayString(r+1),1)):e.createCommentVNode("",!0),s.iconClass?(e.openBlock(),e.createBlock(c,{key:1,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Xc,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,Yc)):e.createCommentVNode("",!0)],2))),128))])}const vc=b(Rc,[["render",$c]]),of="";function ed(t,n,o,a=!0){function l(i,c){return c&&i<10?"0"+i:i}return(i,c)=>{if(o){let d=i,s=n;return d>12&&(d-=12,s=o),l(d,a)+t+l(c,!0)+s}return l(i,a)+t+l(c,!0)+n}}const td={name:"CmdOpeningHours",props:{link:{type:Object,required:!1},closed:{type:Boolean,default:!1},textOpen:{type:String,default:"Open right now!"},textClosed:{type:String,default:"Closed right now!"},openingHours:{type:Array,required:!0},textHolidaysClosed:{type:String,required:!1},textMiscInfo:{type:String,required:!1},cmdHeadline:{type:Object,required:!1},timeFormatter:{type:Function,required:!1},componentHandlesClosedStatus:{type:Boolean,default:!0},checkInterval:{type:Number,default:5e3}},mounted(){this.componentHandlesClosedStatus&&this.checkInterval>0&&(this.$_CmdOpeningHours_intervalId=setInterval(()=>{this.currentTime=new Date},this.checkInterval))},data(){return{currentTime:new Date}},computed:{textOpenClosed(){return this.isClosed?this.textClosed:this.textOpen},openingHoursFormatted(){const t=[];for(let n=0;n<this.openingHours.length;n++){const o={},a=this.openingHours[n].fromTime.split(/[:.]/),l=this.openingHours[n].tillTime.split(/[:.]/);o.day=this.openingHours[n].day,o.fromTime={hours:parseInt(a[0]),mins:parseInt(a[1])},o.tillTime={hours:parseInt(l[0]),mins:parseInt(l[1])},t.push(o)}return t},isClosed(){if(!this.componentHandlesClosedStatus)return this.closed;let t=this.currentTime.getDay();t===0?t=6:t-=1;const n=this.openingHoursFormatted[t];if(this.openingHoursFormatted[t]){const o=new Date;o.setHours(n.fromTime.hours,n.fromTime.mins);const a=new Date;if(a.setHours(n.tillTime.hours,n.tillTime.mins),o<=this.currentTime&&this.currentTime<=a)return!1}return!0}},methods:{getTime(t){return this.timeFormatter?this.timeFormatter(t.hours,t.mins):ed(":"," hrs","",!1)(t.hours,t.mins)}},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)}},od={class:"cmd-opening-hours"},nd=["href"],ld={key:3},id={key:0},ad={key:1};function sd(t,n,o,a,l,i){var s,r;const c=M,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",od,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.link&&((s=o.link)==null?void 0:s.path)&&((r=o.link)==null?void 0:r.show)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:o.link.path,class:e.normalizeClass({closed:i.isClosed})},e.toDisplayString(i.textOpenClosed),11,nd)):e.createCommentVNode("",!0),o.link.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:o.link.path,class:e.normalizeClass({closed:i.isClosed})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.textOpenClosed),1)]),_:1},8,["to","class"])):e.createCommentVNode("",!0),o.link.type==="button"?(e.openBlock(),e.createElementBlock("button",{key:2,class:e.normalizeClass(["button",{closed:i.isClosed}])},e.toDisplayString(i.textOpenClosed),3)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass({closed:i.isClosed})},e.toDisplayString(i.textOpenClosed),3)),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.openingHoursFormatted,m=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m.day},[e.createElementVNode("dt",null,e.toDisplayString(m.day)+":",1),e.createElementVNode("dd",null,e.toDisplayString(i.getTime(m.fromTime))+"\u2013"+e.toDisplayString(i.getTime(m.tillTime)),1)],64))),128))]),o.textHolidaysClosed||o.textMiscInfo?(e.openBlock(),e.createElementBlock("div",ld,[o.textHolidaysClosed?(e.openBlock(),e.createElementBlock("p",id,[e.createElementVNode("strong",null,e.toDisplayString(o.textHolidaysClosed),1)])):e.createCommentVNode("",!0),o.textMiscInfo?(e.openBlock(),e.createElementBlock("p",ad,e.toDisplayString(o.textMiscInfo),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])}const rd=b(td,[["render",sd]]),cd={data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}},nf="",dd={name:"CmdPager",mixins:[F,cd],emits:["click"],data(){return{currentPage:1}},props:{pages:{type:Number,required:!0},itemsPerPage:{type:Number,required:!0},linkType:{type:String,default:"href"},prevLink:{type:Object,default:function(){return{iconClass:"icon-single-arrow-left",text:"prev",showText:!0}}},nextLink:{type:Object,default:function(){return{iconClass:"icon-single-arrow-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(t){return this.linkType!=="href"||this.currentPage===t?null:"#"},showPage(t){this.currentPage=t,this.$emit("click",t)},nextPage(){this.currentPage<this.numberOfPages&&this.showPage(this.currentPage+1)},previousPage(){this.currentPage>1&&this.showPage(this.currentPage-1)}}},md={class:"cmd-pager"},ud=["href","title"],hd={key:0},fd={class:"page-index"},pd={class:"flex-container"},gd=["href","title","onClick"],yd=["href","title"],kd={key:0};function Cd(t,n,o,a,l,i){const c=I;return e.openBlock(),e.createElementBlock("div",md,[e.createElementVNode("a",{href:i.getPreviousHref,class:e.normalizeClass(["page-change",{disabled:l.currentPage===1,button:o.linkType==="button"}]),onClick:n[0]||(n[0]=e.withModifiers((...d)=>i.previousPage&&i.previousPage(...d),["prevent"])),title:o.prevLink.showText?null:o.prevLink.text},[e.createVNode(c,{iconClass:o.prevLink.iconClass,type:o.prevLink.iconType},null,8,["iconClass","type"]),o.prevLink.showText?(e.openBlock(),e.createElementBlock("span",hd,e.toDisplayString(o.prevLink.text),1)):e.createCommentVNode("",!0)],10,ud),e.createElementVNode("div",fd,[e.createElementVNode("div",pd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.pages,(d,s)=>(e.openBlock(),e.createElementBlock("a",{href:i.getHref(d),class:e.normalizeClass({disabled:l.currentPage===s+1,button:o.linkType==="button"}),title:l.currentPage!==s+1?t.getMessage("cmdpager.tooltip.go_to_page",s+1):t.getMessage("cmdpager.tooltip.not_possible"),key:s,onClick:e.withModifiers(r=>i.showPage(d),["stop","prevent"]),"aria-live":"polite"},[e.createElementVNode("span",null,e.toDisplayString(s+1),1)],10,gd))),128))])]),e.createElementVNode("a",{href:i.getNextHref,class:e.normalizeClass(["page-change",{disabled:l.currentPage===i.numberOfPages,button:o.linkType==="button"}]),onClick:n[1]||(n[1]=e.withModifiers((...d)=>i.nextPage&&i.nextPage(...d),["prevent"])),title:o.nextLink.showText?null:o.nextLink.text},[o.nextLink.showText?(e.openBlock(),e.createElementBlock("span",kd,e.toDisplayString(o.nextLink.text),1)):e.createCommentVNode("",!0),e.createVNode(c,{iconClass:o.nextLink.iconClass,type:o.nextLink.iconType},null,8,["iconClass","type"])],10,yd)])}const Bd=b(dd,[["render",Cd]]),lf="",_d={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}}},bd=["for"],wd={class:"progressbar"},Nd={key:0},Sd=["id","value"];function Id(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("label",{class:"cmd-progressbar",for:o.id},[e.createElementVNode("span",{class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},e.toDisplayString(o.labelText),3),e.createElementVNode("span",wd,[o.showLoadingStatus?(e.openBlock(),e.createElementBlock("span",Nd,e.toDisplayString(l.loadingStatus)+" %",1)):e.createCommentVNode("",!0),e.createElementVNode("progress",e.mergeProps(t.$attrs,{id:o.id,value:l.loadingStatus}),null,16,Sd)])],8,bd)}const xd=b(_d,[["render",Id]]),af="",Td={name:"CmdSocialNetworks",data(){return{dataPrivacyAccepted:!1}},props:{modelValue:{type:[String,Number,Array],default:""},align:{type:String,required:!1},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!"},textAlign:{type:String,default:"left"},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(t=>t.path)}},methods:{getUrl(t){return this.userMustAcceptDataPrivacy&&this.dataPrivacyAccepted?this.appendPage?this.page?t.path+encodeURIComponent(this.page):t.path+encodeURIComponent(location.href):t.path:"#"},preventOnDisabled(t){let n=t.target;n.tagName!=="A"&&(n=n.closest("a")),n.getAttribute("href")==="#"&&t.preventDefault()},tooltip(t){return this.userMustAcceptDataPrivacy?this.dataPrivacyAccepted?t:this.tooltipAcceptDataPrivacy:t}}},Md=["id","href","title"],Vd={key:1};function Ed(t,n,o,a,l,i){const c=M,d=U,s=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-social-networks",{stretch:o.stretchButtons,"align-right":o.align==="right"}])},[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.userMustAcceptDataPrivacy?(e.openBlock(),e.createBlock(d,{key:1,element:"input",type:"checkbox","toggle-switch":o.cmdFormElement.toggleSwitch,labelText:o.cmdFormElement.labelText,required:o.cmdFormElement.required,modelValue:l.dataPrivacyAccepted,"onUpdate:modelValue":n[0]||(n[0]=r=>l.dataPrivacyAccepted=r)},null,8,["toggle-switch","labelText","required","modelValue"])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["button-wrapper no-flex",{"no-gap":!o.useGap}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.validNetworks,r=>(e.openBlock(),e.createElementBlock("li",null,[(e.openBlock(),e.createElementBlock("a",{key:r.path,class:e.normalizeClass(["button",{disabled:o.userMustAcceptDataPrivacy&&!l.dataPrivacyAccepted},{"text-align-right":o.textAlign==="right"}]),id:r.id,href:i.getUrl(r),onClick:n[1]||(n[1]=(...m)=>i.preventOnDisabled&&i.preventOnDisabled(...m)),target:"_blank",title:i.tooltip(r.tooltip)},[r.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.linkText?(e.openBlock(),e.createElementBlock("span",Vd,e.toDisplayString(r.linkText),1)):e.createCommentVNode("",!0)],10,Md))]))),256))],2)],2)}const Dd=b(Td,[["render",Ed]]),sf="",Od={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal"}}},Ld={class:"cmd-site-footer"};function jd(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Ld,[e.createElementVNode("footer",{class:e.normalizeClass(["flex-container",{vertical:o.orientation==="vertical"}])},[e.renderSlot(t.$slots,"default")],2)])}const Fd=b(Od,[["render",jd]]),rf="",Pd={name:"CmdSiteHeader",emits:["offcanvas"],props:{closeOffcanvas:{type:Object,required:!1},sticky:{type:Boolean,default:!0},navigationInline:{type:Boolean,default:!1},useGrid:{type:Boolean,default:!0},cmdCompanyLogo:{type:Object,required:!1},cmdMainNavigation:{type:Object,required:!1}},methods:{emitOffcanvasStatus(t){this.$emit("offcanvas",t)}}},zd={key:0,class:"top-header"};function Ad(t,n,o,a,l,i){var s,r,m,u,f,h,y,p,k;const c=Xt,d=no;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-site-header",{sticky:o.sticky,"navigation-inline":o.navigationInline,"off-canvas-right":((s=o.cmdMainNavigation)==null?void 0:s.offcanvasPosition)==="right"}]),role:"banner"},[t.$slots.topheader?(e.openBlock(),e.createElementBlock("div",zd,[e.renderSlot(t.$slots,"topheader")])):e.createCommentVNode("",!0),e.createElementVNode("header",{class:e.normalizeClass([o.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((m=(r=o.cmdMainNavigation)==null?void 0:r.navigationEntries)==null?void 0:m.length)&&o.navigationInline||t.$slots.navigation}])},[t.$slots.logo||t.$slots.header||t.$slots.navigation?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(t.$slots,"logo"),e.renderSlot(t.$slots,"header"),e.renderSlot(t.$slots,"navigation")],64)):e.createCommentVNode("",!0),o.cmdCompanyLogo||((f=(u=o.cmdMainNavigation)==null?void 0:u.navigationEntries)==null?void 0:f.length)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.cmdCompanyLogo?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdCompanyLogo)),null,16)):e.createCommentVNode("",!0),((y=(h=o.cmdMainNavigation)==null?void 0:h.navigationEntries)==null?void 0:y.length)&&o.navigationInline?(e.openBlock(),e.createBlock(d,{key:1,navigationEntries:o.cmdMainNavigation.navigationEntries,offcanvasPosition:o.cmdMainNavigation.offcanvasPosition,closeOffcanvas:o.closeOffcanvas,onOffcanvas:i.emitOffcanvasStatus},null,8,["navigationEntries","offcanvasPosition","closeOffcanvas","onOffcanvas"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2),((k=(p=o.cmdMainNavigation)==null?void 0:p.navigationEntries)==null?void 0:k.length)&&!o.navigationInline?(e.openBlock(),e.createBlock(d,{key:1,navigationEntries:o.cmdMainNavigation.navigationEntries,offcanvasPosition:o.cmdMainNavigation.offcanvasPosition,closeOffcanvas:o.closeOffcanvas,onOffcanvas:i.emitOffcanvasStatus},null,8,["navigationEntries","offcanvasPosition","closeOffcanvas","onOffcanvas"])):e.createCommentVNode("",!0)],2)}const Hd=b(Pd,[["render",Ad]]),qd={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"}}}},cf="",Rd={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[F,qd],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},textLegend:{type:String,required:!1},showLegend:{type:Boolean,default:!0},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,default(){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}]}}},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-single-arrow-up",type:"auto"},hideFilters:{iconClass:"icon-single-arrow-down",type:"auto"}}}}},computed:{searchValue1:{get(){return this.modelValueInput1},set(t){this.$emit("update:modelValueInput1",t)}},searchValue2:{get(){return this.modelValueInput2},set(t){this.$emit("update:modelValueInput2",t)}},radius:{get(){return this.modelValueRadius},set(t){this.$emit("update:modelValueRadius",t)}},searchFilters:{get(){return this.modelValueSearchFilters},set(t){this.$emit("update:modelValueSearchFilters",t)}},buttonSearchDisabled(){const t=!this.cmdFormElementInput1.required||this.searchValue1.trim(),n=!this.cmdFormElementInput2.show||!this.cmdFormElementInput2.required||this.searchValue2.trim(),o=!this.cmdFormElementRadius.show||!this.cmdFormElementRadius.required||this.radius;return!(t&&n&&o)}},methods:{onSearchButtonClick(){this.$emit("search",{searchValue1:this.searchValue1,searchValue2:this.searchValue2,searchFilters:this.searchFilters,radius:this.radius})},getOptionName(t){for(let n=0;n<this.cmdFakeSelect.selectData.length;n++)if(t===this.cmdFakeSelect.selectData[n].value)return this.cmdFakeSelect.selectData[n].text;return null}},watch:{cmdFormElementRadius:{handler(){var t,n;((t=this.cmdFormElementRadius)==null?void 0:t.selectOptions)&&((n=this.cmdFormElementRadius)==null?void 0:n.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadius.selectOptions[0].value)},immediate:!0,deep:!0}}},Ud={class:"cmd-box-site-search flex-container"},Gd={class:"flex-container align-bottom"},Qd={class:"input-wrapper align-bottom"},Wd={key:0},Zd={key:1},Jd={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Yd(t,n,o,a,l,i){var u,f,h,y,p,k,B,N,V,g;const c=M,d=U,s=I,r=vt,m=eo;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("fieldset",Ud,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",Gd,[e.createVNode(d,{element:"input",type:o.cmdFormElementInput1.type,"show-label":o.cmdFormElementInput1.showLabel,labelText:o.cmdFormElementInput1.labelText,placeholder:o.cmdFormElementInput1.placeholder,required:o.cmdFormElementInput1.required,showSearchButton:o.cmdFormElementInput1.showSearchButton,modelValue:i.searchValue1,"onUpdate:modelValue":n[0]||(n[0]=x=>i.searchValue1=x)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),e.createElementVNode("div",Qd,[o.cmdFormElementInput2.show?(e.openBlock(),e.createBlock(d,{key:0,element:"input",type:o.cmdFormElementInput2.type,"show-label":o.cmdFormElementInput2.showLabel,labelText:o.cmdFormElementInput2.labelText,placeholder:o.cmdFormElementInput2.placeholder,required:o.cmdFormElementInput2.required,modelValue:i.searchValue2,"onUpdate:modelValue":n[1]||(n[1]=x=>i.searchValue2=x)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):e.createCommentVNode("",!0),o.cmdFormElementRadius.show?(e.openBlock(),e.createBlock(d,{key:1,element:"select",class:"no-flex",modelValue:i.radius,"onUpdate:modelValue":n[2]||(n[2]=x=>i.radius=x),"show-label":o.cmdFormElementRadius.showLabel,labelText:o.cmdFormElementRadius.labelText,"select-options":o.cmdFormElementRadius.selectOptions,required:o.cmdFormElementRadius.required},null,8,["modelValue","show-label","labelText","select-options","required"])):e.createCommentVNode("",!0)]),e.createVNode(d,{element:"button",class:"stretch-on-small-devices",nativeButton:o.cmdFormElementSearchButton,onClick:i.onSearchButtonClick,disabled:i.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),(u=o.cmdFakeSelect)!=null&&u.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",{href:"#",onClick:n[3]||(n[3]=e.withModifiers(x=>l.showFilters=!l.showFilters,["prevent"]))},[e.createVNode(s,{iconClass:l.showFilters?(h=(f=o.cmdIcon)==null?void 0:f.showFilters)==null?void 0:h.iconClass:(p=(y=o.cmdIcon)==null?void 0:y.hideFilters)==null?void 0:p.iconClass,type:l.showFilters?(B=(k=o.cmdIcon)==null?void 0:k.showFilters)==null?void 0:B.iconType:(V=(N=o.cmdIcon)==null?void 0:N.hideFilters)==null?void 0:V.iconType},null,8,["iconClass","type"]),l.showFilters?(e.openBlock(),e.createElementBlock("span",Wd,e.toDisplayString(t.getMessage("cmdsitesearch.hide_filter_options")),1)):(e.openBlock(),e.createElementBlock("span",Zd,e.toDisplayString(t.getMessage("cmdsitesearch.show_filter_options")),1))]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var x,w,S,E,D;return[l.showFilters&&((x=o.cmdFakeSelect)==null?void 0:x.selectData.length)?(e.openBlock(),e.createElementBlock("div",Jd,[e.createVNode(r,{role:"option",selectData:(w=o.cmdFakeSelect)==null?void 0:w.selectData,modelValue:i.searchFilters,"onUpdate:modelValue":n[4]||(n[4]=T=>i.searchFilters=T),defaultOptionName:(S=o.cmdFakeSelect)==null?void 0:S.defaultOptionName,type:(E=o.cmdFakeSelect)==null?void 0:E.type,labelText:(D=o.cmdFakeSelect)==null?void 0:D.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):e.createCommentVNode("",!0)]}),_:1})],64)):e.createCommentVNode("",!0)]),(g=o.cmdFakeSelect)!=null&&g.show?(e.openBlock(),e.createBlock(m,{key:0,modelValue:i.searchFilters,"onUpdate:modelValue":n[5]||(n[5]=x=>i.searchFilters=x),selectedOptionsName:i.getOptionName},null,8,["modelValue","selectedOptionsName"])):e.createCommentVNode("",!0)],64)}const Kd=b(Rd,[["render",Yd]]),df="",Xd={name:"CmdSlideshow",data(){return{index:0,pause:!1,hnd:null,fullWidth:!1,currentSlotItem:0}},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},cmdSlideButtons:{type:Object,default(){return{next:{next:{iconClass:"icon-single-arrow-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-single-arrow-left",tooltip:"Previous"}}}}}},beforeUnmount(){this.hnd!==null&&(window.clearInterval(this.hnd),this.hnd=null)},methods:{showPrevItem(){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(t){t>=0&&t<this.slideshowItems.length&&(this.index=t)},showNextItem(){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:{currentItem(){return this.slideshowItems.length<=this.index?null:this.slideshowItems[this.index]}},watch:{slideshowItems:{handler(){this.index=0,this.setupSlider()},immediate:!0}}},$d=["href","title"],vd={key:0},em=["onClick","aria-label"],tm={key:1};function om(t,n,o,a,l,i){const c=ue,d=W;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-slideshow",{"full-width":l.fullWidth}])},[e.createElementVNode("div",{class:"inner-slideshow-wrapper",onMouseenter:n[0]||(n[0]=s=>l.pause=!0),onMouseleave:n[1]||(n[1]=s=>l.pause=!1)},[e.createVNode(c,{onClick:e.withModifiers(i.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(e.TransitionGroup,{name:"fade"},{default:e.withCtx(()=>{var s,r,m,u,f,h,y,p,k,B;return[i.currentItem?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.useSlot?(e.openBlock(),e.createElementBlock("div",{class:"image-wrapper",key:l.index,style:e.normalizeStyle("background-image: url("+i.currentItem.image.srcLarge+")")},[e.renderSlot(t.$slots,"item"+l.currentSlotItem)],4)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(r=(s=i.currentItem)==null?void 0:s.link)!=null&&r.href?(e.openBlock(),e.createElementBlock("a",{href:(u=(m=i.currentItem)==null?void 0:m.link)==null?void 0:u.href,title:(h=(f=i.currentItem)==null?void 0:f.link)==null?void 0:h.tooltip,key:l.index},[e.createVNode(d,{image:(y=i.currentItem)==null?void 0:y.image,figcaption:(p=i.currentItem)==null?void 0:p.figcaption},null,8,["image","figcaption"])],8,$d)):(e.openBlock(),e.createBlock(d,{image:(k=i.currentItem)==null?void 0:k.image,figcaption:(B=i.currentItem)==null?void 0:B.figcaption,key:l.index},null,8,["image","figcaption"]))],64))],64)):e.createCommentVNode("",!0)]}),_:3}),e.createVNode(c,{onClick:e.withModifiers(i.showNextItem,["prevent"])},null,8,["onClick"]),o.showQuickLinkIcons?(e.openBlock(),e.createElementBlock("ol",vd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.slideshowItems,(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,class:e.normalizeClass({active:r===l.index})},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>l.index=r,["prevent"]),"aria-label":l.index},null,8,em)],2))),128))])):e.createCommentVNode("",!0),o.showCounter?(e.openBlock(),e.createElementBlock("span",tm,e.toDisplayString(l.index+1)+"/"+e.toDisplayString(o.slideshowItems.length),1)):e.createCommentVNode("",!0)],32)],2)}const nm=b(Xd,[["render",om]]),lm=Object.freeze(Object.defineProperty({__proto__:null,de:Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHdpZHRoPSI4NTAuMzk0cHgiIGhlaWdodD0iNTY2LjkyOXB4IiB2aWV3Qm94PSIwIDAgODUwLjM5NCA1NjYuOTI5IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA4NTAuMzk0IDU2Ni45MjkiDQoJIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGcgaWQ9Iml0Ij4NCgk8Zz4NCgkJPHJlY3QgZmlsbD0iIzA3OEU0NiIgd2lkdGg9IjI4My40NjUiIGhlaWdodD0iNTY2LjkyOSIvPg0KCQk8cmVjdCB4PSIyODMuNDY1IiBmaWxsPSIjRkJGREZGIiB3aWR0aD0iMjgzLjQ2NSIgaGVpZ2h0PSI1NjYuOTI5Ii8+DQoJCTxyZWN0IHg9IjU2Ni45MyIgZmlsbD0iI0QzMjQyQyIgd2lkdGg9IjI4My40NjUiIGhlaWdodD0iNTY2LjkyOSIvPg0KCTwvZz4NCjwvZz4NCjxnIGlkPSJkZSI+DQoJPGc+DQoJCTxkZXNjPkZsYWcgb2YgR2VybWFueTwvZGVzYz4NCgkJPHJlY3QgaWQ9ImJsYWNrX3N0cmlwZSIgeD0iMC45MDEiIGZpbGw9IiMwMTAyMDIiIHdpZHRoPSI4NDkuNDkyIiBoZWlnaHQ9IjU2Ni45MjkiLz4NCgkJPHJlY3QgaWQ9InJlZF9zdHJpcGUiIHg9IjAuOTAxIiB5PSIxODguOTc3IiBmaWxsPSIjREQwQjE1IiB3aWR0aD0iODQ5LjQ5MiIgaGVpZ2h0PSIzNzcuOTUzIi8+DQoJCTxyZWN0IGlkPSJnb2xkX3N0cmlwZSIgeD0iMC45MDEiIHk9IjM3Ny45NTMiIGZpbGw9IiNGRkNFMDUiIHdpZHRoPSI4NDkuNDkyIiBoZWlnaHQ9IjE4OC45NzYiLz4NCgk8L2c+DQo8L2c+DQo8ZyBpZD0iZnIiIGRpc3BsYXk9Im5vbmUiPg0KCTxnIGRpc3BsYXk9ImlubGluZSI+DQoJCTxyZWN0IHg9IjAuOTAxIiBmaWxsPSIjQ0YxMzI3IiB3aWR0aD0iODQ5LjQ5MiIgaGVpZ2h0PSI1NjYuOTI5Ii8+DQoJCTxyZWN0IHg9IjAuOTAxIiBmaWxsPSIjRkZGRkZGIiB3aWR0aD0iNTY2LjMyOCIgaGVpZ2h0PSI1NjYuOTI5Ii8+DQoJCTxyZWN0IHg9IjAuOTAxIiBmaWxsPSIjMUQyQzRFIiB3aWR0aD0iMjgzLjE2NCIgaGVpZ2h0PSI1NjYuOTI5Ii8+DQoJPC9nPg0KPC9nPg0KPGcgaWQ9InJ1IiBkaXNwbGF5PSJub25lIj4NCgk8ZyBkaXNwbGF5PSJpbmxpbmUiPg0KCQk8cmVjdCBmaWxsPSIjRkZGRkZGIiB3aWR0aD0iODUwLjM5NSIgaGVpZ2h0PSIyODMuNDY1Ii8+DQoJCTxyZWN0IHk9IjI4My40NjUiIGZpbGw9IiNENTJEMUUiIHdpZHRoPSI4NTAuMzk1IiBoZWlnaHQ9IjI4My40NjQiLz4NCgkJPHJlY3QgeT0iMTg4Ljk3NyIgZmlsbD0iIzFFNDI5NSIgd2lkdGg9Ijg1MC4zOTUiIGhlaWdodD0iMTg4Ljk3NyIvPg0KCTwvZz4NCjwvZz4NCjxnIGlkPSJjbiIgZGlzcGxheT0ibm9uZSI+DQoJPGcgZGlzcGxheT0iaW5saW5lIj4NCgkJPHJlY3QgeD0iMC45MDEiIGZpbGw9IiNERjJCMTQiIHdpZHRoPSI4NDkuNDkzIiBoZWlnaHQ9IjU2Ni45MjkiLz4NCgkJPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNSw1KSBzY2FsZSgzKSI+DQoJCQk8cGF0aCBpZD0icyIgZmlsbD0iI0ZGREUwOCIgZD0iTTE0Mi40ODMsNTYuNjkzbDQ5LjkzMiwxNTMuODM4TDYxLjY5MiwxMTUuNDU0aDE2MS41ODNMOTIuNTUxLDIxMC41MzFMMTQyLjQ4Myw1Ni42OTN6Ii8+DQoJCTwvZz4NCgkJPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAsMikgcm90YXRlKDIzLjAzNjI0MykiPg0KCQkJPHBhdGggaWQ9InNfMV8iIGZpbGw9IiNGRkRFMDgiIGQ9Ik0yOTUuMTQ2LDMwLjYwN2wtNC43MjgsNTMuNzFsLTI3LjcxMS00Ni4yMzRsNDkuNTY2LDIxLjA5OWwtNTIuNDg4LDEyLjA5NkwyOTUuMTQ2LDMwLjYwN3oiLz4NCgkJPC9nPg0KCQk8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMiw0KSByb3RhdGUoNDUuODY5ODk4KSI+DQoJCQk8cGF0aCBpZD0ic18yXyIgZmlsbD0iI0ZGREUwOCIgZD0iTTM2MS4wMjIsOTMuNjQ4bC0yNS4xNzgsNDcuNjY1bC03LjYxNy01My4zNzZsMzcuNTAzLDM4LjcwMWwtNTMuMDY0LTkuMjQzTDM2MS4wMjIsOTMuNjQ4eiIvPg0KCQk8L2c+DQoJCTxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyLDcpIHJvdGF0ZSg2OS45NDUzOTYpIj4NCgkJCTxwYXRoIGlkPSJzXzNfIiBmaWxsPSIjRkZERTA4IiBkPSJNMzY3LjI5OCwxODguNzA1bC00Mi40MTIsMzMuMjM2bDE0Ljc5Ny01MS44NDRsMTguNDcsNTAuNjQ5bC00NC42ODItMzAuMTA4TDM2Ny4yOTgsMTg4LjcwNXoiDQoJCQkJLz4NCgkJPC9nPg0KCQk8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMCw5KSByb3RhdGUoMjAuNjU5ODA4KSI+DQoJCQk8cGF0aCBpZD0ic180XyIgZmlsbD0iI0ZGREUwOCIgZD0iTTI5NC4wNTYsMjI4LjU5NWwtMi41LDUzLjg2bC0yOS42MDMtNDUuMDQ1bDUwLjM5NywxOS4wMjRsLTUxLjk0MiwxNC4yNjRMMjk0LjA1NiwyMjguNTk1eiIvPg0KCQk8L2c+DQoJPC9nPg0KPC9nPg0KPGcgaWQ9InVrIiBkaXNwbGF5PSJub25lIj4NCgk8ZyBkaXNwbGF5PSJpbmxpbmUiPg0KCQk8cmVjdCB5PSIwLjAwMiIgZmlsbD0iI0ZGRkZGRiIgd2lkdGg9Ijg1MC4xNiIgaGVpZ2h0PSI1NjYuODY1Ii8+DQoJCTxwb2x5Z29uIGZpbGw9IiNDRjE3MkMiIHBvaW50cz0iMzgyLjU2OSwwIDM4Mi41NjksMjI2LjYyNSAwLDIyNi42MjUgMCwzMzkuOTQ4IDM4Mi41NjksMzM5Ljk0OCAzODIuNTY5LDU2Ni44NjMgNDY3LjU5Miw1NjYuODYzIA0KCQkJNDY3LjU5MiwzMzkuOTQ4IDg1MC4xNiwzMzkuOTQ4IDg1MC4xNiwyMjYuNjI1IDQ2Ny41OTIsMjI2LjYyNSA0NjcuNTkyLDAgCQkiLz4NCgkJPHBvbHlnb24gZmlsbD0iIzI1MzQ2QyIgcG9pbnRzPSI0OTUuOTQ2LDAgNDk1Ljk0NiwxODMuNDk3IDc3MS4yMDIsMCAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjMjUzNDZDIiBwb2ludHM9IjQ5NS45NDYsNTY2Ljg2MyA3NzEuMjAyLDU2Ni44NjMgNDk1Ljk0NiwzODMuMzY4IAkJIi8+DQoJCTxwb2x5Z29uIGZpbGw9IiMyNTM0NkMiIHBvaW50cz0iNzguOTYsNTY2Ljg2MyAzNTQuMjE0LDU2Ni44NjMgMzU0LjIxNCwzODMuMzY4IAkJIi8+DQoJCTxwb2x5Z29uIGZpbGw9IiMyNTM0NkMiIHBvaW50cz0iNzguOTYsMCAzNTQuMjE0LDE4My40OTcgMzU0LjIxNCwwIAkJIi8+DQoJCTxwb2x5Z29uIGZpbGw9IiMyNTM0NkMiIHBvaW50cz0iMC4wMDMsMTg4Ljk1IDIwNC4zOTIsMTg4Ljk1IDAuMDAzLDUyLjY5OSAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjMjUzNDZDIiBwb2ludHM9IjY0NS43NjgsMTg4Ljk1IDg1MC4xNiwxODguOTUgODUwLjE2LDUyLjY5OSAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjMjUzNDZDIiBwb2ludHM9IjY0NS43NjgsMzc3LjkxMyA4NTAuMTYsNTE0LjE3MSA4NTAuMTYsMzc3LjkxMyAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjMjUzNDZDIiBwb2ludHM9IjAsMzc3LjkxMyAwLDUxNC4xNzEgMjA0LjM5MiwzNzcuOTEzIAkJIi8+DQoJCTxwb2x5Z29uIGZpbGw9IiNDRjE3MkMiIHBvaW50cz0iODAyLjkzOCwwIDUyMC4wMDQsMTg4Ljk1IDU2Ny4yMjMsMTg4Ljk1IDg1MC42MDUsMCAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjQ0YxNzJDIiBwb2ludHM9IjMzMC4xNTYsMzc3LjkwOSAyODIuOTM3LDM3Ny45MDkgMCw1NjYuODUyIDQ3LjIxOSw1NjYuODUyIDMzMC42MDIsMzc3LjkwOSAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjQ0YxNzJDIiBwb2ludHM9IjAsMCAwLDMxLjY5MiAyMzYuMDkxLDE4OS4wOTggMjgzLjMxMSwxODkuMDk4IAkJIi8+DQoJCTxwb2x5Z29uIGZpbGw9IiNDRjE3MkMiIHBvaW50cz0iNTY2LjY5NiwzNzcuODMyIDg1MC4wMDgsNTY2LjkyOSA4NTAuMDEsNTM1LjIzOSA2MTMuOTIsMzc3LjgzMiAJCSIvPg0KCTwvZz4NCjwvZz4NCjwvc3ZnPg0K"},Symbol.toStringTag,{value:"Module"})),en:Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHdpZHRoPSI4NTAuMzk0cHgiIGhlaWdodD0iNTY2LjkyOXB4IiB2aWV3Qm94PSIwIDAgODUwLjM5NCA1NjYuOTI5IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA4NTAuMzk0IDU2Ni45MjkiDQoJIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGcgaWQ9Iml0Ij4NCgk8Zz4NCgkJPHJlY3QgZmlsbD0iIzA3OEU0NiIgd2lkdGg9IjI4My40NjUiIGhlaWdodD0iNTY2LjkyOSIvPg0KCQk8cmVjdCB4PSIyODMuNDY1IiBmaWxsPSIjRkJGREZGIiB3aWR0aD0iMjgzLjQ2NSIgaGVpZ2h0PSI1NjYuOTI5Ii8+DQoJCTxyZWN0IHg9IjU2Ni45MyIgZmlsbD0iI0QzMjQyQyIgd2lkdGg9IjI4My40NjUiIGhlaWdodD0iNTY2LjkyOSIvPg0KCTwvZz4NCjwvZz4NCjxnIGlkPSJkZSI+DQoJPGc+DQoJCTxkZXNjPkZsYWcgb2YgR2VybWFueTwvZGVzYz4NCgkJPHJlY3QgaWQ9ImJsYWNrX3N0cmlwZSIgeD0iMC45MDEiIGZpbGw9IiMwMTAyMDIiIHdpZHRoPSI4NDkuNDkyIiBoZWlnaHQ9IjU2Ni45MjkiLz4NCgkJPHJlY3QgaWQ9InJlZF9zdHJpcGUiIHg9IjAuOTAxIiB5PSIxODguOTc3IiBmaWxsPSIjREQwQjE1IiB3aWR0aD0iODQ5LjQ5MiIgaGVpZ2h0PSIzNzcuOTUzIi8+DQoJCTxyZWN0IGlkPSJnb2xkX3N0cmlwZSIgeD0iMC45MDEiIHk9IjM3Ny45NTMiIGZpbGw9IiNGRkNFMDUiIHdpZHRoPSI4NDkuNDkyIiBoZWlnaHQ9IjE4OC45NzYiLz4NCgk8L2c+DQo8L2c+DQo8ZyBpZD0iZnIiPg0KCTxnPg0KCQk8cmVjdCB4PSIwLjkwMSIgZmlsbD0iI0NGMTMyNyIgd2lkdGg9Ijg0OS40OTIiIGhlaWdodD0iNTY2LjkyOSIvPg0KCQk8cmVjdCB4PSIwLjkwMSIgZmlsbD0iI0ZGRkZGRiIgd2lkdGg9IjU2Ni4zMjgiIGhlaWdodD0iNTY2LjkyOSIvPg0KCQk8cmVjdCB4PSIwLjkwMSIgZmlsbD0iIzFEMkM0RSIgd2lkdGg9IjI4My4xNjQiIGhlaWdodD0iNTY2LjkyOSIvPg0KCTwvZz4NCjwvZz4NCjxnIGlkPSJydSI+DQoJPGc+DQoJCTxyZWN0IGZpbGw9IiNGRkZGRkYiIHdpZHRoPSI4NTAuMzk1IiBoZWlnaHQ9IjI4My40NjUiLz4NCgkJPHJlY3QgeT0iMjgzLjQ2NSIgZmlsbD0iI0Q1MkQxRSIgd2lkdGg9Ijg1MC4zOTUiIGhlaWdodD0iMjgzLjQ2NCIvPg0KCQk8cmVjdCB5PSIxODguOTc3IiBmaWxsPSIjMUU0Mjk1IiB3aWR0aD0iODUwLjM5NSIgaGVpZ2h0PSIxODguOTc3Ii8+DQoJPC9nPg0KPC9nPg0KPGcgaWQ9ImNuIj4NCgk8Zz4NCgkJPHJlY3QgeD0iMC45MDEiIGZpbGw9IiNERjJCMTQiIHdpZHRoPSI4NDkuNDkzIiBoZWlnaHQ9IjU2Ni45MjkiLz4NCgkJPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNSw1KSBzY2FsZSgzKSI+DQoJCQk8cGF0aCBpZD0icyIgZmlsbD0iI0ZGREUwOCIgZD0iTTE0Mi40ODMsNTYuNjkzbDQ5LjkzMiwxNTMuODM4TDYxLjY5MiwxMTUuNDU0aDE2MS41ODNMOTIuNTUxLDIxMC41MzFMMTQyLjQ4Myw1Ni42OTN6Ii8+DQoJCTwvZz4NCgkJPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAsMikgcm90YXRlKDIzLjAzNjI0MykiPg0KCQkJPHBhdGggaWQ9InNfMV8iIGZpbGw9IiNGRkRFMDgiIGQ9Ik0yOTUuMTQ2LDMwLjYwN2wtNC43MjgsNTMuNzFsLTI3LjcxMS00Ni4yMzRsNDkuNTY2LDIxLjA5OWwtNTIuNDg4LDEyLjA5NkwyOTUuMTQ2LDMwLjYwN3oiLz4NCgkJPC9nPg0KCQk8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMiw0KSByb3RhdGUoNDUuODY5ODk4KSI+DQoJCQk8cGF0aCBpZD0ic18yXyIgZmlsbD0iI0ZGREUwOCIgZD0iTTM2MS4wMjIsOTMuNjQ4bC0yNS4xNzgsNDcuNjY1bC03LjYxNy01My4zNzZsMzcuNTAzLDM4LjcwMWwtNTMuMDY0LTkuMjQzTDM2MS4wMjIsOTMuNjQ4eiIvPg0KCQk8L2c+DQoJCTxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyLDcpIHJvdGF0ZSg2OS45NDUzOTYpIj4NCgkJCTxwYXRoIGlkPSJzXzNfIiBmaWxsPSIjRkZERTA4IiBkPSJNMzY3LjI5OCwxODguNzA1bC00Mi40MTIsMzMuMjM2bDE0Ljc5Ny01MS44NDRsMTguNDcsNTAuNjQ5bC00NC42ODItMzAuMTA4TDM2Ny4yOTgsMTg4LjcwNXoiDQoJCQkJLz4NCgkJPC9nPg0KCQk8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMCw5KSByb3RhdGUoMjAuNjU5ODA4KSI+DQoJCQk8cGF0aCBpZD0ic180XyIgZmlsbD0iI0ZGREUwOCIgZD0iTTI5NC4wNTYsMjI4LjU5NWwtMi41LDUzLjg2bC0yOS42MDMtNDUuMDQ1bDUwLjM5NywxOS4wMjRsLTUxLjk0MiwxNC4yNjRMMjk0LjA1NiwyMjguNTk1eiIvPg0KCQk8L2c+DQoJPC9nPg0KPC9nPg0KPGcgaWQ9InVrIj4NCgk8Zz4NCgkJPHJlY3QgeT0iMC4wMDIiIGZpbGw9IiNGRkZGRkYiIHdpZHRoPSI4NTAuMTYiIGhlaWdodD0iNTY2Ljg2NSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjQ0YxNzJDIiBwb2ludHM9IjM4Mi41NjksMCAzODIuNTY5LDIyNi42MjUgMCwyMjYuNjI1IDAsMzM5Ljk0OCAzODIuNTY5LDMzOS45NDggMzgyLjU2OSw1NjYuODYzIDQ2Ny41OTIsNTY2Ljg2MyANCgkJCTQ2Ny41OTIsMzM5Ljk0OCA4NTAuMTYsMzM5Ljk0OCA4NTAuMTYsMjI2LjYyNSA0NjcuNTkyLDIyNi42MjUgNDY3LjU5MiwwIAkJIi8+DQoJCTxwb2x5Z29uIGZpbGw9IiMyNTM0NkMiIHBvaW50cz0iNDk1Ljk0NiwwIDQ5NS45NDYsMTgzLjQ5NyA3NzEuMjAyLDAgCQkiLz4NCgkJPHBvbHlnb24gZmlsbD0iIzI1MzQ2QyIgcG9pbnRzPSI0OTUuOTQ2LDU2Ni44NjMgNzcxLjIwMiw1NjYuODYzIDQ5NS45NDYsMzgzLjM2OCAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjMjUzNDZDIiBwb2ludHM9Ijc4Ljk2LDU2Ni44NjMgMzU0LjIxNCw1NjYuODYzIDM1NC4yMTQsMzgzLjM2OCAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjMjUzNDZDIiBwb2ludHM9Ijc4Ljk2LDAgMzU0LjIxNCwxODMuNDk3IDM1NC4yMTQsMCAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjMjUzNDZDIiBwb2ludHM9IjAuMDAzLDE4OC45NSAyMDQuMzkyLDE4OC45NSAwLjAwMyw1Mi42OTkgCQkiLz4NCgkJPHBvbHlnb24gZmlsbD0iIzI1MzQ2QyIgcG9pbnRzPSI2NDUuNzY4LDE4OC45NSA4NTAuMTYsMTg4Ljk1IDg1MC4xNiw1Mi42OTkgCQkiLz4NCgkJPHBvbHlnb24gZmlsbD0iIzI1MzQ2QyIgcG9pbnRzPSI2NDUuNzY4LDM3Ny45MTMgODUwLjE2LDUxNC4xNzEgODUwLjE2LDM3Ny45MTMgCQkiLz4NCgkJPHBvbHlnb24gZmlsbD0iIzI1MzQ2QyIgcG9pbnRzPSIwLDM3Ny45MTMgMCw1MTQuMTcxIDIwNC4zOTIsMzc3LjkxMyAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjQ0YxNzJDIiBwb2ludHM9IjgwMi45MzgsMCA1MjAuMDA0LDE4OC45NSA1NjcuMjIzLDE4OC45NSA4NTAuNjA1LDAgCQkiLz4NCgkJPHBvbHlnb24gZmlsbD0iI0NGMTcyQyIgcG9pbnRzPSIzMzAuMTU2LDM3Ny45MDkgMjgyLjkzNywzNzcuOTA5IDAsNTY2Ljg1MiA0Ny4yMTksNTY2Ljg1MiAzMzAuNjAyLDM3Ny45MDkgCQkiLz4NCgkJPHBvbHlnb24gZmlsbD0iI0NGMTcyQyIgcG9pbnRzPSIwLDAgMCwzMS42OTIgMjM2LjA5MSwxODkuMDk4IDI4My4zMTEsMTg5LjA5OCAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjQ0YxNzJDIiBwb2ludHM9IjU2Ni42OTYsMzc3LjgzMiA4NTAuMDA4LDU2Ni45MjkgODUwLjAxLDUzNS4yMzkgNjEzLjkyLDM3Ny44MzIgCQkiLz4NCgk8L2c+DQo8L2c+DQo8L3N2Zz4NCg=="},Symbol.toStringTag,{value:"Module"}))},Symbol.toStringTag,{value:"Module"})),pf="",im={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(t){return R(t)},activeLanguage(t){return t.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async t=>{const n=t.iso2;this.imageSources.push(lm[n].default)})},immediate:!0,deep:!0}}},am={class:"cmd-switch-language"},sm=["href","title","onClick"],rm=["src","alt"],cm=["src","alt"];function dm(t,n,o,a,l,i){const c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",am,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.languages,(d,s)=>(e.openBlock(),e.createElementBlock("li",{key:s},[d.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:d.link.path,class:e.normalizeClass(["flag",d.iso2,{active:i.activeLanguage(d)}]),title:d.tooltip,onClick:r=>t.$emit("click",{originalEvent:r,language:d})},[e.createElementVNode("img",{src:l.imageSources[s],alt:d.name},null,8,rm)],10,sm)):(e.openBlock(),e.createBlock(c,{key:1,class:e.normalizeClass(["flag",d.iso2]),to:i.getRoute(d),title:d.tooltip,onClick:r=>t.$emit("click",{originalEvent:r,language:d})},{default:e.withCtx(()=>[e.createElementVNode("img",{src:l.imageSources[s],alt:d.name},null,8,cm)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const mm=b(im,[["render",dm]]),gf="",um={name:"CmdSystemMessage",mixins:[ee],data(){return{showSystemMessage:!0}},props:{validationStatus:{type:String,required:!0},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",tooltip:"Close this message"}}}},computed:{headlineIcon(){return this.iconMessage.show?{iconClass:this.iconMessage.iconClass,type:this.iconMessage.type}:null}},watch:{message(){this.showSystemMessage=!0}}},hm=["role","aria-labelledby"],fm=["title"];function pm(t,n,o,a,l,i){const c=I,d=M;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.showSystemMessage?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-system-message","system-message","flex-container","vertical",{"full-width":o.fullWidth},o.validationStatus]),role:o.validationStatus==="error"?"alert":"dialog","aria-labelledby":t.htmlId},[o.iconClose.show&&o.iconClose.iconClass?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(s=>l.showSystemMessage=!1,["prevent"])),title:o.iconClose.tooltip},[e.createVNode(c,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,fm)):e.createCommentVNode("",!0),e.createVNode(d,{class:"message-headline",headlineIcon:i.headlineIcon,headlineText:o.systemMessage,headlineLevel:o.messageHeadlineLevel,id:t.htmlId},null,8,["headlineIcon","headlineText","headlineLevel","id"]),e.renderSlot(t.$slots,"default")],10,hm)):e.createCommentVNode("",!0)]),_:3})}const lo=b(um,[["render",pm]]),yf="",gm={name:"CmdTable",data(){return{showTableData:!0,fullWidth:this.fullWidthOnDefault}},props:{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},iconExpand:{type:Object,default:function(){return{iconClass:"icon-single-arrow-down",tooltip:"Expand table"}}},iconCollapse:{type:Object,default:function(){return{iconClass:"icon-single-arrow-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-single-arrow-right",tooltip:"Stretch table"}}}},computed:{hasCaption(){var t,n;return this.hideCaption?!1:((t=this.tableData.caption)==null?void 0:t.text)||((n=this.caption)==null?void 0:n.text)},hideCaption(){var t,n,o;return((t=this.caption)==null?void 0:t.show)===!1||((n=this.caption)==null?void 0:n.show)!==!0&&!((o=this.tableData.caption)!=null&&o.show)}}},ym={key:0,class:"button-wrapper"},km=["title"],Cm=["title"],Bm={class:"inner-wrapper"},_m={"aria-expanded":"true"},bm={key:0,"aria-expanded":"true"};function wm(t,n,o,a,l,i){var d,s,r,m;const c=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-table-wrapper",{collapsed:!l.showTableData,"full-width":l.fullWidth,"has-caption":i.hasCaption}])},[o.collapsible||o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("div",ym,[o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("a",{key:0,class:"button",href:"#",onClick:n[0]||(n[0]=e.withModifiers(u=>l.fullWidth=!l.fullWidth,["prevent"])),title:o.iconToggleWidth.tooltip},[e.createVNode(c,{iconClass:o.iconToggleWidth.iconClass,type:o.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,km)):e.createCommentVNode("",!0),o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:1,class:"button",href:"#",onClick:n[1]||(n[1]=e.withModifiers(u=>l.showTableData=!l.showTableData,["prevent"])),title:l.showTableData?o.iconCollapse.tooltip:o.iconExpand.tooltip},[e.createVNode(c,{iconClass:l.showTableData?o.iconCollapse.iconClass:o.iconExpand.iconClass,type:l.showTableData?o.iconCollapse.iconType:o.iconExpand.iconType},null,8,["iconClass","type"])],8,Cm)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Bm,[e.createElementVNode("table",{class:e.normalizeClass({"full-width":l.fullWidth})},[((d=o.tableData.caption)==null?void 0:d.text)||((s=o.caption)==null?void 0:s.text)?(e.openBlock(),e.createElementBlock("caption",{key:0,class:e.normalizeClass({hidden:i.hideCaption})},e.toDisplayString(((r=o.caption)==null?void 0:r.text)||((m=o.tableData.caption)==null?void 0:m.text)),3)):e.createCommentVNode("",!0),e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.thead,(u,f)=>(e.openBlock(),e.createElementBlock("th",{key:f},e.toDisplayString(u),1))),128))])]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("tbody",_m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tbody,(u,f)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass({highlighted:o.tableData.rowIndexHighlighted===f}),key:f},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u,(h,y)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({highlighted:o.tableData.columnIndexHighlighted===y}),key:y},e.toDisplayString(h),3))),128))],2))),128))],512),[[e.vShow,l.showTableData]])]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[o.tableData.tfoot&&o.tableData.tfoot.length&&l.showTableData?(e.openBlock(),e.createElementBlock("tfoot",bm,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tfoot,(u,f)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({highlighted:o.tableData.columnIndexHighlighted===f}),key:f},e.toDisplayString(u),3))),128))])])):e.createCommentVNode("",!0)]),_:1})],2)])],2)}const Nm=b(gm,[["render",wm]]),Sm={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
|
3
3
|
c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
|
4
4
|
<path fill="currentColor" d="M2,12h6v18H2V12z"/>
|
5
|
-
<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},bf="";yt(Sm);const Im={name:"CmdTabs",data(){return{showTab:this.activeTab}},emits:["active-tab"],props:{cmdHeadline:{type:Object,required:!1},stretchTabs:{type:Boolean,default:!1},tabs:{type:Array,required:!0},useSlot:{type:Boolean,default:!1},activeTab:{type:Number,default:0}},methods:{setActiveTab(t){this.showTab=t,this.$emit("active-tab",t)}},watch:{activeTab(){this.showTab=this.activeTab}}},xm={class:"cmd-tabs"},Tm=["onClick","title"],Mm={key:1},Vm={key:1,"aria-live":"assertive"},Em=["innerHTML"];function Dm(t,n,o,a,l,i){const c=I,d=M;return e.openBlock(),e.createElementBlock("div",xm,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-tabs":o.stretchTabs}),role:"tablist"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tabs,(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,role:"tab"},[e.createElementVNode("a",{class:e.normalizeClass({active:l.showTab===r}),onClick:e.withModifiers(m=>i.setActiveTab(r),["prevent"]),title:s.name?void 0:s.tooltip,href:"#"},[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.name?(e.openBlock(),e.createElementBlock("span",Mm,e.toDisplayString(s.name),1)):e.createCommentVNode("",!0)],10,Tm)]))),128))],2),o.useSlot?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.tabs.length,s=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:s,"aria-live":"assertive"},[e.renderSlot(t.$slots,"tab-content-"+(s-1))])),[[e.vShow,l.showTab===s-1]])),128)):(e.openBlock(),e.createElementBlock("div",Vm,[o.cmdHeadline?(e.openBlock(),e.createBlock(d,e.mergeProps({key:0},o.cmdHeadline,{headlineText:o.tabs[l.showTab].headlineText,headlineLevel:o.tabs[l.showTab].headlineLevel}),null,16,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.createElementVNode("div",{innerHTML:o.tabs[l.showTab].htmlContent},null,8,Em)]))])}const Om=b(Im,[["render",Dm]]),Lm={name:"CmdTextBlock",data(){return{editableHtmlHeadline:"",editableText:"",editableHtmlContent:""}},props:{editContent:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1},textContent:{type:String,required:!1},htmlContent:{type:String,required:!0}}},jm={class:"cmd-text-block flex-container vertical"},Fm={key:3},Pm=["innerHTML"];function zm(t,n,o,a,l,i){const c=M;return e.openBlock(),e.createElementBlock("div",jm,[o.editContent?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,class:"edit-mode headline",type:"text","onUpdate:modelValue":n[0]||(n[0]=d=>l.editableHtmlHeadline=d)},null,512)),[[e.vModelText,l.editableHtmlHeadline]]):o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:1,headlineText:o.cmdHeadline.headlineText,headlineLevel:o.cmdHeadline.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),o.editContent?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:2,class:"edit-mode",type:"text","onUpdate:modelValue":n[1]||(n[1]=d=>l.editableText=d)},null,512)),[[e.vModelText,l.editableText]]):e.createCommentVNode("",!0),o.textContent?(e.openBlock(),e.createElementBlock("p",Fm,e.toDisplayString(o.textContent),1)):e.createCommentVNode("",!0),o.editContent?e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{key:4,class:"edit-mode","onUpdate:modelValue":n[2]||(n[2]=d=>l.editableHtmlContent=d)},null,512)),[[e.vModelText,l.editableHtmlContent]]):o.htmlContent?(e.openBlock(),e.createElementBlock("div",{key:5,innerHTML:o.htmlContent},null,8,Pm)):e.createCommentVNode("",!0)])}const Am=b(Lm,[["render",zm]]),wf="",Hm={name:"ToggleDarkMode",data(){return{darkMode:!1}},props:{styledAsButton:{type:Boolean,default:!1},iconDarkMode:{default(){return{iconClass:"icon-moon",iconType:"auto"}}},iconLightMode:{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 t=window.matchMedia("(prefers-color-scheme: dark)");t.addEventListener("change",this.onColorSchemeChange),this.onColorSchemeChange(t);const n=window.localStorage.getItem("cmd-color-scheme");n&&(this.darkMode=n==="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(t){this.darkMode=t.matches,document.documentElement.classList.add(this.darkMode?"dark-mode":"light-mode")},setColorScheme(){window.localStorage.setItem("cmd-color-scheme",this.darkMode?"dark-mode":"light-mode")},onToggleColorScheme(t){this.darkMode=t.detail==="dark-mode"},toggleColorScheme(){this.darkMode=!this.darkMode,this.setColorScheme()}},computed:{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 t=document.documentElement;this.darkMode?t.classList.replace("light-mode","dark-mode"):t.classList.replace("dark-mode","light-mode"),t.dispatchEvent(new CustomEvent("toggle-color-scheme",{detail:this.darkMode?"dark-mode":"light-mode"}))},immediate:!0}}},qm={key:0};function Rm(t,n,o,a,l,i){const c=I,d=U;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-toggle-dark-mode",{"styled-layout":o.useStyledLayout,"dark-mode":l.darkMode}])},[o.styledAsButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button",{"dark-mode":l.darkMode}]),onClick:n[0]||(n[0]=e.withModifiers((...s)=>i.toggleColorScheme&&i.toggleColorScheme(...s),["prevent"]))},[o.showLabel?(e.openBlock(),e.createElementBlock("span",qm,e.toDisplayString(i.labelText),1)):e.createCommentVNode("",!0),e.createVNode(c,{iconClass:i.iconClass,type:i.iconType,tooltip:o.showLabel?"":i.labelText},null,8,["iconClass","type","tooltip"])],2)):(e.openBlock(),e.createBlock(d,{key:1,element:"input",type:"checkbox",labelText:i.labelText,showLabel:o.showLabel,modelValue:l.darkMode,"onUpdate:modelValue":[n[1]||(n[1]=s=>l.darkMode=s),i.setColorScheme],"toggle-switch":!0,title:o.showLabel?"":i.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"]))],2)}const Um=b(Hm,[["render",Rm]]),Gm={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 te(t){if(t){const n=t.lastIndexOf(".");if(n>-1)return t.substring(n+1)}return""}function Qm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var io={exports:{}},qe={exports:{}},ao=function(n,o){return function(){for(var l=new Array(arguments.length),i=0;i<l.length;i++)l[i]=arguments[i];return n.apply(o,l)}},Wm=ao,G=Object.prototype.toString;function Re(t){return G.call(t)==="[object Array]"}function Ue(t){return typeof t>"u"}function Zm(t){return t!==null&&!Ue(t)&&t.constructor!==null&&!Ue(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Jm(t){return G.call(t)==="[object ArrayBuffer]"}function Ym(t){return typeof FormData<"u"&&t instanceof FormData}function Km(t){var n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&t.buffer instanceof ArrayBuffer,n}function Xm(t){return typeof t=="string"}function $m(t){return typeof t=="number"}function so(t){return t!==null&&typeof t=="object"}function fe(t){if(G.call(t)!=="[object Object]")return!1;var n=Object.getPrototypeOf(t);return n===null||n===Object.prototype}function vm(t){return G.call(t)==="[object Date]"}function eu(t){return G.call(t)==="[object File]"}function tu(t){return G.call(t)==="[object Blob]"}function ro(t){return G.call(t)==="[object Function]"}function ou(t){return so(t)&&ro(t.pipe)}function nu(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function lu(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function iu(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ge(t,n){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),Re(t))for(var o=0,a=t.length;o<a;o++)n.call(null,t[o],o,t);else for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&n.call(null,t[l],l,t)}function Qe(){var t={};function n(l,i){fe(t[i])&&fe(l)?t[i]=Qe(t[i],l):fe(l)?t[i]=Qe({},l):Re(l)?t[i]=l.slice():t[i]=l}for(var o=0,a=arguments.length;o<a;o++)Ge(arguments[o],n);return t}function au(t,n,o){return Ge(n,function(l,i){o&&typeof l=="function"?t[i]=Wm(l,o):t[i]=l}),t}function su(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var O={isArray:Re,isArrayBuffer:Jm,isBuffer:Zm,isFormData:Ym,isArrayBufferView:Km,isString:Xm,isNumber:$m,isObject:so,isPlainObject:fe,isUndefined:Ue,isDate:vm,isFile:eu,isBlob:tu,isFunction:ro,isStream:ou,isURLSearchParams:nu,isStandardBrowserEnv:iu,forEach:Ge,merge:Qe,extend:au,trim:lu,stripBOM:su},Z=O;function co(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var mo=function(n,o,a){if(!o)return n;var l;if(a)l=a(o);else if(Z.isURLSearchParams(o))l=o.toString();else{var i=[];Z.forEach(o,function(s,r){s===null||typeof s>"u"||(Z.isArray(s)?r=r+"[]":s=[s],Z.forEach(s,function(u){Z.isDate(u)?u=u.toISOString():Z.isObject(u)&&(u=JSON.stringify(u)),i.push(co(r)+"="+co(u))}))}),l=i.join("&")}if(l){var c=n.indexOf("#");c!==-1&&(n=n.slice(0,c)),n+=(n.indexOf("?")===-1?"?":"&")+l}return n},ru=O;function pe(){this.handlers=[]}pe.prototype.use=function(n,o,a){return this.handlers.push({fulfilled:n,rejected:o,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1},pe.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},pe.prototype.forEach=function(n){ru.forEach(this.handlers,function(a){a!==null&&n(a)})};var cu=pe,du=O,mu=function(n,o){du.forEach(n,function(l,i){i!==o&&i.toUpperCase()===o.toUpperCase()&&(n[o]=l,delete n[i])})},uo=function(n,o,a,l,i){return n.config=o,a&&(n.code=a),n.request=l,n.response=i,n.isAxiosError=!0,n.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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},n},We,ho;function fo(){if(ho)return We;ho=1;var t=uo;return We=function(o,a,l,i,c){var d=new Error(o);return t(d,a,l,i,c)},We}var Ze,po;function uu(){if(po)return Ze;po=1;var t=fo();return Ze=function(o,a,l){var i=l.config.validateStatus;!l.status||!i||i(l.status)?o(l):a(t("Request failed with status code "+l.status,l.config,null,l.request,l))},Ze}var Je,go;function hu(){if(go)return Je;go=1;var t=O;return Je=t.isStandardBrowserEnv()?function(){return{write:function(a,l,i,c,d,s){var r=[];r.push(a+"="+encodeURIComponent(l)),t.isNumber(i)&&r.push("expires="+new Date(i).toGMTString()),t.isString(c)&&r.push("path="+c),t.isString(d)&&r.push("domain="+d),s===!0&&r.push("secure"),document.cookie=r.join("; ")},read:function(a){var l=document.cookie.match(new RegExp("(^|;\\s*)("+a+")=([^;]*)"));return l?decodeURIComponent(l[3]):null},remove:function(a){this.write(a,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Je}var Ye,yo;function fu(){return yo||(yo=1,Ye=function(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}),Ye}var Ke,ko;function pu(){return ko||(ko=1,Ke=function(n,o){return o?n.replace(/\/+$/,"")+"/"+o.replace(/^\/+/,""):n}),Ke}var Xe,Co;function gu(){if(Co)return Xe;Co=1;var t=fu(),n=pu();return Xe=function(a,l){return a&&!t(l)?n(a,l):l},Xe}var $e,Bo;function yu(){if(Bo)return $e;Bo=1;var t=O,n=["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"];return $e=function(a){var l={},i,c,d;return a&&t.forEach(a.split(`
|
5
|
+
<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},bf="";yt(Sm);const Im={name:"CmdTabs",data(){return{showTab:this.activeTab}},emits:["active-tab"],props:{cmdHeadline:{type:Object,required:!1},stretchTabs:{type:Boolean,default:!1},tabs:{type:Array,required:!0},useSlot:{type:Boolean,default:!1},activeTab:{type:Number,default:0}},methods:{setActiveTab(t){this.showTab=t,this.$emit("active-tab",t)}},watch:{activeTab(){this.showTab=this.activeTab}}},xm={class:"cmd-tabs"},Tm=["onClick","title"],Mm={key:1},Vm={key:1,"aria-live":"assertive"},Em=["innerHTML"];function Dm(t,n,o,a,l,i){const c=I,d=M;return e.openBlock(),e.createElementBlock("div",xm,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-tabs":o.stretchTabs}),role:"tablist"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tabs,(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,role:"tab"},[e.createElementVNode("a",{class:e.normalizeClass({active:l.showTab===r}),onClick:e.withModifiers(m=>i.setActiveTab(r),["prevent"]),title:s.name?void 0:s.tooltip,href:"#"},[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.name?(e.openBlock(),e.createElementBlock("span",Mm,e.toDisplayString(s.name),1)):e.createCommentVNode("",!0)],10,Tm)]))),128))],2),o.useSlot?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.tabs.length,s=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:s,"aria-live":"assertive"},[e.renderSlot(t.$slots,"tab-content-"+(s-1))])),[[e.vShow,l.showTab===s-1]])),128)):(e.openBlock(),e.createElementBlock("div",Vm,[o.cmdHeadline?(e.openBlock(),e.createBlock(d,e.mergeProps({key:0},o.cmdHeadline,{headlineText:o.tabs[l.showTab].headlineText,headlineLevel:o.tabs[l.showTab].headlineLevel}),null,16,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.createElementVNode("div",{innerHTML:o.tabs[l.showTab].htmlContent},null,8,Em)]))])}const Om=b(Im,[["render",Dm]]),Lm={name:"CmdTextBlock",data(){return{editableHtmlHeadline:"",editableText:"",editableHtmlContent:""}},props:{editContent:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1},textContent:{type:String,required:!1},htmlContent:{type:String,required:!0}}},jm={class:"cmd-text-block flex-container vertical"},Fm={key:3},Pm=["innerHTML"];function zm(t,n,o,a,l,i){const c=M;return e.openBlock(),e.createElementBlock("div",jm,[o.editContent?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,class:"edit-mode headline",type:"text","onUpdate:modelValue":n[0]||(n[0]=d=>l.editableHtmlHeadline=d)},null,512)),[[e.vModelText,l.editableHtmlHeadline]]):o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:1,headlineText:o.cmdHeadline.headlineText,headlineLevel:o.cmdHeadline.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),o.editContent?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:2,class:"edit-mode",type:"text","onUpdate:modelValue":n[1]||(n[1]=d=>l.editableText=d)},null,512)),[[e.vModelText,l.editableText]]):e.createCommentVNode("",!0),o.textContent?(e.openBlock(),e.createElementBlock("p",Fm,e.toDisplayString(o.textContent),1)):e.createCommentVNode("",!0),o.editContent?e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{key:4,class:"edit-mode","onUpdate:modelValue":n[2]||(n[2]=d=>l.editableHtmlContent=d)},null,512)),[[e.vModelText,l.editableHtmlContent]]):o.htmlContent?(e.openBlock(),e.createElementBlock("div",{key:5,innerHTML:o.htmlContent},null,8,Pm)):e.createCommentVNode("",!0)])}const Am=b(Lm,[["render",zm]]),wf="",Hm={name:"ToggleDarkMode",data(){return{darkMode:!1}},props:{styledAsButton:{type:Boolean,default:!1},iconDarkMode:{default(){return{iconClass:"icon-moon",iconType:"auto"}}},iconLightMode:{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 t=window.matchMedia("(prefers-color-scheme: dark)");t.addEventListener("change",this.onColorSchemeChange),this.onColorSchemeChange(t),this.$nextTick(()=>{const n=window.localStorage.getItem("cmd-color-scheme");n&&(this.darkMode=n==="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(t){this.darkMode=t.matches,document.documentElement.classList.add(this.darkMode?"dark-mode":"light-mode")},setColorScheme(){window.localStorage.setItem("cmd-color-scheme",this.darkMode?"dark-mode":"light-mode")},onToggleColorScheme(t){this.darkMode=t.detail==="dark-mode"},toggleColorScheme(){this.darkMode=!this.darkMode,this.setColorScheme()}},computed:{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 t=document.documentElement;this.darkMode?t.classList.replace("light-mode","dark-mode"):t.classList.replace("dark-mode","light-mode"),t.dispatchEvent(new CustomEvent("toggle-color-scheme",{detail:this.darkMode?"dark-mode":"light-mode"}))},immediate:!0}}},qm={key:0};function Rm(t,n,o,a,l,i){const c=I,d=U;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-toggle-dark-mode",{"styled-layout":o.useStyledLayout,"dark-mode":l.darkMode}])},[o.styledAsButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button",{"dark-mode":l.darkMode}]),onClick:n[0]||(n[0]=e.withModifiers((...s)=>i.toggleColorScheme&&i.toggleColorScheme(...s),["prevent"]))},[o.showLabel?(e.openBlock(),e.createElementBlock("span",qm,e.toDisplayString(i.labelText),1)):e.createCommentVNode("",!0),e.createVNode(c,{iconClass:i.iconClass,type:i.iconType,tooltip:o.showLabel?"":i.labelText},null,8,["iconClass","type","tooltip"])],2)):(e.openBlock(),e.createBlock(d,{key:1,element:"input",type:"checkbox",labelText:i.labelText,showLabel:o.showLabel,modelValue:l.darkMode,"onUpdate:modelValue":[n[1]||(n[1]=s=>l.darkMode=s),i.setColorScheme],"toggle-switch":!0,title:o.showLabel?"":i.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"]))],2)}const Um=b(Hm,[["render",Rm]]),Gm={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 te(t){if(t){const n=t.lastIndexOf(".");if(n>-1)return t.substring(n+1)}return""}function Qm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var io={exports:{}},qe={exports:{}},ao=function(n,o){return function(){for(var l=new Array(arguments.length),i=0;i<l.length;i++)l[i]=arguments[i];return n.apply(o,l)}},Wm=ao,G=Object.prototype.toString;function Re(t){return G.call(t)==="[object Array]"}function Ue(t){return typeof t>"u"}function Zm(t){return t!==null&&!Ue(t)&&t.constructor!==null&&!Ue(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Jm(t){return G.call(t)==="[object ArrayBuffer]"}function Ym(t){return typeof FormData<"u"&&t instanceof FormData}function Km(t){var n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&t.buffer instanceof ArrayBuffer,n}function Xm(t){return typeof t=="string"}function $m(t){return typeof t=="number"}function so(t){return t!==null&&typeof t=="object"}function fe(t){if(G.call(t)!=="[object Object]")return!1;var n=Object.getPrototypeOf(t);return n===null||n===Object.prototype}function vm(t){return G.call(t)==="[object Date]"}function eu(t){return G.call(t)==="[object File]"}function tu(t){return G.call(t)==="[object Blob]"}function ro(t){return G.call(t)==="[object Function]"}function ou(t){return so(t)&&ro(t.pipe)}function nu(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function lu(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function iu(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ge(t,n){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),Re(t))for(var o=0,a=t.length;o<a;o++)n.call(null,t[o],o,t);else for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&n.call(null,t[l],l,t)}function Qe(){var t={};function n(l,i){fe(t[i])&&fe(l)?t[i]=Qe(t[i],l):fe(l)?t[i]=Qe({},l):Re(l)?t[i]=l.slice():t[i]=l}for(var o=0,a=arguments.length;o<a;o++)Ge(arguments[o],n);return t}function au(t,n,o){return Ge(n,function(l,i){o&&typeof l=="function"?t[i]=Wm(l,o):t[i]=l}),t}function su(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var O={isArray:Re,isArrayBuffer:Jm,isBuffer:Zm,isFormData:Ym,isArrayBufferView:Km,isString:Xm,isNumber:$m,isObject:so,isPlainObject:fe,isUndefined:Ue,isDate:vm,isFile:eu,isBlob:tu,isFunction:ro,isStream:ou,isURLSearchParams:nu,isStandardBrowserEnv:iu,forEach:Ge,merge:Qe,extend:au,trim:lu,stripBOM:su},Z=O;function co(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var mo=function(n,o,a){if(!o)return n;var l;if(a)l=a(o);else if(Z.isURLSearchParams(o))l=o.toString();else{var i=[];Z.forEach(o,function(s,r){s===null||typeof s>"u"||(Z.isArray(s)?r=r+"[]":s=[s],Z.forEach(s,function(u){Z.isDate(u)?u=u.toISOString():Z.isObject(u)&&(u=JSON.stringify(u)),i.push(co(r)+"="+co(u))}))}),l=i.join("&")}if(l){var c=n.indexOf("#");c!==-1&&(n=n.slice(0,c)),n+=(n.indexOf("?")===-1?"?":"&")+l}return n},ru=O;function pe(){this.handlers=[]}pe.prototype.use=function(n,o,a){return this.handlers.push({fulfilled:n,rejected:o,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1},pe.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},pe.prototype.forEach=function(n){ru.forEach(this.handlers,function(a){a!==null&&n(a)})};var cu=pe,du=O,mu=function(n,o){du.forEach(n,function(l,i){i!==o&&i.toUpperCase()===o.toUpperCase()&&(n[o]=l,delete n[i])})},uo=function(n,o,a,l,i){return n.config=o,a&&(n.code=a),n.request=l,n.response=i,n.isAxiosError=!0,n.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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},n},We,ho;function fo(){if(ho)return We;ho=1;var t=uo;return We=function(o,a,l,i,c){var d=new Error(o);return t(d,a,l,i,c)},We}var Ze,po;function uu(){if(po)return Ze;po=1;var t=fo();return Ze=function(o,a,l){var i=l.config.validateStatus;!l.status||!i||i(l.status)?o(l):a(t("Request failed with status code "+l.status,l.config,null,l.request,l))},Ze}var Je,go;function hu(){if(go)return Je;go=1;var t=O;return Je=t.isStandardBrowserEnv()?function(){return{write:function(a,l,i,c,d,s){var r=[];r.push(a+"="+encodeURIComponent(l)),t.isNumber(i)&&r.push("expires="+new Date(i).toGMTString()),t.isString(c)&&r.push("path="+c),t.isString(d)&&r.push("domain="+d),s===!0&&r.push("secure"),document.cookie=r.join("; ")},read:function(a){var l=document.cookie.match(new RegExp("(^|;\\s*)("+a+")=([^;]*)"));return l?decodeURIComponent(l[3]):null},remove:function(a){this.write(a,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Je}var Ye,yo;function fu(){return yo||(yo=1,Ye=function(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}),Ye}var Ke,ko;function pu(){return ko||(ko=1,Ke=function(n,o){return o?n.replace(/\/+$/,"")+"/"+o.replace(/^\/+/,""):n}),Ke}var Xe,Co;function gu(){if(Co)return Xe;Co=1;var t=fu(),n=pu();return Xe=function(a,l){return a&&!t(l)?n(a,l):l},Xe}var $e,Bo;function yu(){if(Bo)return $e;Bo=1;var t=O,n=["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"];return $e=function(a){var l={},i,c,d;return a&&t.forEach(a.split(`
|
6
6
|
`),function(r){if(d=r.indexOf(":"),i=t.trim(r.substr(0,d)).toLowerCase(),c=t.trim(r.substr(d+1)),i){if(l[i]&&n.indexOf(i)>=0)return;i==="set-cookie"?l[i]=(l[i]?l[i]:[]).concat([c]):l[i]=l[i]?l[i]+", "+c:c}}),l},$e}var ve,_o;function ku(){if(_o)return ve;_o=1;var t=O;return ve=t.isStandardBrowserEnv()?function(){var o=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a"),l;function i(c){var d=c;return o&&(a.setAttribute("href",d),d=a.href),a.setAttribute("href",d),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return l=i(window.location.href),function(d){var s=t.isString(d)?i(d):d;return s.protocol===l.protocol&&s.host===l.host}}():function(){return function(){return!0}}(),ve}var et,bo;function ge(){if(bo)return et;bo=1;function t(n){this.message=n}return t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,et=t,et}var tt,wo;function No(){if(wo)return tt;wo=1;var t=O,n=uu(),o=hu(),a=mo,l=gu(),i=yu(),c=ku(),d=fo(),s=ye(),r=ge();return tt=function(u){return new Promise(function(h,y){var p=u.data,k=u.headers,B=u.responseType,N;function V(){u.cancelToken&&u.cancelToken.unsubscribe(N),u.signal&&u.signal.removeEventListener("abort",N)}t.isFormData(p)&&delete k["Content-Type"];var g=new XMLHttpRequest;if(u.auth){var x=u.auth.username||"",w=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";k.Authorization="Basic "+btoa(x+":"+w)}var S=l(u.baseURL,u.url);g.open(u.method.toUpperCase(),a(S,u.params,u.paramsSerializer),!0),g.timeout=u.timeout;function E(){if(!!g){var T="getAllResponseHeaders"in g?i(g.getAllResponseHeaders()):null,P=!B||B==="text"||B==="json"?g.responseText:g.response,j={data:P,status:g.status,statusText:g.statusText,headers:T,config:u,request:g};n(function(A){h(A),V()},function(A){y(A),V()},j),g=null}}if("onloadend"in g?g.onloadend=E:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(E)},g.onabort=function(){!g||(y(d("Request aborted",u,"ECONNABORTED",g)),g=null)},g.onerror=function(){y(d("Network Error",u,null,g)),g=null},g.ontimeout=function(){var P=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",j=u.transitional||s.transitional;u.timeoutErrorMessage&&(P=u.timeoutErrorMessage),y(d(P,u,j.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},t.isStandardBrowserEnv()){var D=(u.withCredentials||c(S))&&u.xsrfCookieName?o.read(u.xsrfCookieName):void 0;D&&(k[u.xsrfHeaderName]=D)}"setRequestHeader"in g&&t.forEach(k,function(P,j){typeof p>"u"&&j.toLowerCase()==="content-type"?delete k[j]:g.setRequestHeader(j,P)}),t.isUndefined(u.withCredentials)||(g.withCredentials=!!u.withCredentials),B&&B!=="json"&&(g.responseType=u.responseType),typeof u.onDownloadProgress=="function"&&g.addEventListener("progress",u.onDownloadProgress),typeof u.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",u.onUploadProgress),(u.cancelToken||u.signal)&&(N=function(T){!g||(y(!T||T&&T.type?new r("canceled"):T),g.abort(),g=null)},u.cancelToken&&u.cancelToken.subscribe(N),u.signal&&(u.signal.aborted?N():u.signal.addEventListener("abort",N))),p||(p=null),g.send(p)})},tt}var ot,So;function ye(){if(So)return ot;So=1;var t=O,n=mu,o=uo,a={"Content-Type":"application/x-www-form-urlencoded"};function l(s,r){!t.isUndefined(s)&&t.isUndefined(s["Content-Type"])&&(s["Content-Type"]=r)}function i(){var s;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(s=No()),s}function c(s,r,m){if(t.isString(s))try{return(r||JSON.parse)(s),t.trim(s)}catch(u){if(u.name!=="SyntaxError")throw u}return(m||JSON.stringify)(s)}var d={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:i(),transformRequest:[function(r,m){return n(m,"Accept"),n(m,"Content-Type"),t.isFormData(r)||t.isArrayBuffer(r)||t.isBuffer(r)||t.isStream(r)||t.isFile(r)||t.isBlob(r)?r:t.isArrayBufferView(r)?r.buffer:t.isURLSearchParams(r)?(l(m,"application/x-www-form-urlencoded;charset=utf-8"),r.toString()):t.isObject(r)||m&&m["Content-Type"]==="application/json"?(l(m,"application/json"),c(r)):r}],transformResponse:[function(r){var m=this.transitional||d.transitional,u=m&&m.silentJSONParsing,f=m&&m.forcedJSONParsing,h=!u&&this.responseType==="json";if(h||f&&t.isString(r)&&r.length)try{return JSON.parse(r)}catch(y){if(h)throw y.name==="SyntaxError"?o(y,this,"E_JSON_PARSE"):y}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return t.forEach(["delete","get","head"],function(r){d.headers[r]={}}),t.forEach(["post","put","patch"],function(r){d.headers[r]=t.merge(a)}),ot=d,ot}var Cu=O,Bu=ye(),_u=function(n,o,a){var l=this||Bu;return Cu.forEach(a,function(c){n=c.call(l,n,o)}),n},nt,Io;function xo(){return Io||(Io=1,nt=function(n){return!!(n&&n.__CANCEL__)}),nt}var To=O,lt=_u,bu=xo(),wu=ye(),Nu=ge();function it(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Nu("canceled")}var Su=function(n){it(n),n.headers=n.headers||{},n.data=lt.call(n,n.data,n.headers,n.transformRequest),n.headers=To.merge(n.headers.common||{},n.headers[n.method]||{},n.headers),To.forEach(["delete","get","head","post","put","patch","common"],function(l){delete n.headers[l]});var o=n.adapter||wu.adapter;return o(n).then(function(l){return it(n),l.data=lt.call(n,l.data,l.headers,n.transformResponse),l},function(l){return bu(l)||(it(n),l&&l.response&&(l.response.data=lt.call(n,l.response.data,l.response.headers,n.transformResponse))),Promise.reject(l)})},L=O,Mo=function(n,o){o=o||{};var a={};function l(m,u){return L.isPlainObject(m)&&L.isPlainObject(u)?L.merge(m,u):L.isPlainObject(u)?L.merge({},u):L.isArray(u)?u.slice():u}function i(m){if(L.isUndefined(o[m])){if(!L.isUndefined(n[m]))return l(void 0,n[m])}else return l(n[m],o[m])}function c(m){if(!L.isUndefined(o[m]))return l(void 0,o[m])}function d(m){if(L.isUndefined(o[m])){if(!L.isUndefined(n[m]))return l(void 0,n[m])}else return l(void 0,o[m])}function s(m){if(m in o)return l(n[m],o[m]);if(m in n)return l(void 0,n[m])}var r={url:c,method:c,data:c,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:s};return L.forEach(Object.keys(n).concat(Object.keys(o)),function(u){var f=r[u]||i,h=f(u);L.isUndefined(h)&&f!==s||(a[u]=h)}),a},at,Vo;function Eo(){return Vo||(Vo=1,at={version:"0.24.0"}),at}var Iu=Eo().version,st={};["object","boolean","number","function","string","symbol"].forEach(function(t,n){st[t]=function(a){return typeof a===t||"a"+(n<1?"n ":" ")+t}});var Do={};st.transitional=function(n,o,a){function l(i,c){return"[Axios v"+Iu+"] Transitional option '"+i+"'"+c+(a?". "+a:"")}return function(i,c,d){if(n===!1)throw new Error(l(c," has been removed"+(o?" in "+o:"")));return o&&!Do[c]&&(Do[c]=!0,console.warn(l(c," has been deprecated since v"+o+" and will be removed in the near future"))),n?n(i,c,d):!0}};function xu(t,n,o){if(typeof t!="object")throw new TypeError("options must be an object");for(var a=Object.keys(t),l=a.length;l-- >0;){var i=a[l],c=n[i];if(c){var d=t[i],s=d===void 0||c(d,i,t);if(s!==!0)throw new TypeError("option "+i+" must be "+s);continue}if(o!==!0)throw Error("Unknown option "+i)}}var Tu={assertOptions:xu,validators:st},Oo=O,Mu=mo,Lo=cu,jo=Su,ke=Mo,Fo=Tu,J=Fo.validators;function oe(t){this.defaults=t,this.interceptors={request:new Lo,response:new Lo}}oe.prototype.request=function(n){typeof n=="string"?(n=arguments[1]||{},n.url=arguments[0]):n=n||{},n=ke(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var o=n.transitional;o!==void 0&&Fo.assertOptions(o,{silentJSONParsing:J.transitional(J.boolean),forcedJSONParsing:J.transitional(J.boolean),clarifyTimeoutError:J.transitional(J.boolean)},!1);var a=[],l=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(n)===!1||(l=l&&f.synchronous,a.unshift(f.fulfilled,f.rejected))});var i=[];this.interceptors.response.forEach(function(f){i.push(f.fulfilled,f.rejected)});var c;if(!l){var d=[jo,void 0];for(Array.prototype.unshift.apply(d,a),d=d.concat(i),c=Promise.resolve(n);d.length;)c=c.then(d.shift(),d.shift());return c}for(var s=n;a.length;){var r=a.shift(),m=a.shift();try{s=r(s)}catch(u){m(u);break}}try{c=jo(s)}catch(u){return Promise.reject(u)}for(;i.length;)c=c.then(i.shift(),i.shift());return c},oe.prototype.getUri=function(n){return n=ke(this.defaults,n),Mu(n.url,n.params,n.paramsSerializer).replace(/^\?/,"")},Oo.forEach(["delete","get","head","options"],function(n){oe.prototype[n]=function(o,a){return this.request(ke(a||{},{method:n,url:o,data:(a||{}).data}))}}),Oo.forEach(["post","put","patch"],function(n){oe.prototype[n]=function(o,a,l){return this.request(ke(l||{},{method:n,url:o,data:a}))}});var Vu=oe,rt,Po;function Eu(){if(Po)return rt;Po=1;var t=ge();function n(o){if(typeof o!="function")throw new TypeError("executor must be a function.");var a;this.promise=new Promise(function(c){a=c});var l=this;this.promise.then(function(i){if(!!l._listeners){var c,d=l._listeners.length;for(c=0;c<d;c++)l._listeners[c](i);l._listeners=null}}),this.promise.then=function(i){var c,d=new Promise(function(s){l.subscribe(s),c=s}).then(i);return d.cancel=function(){l.unsubscribe(c)},d},o(function(c){l.reason||(l.reason=new t(c),a(l.reason))})}return n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]},n.prototype.unsubscribe=function(a){if(!!this._listeners){var l=this._listeners.indexOf(a);l!==-1&&this._listeners.splice(l,1)}},n.source=function(){var a,l=new n(function(c){a=c});return{token:l,cancel:a}},rt=n,rt}var ct,zo;function Du(){return zo||(zo=1,ct=function(n){return function(a){return n.apply(null,a)}}),ct}var dt,Ao;function Ou(){return Ao||(Ao=1,dt=function(n){return typeof n=="object"&&n.isAxiosError===!0}),dt}var Ho=O,Lu=ao,Ce=Vu,ju=Mo,Fu=ye();function qo(t){var n=new Ce(t),o=Lu(Ce.prototype.request,n);return Ho.extend(o,Ce.prototype,n),Ho.extend(o,n),o.create=function(l){return qo(ju(t,l))},o}var z=qo(Fu);z.Axios=Ce,z.Cancel=ge(),z.CancelToken=Eu(),z.isCancel=xo(),z.VERSION=Eo().version,z.all=function(n){return Promise.all(n)},z.spread=Du(),z.isAxiosError=Ou(),qe.exports=z,qe.exports.default=z,function(t){t.exports=qe.exports}(io);const Pu=Qm(io.exports),Nf="",zu={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[F,Gm],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:{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},deleteIcon:{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},showLegend:{type:Boolean,default:!0},textLegend:{type:String,required:!1}},computed:{fileTypeImage(){return this.allowedFileExtensions.some(t=>t.includes("jpg"))},failedUpload(){return this.listOfFiles.some(t=>t.error)},totalBytesUploaded(){const t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return this.formatSize(t[1])+"/"+this.formatSize(t[0])},totalSize(){let t=0;for(let n=0;n<this.listOfFiles.length;n++)t=t+this.listOfFiles[n].file.size;return t},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 t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return t[1]/t[0]*100}},watch:{presetComment:{handler(t){this.comment=t},immediate:!0}},methods:{getPercentage(t){return t?t.toFixed(2)+"%":"0.00%"},getFileExtension(t){return te(t)},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},dragEnter(t){this.dragOver(t)},dragOver(t){if(t.dataTransfer&&t.dataTransfer.items&&t.dataTransfer.items.length>0){t.dataTransfer.dropEffect="none";let n=!0;for(let o=0,a=t.dataTransfer.items.length;o<a;++o)if(t.dataTransfer.items[o].kind!=="file"){n=!1;break}n&&(t.preventDefault(),t.dataTransfer.dropEffect="copy",this.allowDrop=!0)}},dragLeave(){this.allowDrop=!1},drop(t){this.allowDrop=!1,t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length>0&&(t.preventDefault(),this.checkFiles(t.dataTransfer.files))},cancelUpload(){this.listOfFiles.forEach(t=>{t.abortController&&t.abortController.abort()}),this.errors={},this.listOfFiles=[],this.hideAllSystemMessages(),this.uploadInitiated=!1},cancel(){this.cancelUpload(),this.$emit("click","cancel")},filesSelected(t){this.checkFiles(t.target.files)},checkFiles(t){if(!!t.length){this.defaultSystemMessageStatus="",this.systemMessages=[],this.errors={};for(let n=0;n<t.length;n++){const o={file:t[n],progress:null,uploadedBytes:0};if(t[n].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.file_size_too_large",t[n].name,t[n].size));continue}if(!this.allowedFileExtensions.includes(te(t[n].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.not_allowed_file_type",t[n].name,te(t[n].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(a=>this.compareFiles(a.file,t[n]))){this.systemMessages.push(this.getMessage("cmduploadform.system_message.duplicate_file",t[n].name,te(t[n].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(o);else{t.length>1&&this.systemMessages.push(this.getMessage("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[o];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(t,n){return t.name===n.name&&t.lastModified===n.lastModified&&t.size===n.size},removeFile(t){this.listOfFiles.splice(t,1),this.listOfFiles.length||(this.uploadInitiated=!1),this.hideAllSystemMessages()},hideAllSystemMessages(){this.listOfFiles.length||(this.systemMessages=[])},formatSize(t){return t<1024?t:t<1048576?t=Math.round(t/1024*100)/100+" KB":t=Math.round(t/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 t=new URL(this.uploadOptions.url,location.href),n=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([a,l])=>n.append(a,l)),this.enableComment&&n.append("comment",this.comment);const o=[];this.listOfFiles.forEach(a=>{o.push(this.uploadSingleFile(t,a,n))}),Promise.allSettled(o).then(a=>{const l=a.filter(i=>i.status==="rejected");this.uploadInitiated=!1,l.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:!l.length})})}else{let t={};t.listOfFiles=this.listOfFiles,t.type="upload",t.comment=this.comment,this.$emit("click",t,this.showMessage)}},onUploadProgress(t,n){t.lengthComputable?(n.progress=t.loaded/t.total*100,n.uploadedBytes=t.loaded):(n.progress=null,n.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(t,n,o){return n.abortController=new AbortController,o.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",n.file),Pu.post(t,o,{signal:n.abortController.signal,onUploadProgress:a=>this.onUploadProgress(a,n)}).then(a=>(this.$emit("upload-file-success",n),a)).then(a=>{const l=this.listOfFiles.indexOf(n);return l!==-1&&this.listOfFiles.splice(l,1),a}).catch(a=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(a),n.error=!0,new Error})},showMessage(t){t===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_success"))):t===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const t=Object.keys(this.resetForm);for(let n of t)typeof this.resetForm[n]=="object"?this[n]=JSON.parse(JSON.stringify(this.resetForm[n])):this[n]=this.resetForm[n]}}}},Au={key:0},Hu={key:1,class:"flex-container vertical"},qu={key:0,class:"flex-container vertical list-files-wrapper"},Ru={key:0,class:"list-of-files total-files"},Uu={class:"flex-container no-flex"},Gu=["title"],Qu={key:0,class:"progressbar"},Wu=["value","title"],Zu=e.createElementVNode("hr",null,null,-1),Ju={class:"flex-container vertical list-files-wrapper"},Yu={class:"list-of-files"},Ku=["title","onClick"],Xu={key:0,class:"progressbar"},$u=["value","title"],vu=["title"],eh=e.createElementVNode("hr",null,null,-1),th={class:"small"},oh=["title"],nh={key:0,class:"list-of-file-extensions"},lh=["disabled"],ih={key:0},ah={key:1},sh={class:"button-wrapper no-flex"},rh=["disabled"],ch={key:0},dh={key:1},mh={key:0,class:"progressbar"},uh=["value","title"];function hh(t,n,o,a,l,i){const c=M,d=lo,s=I,r=U;return e.openBlock(),e.createElementBlock(e.Fragment,null,[o.advancedMode?(e.openBlock(),e.createElementBlock("fieldset",{key:0,class:e.normalizeClass(["cmd-upload-form flex-container",{"upload-initiated":l.uploadInitiated}])},[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.cmdHeadlineFieldset?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineFieldset)),null,16)):e.createCommentVNode("",!0),i.systemMessageStatus&&i.allSystemMessages.length?(e.openBlock(),e.createBlock(d,{key:1,iconClose:{show:!1},validationStatus:i.systemMessageStatus,systemMessage:i.allSystemMessages.length===1?i.allSystemMessages[0]:t.getMessage("cmduploadform.system_message.the_following_errors_occurred")},{default:e.withCtx(()=>[i.allSystemMessages.length>1?(e.openBlock(),e.createElementBlock("ul",Au,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.allSystemMessages,(m,u)=>(e.openBlock(),e.createElementBlock("li",{key:u},e.toDisplayString(m),1))),128))])):e.createCommentVNode("",!0)]),_:1},8,["validationStatus","systemMessage"])):e.createCommentVNode("",!0),e.createElementVNode("div",e.mergeProps({class:["box drop-area flex-container vertical",{"allow-drop":l.allowDrop}]},e.toHandlers(i.dragAndDropHandler)),[l.listOfFiles.length?(e.openBlock(),e.createElementBlock("div",Hu,[o.showTotalUpload&&l.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("div",qu,[e.createVNode(c,e.mergeProps(o.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),o.showTotalUpload&&l.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("ul",Ru,[e.createElementVNode("li",Uu,[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_all_files_from_list"),onClick:n[0]||(n[0]=e.withModifiers((...m)=>i.cancelUpload&&i.cancelUpload(...m),["prevent"]))},[e.createVNode(s,{iconClass:o.deleteIcon.iconClass,type:o.deleteIcon.iconClass},null,8,["iconClass","type"])],8,Gu),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(l.listOfFiles.length)+" ",1),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.files_uploading")),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.file_uploading")),1)],64))]),e.createElementVNode("small",{class:e.normalizeClass(["text-align-right",{error:o.maxTotalUploadSize>0&&i.totalSize>o.maxTotalUploadSize}])}," ("+e.toDisplayString(i.formatSize(i.totalSize))+") ",3),l.uploadInitiated?(e.openBlock(),e.createElementBlock("span",Qu,[e.createElementVNode("span",null,e.toDisplayString(i.getPercentage(i.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:i.totalUploadProgress,title:i.totalBytesUploaded},null,8,Wu)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),Zu])):e.createCommentVNode("",!0),e.createElementVNode("div",Ju,[e.createVNode(c,e.mergeProps(o.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.list_of_selected_files")),1)]),_:1},16),e.createElementVNode("ul",Yu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.listOfFiles,(m,u)=>(e.openBlock(),e.createElementBlock("li",{key:u,class:"flex-container no-flex"},[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_file_from_list",m.file.name),onClick:e.withModifiers(f=>i.removeFile(u),["prevent"])},[e.createVNode(s,{iconClass:t.iconDelete.iconClass,type:t.iconDelete.iconType},null,8,["iconClass","type"])],8,Ku),e.createElementVNode("span",{class:e.normalizeClass(["text-align-right",m.allowedType?"allowed":"not-allowed",{error:m.error}])},[e.createTextVNode(e.toDisplayString(m.file.name)+" ",1),e.createElementVNode("small",null,"("+e.toDisplayString(i.formatSize(m.file.size))+")",1)],2),l.uploadInitiated&&!m.error?(e.openBlock(),e.createElementBlock("span",Xu,[e.createElementVNode("span",null,e.toDisplayString(i.getPercentage(m.progress)),1),e.createElementVNode("progress",{max:"100",value:m.progress,title:i.formatSize(m.uploadedBytes)+"/"+i.formatSize(m.file.size)},null,8,$u)])):e.createCommentVNode("",!0)]))),128))]),i.failedUpload?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...m)=>i.cancel&&i.cancel(...m),["prevent"])),title:t.getMessage("cmduploadform.all_files_will_be_removed")},e.toDisplayString(t.getMessage("cmduploadform.reset_upload")),9,vu)):e.createCommentVNode("",!0),eh])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.allowMultipleFileUploads?(e.openBlock(),e.createBlock(c,e.mergeProps({key:0},o.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.no_files_to_upload")),1)]),_:1},16)):(e.openBlock(),e.createBlock(c,e.mergeProps({key:1},o.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.no_file_to_upload")),1)]),_:1},16))],64)),o.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createBlock(c,e.mergeProps({key:2},o.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_additional_files")),1)]),_:1},16)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createBlock(c,e.mergeProps({key:3},o.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_new_file")),1)]),_:1},16)):e.createCommentVNode("",!0),e.createElementVNode("dl",th,[o.maxTotalUploadSize>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",{class:e.normalizeClass({error:i.totalSize>o.maxTotalUploadSize})},e.toDisplayString(t.getMessage("cmduploadform.max_total_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:i.totalSize>o.maxTotalUploadSize}])},e.toDisplayString(i.formatSize(o.maxTotalUploadSize)),3)],64)):e.createCommentVNode("",!0),e.createElementVNode("dt",{class:e.normalizeClass({error:l.errors.fileSize})},e.toDisplayString(t.getMessage("cmduploadform.max_file_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:l.errors.fileSize}])},e.toDisplayString(i.formatSize(o.maxFileUploadSize)),3),e.createElementVNode("dt",{class:e.normalizeClass({error:l.errors.fileType})},e.toDisplayString(t.getMessage("cmduploadform.allowed_file_types")),3),e.createElementVNode("dd",null,[e.createElementVNode("a",{href:"#",onClick:n[2]||(n[2]=e.withModifiers(m=>l.showListOfFileExtensions=!l.showListOfFileExtensions,["prevent"])),title:t.getMessage("cmduploadform.tooltip.toggle_list_of_allowed_file_types")},[e.createVNode(s,{iconClass:l.showListOfFileExtensions?o.iconInvisible.iconClass:o.iconVisible.iconClass,type:l.showListOfFileExtensions?o.iconInvisible.iconType:o.iconVisible.iconType},null,8,["iconClass","type"])],8,oh),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.showListOfFileExtensions?(e.openBlock(),e.createElementBlock("ul",nh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.allowedFileExtensions,(m,u)=>(e.openBlock(),e.createElementBlock("li",{key:u,class:e.normalizeClass({error:l.errors.fileType})},e.toDisplayString(m),3))),128))])):e.createCommentVNode("",!0)]),_:1})])]),e.createElementVNode("div",null,[e.createElementVNode("button",{type:"button",class:e.normalizeClass(["button upload primary",{disabled:l.uploadInitiated}]),disabled:l.uploadInitiated,onClick:n[3]||(n[3]=m=>i.selectFiles())},[e.createVNode(s,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"]),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",ih,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_files")),1)):(e.openBlock(),e.createElementBlock("span",ah,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_file")),1))],10,lh),o.enableDragAndDrop?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["text-drag-and-drop",{disabled:l.uploadInitiated}])},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.or")),1),e.createElementVNode("strong",null,[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop"))+" ",1),o.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.additional")),1)],64)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.new")),1)],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.getMessage("cmduploadform.files_to_this_area")),1)])],2)):e.createCommentVNode("",!0)])],16),o.enableComment?(e.openBlock(),e.createBlock(r,{key:2,element:"textarea",labelText:t.getMessage("cmduploadform.labeltext.comment"),modelValue:l.comment,"onUpdate:modelValue":n[4]||(n[4]=m=>l.comment=m),required:o.commentRequired,validationMessage:o.commentStatusMessage,placeholder:t.getMessage("cmduploadform.placeholder.comment"),status:o.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):e.createCommentVNode("",!0),e.createElementVNode("div",sh,[e.createElementVNode("button",{class:e.normalizeClass(["button primary",{disabled:l.listOfFiles.length===0||o.maxTotalUploadSize>0&&i.totalSize>o.maxTotalUploadSize||l.uploadInitiated}]),disabled:l.listOfFiles.length===0||o.maxTotalUploadSize>0&&i.totalSize>o.maxTotalUploadSize||l.uploadInitiated,onClick:n[5]||(n[5]=(...m)=>i.uploadFiles&&i.uploadFiles(...m))},[e.createVNode(s,{iconClass:o.iconUpload.iconClass,type:o.iconUpload.iconType},null,8,["iconClass","type"]),l.listOfFiles.length===1||!o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",ch,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_file")),1)):(e.openBlock(),e.createElementBlock("span",dh,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_files")),1))],10,rh),e.createElementVNode("button",{class:e.normalizeClass(["button",{disabled:l.listOfFiles.length===0}]),onClick:n[6]||(n[6]=(...m)=>i.cancel&&i.cancel(...m))},[e.createVNode(s,{iconClass:o.iconCancel.iconClass,type:o.iconCancel.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.buttontext.cancel")),1)],2)])],2)):(e.openBlock(),e.createElementBlock("a",e.mergeProps({key:1,href:"#",onClick:n[7]||(n[7]=e.withModifiers((...m)=>i.selectFiles&&i.selectFiles(...m),["prevent"])),class:["cmd-upload-form drop-area",{"allow-drop":l.allowDrop}]},e.toHandlers(i.dragAndDropHandler)),[l.uploadInitiated?(e.openBlock(),e.createElementBlock("span",mh,[e.createElementVNode("span",null,e.toDisplayString(i.getPercentage(i.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:i.totalUploadProgress,title:i.totalBytesUploaded},null,8,uh)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[o.enableDragAndDrop?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[i.fileTypeImage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_image")),1),e.createVNode(s,{iconClass:o.iconImage.iconClass,type:o.iconImage.iconType},null,8,["iconClass","type"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_file")),1),e.createVNode(s,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop_file_here")),1),e.createVNode(s,{iconClass:o.iconDragAndDrop.iconClass,type:o.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.max_upload_size"))+" "+e.toDisplayString(i.formatSize(o.maxFileUploadSize)),1),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.allowed_file_types"))+" "+e.toDisplayString(o.allowedFileExtensions),1)])],16)),e.createVNode(r,{element:"input",type:"file",labelText:t.getMessage("cmduploadform.labeltext.select_files"),disabled:l.uploadInitiated,multiple:o.allowMultipleFileUploads,onChange:i.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const fh=b(zu,[["render",hh]]),Sf="",ph={name:"CmdWidthLimitationWrapper",props:{innerComponent:{type:String,default:"section",validator(t){return t}},innerWrapper:{type:Boolean,default:!0},sticky:{type:Boolean,default:!1},innerClass:{type:String,required:!1},anchorId:{type:String,required:!1},cmdHeadline:{type:Object,required:!1}},computed:{setInnerClass(){return this.innerClass?this.innerClass:this.innerComponent==="header"?"grid-container-create-columns":this.innerComponent==="footer"?"flex-container":""},setOuterId(){return this.innerComponent==="header"?"site-header":this.innerComponent==="footer"?"site-footer":""}}},gh=["id"],yh=["id"];function kh(t,n,o,a,l,i){const c=M;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-width-limitation-wrapper",{sticky:o.sticky}])},[o.innerWrapper?(e.openBlock(),e.createElementBlock("section",{key:0,class:e.normalizeClass(i.setInnerClass)},[o.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:o.anchorId},null,8,gh)):e.createCommentVNode("",!0),o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:1,"pre-headline-text":o.cmdHeadline.preHeadlineText,"headline-text":o.cmdHeadline.headlineText,"headline-level":o.cmdHeadline.headlineLevel},null,8,["pre-headline-text","headline-text","headline-level"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:o.anchorId},null,8,yh)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],64))],2)}const Ch=b(ph,[["render",kh]]),Bh={mounted(t){if(t.tagName==="INPUT"||t.tagName==="SELECT"||t.tagName==="TEXTAREA"||t.tagName==="A")t.focus();else{const n=t.querySelector("input, select, textarea");n?n.focus():console.warn("No input-element for focus-directive on element "+t.tagName+" found!")}}},_h={mounted(t,n){if(n.value&&typeof n.value=="string"){let o=/[^\d]/g,a=n.value.replace(/^\s*\+/,"00");t.href="tel:"+a.replace(o,"")}}};function bh(){const t={};e.onBeforeUpdate(a);function n(l="defaultSequence"){const i=t[l]||0;return t[l]=i+1,t[l]}function o(l="defaultSequence"){return t[l]||0}function a(l="defaultSequence"){t[l]&&(t[l]=0)}return{nextSequenceValue:n,currentSequenceValue:o,resetSequence:a}}C.CmdAddressData=Al,C.CmdBackToTopButton=Ul,C.CmdBankAccountData=Kl,C.CmdBox=Jt,C.CmdBoxWrapper=wa,C.CmdBreadcrumbs=La,C.CmdCompanyLogo=Xt,C.CmdCookieDisclaimer=Zs,C.CmdCopyrightInformation=$s,C.CmdFakeSelect=vt,C.CmdFancyBox=Mi,C.CmdForm=Sr,C.CmdFormElement=U,C.CmdFormFilters=eo,C.CmdGoogleMaps=Fr,C.CmdHeadline=M,C.CmdIcon=I,C.CmdImage=W,C.CmdImageGallery=Rr,C.CmdImageZoom=Xr,C.CmdInputGroup=cc,C.CmdListOfLinks=Qt,C.CmdLoginForm=xc,C.CmdMainNavigation=no,C.CmdMultistepFormProgressBar=vc,C.CmdOpeningHours=rd,C.CmdPager=Bd,C.CmdProgressBar=xd,C.CmdSiteFooter=Fd,C.CmdSiteHeader=Hd,C.CmdSiteSearch=Kd,C.CmdSlideButton=ue,C.CmdSlideshow=nm,C.CmdSocialNetworks=Dd,C.CmdSwitchLanguage=mm,C.CmdSystemMessage=lo,C.CmdTable=Nm,C.CmdTabs=Om,C.CmdTextBlock=Am,C.CmdThumbnailScroller=qt,C.CmdToggleDarkMode=Um,C.CmdTooltip=$t,C.CmdUploadForm=fh,C.CmdWidthLimitationWrapper=Ch,C.DirFocus=Bh,C.DirTelephone=_h,C.createHtmlId=Ut,C.createUuid=Rt,C.getFileExtension=te,C.openFancyBox=he,C.useSequence=bh,Object.defineProperties(C,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "comand-component-library",
|
3
|
-
"version": "3.3.
|
3
|
+
"version": "3.3.71",
|
4
4
|
"private": false,
|
5
5
|
"type": "module",
|
6
6
|
"scripts": {
|
@@ -19,7 +19,7 @@
|
|
19
19
|
],
|
20
20
|
"dependencies": {
|
21
21
|
"clickout-event": "^1.1.2",
|
22
|
-
"comand-frontend-framework": "^3.3.
|
22
|
+
"comand-frontend-framework": "^3.3.34",
|
23
23
|
"core-js": "^3.20.1",
|
24
24
|
"prismjs": "^1.27.0",
|
25
25
|
"vue": "^3.2.31",
|
@@ -297,10 +297,18 @@ html {
|
|
297
297
|
--default-background-color-lightness: 97%;
|
298
298
|
}
|
299
299
|
|
300
|
+
|
301
|
+
--color-scheme-text-color-buttons: var(--dark-mode-text-color-buttons);
|
302
|
+
--color-scheme-text-color-inverted: var(--light-mode-text-color);
|
303
|
+
--color-scheme-background: var(--dark-mode-background-color);
|
304
|
+
--color-scheme-background-inverted: var(--light-mode-background-color);
|
305
|
+
--default-background-color-lightness: 20%;
|
306
|
+
--hyperlink-color: var(--hyperlink-color-highlighted);
|
307
|
+
|
300
308
|
&.dark-mode {
|
301
309
|
/* assign default colors for custom dark-mode set by class */
|
302
310
|
--color-scheme-text-color: var(--dark-mode-text-color);
|
303
|
-
--color-scheme-text-color-buttons: var(--dark-mode-
|
311
|
+
--color-scheme-text-color-buttons: var(--dark-mode-text-color-buttons);
|
304
312
|
--color-scheme-background-color: var(--dark-mode-background-color);
|
305
313
|
--color-scheme-text-color-inverted: var(--light-mode-text-color);
|
306
314
|
--color-scheme-background-inverted: var(--light-mode-background-color);
|
@@ -117,12 +117,14 @@ export default {
|
|
117
117
|
mql.addEventListener("change", this.onColorSchemeChange)
|
118
118
|
this.onColorSchemeChange(mql)
|
119
119
|
|
120
|
-
|
121
|
-
|
120
|
+
this.$nextTick(() => {
|
121
|
+
// load color-scheme from local-storage
|
122
|
+
const savedColorScheme = window.localStorage.getItem("cmd-color-scheme")
|
122
123
|
|
123
|
-
|
124
|
-
|
125
|
-
|
124
|
+
if(savedColorScheme) {
|
125
|
+
this.darkMode = savedColorScheme === "dark-mode"
|
126
|
+
}
|
127
|
+
})
|
126
128
|
|
127
129
|
// add eventListener on html-tag (= documentElement) to react on 'toggle-color-scheme'-event
|
128
130
|
document.documentElement.addEventListener("toggle-color-scheme", this.onToggleColorScheme)
|