@aiconomy/aico-components 0.0.132 → 0.0.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aico-components/aico-components.esm.js +1 -1
- package/dist/aico-components/{p-284133be.entry.js → p-de1a4cc0.entry.js} +2 -2
- package/dist/aico-components/{p-284133be.entry.js.map → p-de1a4cc0.entry.js.map} +1 -1
- package/dist/cjs/aico-album-content_26.cjs.entry.js +6 -4
- package/dist/cjs/aico-album-content_26.cjs.entry.js.map +1 -1
- package/dist/collection/components/aico-news-list-item/aico-news-list-item.js +3 -2
- package/dist/collection/components/aico-news-list-item/aico-news-list-item.js.map +1 -1
- package/dist/collection/components/aico-special-news-carousel/aico-special-news-carousel.js +3 -2
- package/dist/collection/components/aico-special-news-carousel/aico-special-news-carousel.js.map +1 -1
- package/dist/components/aico-news-list-item2.js +3 -2
- package/dist/components/aico-news-list-item2.js.map +1 -1
- package/dist/components/aico-special-news-carousel.js +3 -2
- package/dist/components/aico-special-news-carousel.js.map +1 -1
- package/dist/esm/aico-album-content_26.entry.js +6 -4
- package/dist/esm/aico-album-content_26.entry.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-ae20e789.js";export{s as setNonce}from"./p-ae20e789.js";const o=()=>{const t=import.meta.url;const o={};if(t!==""){o.resourcesUrl=new URL(".",t).href}return e(o)};o().then((e=>t([["p-68930822",[[6,"aico-asking-list-content"]]],["p-90c2d3dc",[[6,"aico-collection-content"]]],["p-
|
|
1
|
+
import{p as e,b as t}from"./p-ae20e789.js";export{s as setNonce}from"./p-ae20e789.js";const o=()=>{const t=import.meta.url;const o={};if(t!==""){o.resourcesUrl=new URL(".",t).href}return e(o)};o().then((e=>t([["p-68930822",[[6,"aico-asking-list-content"]]],["p-90c2d3dc",[[6,"aico-collection-content"]]],["p-de1a4cc0",[[2,"aico-fetch-article-detail",{aicoUrl:[1,"aico-url"],aicoBearerToken:[1,"aico-bearer-token"],locale:[1],hideDateAndAuthor:[4,"hide-date-and-author"],hideCategoryAndTags:[4,"hide-category-and-tags"],articleId:[1,"article-id"],articleUrlHandle:[1,"article-url-handle"],article:[32]}],[2,"aico-news-list",{aicoUrl:[1,"aico-url"],aicoBearerToken:[1,"aico-bearer-token"],newsChannels:[16],newsSellerIds:[16],newsBrandIds:[16],newsLanguageLocales:[16],pageSize:[2,"page-size"],nextButtonText:[1,"next-button-text"],previousButtonText:[1,"previous-button-text"],locale:[1],newsResponse:[32],pageNumber:[32]}],[2,"aico-special-news-carousel",{aicoUrl:[1,"aico-url"],aicoBearerToken:[1,"aico-bearer-token"],newsChannels:[16],newsSellerIds:[16],newsBrandIds:[16],newsLanguageLocales:[16],numberOfArticles:[2,"number-of-articles"],locale:[1],newsResponse:[32]}],[2,"aico-article-detail",{article:[16],locale:[1],hideDateAndAuthor:[4,"hide-date-and-author"],hideCategoryAndTags:[4,"hide-category-and-tags"]}],[2,"aico-news-list-item",{article:[16],locale:[1]}],[2,"aico-bullet-content",{content:[16],locale:[1]}],[2,"aico-carousel-content",{content:[16],hasArrows:[4,"has-arrows"],locale:[1]}],[2,"aico-content-card-content",{content:[16],locale:[1]}],[2,"aico-heading-content",{content:[16],locale:[1]}],[2,"aico-table-content",{content:[16],locale:[1]}],[2,"aico-text-content",{content:[16],locale:[1]}],[2,"aico-upload-content",{content:[16],locale:[1]}],[2,"aico-video-content",{content:[16],locale:[1]}],[2,"aico-album-content",{content:[16]}],[2,"aico-asking-content",{content:[16],locale:[1]}],[2,"aico-block-quote-content",{content:[16],locale:[1]}],[2,"aico-divider-content",{content:[16],locale:[1]}],[2,"aico-document-content",{content:[16],locale:[1]}],[2,"aico-faq-content",{content:[16],locale:[1]}],[2,"aico-html-content",{content:[16],locale:[1]}],[2,"aico-link-content",{content:[16],locale:[1]}],[2,"aico-news-content",{content:[16]}],[2,"aico-page-content",{content:[16],locale:[1]}],[2,"aico-testimonial-content",{content:[16]}],[2,"aico-title-content",{content:[16],locale:[1]}],[2,"aico-no-content"]]]],e)));
|
|
2
2
|
//# sourceMappingURL=aico-components.esm.js.map
|
|
@@ -14,5 +14,5 @@ import{r as t,h as e,H as i,F as n,c as r}from"./p-ae20e789.js";var s=typeof glo
|
|
|
14
14
|
* Bootstrap v5.3.2 (https://getbootstrap.com/)
|
|
15
15
|
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
16
16
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
17
|
-
*/const Je=new Map;const Ve={set(t,e,i){if(!Je.has(t)){Je.set(t,new Map)}const n=Je.get(t);if(!n.has(e)&&n.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`);return}n.set(e,i)},get(t,e){if(Je.has(t)){return Je.get(t).get(e)||null}return null},remove(t,e){if(!Je.has(t)){return}const i=Je.get(t);i.delete(e);if(i.size===0){Je.delete(t)}}};const Xe=1e6;const Ke=1e3;const ti="transitionend";const ei=t=>{if(t&&window.CSS&&window.CSS.escape){t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))}return t};const ii=t=>{if(t===null||t===undefined){return`${t}`}return Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase()};const ni=t=>{do{t+=Math.floor(Math.random()*Xe)}while(document.getElementById(t));return t};const ri=t=>{if(!t){return 0}let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e);const r=Number.parseFloat(i);if(!n&&!r){return 0}e=e.split(",")[0];i=i.split(",")[0];return(Number.parseFloat(e)+Number.parseFloat(i))*Ke};const si=t=>{t.dispatchEvent(new Event(ti))};const oi=t=>{if(!t||typeof t!=="object"){return false}if(typeof t.jquery!=="undefined"){t=t[0]}return typeof t.nodeType!=="undefined"};const ai=t=>{if(oi(t)){return t.jquery?t[0]:t}if(typeof t==="string"&&t.length>0){return document.querySelector(ei(t))}return null};const ci=t=>{if(!oi(t)||t.getClientRects().length===0){return false}const e=getComputedStyle(t).getPropertyValue("visibility")==="visible";const i=t.closest("details:not([open])");if(!i){return e}if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i){return false}if(e===null){return false}}return e};const ui=t=>{if(!t||t.nodeType!==Node.ELEMENT_NODE){return true}if(t.classList.contains("disabled")){return true}if(typeof t.disabled!=="undefined"){return t.disabled}return t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false"};const li=t=>{if(!document.documentElement.attachShadow){return null}if(typeof t.getRootNode==="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}if(t instanceof ShadowRoot){return t}if(!t.parentNode){return null}return li(t.parentNode)};const fi=()=>{};const hi=()=>{if(window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")){return window.jQuery}return null};const di=[];const pi=t=>{if(document.readyState==="loading"){if(!di.length){document.addEventListener("DOMContentLoaded",(()=>{for(const t of di){t()}}))}di.push(t)}else{t()}};const vi=()=>document.documentElement.dir==="rtl";const gi=t=>{pi((()=>{const e=hi();if(e){const i=t.NAME;const n=e.fn[i];e.fn[i]=t.jQueryInterface;e.fn[i].Constructor=t;e.fn[i].noConflict=()=>{e.fn[i]=n;return t.jQueryInterface}}}))};const mi=(t,e=[],i=t)=>typeof t==="function"?t(...e):i;const bi=(t,e,i=true)=>{if(!i){mi(t);return}const n=5;const r=ri(e)+n;let s=false;const o=({target:i})=>{if(i!==e){return}s=true;e.removeEventListener(ti,o);mi(t)};e.addEventListener(ti,o);setTimeout((()=>{if(!s){si(e)}}),r)};const wi=(t,e,i,n)=>{const r=t.length;let s=t.indexOf(e);if(s===-1){return!i&&n?t[r-1]:t[0]}s+=i?1:-1;if(n){s=(s+r)%r}return t[Math.max(0,Math.min(s,r-1))]};const yi=/[^.]*(?=\..*)\.|.*/;const ki=/\..*/;const xi=/::\d+$/;const $i={};let Ai=1;const _i={mouseenter:"mouseover",mouseleave:"mouseout"};const ji=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Ti(t,e){return e&&`${e}::${Ai++}`||t.uidEvent||Ai++}function Ei(t){const e=Ti(t);t.uidEvent=e;$i[e]=$i[e]||{};return $i[e]}function Mi(t,e){return function i(n){Pi(n,{delegateTarget:t});if(i.oneOff){Ni.off(t,n.type,e)}return e.apply(t,[n])}}function Oi(t,e,i){return function n(r){const s=t.querySelectorAll(e);for(let{target:o}=r;o&&o!==this;o=o.parentNode){for(const a of s){if(a!==o){continue}Pi(r,{delegateTarget:o});if(n.oneOff){Ni.off(t,r.type,e,i)}return i.apply(o,[r])}}}}function Ci(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function Ii(t,e,i){const n=typeof e==="string";const r=n?i:e||i;let s=zi(t);if(!ji.has(s)){s=t}return[n,r,s]}function Si(t,e,i,n,r){if(typeof e!=="string"||!t){return}let[s,o,a]=Ii(e,i,n);if(e in _i){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget)){return t.call(this,e)}};o=t(o)}const c=Ei(t);const u=c[a]||(c[a]={});const l=Ci(u,o,s?i:null);if(l){l.oneOff=l.oneOff&&r;return}const f=Ti(o,e.replace(yi,""));const h=s?Oi(t,i,o):Mi(t,o);h.delegationSelector=s?i:null;h.callable=o;h.oneOff=r;h.uidEvent=f;u[f]=h;t.addEventListener(a,h,s)}function Di(t,e,i,n,r){const s=Ci(e[i],n,r);if(!s){return}t.removeEventListener(i,s,Boolean(r));delete e[i][s.uidEvent]}function Li(t,e,i,n){const r=e[i]||{};for(const[s,o]of Object.entries(r)){if(s.includes(n)){Di(t,e,i,o.callable,o.delegationSelector)}}}function zi(t){t=t.replace(ki,"");return _i[t]||t}const Ni={on(t,e,i,n){Si(t,e,i,n,false)},one(t,e,i,n){Si(t,e,i,n,true)},off(t,e,i,n){if(typeof e!=="string"||!t){return}const[r,s,o]=Ii(e,i,n);const a=o!==e;const c=Ei(t);const u=c[o]||{};const l=e.startsWith(".");if(typeof s!=="undefined"){if(!Object.keys(u).length){return}Di(t,c,o,s,r?i:null);return}if(l){for(const i of Object.keys(c)){Li(t,c,i,e.slice(1))}}for(const[i,n]of Object.entries(u)){const r=i.replace(xi,"");if(!a||e.includes(r)){Di(t,c,o,n.callable,n.delegationSelector)}}},trigger(t,e,i){if(typeof e!=="string"||!t){return null}const n=hi();const r=zi(e);const s=e!==r;let o=null;let a=true;let c=true;let u=false;if(s&&n){o=n.Event(e,i);n(t).trigger(o);a=!o.isPropagationStopped();c=!o.isImmediatePropagationStopped();u=o.isDefaultPrevented()}const l=Pi(new Event(e,{bubbles:a,cancelable:true}),i);if(u){l.preventDefault()}if(c){t.dispatchEvent(l)}if(l.defaultPrevented&&o){o.preventDefault()}return l}};function Pi(t,e={}){for(const[i,n]of Object.entries(e)){try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:true,get(){return n}})}}return t}function Ri(t){if(t==="true"){return true}if(t==="false"){return false}if(t===Number(t).toString()){return Number(t)}if(t===""||t==="null"){return null}if(typeof t!=="string"){return t}try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function Bi(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const Fi={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${Bi(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Bi(e)}`)},getDataAttributes(t){if(!t){return{}}const e={};const i=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length);e[i]=Ri(t.dataset[n])}return e},getDataAttribute(t,e){return Ri(t.getAttribute(`data-bs-${Bi(e)}`))}};class Hi{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){t=this._mergeConfigObj(t);t=this._configAfterMerge(t);this._typeCheckConfig(t);return t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=oi(e)?Fi.getDataAttribute(e,"config"):{};return{...this.constructor.Default,...typeof i==="object"?i:{},...oi(e)?Fi.getDataAttributes(e):{},...typeof t==="object"?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[i,n]of Object.entries(e)){const e=t[i];const r=oi(e)?"element":ii(e);if(!new RegExp(n).test(r)){throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${n}".`)}}}}const Wi="5.3.2";class Ui extends Hi{constructor(t,e){super();t=ai(t);if(!t){return}this._element=t;this._config=this._getConfig(e);Ve.set(this._element,this.constructor.DATA_KEY,this)}dispose(){Ve.remove(this._element,this.constructor.DATA_KEY);Ni.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this)){this[t]=null}}_queueCallback(t,e,i=true){bi(t,e,i)}_getConfig(t){t=this._mergeConfigObj(t,this._element);t=this._configAfterMerge(t);this._typeCheckConfig(t);return t}static getInstance(t){return Ve.get(ai(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,typeof e==="object"?e:null)}static get VERSION(){return Wi}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const qi=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith(".")){return null}if(i.includes("#")&&!i.startsWith("#")){i=`#${i.split("#")[1]}`}e=i&&i!=="#"?ei(i.trim()):null}return e};const Gi={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter((t=>t.matches(e)))},parents(t,e){const i=[];let n=t.parentNode.closest(e);while(n){i.push(n);n=n.parentNode.closest(e)}return i},prev(t,e){let i=t.previousElementSibling;while(i){if(i.matches(e)){return[i]}i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;while(i){if(i.matches(e)){return[i]}i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!ui(t)&&ci(t)))},getSelectorFromElement(t){const e=qi(t);if(e){return Gi.findOne(e)?e:null}return null},getElementFromSelector(t){const e=qi(t);return e?Gi.findOne(e):null},getMultipleElementsFromSelector(t){const e=qi(t);return e?Gi.find(e):[]}};const Zi=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`;const n=t.NAME;Ni.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)){i.preventDefault()}if(ui(this)){return}const r=Gi.getElementFromSelector(this)||this.closest(`.${n}`);const s=t.getOrCreateInstance(r);s[e]()}))};const Qi="alert";const Yi="bs.alert";const Ji=`.${Yi}`;const Vi=`close${Ji}`;const Xi=`closed${Ji}`;const Ki="fade";const tn="show";class en extends Ui{static get NAME(){return Qi}close(){const t=Ni.trigger(this._element,Vi);if(t.defaultPrevented){return}this._element.classList.remove(tn);const e=this._element.classList.contains(Ki);this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove();Ni.trigger(this._element,Xi);this.dispose()}static jQueryInterface(t){return this.each((function(){const e=en.getOrCreateInstance(this);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t](this)}))}}Zi(en,"close");gi(en);const nn="button";const rn="bs.button";const sn=`.${rn}`;const on=".data-api";const an="active";const cn='[data-bs-toggle="button"]';const un=`click${sn}${on}`;class ln extends Ui{static get NAME(){return nn}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(an))}static jQueryInterface(t){return this.each((function(){const e=ln.getOrCreateInstance(this);if(t==="toggle"){e[t]()}}))}}Ni.on(document,un,cn,(t=>{t.preventDefault();const e=t.target.closest(cn);const i=ln.getOrCreateInstance(e);i.toggle()}));gi(ln);const fn="swipe";const hn=".bs.swipe";const dn=`touchstart${hn}`;const pn=`touchmove${hn}`;const vn=`touchend${hn}`;const gn=`pointerdown${hn}`;const mn=`pointerup${hn}`;const bn="touch";const wn="pen";const yn="pointer-event";const kn=40;const xn={endCallback:null,leftCallback:null,rightCallback:null};const $n={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class An extends Hi{constructor(t,e){super();this._element=t;if(!t||!An.isSupported()){return}this._config=this._getConfig(e);this._deltaX=0;this._supportPointerEvents=Boolean(window.PointerEvent);this._initEvents()}static get Default(){return xn}static get DefaultType(){return $n}static get NAME(){return fn}dispose(){Ni.off(this._element,hn)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}if(this._eventIsPointerPenTouch(t)){this._deltaX=t.clientX}}_end(t){if(this._eventIsPointerPenTouch(t)){this._deltaX=t.clientX-this._deltaX}this._handleSwipe();mi(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=kn){return}const e=t/this._deltaX;this._deltaX=0;if(!e){return}mi(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){if(this._supportPointerEvents){Ni.on(this._element,gn,(t=>this._start(t)));Ni.on(this._element,mn,(t=>this._end(t)));this._element.classList.add(yn)}else{Ni.on(this._element,dn,(t=>this._start(t)));Ni.on(this._element,pn,(t=>this._move(t)));Ni.on(this._element,vn,(t=>this._end(t)))}}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===wn||t.pointerType===bn)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const _n="carousel";const jn="bs.carousel";const Tn=`.${jn}`;const En=".data-api";const Mn="ArrowLeft";const On="ArrowRight";const Cn=500;const In="next";const Sn="prev";const Dn="left";const Ln="right";const zn=`slide${Tn}`;const Nn=`slid${Tn}`;const Pn=`keydown${Tn}`;const Rn=`mouseenter${Tn}`;const Bn=`mouseleave${Tn}`;const Fn=`dragstart${Tn}`;const Hn=`load${Tn}${En}`;const Wn=`click${Tn}${En}`;const Un="carousel";const qn="active";const Gn="slide";const Zn="carousel-item-end";const Qn="carousel-item-start";const Yn="carousel-item-next";const Jn="carousel-item-prev";const Vn=".active";const Xn=".carousel-item";const Kn=Vn+Xn;const tr=".carousel-item img";const er=".carousel-indicators";const ir="[data-bs-slide], [data-bs-slide-to]";const nr='[data-bs-ride="carousel"]';const rr={[Mn]:Ln,[On]:Dn};const sr={interval:5e3,keyboard:true,pause:"hover",ride:false,touch:true,wrap:true};const or={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ar extends Ui{constructor(t,e){super(t,e);this._interval=null;this._activeElement=null;this._isSliding=false;this.touchTimeout=null;this._swipeHelper=null;this._indicatorsElement=Gi.findOne(er,this._element);this._addEventListeners();if(this._config.ride===Un){this.cycle()}}static get Default(){return sr}static get DefaultType(){return or}static get NAME(){return _n}next(){this._slide(In)}nextWhenVisible(){if(!document.hidden&&ci(this._element)){this.next()}}prev(){this._slide(Sn)}pause(){if(this._isSliding){si(this._element)}this._clearInterval()}cycle(){this._clearInterval();this._updateInterval();this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){if(!this._config.ride){return}if(this._isSliding){Ni.one(this._element,Nn,(()=>this.cycle()));return}this.cycle()}to(t){const e=this._getItems();if(t>e.length-1||t<0){return}if(this._isSliding){Ni.one(this._element,Nn,(()=>this.to(t)));return}const i=this._getItemIndex(this._getActive());if(i===t){return}const n=t>i?In:Sn;this._slide(n,e[t])}dispose(){if(this._swipeHelper){this._swipeHelper.dispose()}super.dispose()}_configAfterMerge(t){t.defaultInterval=t.interval;return t}_addEventListeners(){if(this._config.keyboard){Ni.on(this._element,Pn,(t=>this._keydown(t)))}if(this._config.pause==="hover"){Ni.on(this._element,Rn,(()=>this.pause()));Ni.on(this._element,Bn,(()=>this._maybeEnableCycle()))}if(this._config.touch&&An.isSupported()){this._addTouchEventListeners()}}_addTouchEventListeners(){for(const t of Gi.find(tr,this._element)){Ni.on(t,Fn,(t=>t.preventDefault()))}const t=()=>{if(this._config.pause!=="hover"){return}this.pause();if(this.touchTimeout){clearTimeout(this.touchTimeout)}this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),Cn+this._config.interval)};const e={leftCallback:()=>this._slide(this._directionToOrder(Dn)),rightCallback:()=>this._slide(this._directionToOrder(Ln)),endCallback:t};this._swipeHelper=new An(this._element,e)}_keydown(t){if(/input|textarea/i.test(t.target.tagName)){return}const e=rr[t.key];if(e){t.preventDefault();this._slide(this._directionToOrder(e))}}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement){return}const e=Gi.findOne(Vn,this._indicatorsElement);e.classList.remove(qn);e.removeAttribute("aria-current");const i=Gi.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);if(i){i.classList.add(qn);i.setAttribute("aria-current","true")}}_updateInterval(){const t=this._activeElement||this._getActive();if(!t){return}const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding){return}const i=this._getActive();const n=t===In;const r=e||wi(this._getItems(),i,n,this._config.wrap);if(r===i){return}const s=this._getItemIndex(r);const o=e=>Ni.trigger(this._element,e,{relatedTarget:r,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:s});const a=o(zn);if(a.defaultPrevented){return}if(!i||!r){return}const c=Boolean(this._interval);this.pause();this._isSliding=true;this._setActiveIndicatorElement(s);this._activeElement=r;const u=n?Qn:Zn;const l=n?Yn:Jn;r.classList.add(l);i.classList.add(u);r.classList.add(u);const f=()=>{r.classList.remove(u,l);r.classList.add(qn);i.classList.remove(qn,l,u);this._isSliding=false;o(Nn)};this._queueCallback(f,i,this._isAnimated());if(c){this.cycle()}}_isAnimated(){return this._element.classList.contains(Gn)}_getActive(){return Gi.findOne(Kn,this._element)}_getItems(){return Gi.find(Xn,this._element)}_clearInterval(){if(this._interval){clearInterval(this._interval);this._interval=null}}_directionToOrder(t){if(vi()){return t===Dn?Sn:In}return t===Dn?In:Sn}_orderToDirection(t){if(vi()){return t===Sn?Dn:Ln}return t===Sn?Ln:Dn}static jQueryInterface(t){return this.each((function(){const e=ar.getOrCreateInstance(this,t);if(typeof t==="number"){e.to(t);return}if(typeof t==="string"){if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t]()}}))}}Ni.on(document,Wn,ir,(function(t){const e=Gi.getElementFromSelector(this);if(!e||!e.classList.contains(Un)){return}t.preventDefault();const i=ar.getOrCreateInstance(e);const n=this.getAttribute("data-bs-slide-to");if(n){i.to(n);i._maybeEnableCycle();return}if(Fi.getDataAttribute(this,"slide")==="next"){i.next();i._maybeEnableCycle();return}i.prev();i._maybeEnableCycle()}));Ni.on(window,Hn,(()=>{const t=Gi.find(nr);for(const e of t){ar.getOrCreateInstance(e)}}));gi(ar);const cr="collapse";const ur="bs.collapse";const lr=`.${ur}`;const fr=".data-api";const hr=`show${lr}`;const dr=`shown${lr}`;const pr=`hide${lr}`;const vr=`hidden${lr}`;const gr=`click${lr}${fr}`;const mr="show";const br="collapse";const wr="collapsing";const yr="collapsed";const kr=`:scope .${br} .${br}`;const xr="collapse-horizontal";const $r="width";const Ar="height";const _r=".collapse.show, .collapse.collapsing";const jr='[data-bs-toggle="collapse"]';const Tr={parent:null,toggle:true};const Er={parent:"(null|element)",toggle:"boolean"};class Mr extends Ui{constructor(t,e){super(t,e);this._isTransitioning=false;this._triggerArray=[];const i=Gi.find(jr);for(const t of i){const e=Gi.getSelectorFromElement(t);const i=Gi.find(e).filter((t=>t===this._element));if(e!==null&&i.length){this._triggerArray.push(t)}}this._initializeChildren();if(!this._config.parent){this._addAriaAndCollapsedClass(this._triggerArray,this._isShown())}if(this._config.toggle){this.toggle()}}static get Default(){return Tr}static get DefaultType(){return Er}static get NAME(){return cr}toggle(){if(this._isShown()){this.hide()}else{this.show()}}show(){if(this._isTransitioning||this._isShown()){return}let t=[];if(this._config.parent){t=this._getFirstLevelChildren(_r).filter((t=>t!==this._element)).map((t=>Mr.getOrCreateInstance(t,{toggle:false})))}if(t.length&&t[0]._isTransitioning){return}const e=Ni.trigger(this._element,hr);if(e.defaultPrevented){return}for(const e of t){e.hide()}const i=this._getDimension();this._element.classList.remove(br);this._element.classList.add(wr);this._element.style[i]=0;this._addAriaAndCollapsedClass(this._triggerArray,true);this._isTransitioning=true;const n=()=>{this._isTransitioning=false;this._element.classList.remove(wr);this._element.classList.add(br,mr);this._element.style[i]="";Ni.trigger(this._element,dr)};const r=i[0].toUpperCase()+i.slice(1);const s=`scroll${r}`;this._queueCallback(n,this._element,true);this._element.style[i]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()){return}const t=Ni.trigger(this._element,pr);if(t.defaultPrevented){return}const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`;this._element.classList.add(wr);this._element.classList.remove(br,mr);for(const t of this._triggerArray){const e=Gi.getElementFromSelector(t);if(e&&!this._isShown(e)){this._addAriaAndCollapsedClass([t],false)}}this._isTransitioning=true;const i=()=>{this._isTransitioning=false;this._element.classList.remove(wr);this._element.classList.add(br);Ni.trigger(this._element,vr)};this._element.style[e]="";this._queueCallback(i,this._element,true)}_isShown(t=this._element){return t.classList.contains(mr)}_configAfterMerge(t){t.toggle=Boolean(t.toggle);t.parent=ai(t.parent);return t}_getDimension(){return this._element.classList.contains(xr)?$r:Ar}_initializeChildren(){if(!this._config.parent){return}const t=this._getFirstLevelChildren(jr);for(const e of t){const t=Gi.getElementFromSelector(e);if(t){this._addAriaAndCollapsedClass([e],this._isShown(t))}}}_getFirstLevelChildren(t){const e=Gi.find(kr,this._config.parent);return Gi.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(!t.length){return}for(const i of t){i.classList.toggle(yr,!e);i.setAttribute("aria-expanded",e)}}static jQueryInterface(t){const e={};if(typeof t==="string"&&/show|hide/.test(t)){e.toggle=false}return this.each((function(){const i=Mr.getOrCreateInstance(this,e);if(typeof t==="string"){if(typeof i[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}i[t]()}}))}}Ni.on(document,gr,jr,(function(t){if(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A"){t.preventDefault()}for(const t of Gi.getMultipleElementsFromSelector(this)){Mr.getOrCreateInstance(t,{toggle:false}).toggle()}}));gi(Mr);const Or="dropdown";const Cr="bs.dropdown";const Ir=`.${Cr}`;const Sr=".data-api";const Dr="Escape";const Lr="Tab";const zr="ArrowUp";const Nr="ArrowDown";const Pr=2;const Rr=`hide${Ir}`;const Br=`hidden${Ir}`;const Fr=`show${Ir}`;const Hr=`shown${Ir}`;const Wr=`click${Ir}${Sr}`;const Ur=`keydown${Ir}${Sr}`;const qr=`keyup${Ir}${Sr}`;const Gr="show";const Zr="dropup";const Qr="dropend";const Yr="dropstart";const Jr="dropup-center";const Vr="dropdown-center";const Xr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)';const Kr=`${Xr}.${Gr}`;const ts=".dropdown-menu";const es=".navbar";const is=".navbar-nav";const ns=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)";const rs=vi()?"top-end":"top-start";const ss=vi()?"top-start":"top-end";const os=vi()?"bottom-end":"bottom-start";const as=vi()?"bottom-start":"bottom-end";const cs=vi()?"left-start":"right-start";const us=vi()?"right-start":"left-start";const ls="top";const fs="bottom";const hs={autoClose:true,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"};const ds={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ps extends Ui{constructor(t,e){super(t,e);this._popper=null;this._parent=this._element.parentNode;this._menu=Gi.next(this._element,ts)[0]||Gi.prev(this._element,ts)[0]||Gi.findOne(ts,this._parent);this._inNavbar=this._detectNavbar()}static get Default(){return hs}static get DefaultType(){return ds}static get NAME(){return Or}toggle(){return this._isShown()?this.hide():this.show()}show(){if(ui(this._element)||this._isShown()){return}const t={relatedTarget:this._element};const e=Ni.trigger(this._element,Fr,t);if(e.defaultPrevented){return}this._createPopper();if("ontouchstart"in document.documentElement&&!this._parent.closest(is)){for(const t of[].concat(...document.body.children)){Ni.on(t,"mouseover",fi)}}this._element.focus();this._element.setAttribute("aria-expanded",true);this._menu.classList.add(Gr);this._element.classList.add(Gr);Ni.trigger(this._element,Hr,t)}hide(){if(ui(this._element)||!this._isShown()){return}const t={relatedTarget:this._element};this._completeHide(t)}dispose(){if(this._popper){this._popper.destroy()}super.dispose()}update(){this._inNavbar=this._detectNavbar();if(this._popper){this._popper.update()}}_completeHide(t){const e=Ni.trigger(this._element,Rr,t);if(e.defaultPrevented){return}if("ontouchstart"in document.documentElement){for(const t of[].concat(...document.body.children)){Ni.off(t,"mouseover",fi)}}if(this._popper){this._popper.destroy()}this._menu.classList.remove(Gr);this._element.classList.remove(Gr);this._element.setAttribute("aria-expanded","false");Fi.removeDataAttribute(this._menu,"popper");Ni.trigger(this._element,Br,t)}_getConfig(t){t=super._getConfig(t);if(typeof t.reference==="object"&&!oi(t.reference)&&typeof t.reference.getBoundingClientRect!=="function"){throw new TypeError(`${Or.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`)}return t}_createPopper(){if(typeof Ye==="undefined"){throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)")}let t=this._element;if(this._config.reference==="parent"){t=this._parent}else if(oi(this._config.reference)){t=ai(this._config.reference)}else if(typeof this._config.reference==="object"){t=this._config.reference}const e=this._getPopperConfig();this._popper=Qe(t,this._menu,e)}_isShown(){return this._menu.classList.contains(Gr)}_getPlacement(){const t=this._parent;if(t.classList.contains(Qr)){return cs}if(t.classList.contains(Yr)){return us}if(t.classList.contains(Jr)){return ls}if(t.classList.contains(Vr)){return fs}const e=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";if(t.classList.contains(Zr)){return e?ss:rs}return e?as:os}_detectNavbar(){return this._element.closest(es)!==null}_getOffset(){const{offset:t}=this._config;if(typeof t==="string"){return t.split(",").map((t=>Number.parseInt(t,10)))}if(typeof t==="function"){return e=>t(e,this._element)}return t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};if(this._inNavbar||this._config.display==="static"){Fi.setDataAttribute(this._menu,"popper","static");t.modifiers=[{name:"applyStyles",enabled:false}]}return{...t,...mi(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const i=Gi.find(ns,this._menu).filter((t=>ci(t)));if(!i.length){return}wi(i,e,t===Nr,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ps.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}static clearMenus(t){if(t.button===Pr||t.type==="keyup"&&t.key!==Lr){return}const e=Gi.find(Kr);for(const i of e){const e=ps.getInstance(i);if(!e||e._config.autoClose===false){continue}const n=t.composedPath();const r=n.includes(e._menu);if(n.includes(e._element)||e._config.autoClose==="inside"&&!r||e._config.autoClose==="outside"&&r){continue}if(e._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Lr||/input|select|option|textarea|form/i.test(t.target.tagName))){continue}const s={relatedTarget:e._element};if(t.type==="click"){s.clickEvent=t}e._completeHide(s)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName);const i=t.key===Dr;const n=[zr,Nr].includes(t.key);if(!n&&!i){return}if(e&&!i){return}t.preventDefault();const r=this.matches(Xr)?this:Gi.prev(this,Xr)[0]||Gi.next(this,Xr)[0]||Gi.findOne(Xr,t.delegateTarget.parentNode);const s=ps.getOrCreateInstance(r);if(n){t.stopPropagation();s.show();s._selectMenuItem(t);return}if(s._isShown()){t.stopPropagation();s.hide();r.focus()}}}Ni.on(document,Ur,Xr,ps.dataApiKeydownHandler);Ni.on(document,Ur,ts,ps.dataApiKeydownHandler);Ni.on(document,Wr,ps.clearMenus);Ni.on(document,qr,ps.clearMenus);Ni.on(document,Wr,Xr,(function(t){t.preventDefault();ps.getOrCreateInstance(this).toggle()}));gi(ps);const vs="backdrop";const gs="fade";const ms="show";const bs=`mousedown.bs.${vs}`;const ws={className:"modal-backdrop",clickCallback:null,isAnimated:false,isVisible:true,rootElement:"body"};const ys={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ks extends Hi{constructor(t){super();this._config=this._getConfig(t);this._isAppended=false;this._element=null}static get Default(){return ws}static get DefaultType(){return ys}static get NAME(){return vs}show(t){if(!this._config.isVisible){mi(t);return}this._append();const e=this._getElement();e.classList.add(ms);this._emulateAnimation((()=>{mi(t)}))}hide(t){if(!this._config.isVisible){mi(t);return}this._getElement().classList.remove(ms);this._emulateAnimation((()=>{this.dispose();mi(t)}))}dispose(){if(!this._isAppended){return}Ni.off(this._element,bs);this._element.remove();this._isAppended=false}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className;if(this._config.isAnimated){t.classList.add(gs)}this._element=t}return this._element}_configAfterMerge(t){t.rootElement=ai(t.rootElement);return t}_append(){if(this._isAppended){return}const t=this._getElement();this._config.rootElement.append(t);Ni.on(t,bs,(()=>{mi(this._config.clickCallback)}));this._isAppended=true}_emulateAnimation(t){bi(t,this._getElement(),this._config.isAnimated)}}const xs="focustrap";const $s="bs.focustrap";const As=`.${$s}`;const _s=`focusin${As}`;const js=`keydown.tab${As}`;const Ts="Tab";const Es="forward";const Ms="backward";const Os={autofocus:true,trapElement:null};const Cs={autofocus:"boolean",trapElement:"element"};class Is extends Hi{constructor(t){super();this._config=this._getConfig(t);this._isActive=false;this._lastTabNavDirection=null}static get Default(){return Os}static get DefaultType(){return Cs}static get NAME(){return xs}activate(){if(this._isActive){return}if(this._config.autofocus){this._config.trapElement.focus()}Ni.off(document,As);Ni.on(document,_s,(t=>this._handleFocusin(t)));Ni.on(document,js,(t=>this._handleKeydown(t)));this._isActive=true}deactivate(){if(!this._isActive){return}this._isActive=false;Ni.off(document,As)}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target)){return}const i=Gi.focusableChildren(e);if(i.length===0){e.focus()}else if(this._lastTabNavDirection===Ms){i[i.length-1].focus()}else{i[0].focus()}}_handleKeydown(t){if(t.key!==Ts){return}this._lastTabNavDirection=t.shiftKey?Ms:Es}}const Ss=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top";const Ds=".sticky-top";const Ls="padding-right";const zs="margin-right";class Ns{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow();this._setElementAttributes(this._element,Ls,(e=>e+t));this._setElementAttributes(Ss,Ls,(e=>e+t));this._setElementAttributes(Ds,zs,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow");this._resetElementAttributes(this._element,Ls);this._resetElementAttributes(Ss,Ls);this._resetElementAttributes(Ds,zs)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow");this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();const r=t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n){return}this._saveInitialAttribute(t,e);const r=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(r))}px`)};this._applyManipulationCallback(t,r)}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);if(i){Fi.setDataAttribute(t,e,i)}}_resetElementAttributes(t,e){const i=t=>{const i=Fi.getDataAttribute(t,e);if(i===null){t.style.removeProperty(e);return}Fi.removeDataAttribute(t,e);t.style.setProperty(e,i)};this._applyManipulationCallback(t,i)}_applyManipulationCallback(t,e){if(oi(t)){e(t);return}for(const i of Gi.find(t,this._element)){e(i)}}}const Ps="modal";const Rs="bs.modal";const Bs=`.${Rs}`;const Fs=".data-api";const Hs="Escape";const Ws=`hide${Bs}`;const Us=`hidePrevented${Bs}`;const qs=`hidden${Bs}`;const Gs=`show${Bs}`;const Zs=`shown${Bs}`;const Qs=`resize${Bs}`;const Ys=`click.dismiss${Bs}`;const Js=`mousedown.dismiss${Bs}`;const Vs=`keydown.dismiss${Bs}`;const Xs=`click${Bs}${Fs}`;const Ks="modal-open";const to="fade";const eo="show";const io="modal-static";const no=".modal.show";const ro=".modal-dialog";const so=".modal-body";const oo='[data-bs-toggle="modal"]';const ao={backdrop:true,focus:true,keyboard:true};const co={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class uo extends Ui{constructor(t,e){super(t,e);this._dialog=Gi.findOne(ro,this._element);this._backdrop=this._initializeBackDrop();this._focustrap=this._initializeFocusTrap();this._isShown=false;this._isTransitioning=false;this._scrollBar=new Ns;this._addEventListeners()}static get Default(){return ao}static get DefaultType(){return co}static get NAME(){return Ps}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning){return}const e=Ni.trigger(this._element,Gs,{relatedTarget:t});if(e.defaultPrevented){return}this._isShown=true;this._isTransitioning=true;this._scrollBar.hide();document.body.classList.add(Ks);this._adjustDialog();this._backdrop.show((()=>this._showElement(t)))}hide(){if(!this._isShown||this._isTransitioning){return}const t=Ni.trigger(this._element,Ws);if(t.defaultPrevented){return}this._isShown=false;this._isTransitioning=true;this._focustrap.deactivate();this._element.classList.remove(eo);this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())}dispose(){Ni.off(window,Bs);Ni.off(this._dialog,Bs);this._backdrop.dispose();this._focustrap.deactivate();super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ks({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Is({trapElement:this._element})}_showElement(t){if(!document.body.contains(this._element)){document.body.append(this._element)}this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",true);this._element.setAttribute("role","dialog");this._element.scrollTop=0;const e=Gi.findOne(so,this._dialog);if(e){e.scrollTop=0}this._element.classList.add(eo);const i=()=>{if(this._config.focus){this._focustrap.activate()}this._isTransitioning=false;Ni.trigger(this._element,Zs,{relatedTarget:t})};this._queueCallback(i,this._dialog,this._isAnimated())}_addEventListeners(){Ni.on(this._element,Vs,(t=>{if(t.key!==Hs){return}if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}));Ni.on(window,Qs,(()=>{if(this._isShown&&!this._isTransitioning){this._adjustDialog()}}));Ni.on(this._element,Js,(t=>{Ni.one(this._element,Ys,(e=>{if(this._element!==t.target||this._element!==e.target){return}if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}if(this._config.backdrop){this.hide()}}))}))}_hideModal(){this._element.style.display="none";this._element.setAttribute("aria-hidden",true);this._element.removeAttribute("aria-modal");this._element.removeAttribute("role");this._isTransitioning=false;this._backdrop.hide((()=>{document.body.classList.remove(Ks);this._resetAdjustments();this._scrollBar.reset();Ni.trigger(this._element,qs)}))}_isAnimated(){return this._element.classList.contains(to)}_triggerBackdropTransition(){const t=Ni.trigger(this._element,Us);if(t.defaultPrevented){return}const e=this._element.scrollHeight>document.documentElement.clientHeight;const i=this._element.style.overflowY;if(i==="hidden"||this._element.classList.contains(io)){return}if(!e){this._element.style.overflowY="hidden"}this._element.classList.add(io);this._queueCallback((()=>{this._element.classList.remove(io);this._queueCallback((()=>{this._element.style.overflowY=i}),this._dialog)}),this._dialog);this._element.focus()}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight;const e=this._scrollBar.getWidth();const i=e>0;if(i&&!t){const t=vi()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=vi()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="";this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=uo.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof i[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}i[t](e)}))}}Ni.on(document,Xs,oo,(function(t){const e=Gi.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)){t.preventDefault()}Ni.one(e,Gs,(t=>{if(t.defaultPrevented){return}Ni.one(e,qs,(()=>{if(ci(this)){this.focus()}}))}));const i=Gi.findOne(no);if(i){uo.getInstance(i).hide()}const n=uo.getOrCreateInstance(e);n.toggle(this)}));Zi(uo);gi(uo);const lo="offcanvas";const fo="bs.offcanvas";const ho=`.${fo}`;const po=".data-api";const vo=`load${ho}${po}`;const go="Escape";const mo="show";const bo="showing";const wo="hiding";const yo="offcanvas-backdrop";const ko=".offcanvas.show";const xo=`show${ho}`;const $o=`shown${ho}`;const Ao=`hide${ho}`;const _o=`hidePrevented${ho}`;const jo=`hidden${ho}`;const To=`resize${ho}`;const Eo=`click${ho}${po}`;const Mo=`keydown.dismiss${ho}`;const Oo='[data-bs-toggle="offcanvas"]';const Co={backdrop:true,keyboard:true,scroll:false};const Io={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class So extends Ui{constructor(t,e){super(t,e);this._isShown=false;this._backdrop=this._initializeBackDrop();this._focustrap=this._initializeFocusTrap();this._addEventListeners()}static get Default(){return Co}static get DefaultType(){return Io}static get NAME(){return lo}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown){return}const e=Ni.trigger(this._element,xo,{relatedTarget:t});if(e.defaultPrevented){return}this._isShown=true;this._backdrop.show();if(!this._config.scroll){(new Ns).hide()}this._element.setAttribute("aria-modal",true);this._element.setAttribute("role","dialog");this._element.classList.add(bo);const i=()=>{if(!this._config.scroll||this._config.backdrop){this._focustrap.activate()}this._element.classList.add(mo);this._element.classList.remove(bo);Ni.trigger(this._element,$o,{relatedTarget:t})};this._queueCallback(i,this._element,true)}hide(){if(!this._isShown){return}const t=Ni.trigger(this._element,Ao);if(t.defaultPrevented){return}this._focustrap.deactivate();this._element.blur();this._isShown=false;this._element.classList.add(wo);this._backdrop.hide();const e=()=>{this._element.classList.remove(mo,wo);this._element.removeAttribute("aria-modal");this._element.removeAttribute("role");if(!this._config.scroll){(new Ns).reset()}Ni.trigger(this._element,jo)};this._queueCallback(e,this._element,true)}dispose(){this._backdrop.dispose();this._focustrap.deactivate();super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){Ni.trigger(this._element,_o);return}this.hide()};const e=Boolean(this._config.backdrop);return new ks({className:yo,isVisible:e,isAnimated:true,rootElement:this._element.parentNode,clickCallback:e?t:null})}_initializeFocusTrap(){return new Is({trapElement:this._element})}_addEventListeners(){Ni.on(this._element,Mo,(t=>{if(t.key!==go){return}if(this._config.keyboard){this.hide();return}Ni.trigger(this._element,_o)}))}static jQueryInterface(t){return this.each((function(){const e=So.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t](this)}))}}Ni.on(document,Eo,Oo,(function(t){const e=Gi.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)){t.preventDefault()}if(ui(this)){return}Ni.one(e,jo,(()=>{if(ci(this)){this.focus()}}));const i=Gi.findOne(ko);if(i&&i!==e){So.getInstance(i).hide()}const n=So.getOrCreateInstance(e);n.toggle(this)}));Ni.on(window,vo,(()=>{for(const t of Gi.find(ko)){So.getOrCreateInstance(t).show()}}));Ni.on(window,To,(()=>{for(const t of Gi.find("[aria-modal][class*=show][class*=offcanvas-]")){if(getComputedStyle(t).position!=="fixed"){So.getOrCreateInstance(t).hide()}}}));Zi(So);gi(So);const Do=/^aria-[\w-]*$/i;const Lo={"*":["class","dir","id","lang","role",Do],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};const zo=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]);const No=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;const Po=(t,e)=>{const i=t.nodeName.toLowerCase();if(e.includes(i)){if(zo.has(i)){return Boolean(No.test(t.nodeValue))}return true}return e.filter((t=>t instanceof RegExp)).some((t=>t.test(i)))};function Ro(t,e,i){if(!t.length){return t}if(i&&typeof i==="function"){return i(t)}const n=new window.DOMParser;const r=n.parseFromString(t,"text/html");const s=[].concat(...r.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=[].concat(...t.attributes);const r=[].concat(e["*"]||[],e[i]||[]);for(const e of n){if(!Po(e,r)){t.removeAttribute(e.nodeName)}}}return r.body.innerHTML}const Bo="TemplateFactory";const Fo={allowList:Lo,content:{},extraClass:"",html:false,sanitize:true,sanitizeFn:null,template:"<div></div>"};const Ho={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"};const Wo={entry:"(string|element|function|null)",selector:"(string|element)"};class Uo extends Hi{constructor(t){super();this._config=this._getConfig(t)}static get Default(){return Fo}static get DefaultType(){return Ho}static get NAME(){return Bo}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){this._checkContent(t);this._config.content={...this._config.content,...t};return this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,i]of Object.entries(this._config.content)){this._setContent(t,i,e)}const e=t.children[0];const i=this._resolvePossibleFunction(this._config.extraClass);if(i){e.classList.add(...i.split(" "))}return e}_typeCheckConfig(t){super._typeCheckConfig(t);this._checkContent(t.content)}_checkContent(t){for(const[e,i]of Object.entries(t)){super._typeCheckConfig({selector:e,entry:i},Wo)}}_setContent(t,e,i){const n=Gi.findOne(i,t);if(!n){return}e=this._resolvePossibleFunction(e);if(!e){n.remove();return}if(oi(e)){this._putElementInTemplate(ai(e),n);return}if(this._config.html){n.innerHTML=this._maybeSanitize(e);return}n.textContent=e}_maybeSanitize(t){return this._config.sanitize?Ro(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return mi(t,[this])}_putElementInTemplate(t,e){if(this._config.html){e.innerHTML="";e.append(t);return}e.textContent=t.textContent}}const qo="tooltip";const Go=new Set(["sanitize","allowList","sanitizeFn"]);const Zo="fade";const Qo="modal";const Yo="show";const Jo=".tooltip-inner";const Vo=`.${Qo}`;const Xo="hide.bs.modal";const Ko="hover";const ta="focus";const ea="click";const ia="manual";const na="hide";const ra="hidden";const sa="show";const oa="shown";const aa="inserted";const ca="click";const ua="focusin";const la="focusout";const fa="mouseenter";const ha="mouseleave";const da={AUTO:"auto",TOP:"top",RIGHT:vi()?"left":"right",BOTTOM:"bottom",LEFT:vi()?"right":"left"};const pa={allowList:Lo,animation:true,boundary:"clippingParents",container:false,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:false,offset:[0,6],placement:"top",popperConfig:null,sanitize:true,sanitizeFn:null,selector:false,template:'<div class="tooltip" role="tooltip">'+'<div class="tooltip-arrow"></div>'+'<div class="tooltip-inner"></div>'+"</div>",title:"",trigger:"hover focus"};const va={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ga extends Ui{constructor(t,e){if(typeof Ye==="undefined"){throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)")}super(t,e);this._isEnabled=true;this._timeout=0;this._isHovered=null;this._activeTrigger={};this._popper=null;this._templateFactory=null;this._newContent=null;this.tip=null;this._setListeners();if(!this._config.selector){this._fixTitle()}}static get Default(){return pa}static get DefaultType(){return va}static get NAME(){return qo}enable(){this._isEnabled=true}disable(){this._isEnabled=false}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(!this._isEnabled){return}this._activeTrigger.click=!this._activeTrigger.click;if(this._isShown()){this._leave();return}this._enter()}dispose(){clearTimeout(this._timeout);Ni.off(this._element.closest(Vo),Xo,this._hideModalHandler);if(this._element.getAttribute("data-bs-original-title")){this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title"))}this._disposePopper();super.dispose()}show(){if(this._element.style.display==="none"){throw new Error("Please use show on visible elements")}if(!(this._isWithContent()&&this._isEnabled)){return}const t=Ni.trigger(this._element,this.constructor.eventName(sa));const e=li(this._element);const i=(e||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!i){return}this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:r}=this._config;if(!this._element.ownerDocument.documentElement.contains(this.tip)){r.append(n);Ni.trigger(this._element,this.constructor.eventName(aa))}this._popper=this._createPopper(n);n.classList.add(Yo);if("ontouchstart"in document.documentElement){for(const t of[].concat(...document.body.children)){Ni.on(t,"mouseover",fi)}}const s=()=>{Ni.trigger(this._element,this.constructor.eventName(oa));if(this._isHovered===false){this._leave()}this._isHovered=false};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()){return}const t=Ni.trigger(this._element,this.constructor.eventName(na));if(t.defaultPrevented){return}const e=this._getTipElement();e.classList.remove(Yo);if("ontouchstart"in document.documentElement){for(const t of[].concat(...document.body.children)){Ni.off(t,"mouseover",fi)}}this._activeTrigger[ea]=false;this._activeTrigger[ta]=false;this._activeTrigger[Ko]=false;this._isHovered=null;const i=()=>{if(this._isWithActiveTrigger()){return}if(!this._isHovered){this._disposePopper()}this._element.removeAttribute("aria-describedby");Ni.trigger(this._element,this.constructor.eventName(ra))};this._queueCallback(i,this.tip,this._isAnimated())}update(){if(this._popper){this._popper.update()}}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){if(!this.tip){this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())}return this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e){return null}e.classList.remove(Zo,Yo);e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=ni(this.constructor.NAME).toString();e.setAttribute("id",i);if(this._isAnimated()){e.classList.add(Zo)}return e}setContent(t){this._newContent=t;if(this._isShown()){this._disposePopper();this.show()}}_getTemplateFactory(t){if(this._templateFactory){this._templateFactory.changeContent(t)}else{this._templateFactory=new Uo({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)})}return this._templateFactory}_getContentForTemplate(){return{[Jo]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Zo)}_isShown(){return this.tip&&this.tip.classList.contains(Yo)}_createPopper(t){const e=mi(this._config.placement,[this,t,this._element]);const i=da[e.toUpperCase()];return Qe(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;if(typeof t==="string"){return t.split(",").map((t=>Number.parseInt(t,10)))}if(typeof t==="function"){return e=>t(e,this._element)}return t}_resolvePossibleFunction(t){return mi(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:true,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...mi(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t){if(e==="click"){Ni.on(this._element,this.constructor.eventName(ca),this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e.toggle()}))}else if(e!==ia){const t=e===Ko?this.constructor.eventName(fa):this.constructor.eventName(ua);const i=e===Ko?this.constructor.eventName(ha):this.constructor.eventName(la);Ni.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger[t.type==="focusin"?ta:Ko]=true;e._enter()}));Ni.on(this._element,i,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger[t.type==="focusout"?ta:Ko]=e._element.contains(t.relatedTarget);e._leave()}))}}this._hideModalHandler=()=>{if(this._element){this.hide()}};Ni.on(this._element.closest(Vo),Xo,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");if(!t){return}if(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()){this._element.setAttribute("aria-label",t)}this._element.setAttribute("data-bs-original-title",t);this._element.removeAttribute("title")}_enter(){if(this._isShown()||this._isHovered){this._isHovered=true;return}this._isHovered=true;this._setTimeout((()=>{if(this._isHovered){this.show()}}),this._config.delay.show)}_leave(){if(this._isWithActiveTrigger()){return}this._isHovered=false;this._setTimeout((()=>{if(!this._isHovered){this.hide()}}),this._config.delay.hide)}_setTimeout(t,e){clearTimeout(this._timeout);this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(true)}_getConfig(t){const e=Fi.getDataAttributes(this._element);for(const t of Object.keys(e)){if(Go.has(t)){delete e[t]}}t={...e,...typeof t==="object"&&t?t:{}};t=this._mergeConfigObj(t);t=this._configAfterMerge(t);this._typeCheckConfig(t);return t}_configAfterMerge(t){t.container=t.container===false?document.body:ai(t.container);if(typeof t.delay==="number"){t.delay={show:t.delay,hide:t.delay}}if(typeof t.title==="number"){t.title=t.title.toString()}if(typeof t.content==="number"){t.content=t.content.toString()}return t}_getDelegateConfig(){const t={};for(const[e,i]of Object.entries(this._config)){if(this.constructor.Default[e]!==i){t[e]=i}}t.selector=false;t.trigger="manual";return t}_disposePopper(){if(this._popper){this._popper.destroy();this._popper=null}if(this.tip){this.tip.remove();this.tip=null}}static jQueryInterface(t){return this.each((function(){const e=ga.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}gi(ga);const ma="popover";const ba=".popover-header";const wa=".popover-body";const ya={...ga.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip">'+'<div class="popover-arrow"></div>'+'<h3 class="popover-header"></h3>'+'<div class="popover-body"></div>'+"</div>",trigger:"click"};const ka={...ga.DefaultType,content:"(null|string|element|function)"};class xa extends ga{static get Default(){return ya}static get DefaultType(){return ka}static get NAME(){return ma}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[ba]:this._getTitle(),[wa]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=xa.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}gi(xa);const $a="scrollspy";const Aa="bs.scrollspy";const _a=`.${Aa}`;const ja=".data-api";const Ta=`activate${_a}`;const Ea=`click${_a}`;const Ma=`load${_a}${ja}`;const Oa="dropdown-item";const Ca="active";const Ia='[data-bs-spy="scroll"]';const Sa="[href]";const Da=".nav, .list-group";const La=".nav-link";const za=".nav-item";const Na=".list-group-item";const Pa=`${La}, ${za} > ${La}, ${Na}`;const Ra=".dropdown";const Ba=".dropdown-toggle";const Fa={offset:null,rootMargin:"0px 0px -25%",smoothScroll:false,target:null,threshold:[.1,.5,1]};const Ha={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Wa extends Ui{constructor(t,e){super(t,e);this._targetLinks=new Map;this._observableSections=new Map;this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element;this._activeTarget=null;this._observer=null;this._previousScrollData={visibleEntryTop:0,parentScrollTop:0};this.refresh()}static get Default(){return Fa}static get DefaultType(){return Ha}static get NAME(){return $a}refresh(){this._initializeTargetsAndObservables();this._maybeEnableSmoothScroll();if(this._observer){this._observer.disconnect()}else{this._observer=this._getNewObserver()}for(const t of this._observableSections.values()){this._observer.observe(t)}}dispose(){this._observer.disconnect();super.dispose()}_configAfterMerge(t){t.target=ai(t.target)||document.body;t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin;if(typeof t.threshold==="string"){t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))}return t}_maybeEnableSmoothScroll(){if(!this._config.smoothScroll){return}Ni.off(this._config.target,Ea);Ni.on(this._config.target,Ea,Sa,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window;const n=e.offsetTop-this._element.offsetTop;if(i.scrollTo){i.scrollTo({top:n,behavior:"smooth"});return}i.scrollTop=n}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`);const i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop;this._process(e(t))};const n=(this._rootElement||document.documentElement).scrollTop;const r=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const s of t){if(!s.isIntersecting){this._activeTarget=null;this._clearActiveClass(e(s));continue}const t=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&t){i(s);if(!n){return}continue}if(!r&&!t){i(s)}}}_initializeTargetsAndObservables(){this._targetLinks=new Map;this._observableSections=new Map;const t=Gi.find(Sa,this._config.target);for(const e of t){if(!e.hash||ui(e)){continue}const t=Gi.findOne(decodeURI(e.hash),this._element);if(ci(t)){this._targetLinks.set(decodeURI(e.hash),e);this._observableSections.set(e.hash,t)}}}_process(t){if(this._activeTarget===t){return}this._clearActiveClass(this._config.target);this._activeTarget=t;t.classList.add(Ca);this._activateParents(t);Ni.trigger(this._element,Ta,{relatedTarget:t})}_activateParents(t){if(t.classList.contains(Oa)){Gi.findOne(Ba,t.closest(Ra)).classList.add(Ca);return}for(const e of Gi.parents(t,Da)){for(const t of Gi.prev(e,Pa)){t.classList.add(Ca)}}}_clearActiveClass(t){t.classList.remove(Ca);const e=Gi.find(`${Sa}.${Ca}`,t);for(const t of e){t.classList.remove(Ca)}}static jQueryInterface(t){return this.each((function(){const e=Wa.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}Ni.on(window,Ma,(()=>{for(const t of Gi.find(Ia)){Wa.getOrCreateInstance(t)}}));gi(Wa);const Ua="tab";const qa="bs.tab";const Ga=`.${qa}`;const Za=`hide${Ga}`;const Qa=`hidden${Ga}`;const Ya=`show${Ga}`;const Ja=`shown${Ga}`;const Va=`click${Ga}`;const Xa=`keydown${Ga}`;const Ka=`load${Ga}`;const tc="ArrowLeft";const ec="ArrowRight";const ic="ArrowUp";const nc="ArrowDown";const rc="Home";const sc="End";const oc="active";const ac="fade";const cc="show";const uc="dropdown";const lc=".dropdown-toggle";const fc=".dropdown-menu";const hc=`:not(${lc})`;const dc='.list-group, .nav, [role="tablist"]';const pc=".nav-item, .list-group-item";const vc=`.nav-link${hc}, .list-group-item${hc}, [role="tab"]${hc}`;const gc='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]';const mc=`${vc}, ${gc}`;const bc=`.${oc}[data-bs-toggle="tab"], .${oc}[data-bs-toggle="pill"], .${oc}[data-bs-toggle="list"]`;class wc extends Ui{constructor(t){super(t);this._parent=this._element.closest(dc);if(!this._parent){return}this._setInitialAttributes(this._parent,this._getChildren());Ni.on(this._element,Xa,(t=>this._keydown(t)))}static get NAME(){return Ua}show(){const t=this._element;if(this._elemIsActive(t)){return}const e=this._getActiveElem();const i=e?Ni.trigger(e,Za,{relatedTarget:t}):null;const n=Ni.trigger(t,Ya,{relatedTarget:e});if(n.defaultPrevented||i&&i.defaultPrevented){return}this._deactivate(e,t);this._activate(t,e)}_activate(t,e){if(!t){return}t.classList.add(oc);this._activate(Gi.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(cc);return}t.removeAttribute("tabindex");t.setAttribute("aria-selected",true);this._toggleDropDown(t,true);Ni.trigger(t,Ja,{relatedTarget:e})};this._queueCallback(i,t,t.classList.contains(ac))}_deactivate(t,e){if(!t){return}t.classList.remove(oc);t.blur();this._deactivate(Gi.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(cc);return}t.setAttribute("aria-selected",false);t.setAttribute("tabindex","-1");this._toggleDropDown(t,false);Ni.trigger(t,Qa,{relatedTarget:e})};this._queueCallback(i,t,t.classList.contains(ac))}_keydown(t){if(![tc,ec,ic,nc,rc,sc].includes(t.key)){return}t.stopPropagation();t.preventDefault();const e=this._getChildren().filter((t=>!ui(t)));let i;if([rc,sc].includes(t.key)){i=e[t.key===rc?0:e.length-1]}else{const n=[ec,nc].includes(t.key);i=wi(e,t.target,n,true)}if(i){i.focus({preventScroll:true});wc.getOrCreateInstance(i).show()}}_getChildren(){return Gi.find(mc,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e){this._setInitialAttributesOnChild(t)}}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t);const i=this._getOuterElement(t);t.setAttribute("aria-selected",e);if(i!==t){this._setAttributeIfNotExists(i,"role","presentation")}if(!e){t.setAttribute("tabindex","-1")}this._setAttributeIfNotExists(t,"role","tab");this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=Gi.getElementFromSelector(t);if(!e){return}this._setAttributeIfNotExists(e,"role","tabpanel");if(t.id){this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`)}}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains(uc)){return}const n=(t,n)=>{const r=Gi.findOne(t,i);if(r){r.classList.toggle(n,e)}};n(lc,oc);n(fc,cc);i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){if(!t.hasAttribute(e)){t.setAttribute(e,i)}}_elemIsActive(t){return t.classList.contains(oc)}_getInnerElement(t){return t.matches(mc)?t:Gi.findOne(mc,t)}_getOuterElement(t){return t.closest(pc)||t}static jQueryInterface(t){return this.each((function(){const e=wc.getOrCreateInstance(this);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}Ni.on(document,Va,gc,(function(t){if(["A","AREA"].includes(this.tagName)){t.preventDefault()}if(ui(this)){return}wc.getOrCreateInstance(this).show()}));Ni.on(window,Ka,(()=>{for(const t of Gi.find(bc)){wc.getOrCreateInstance(t)}}));gi(wc);const yc="toast";const kc="bs.toast";const xc=`.${kc}`;const $c=`mouseover${xc}`;const Ac=`mouseout${xc}`;const _c=`focusin${xc}`;const jc=`focusout${xc}`;const Tc=`hide${xc}`;const Ec=`hidden${xc}`;const Mc=`show${xc}`;const Oc=`shown${xc}`;const Cc="fade";const Ic="hide";const Sc="show";const Dc="showing";const Lc={animation:"boolean",autohide:"boolean",delay:"number"};const zc={animation:true,autohide:true,delay:5e3};class Nc extends Ui{constructor(t,e){super(t,e);this._timeout=null;this._hasMouseInteraction=false;this._hasKeyboardInteraction=false;this._setListeners()}static get Default(){return zc}static get DefaultType(){return Lc}static get NAME(){return yc}show(){const t=Ni.trigger(this._element,Mc);if(t.defaultPrevented){return}this._clearTimeout();if(this._config.animation){this._element.classList.add(Cc)}const e=()=>{this._element.classList.remove(Dc);Ni.trigger(this._element,Oc);this._maybeScheduleHide()};this._element.classList.remove(Ic);this._element.classList.add(Sc,Dc);this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown()){return}const t=Ni.trigger(this._element,Tc);if(t.defaultPrevented){return}const e=()=>{this._element.classList.add(Ic);this._element.classList.remove(Dc,Sc);Ni.trigger(this._element,Ec)};this._element.classList.add(Dc);this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout();if(this.isShown()){this._element.classList.remove(Sc)}super.dispose()}isShown(){return this._element.classList.contains(Sc)}_maybeScheduleHide(){if(!this._config.autohide){return}if(this._hasMouseInteraction||this._hasKeyboardInteraction){return}this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=e;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=e;break}}if(e){this._clearTimeout();return}const i=t.relatedTarget;if(this._element===i||this._element.contains(i)){return}this._maybeScheduleHide()}_setListeners(){Ni.on(this._element,$c,(t=>this._onInteraction(t,true)));Ni.on(this._element,Ac,(t=>this._onInteraction(t,false)));Ni.on(this._element,_c,(t=>this._onInteraction(t,true)));Ni.on(this._element,jc,(t=>this._onInteraction(t,false)))}_clearTimeout(){clearTimeout(this._timeout);this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Nc.getOrCreateInstance(this,t);if(typeof t==="string"){if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t](this)}}))}}Zi(Nc);gi(Nc);const Pc="";const Rc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){return e(i,null,e("h2",{class:"card-title mb-2"},"FAQ"),e("div",{class:"accordion",id:"aico-faq-accordion"},this.content.faqItems.map(((t,i)=>{var n;const r=(n=t.translations.find((t=>t.locale===this.locale)))!==null&&n!==void 0?n:null;if(!r){return null}return e("div",{class:"accordion-item"},e("h2",{class:"accordion-header",id:`heading-${i}`},e("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":`#collapse-${i}`,"aria-expanded":"false","aria-controls":`collapse-${i}`},r.question)),e("div",{id:`collapse-${i}`,class:"accordion-collapse collapse","aria-labelledby":`heading-${i}`,"data-bs-parent":"#aico-faq-accordion"},e("div",{class:"accordion-body"},r.answer)))}))))}};Rc.style=Pc;const Bc="";const Fc=class{constructor(e){t(this,e);this.article=undefined;this.aicoUrl=undefined;this.aicoBearerToken=undefined;this.locale="de";this.hideDateAndAuthor=false;this.hideCategoryAndTags=false;this.articleId=undefined;this.articleUrlHandle=undefined}connectedCallback(){this.articleFetchController=new AbortController;this.api={baseApi:this.aicoUrl,bearerToken:this.aicoBearerToken}}disconnectedCallback(){this.articleFetchController.abort("disconnected")}async componentWillLoad(){if(!this.articleId&&!this.articleUrlHandle){throw new Error("Either the article id or the url handle must be provided.")}try{if(this.articleUrlHandle){this.article=await w(this.api,this.articleUrlHandle,this.articleFetchController.signal);return}this.article=await b(this.api,this.articleId,this.articleFetchController.signal)}catch(t){console.error("Could not fetch the news Article with the given data","[articleId]",this.articleId,"[articleUrlHandle]",this.articleUrlHandle)}}render(){return e(n,null,e(h,{condition:this.article!==undefined},e("aico-article-detail",{article:this.article,locale:this.locale,"hide-date-and-author":this.hideDateAndAuthor})),e(h,{condition:this.article===undefined},e("p",null,"Not found")))}};Fc.style=Bc;const Hc=".content.sc-aico-heading-content{display:flex;flex-flow:column;width:100%;margin:10px auto}.content-align-with-text.sc-aico-heading-content{align-content:space-between;max-width:1278px;display:flex;flex-flow:row wrap;width:100%;margin:0 auto}.title-wrapper.sc-aico-heading-content{width:fit-content;border-radius:10px;margin-bottom:10px;margin-left:0;padding:15px}.description.sc-aico-heading-content{width:fit-content;padding:10px;border-radius:10px;white-space:pre-line}@media screen and (max-width: 768px){.content.sc-aico-heading-content{min-height:300px !important}}";const Wc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const i=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const n={"justify-content":this.content.isTextAtMiddleOfImage?"center":"flex-end"};if(!x(this.content.picture)){n["min-height"]=this.content.isImageHeightHalfSize?"400px":"600px";n["background-size"]=this.content.isImageHeightHalfSize?"100%":"cover";n["background-image"]=`url(${this.content.picture})`;n["background-repeat"]="no-repeat";n["background-position"]="center"}const r={"background-color":this.content.textBackgroundColor};if(this.content.fontSize){r["font-size"]=`${this.content.fontSize}px`}if(!x(this.content.fontFamily)){r["font-family"]=this.content.fontFamily}const s={"background-color":this.content.textBackgroundColor};if(!x(this.content.textColor)){s["color"]=this.content.textColor}return e("div",{class:this.content.isHeadingAlignedWithText?"content content-align-with-text":"content",style:n},e(h,{condition:i!==null},e("div",{class:"title-wrapper",style:r},e("aico-title-content",{content:this.makeTitleContent(i),locale:this.locale})),e("span",{class:"description",style:s},i.description)))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h1",titleColor:this.content.textColor,translations:[Object.assign({},t)]}}};Wc.style=Hc;const Uc=".sc-aico-html-content-h{display:block}";const qc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const i=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e(h,{condition:i!==null&&!x(i.text)},e("div",{innerHTML:i.text}))}};qc.style=Uc;const Gc=".sc-aico-link-content-h {\n --hover-button-color: unset;\n}\n\n.image-link-wrapper.sc-aico-link-content {\n display: flex;\n}\n\n.image-link.sc-aico-link-content {\n display: block;\n text-align: center;\n &:hover {\n opacity: 0.5;\n }\n}\n\n.arrow-button.sc-aico-link-content {\n float: right;\n font-size: 30px;\n margin-top: -10px;\n}\n\n.button_link.sc-aico-link-content {\n display: block;\n text-decoration: none;\n text-transform: uppercase;\n padding: 12px;\n text-align: center;\n font-weight: 900;\n font-size: 1.5rem;\n line-height: 1;\n letter-spacing: 0.03rem;\n border-radius: 5px;\n &:hover {\n background-color: var(--hover-button-color) !important;\n }\n}";const Zc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,n,r;const s=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const o={};if(this.content.textButtonColor){o["color"]=this.content.textButtonColor}if(this.content.textButtonColor){o["background-color"]=this.content.textButtonColor}if(this.content.fontSize){o["font-size"]=`${this.content.fontSize}px`}if(this.content.fontFamily){o["font-family"]=this.content.fontFamily}if(this.content.hoverColor){o["--hover-button-color"]=this.content.hoverColor}return e(i,null,e(h,{condition:!x(s===null||s===void 0?void 0:s.title)},e("label",null,s===null||s===void 0?void 0:s.title,": ")),e(h,{condition:this.content.isImageLink!==undefined&&this.content.isImageLink},e("div",{class:"image-link-wrapper",style:{"justify-content":this.content.picturePosition}},e("a",{href:(n=s===null||s===void 0?void 0:s.link)!==null&&n!==void 0?n:"#",target:"_blank",class:"image-link",style:{width:this.content.isImageFullSize?"100%":y(this.content.pictureSize)}},e("img",{src:s===null||s===void 0?void 0:s.imageUrl})))),e(h,{condition:this.content.isImageLink===null||!this.content.isImageLink},e("a",{href:(r=s===null||s===void 0?void 0:s.link)!==null&&r!==void 0?r:"#",target:"_blank",class:this.content.isButtonLink?"button-link":"",style:o},e("span",{class:"arrow-button"}," →"))))}};Zc.style=Gc;const Qc=".news-article.sc-aico-news-content{cursor:pointer}.news-article-img.sc-aico-news-content{transition:scale 0.5s ease-in-out}.news-article.sc-aico-news-content:hover .news-article-img.sc-aico-news-content{scale:1.2}";const Yc=class{constructor(e){t(this,e);this.newsArticleClicked=r(this,"newsArticleClicked",7);this.content=undefined}render(){return e("div",{class:"card-group"},this.content.aicoShopNews.map((t=>{var i,n,r,s;return e("div",{class:"news-article card h-100 pe-auto",onClick:()=>{var e;(e=this.newsArticleClicked)===null||e===void 0?void 0:e.emit(t)}},e("div",{class:"ratio ratio-4x3 overflow-hidden "},e("img",{class:"news-article-img card-img-top img-fluid object-fit-cover",style:{"object-position":"center"},src:(n=(i=t.image)!==null&&i!==void 0?i:t.headlineImage)!==null&&n!==void 0?n:"https://cdn.shopify.com/s/files/1/0565/2201/4813/files/blank-img.png?v=13432316686103745237%20406w"})),e("div",{class:"card-body",style:{"min-height":"6rem","background-color":(r=this.content.textBackgroundColor)!==null&&r!==void 0?r:"royalBlue"}},e("h5",{class:"card-title"},t.name)),e(h,{condition:!x(t.excerpt)},e("div",{class:"card-footer",style:{"background-color":(s=this.content.textBackgroundColor)!==null&&s!==void 0?s:"royalBlue",color:"white"}},e("small",{class:"text-muted"},t.excerpt))))})))}};Yc.style=Qc;const Jc="";const Vc=class{constructor(e){t(this,e);this.articleClick=r(this,"articleClick",7);this.newsResponse=undefined;this.pageNumber=1;this.aicoUrl=undefined;this.aicoBearerToken=undefined;this.newsChannels=[];this.newsSellerIds=[];this.newsBrandIds=[];this.newsLanguageLocales=[];this.pageSize=16;this.nextButtonText="Next";this.previousButtonText="Previous";this.locale="de"}connectedCallback(){this.newsListFetchController=new AbortController;this.pageNumber=1;this.api={baseApi:this.aicoUrl,bearerToken:this.aicoBearerToken}}disconnectedCallback(){this.newsListFetchController.abort("disconnected")}async componentWillLoad(){this.newsResponse=await g(this.api,this.pageNumber,this.pageSize,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}async componentWillUpdate(){this.newsListFetchController=new AbortController;this.newsResponse=await g(this.api,this.pageNumber,this.pageSize,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}render(){var t,n,r;return e(i,null,e("div",{class:"row row-cols-1 row-cols-sm-2 row-cols-lg-4 g-4 mb-4"},(t=this.newsResponse)===null||t===void 0?void 0:t.data.map((t=>e("div",{class:"col"},e("aico-news-list-item",{article:t,onArticleClick:t=>{var e;(e=this.articleClick)===null||e===void 0?void 0:e.emit(t.detail)},locale:this.locale}))))),e("nav",{class:"w-100","aria-label":"News navigation"},e("ul",{class:"pagination justify-content-center"},e("li",{class:`page-item page-link user-select-none d-flex align-items-center ${!((n=this.newsResponse)===null||n===void 0?void 0:n.links.prev)?"disabled":""}`,style:{cursor:"pointer"},onClick:()=>{if(this.pageNumber>1){this.pageNumber-=1}return false}},e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"bi bi-chevron-left me-1 fs-4",style:{width:"1em",height:"1em"},viewBox:"0 0 16 16"},e("path",{"fill-rule":"evenodd",d:"M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0"})),this.previousButtonText),this.getViewablePages().map((t=>e("li",{class:`page-item page-link user-select-none ${t==="..."?"disabled":Number(t)===this.pageNumber?"active":""}`,style:{cursor:"pointer"},onClick:()=>{if(t!=="..."){this.pageNumber=Number(t)}return false}},t))),e("li",{class:`page-item page-link user-select-none d-flex align-items-center ${!((r=this.newsResponse)===null||r===void 0?void 0:r.links.next)?"disabled":""}`,style:{cursor:"pointer"},onClick:()=>{var t,e;if(((t=this.newsResponse)===null||t===void 0?void 0:t.meta.page.lastPage)&&this.pageNumber<((e=this.newsResponse)===null||e===void 0?void 0:e.meta.page.lastPage)){this.pageNumber+=1}}},this.nextButtonText,e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"bi bi-chevron-right ms-1 fs-4",style:{width:"1em",height:"1em"},viewBox:"0 0 16 16"},e("path",{"fill-rule":"evenodd",d:"M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708"}))))))}getViewablePages(t=2){var e,i,n,r,s,o,a;const c=[];if(this.pageNumber-t>=2){c.push("1")}if(this.pageNumber-t>2){c.push("...")}for(let e=this.pageNumber-t;e<this.pageNumber;e+=1){if(e>=1){c.push(`${e}`)}}c.push(`${this.pageNumber}`);for(let n=this.pageNumber+1;n<=this.pageNumber+t;n+=1){if(n<=((i=(e=this.newsResponse)===null||e===void 0?void 0:e.meta.page.lastPage)!==null&&i!==void 0?i:0)){c.push(`${n}`)}}if(this.pageNumber+t<((r=(n=this.newsResponse)===null||n===void 0?void 0:n.meta.page.lastPage)!==null&&r!==void 0?r:0)-1){c.push("...")}if(this.pageNumber+t<=((o=(s=this.newsResponse)===null||s===void 0?void 0:s.meta.page.lastPage)!==null&&o!==void 0?o:0)-1){c.push(`${(a=this.newsResponse)===null||a===void 0?void 0:a.meta.page.lastPage}`)}return c}};Vc.style=Jc;const Xc="";const Kc=class{constructor(e){t(this,e);this.articleClick=r(this,"articleClick",7);this.article=undefined;this.locale="de"}render(){var t,i,n,r;return e("div",{class:"card h-100 pe-auto",style:{cursor:"pointer"},onClick:()=>{var t;(t=this.articleClick)===null||t===void 0?void 0:t.emit(this.article)}},e("div",{class:"ratio ratio-16x9 overflow-hidden"},e("img",{class:"object-fit-cover",style:{"min-height":"15rem"},alt:"Article image",src:(i=(t=this.article.attributes.optimizedListImage)!==null&&t!==void 0?t:this.article.attributes.optimizedImage)!==null&&i!==void 0?i:this.article.attributes.image}),e("div",{class:"card-img-overlay d-flex justify-content-end"})),e("div",{class:"card-body"},e("h5",{class:"card-title"},(r=(n=this.article.attributes.translations.find((t=>t.locale===this.locale)))===null||n===void 0?void 0:n.name)!==null&&r!==void 0?r:this.article.attributes.name),e("p",{class:"card-text"},this.article.attributes.excerpt)))}};Kc.style=Xc;const tu=".sc-aico-no-content-h{display:block}";const eu=class{constructor(e){t(this,e)}render(){return e("div",null,e("span",null,"The content cannot be rendered because it is either malformed or not supported."))}};eu.style=tu;const iu=".sc-aico-page-content-h{display:block}";const nu=class{constructor(e){t(this,e);this.pageClicked=r(this,"pageClicked",7);this.content=undefined;this.locale="de"}render(){var t,n,r,s,o;const a=(t=this.content.landingPage.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e(i,{style:{"max-width":"300px"}},e("div",{class:"card pe-auto"},e("div",{class:"ratio ratio-4x3"},e("img",{class:"card-img-top img-fluid object-fit-cover",style:{"object-position":"center"},src:(n=this.content.landingPage.image)!==null&&n!==void 0?n:"https://cdn.shopify.com/s/files/1/0565/2201/4813/files/blank-img.png?v=13432316686103745237%20406w",alt:(r=a===null||a===void 0?void 0:a.imageAlt)!==null&&r!==void 0?r:"Landing page image"})),e("div",{class:"card-body",style:{"min-height":"6rem"}},e("h5",{class:"card-title"},a===null||a===void 0?void 0:a.name),e(h,{condition:this.content.openExternalLink&&!x(this.content.externalLink)},e("a",{href:this.content.externalLink,class:"card-link"},(s=a===null||a===void 0?void 0:a.buttonText)!==null&&s!==void 0?s:"Navigate to page")),e(h,{condition:!this.content.openExternalLink},e("a",{href:"#",class:"card-link",onClick:t=>{var e;t.preventDefault();(e=this.pageClicked)===null||e===void 0?void 0:e.emit(this.content)}},(o=a===null||a===void 0?void 0:a.buttonText)!==null&&o!==void 0?o:"Navigate to page"))),e(h,{condition:a!==null&&!x(a.excerpt)},e("div",{class:"card-footer"},e("small",{class:"text-muted"},a===null||a===void 0?void 0:a.excerpt)))))}};nu.style=iu;const ru=".slick-slide.sc-aico-special-news-carousel>div.sc-aico-special-news-carousel{height:100% !important}";const su=class{constructor(e){t(this,e);this.articleClicked=r(this,"articleClicked",7);this.newsResponse=undefined;this.aicoUrl=undefined;this.aicoBearerToken=undefined;this.newsChannels=[];this.newsSellerIds=[];this.newsBrandIds=[];this.newsLanguageLocales=[];this.numberOfArticles=6;this.locale="de"}connectedCallback(){this.newsListFetchController=new AbortController;this.api={baseApi:this.aicoUrl,bearerToken:this.aicoBearerToken}}disconnectedCallback(){this.newsListFetchController.abort("disconnected")}async componentWillLoad(){this.newsResponse=await m(this.api,1,this.numberOfArticles,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}async componentWillUpdate(){this.newsListFetchController=new AbortController;this.newsResponse=await m(this.api,1,this.numberOfArticles,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}componentDidLoad(){c(".carousel").slick({autoplay:true,autoplaySpeed:6e3,dots:true,arrows:false,pauseOnDotsHover:true})}render(){return e("div",{class:"carousel"},this.newsResponse.data.map((t=>{var i,n,r;const s=t.attributes.focusXPercentage?`${t.attributes.focusXPercentage}%`:"center";const o=t.attributes.focusYPercentage?`${t.attributes.focusYPercentage}%`:"center";return e("div",{class:"carousel-item card border-0"},e("div",{class:"card-body"},e("h5",{class:"card-title text-center text-uppercase"},e("a",{class:"text-reset text-decoration-none",href:"#",onClick:e=>{var i;e.preventDefault();(i=this.articleClicked)===null||i===void 0?void 0:i.emit(t)}},(n=(i=t.attributes.translations.find((t=>t.locale===this.locale)))===null||i===void 0?void 0:i.name)!==null&&n!==void 0?n:t.attributes.name))),e("div",{class:"ratio ratio-16x9 mx-auto",style:{"max-width":"50%"}},e("img",{class:"card-img-bottom object-fit-cover",style:{"object-position":`${s} ${o}`,"min-height":"15rem"},alt:"News Picture","data-lazy":(r=t.attributes.optimizedImage)!==null&&r!==void 0?r:t.attributes.image})))})))}};su.style=ru;const ou=".table-content.sc-aico-table-content{width:100%;overflow-x:auto;white-space:nowrap;text-align:center}.table-content.sc-aico-table-content:not([class]) td.sc-aico-table-content,.table-content.sc-aico-table-content:not([class]) th.sc-aico-table-content{padding:10px !important;border:none !important}.table-content.sc-aico-table-content th.sc-aico-table-content{font-weight:700 !important}.table-content.sc-aico-table-content td.sc-aico-table-content,.table-content.sc-aico-table-content th.sc-aico-table-content{white-space:pre-line}";const au=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i,n;const r=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const s=(i=this.content.firstColor)!==null&&i!==void 0?i:"#d6dfe1";const o=(n=this.content.secondColor)!==null&&n!==void 0?n:"#e6eced";return e("div",{class:"content-table card"},e("div",{class:"card-body"},e(h,{condition:r!==null},e("aico-title-content",{class:"card-title mt-0",content:this.makeTitleContent(r),locale:this.locale}),e("p",{class:"card-text"},r.additionalText)),e("table",{class:"table-content"},this.content.tableRows.sort(((t,e)=>t.sort-e.sort)).map(((t,i)=>e("tr",{style:{"font-weight":"400","background-color":i%2===0?s:o}},t.rowColumns.map((i=>{var n;const r=(n=i.translations.find((t=>t.locale===this.locale)))!==null&&n!==void 0?n:null;if(!r){return t.isHeading?e("th",null):e("td",null)}return t.isHeading?e("th",null,r.columnData):e("td",null,r.columnData)}))))))))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h2",translations:[Object.assign({},t)]}}};au.style=ou;const cu=".star-rating.sc-aico-testimonial-content{font-size:0;white-space:nowrap;height:35px;overflow:hidden;position:relative;background:url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjREREREREIiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');background-size:contain}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content{opacity:0;position:absolute;left:0;top:0;height:100%;z-index:1;background:url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjRkZERjg4IiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');background-size:contain}.star-rating.sc-aico-testimonial-content input.sc-aico-testimonial-content{opacity:0;display:inline-block;height:100%;margin:0;padding:0;z-index:2;position:relative}.star-rating.sc-aico-testimonial-content input.sc-aico-testimonial-content:hover+i.sc-aico-testimonial-content,.star-rating.sc-aico-testimonial-content input.sc-aico-testimonial-content:checked+i.sc-aico-testimonial-content{opacity:1}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:40%}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:60%}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:80%}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:100%}.star-rating.star-5.sc-aico-testimonial-content{width:173px}.star-rating.star-5.sc-aico-testimonial-content input.sc-aico-testimonial-content,.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content{width:20%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:40%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:60%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:80%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:100%}.star-rating.star-3.sc-aico-testimonial-content{width:150px}.star-rating.star-3.sc-aico-testimonial-content input.sc-aico-testimonial-content,.star-rating.star-3.sc-aico-testimonial-content i.sc-aico-testimonial-content{width:33.33%}.star-rating.star-3.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:66.66%}.star-rating.star-3.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:100%}";const uu=class{constructor(e){t(this,e);this.content=undefined}render(){return e("div",{class:"card"},e(h,{condition:!x(this.content.testimonial.image)},e("img",{class:"card-img-top",alt:"image",src:this.content.testimonial.image})),e("div",{class:"card-body"},e("h2",{class:"card-title"},this.content.testimonial.title),e("p",{class:"card-text"},this.content.testimonial.text),e(h,{condition:this.content.testimonial.rating!==null},e("div",{class:"star-rating star-5"},Array.from({length:this.content.testimonial.rating},((t,e)=>e+1)).map((t=>e(n,null,e("input",{type:"radio",id:`star${t}`,name:"rating",value:t}),e("i",{style:{opacity:this.content.testimonial.rating>=t?"1":"0"}}))))))))}};uu.style=cu;const lu=({condition:t,wrap:e},i)=>t?e(i):i;const fu="";const hu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i,n,r;const s=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const o={};if(this.content.hasBackgroundColor){o["background-color"]=(i=this.content.backgroundColor)!==null&&i!==void 0?i:"white";o["color"]=(n=this.content.textColor)!==null&&n!==void 0?n:"black";o["width"]="100%";o["padding"]="15px";o["margin-top"]="10px"}if(this.content.addBorder){o["border"]=`3px solid ${this.content.borderColor}`;o["margin-top"]="-3px"}if(this.content.alignmentEnabled){o["display"]="flex";o["align-items"]=(r=this.content.verticalAlign)!==null&&r!==void 0?r:"flex-start"}return e(h,{condition:s!==null},e(lu,{condition:!x(s.promptText),wrap:t=>e("div",{class:"accordion",id:"aico-text-content"},e("div",{class:"accordion-item"},e("h2",{class:"accordion-header",id:"heading"},e("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse","aria-expanded":"false","aria-controls":"collapse"},s.promptText)),e("div",{id:"collapse",class:"accordion-collapse collapse","aria-labelledby":"heading","data-bs-parent":"#aico-text-content"},e("div",{class:"accordion-body"},t))))},e("div",{class:"card",style:o},e("div",{class:"card-body w-100 border-0"},e("aico-title-content",{class:"card-title",content:this.makeTitleContent(s),locale:this.locale}),e(h,{condition:this.shouldDisplayTextAndPicture(s)},e("div",{class:"row g-4"},e("div",{class:$({"col-md-8":true,"order-1":this.content.picturePosition==="right","order-2":this.content.picturePosition==="left"})},this.getTextComponent(s)),e("div",{class:$({"col-md-4 justify-content-center":true,"order-2":this.content.picturePosition==="right","order-1":this.content.picturePosition==="left"})},this.getImageComponent(s)))),e(h,{condition:this.shouldDisplayOnlyPicture(s)},this.getImageComponent(s)),e(h,{condition:this.shouldDisplayOnlyText(s)},this.getTextComponent(s))))))}getImageComponent(t){var i;return e("div",{class:"card text-bg-dark text-white"},e("img",{class:"card-img img-fluid object-fit-contain",src:(i=t.optimizedPicture)!==null&&i!==void 0?i:t.picture}),e(h,{condition:!x(t.pictureLabel)},e("div",{class:"card-img-overlay"},e("p",{class:$({"card-text":true,"text-end":this.content.pictureLabelPosition==="right","text-center":this.content.pictureLabelPosition==="center"})},t.pictureLabel))))}getTextComponent(t){const i={"line-height":"1.3","white-space":"pre-line"};if(this.content.fontSize){i["font-size"]=`${this.content.fontSize}px`}if(this.content.fontFamily){i["font-family"]=this.content.fontFamily}if(this.content.shouldJustifyText){i["text-align"]="justify";i["text-justify"]="inner-word"}return e("p",{class:"card-text",style:i},t.text)}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h1",titleColor:this.content.textColor,translations:[Object.assign({},t)]}}shouldDisplayTextAndPicture(t){return!x(t.text)&&(!x(t.optimizedPicture)||!x(t.picture))}shouldDisplayOnlyPicture(t){return x(t.text)&&(!x(t.optimizedPicture)||!x(t.picture))}shouldDisplayOnlyText(t){return!x(t.text)&&x(t.optimizedPicture)&&x(t.picture)}};hu.style=fu;const du=".sc-aico-title-content-h{display:block}";const pu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i;if(!this.content.size||this.content.translations.length===0){return e("aico-no-content",null)}const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r=this.content.size;const s="black";const o={color:this.content.titleColor?this.content.titleColor:s};if(this.content.hasUnderscore){o["text-decoration-line"]="underline";o["text-decoration-color"]=(i=this.content.underscoreColor)!==null&&i!==void 0?i:s;o["text-decoration-thickness"]="3px"}return e(r,null,e("span",{style:o},n===null||n===void 0?void 0:n.title))}};pu.style=du;const vu=".sc-aico-upload-content-h{display:block}";const gu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r=this.content&&this.content.videoUrl?k(this.content.videoUrl):null;return e(i,null,e(h,{condition:n!==null},e("aico-title-content",{content:this.makeTitleContent(n),locale:this.locale})),e(h,{condition:!x(r)},e("div",{class:"ratio ratio-16x9"},e("iframe",{allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:true,src:r}))),e(h,{condition:!this.content.shouldHideFile},e("p",{class:"fs-3 mt-3"},"Files:"),e("div",{class:"list-group list-group-flush"},this.content.uploads.map((t=>{if(x(t.path)){return null}return e("a",{href:t.path,target:"_blank",class:"list-group-item list-group-item-action"},t.name)})))))}makeTitleContent(t){return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:"h2",translations:[Object.assign({},t)]}}};gu.style=vu;const mu=".media-card-video.sc-aico-video-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;-o-object-fit:contain;object-fit:contain}";const bu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r=n&&n.videoUrl?k(n.videoUrl):null;return e(i,null,e(h,{condition:n!==null},e("aico-title-content",{content:this.makeTitleContent(n),locale:this.locale})),e(h,{condition:!x(r)},e("div",{class:"ratio ratio-16x9"},e("iframe",{allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:true,src:r}))),e(h,{condition:!x(this.content.localVideoUrl)},e("div",{class:"ratio ratio-16x9"},e("video",{class:"media-card-video",controls:true,playsInline:true,style:{height:this.content.isVideoMinimized?"400px":"100%"}},e("source",{src:this.content.localVideoUrl,type:"video/mp4"})))))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h2",translations:[Object.assign({},t)]}}};bu.style=mu;export{l as aico_album_content,_ as aico_article_detail,T as aico_asking_content,M as aico_block_quote_content,C as aico_bullet_content,S as aico_carousel_content,L as aico_content_card_content,N as aico_divider_content,R as aico_document_content,Rc as aico_faq_content,Fc as aico_fetch_article_detail,Wc as aico_heading_content,qc as aico_html_content,Zc as aico_link_content,Yc as aico_news_content,Vc as aico_news_list,Kc as aico_news_list_item,eu as aico_no_content,nu as aico_page_content,su as aico_special_news_carousel,au as aico_table_content,uu as aico_testimonial_content,hu as aico_text_content,pu as aico_title_content,gu as aico_upload_content,bu as aico_video_content};
|
|
18
|
-
//# sourceMappingURL=p-
|
|
17
|
+
*/const Je=new Map;const Ve={set(t,e,i){if(!Je.has(t)){Je.set(t,new Map)}const n=Je.get(t);if(!n.has(e)&&n.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`);return}n.set(e,i)},get(t,e){if(Je.has(t)){return Je.get(t).get(e)||null}return null},remove(t,e){if(!Je.has(t)){return}const i=Je.get(t);i.delete(e);if(i.size===0){Je.delete(t)}}};const Xe=1e6;const Ke=1e3;const ti="transitionend";const ei=t=>{if(t&&window.CSS&&window.CSS.escape){t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))}return t};const ii=t=>{if(t===null||t===undefined){return`${t}`}return Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase()};const ni=t=>{do{t+=Math.floor(Math.random()*Xe)}while(document.getElementById(t));return t};const ri=t=>{if(!t){return 0}let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e);const r=Number.parseFloat(i);if(!n&&!r){return 0}e=e.split(",")[0];i=i.split(",")[0];return(Number.parseFloat(e)+Number.parseFloat(i))*Ke};const si=t=>{t.dispatchEvent(new Event(ti))};const oi=t=>{if(!t||typeof t!=="object"){return false}if(typeof t.jquery!=="undefined"){t=t[0]}return typeof t.nodeType!=="undefined"};const ai=t=>{if(oi(t)){return t.jquery?t[0]:t}if(typeof t==="string"&&t.length>0){return document.querySelector(ei(t))}return null};const ci=t=>{if(!oi(t)||t.getClientRects().length===0){return false}const e=getComputedStyle(t).getPropertyValue("visibility")==="visible";const i=t.closest("details:not([open])");if(!i){return e}if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i){return false}if(e===null){return false}}return e};const ui=t=>{if(!t||t.nodeType!==Node.ELEMENT_NODE){return true}if(t.classList.contains("disabled")){return true}if(typeof t.disabled!=="undefined"){return t.disabled}return t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false"};const li=t=>{if(!document.documentElement.attachShadow){return null}if(typeof t.getRootNode==="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}if(t instanceof ShadowRoot){return t}if(!t.parentNode){return null}return li(t.parentNode)};const fi=()=>{};const hi=()=>{if(window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")){return window.jQuery}return null};const di=[];const pi=t=>{if(document.readyState==="loading"){if(!di.length){document.addEventListener("DOMContentLoaded",(()=>{for(const t of di){t()}}))}di.push(t)}else{t()}};const vi=()=>document.documentElement.dir==="rtl";const gi=t=>{pi((()=>{const e=hi();if(e){const i=t.NAME;const n=e.fn[i];e.fn[i]=t.jQueryInterface;e.fn[i].Constructor=t;e.fn[i].noConflict=()=>{e.fn[i]=n;return t.jQueryInterface}}}))};const mi=(t,e=[],i=t)=>typeof t==="function"?t(...e):i;const bi=(t,e,i=true)=>{if(!i){mi(t);return}const n=5;const r=ri(e)+n;let s=false;const o=({target:i})=>{if(i!==e){return}s=true;e.removeEventListener(ti,o);mi(t)};e.addEventListener(ti,o);setTimeout((()=>{if(!s){si(e)}}),r)};const wi=(t,e,i,n)=>{const r=t.length;let s=t.indexOf(e);if(s===-1){return!i&&n?t[r-1]:t[0]}s+=i?1:-1;if(n){s=(s+r)%r}return t[Math.max(0,Math.min(s,r-1))]};const yi=/[^.]*(?=\..*)\.|.*/;const ki=/\..*/;const xi=/::\d+$/;const $i={};let Ai=1;const _i={mouseenter:"mouseover",mouseleave:"mouseout"};const ji=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Ti(t,e){return e&&`${e}::${Ai++}`||t.uidEvent||Ai++}function Ei(t){const e=Ti(t);t.uidEvent=e;$i[e]=$i[e]||{};return $i[e]}function Mi(t,e){return function i(n){Pi(n,{delegateTarget:t});if(i.oneOff){Ni.off(t,n.type,e)}return e.apply(t,[n])}}function Oi(t,e,i){return function n(r){const s=t.querySelectorAll(e);for(let{target:o}=r;o&&o!==this;o=o.parentNode){for(const a of s){if(a!==o){continue}Pi(r,{delegateTarget:o});if(n.oneOff){Ni.off(t,r.type,e,i)}return i.apply(o,[r])}}}}function Ci(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function Ii(t,e,i){const n=typeof e==="string";const r=n?i:e||i;let s=zi(t);if(!ji.has(s)){s=t}return[n,r,s]}function Si(t,e,i,n,r){if(typeof e!=="string"||!t){return}let[s,o,a]=Ii(e,i,n);if(e in _i){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget)){return t.call(this,e)}};o=t(o)}const c=Ei(t);const u=c[a]||(c[a]={});const l=Ci(u,o,s?i:null);if(l){l.oneOff=l.oneOff&&r;return}const f=Ti(o,e.replace(yi,""));const h=s?Oi(t,i,o):Mi(t,o);h.delegationSelector=s?i:null;h.callable=o;h.oneOff=r;h.uidEvent=f;u[f]=h;t.addEventListener(a,h,s)}function Di(t,e,i,n,r){const s=Ci(e[i],n,r);if(!s){return}t.removeEventListener(i,s,Boolean(r));delete e[i][s.uidEvent]}function Li(t,e,i,n){const r=e[i]||{};for(const[s,o]of Object.entries(r)){if(s.includes(n)){Di(t,e,i,o.callable,o.delegationSelector)}}}function zi(t){t=t.replace(ki,"");return _i[t]||t}const Ni={on(t,e,i,n){Si(t,e,i,n,false)},one(t,e,i,n){Si(t,e,i,n,true)},off(t,e,i,n){if(typeof e!=="string"||!t){return}const[r,s,o]=Ii(e,i,n);const a=o!==e;const c=Ei(t);const u=c[o]||{};const l=e.startsWith(".");if(typeof s!=="undefined"){if(!Object.keys(u).length){return}Di(t,c,o,s,r?i:null);return}if(l){for(const i of Object.keys(c)){Li(t,c,i,e.slice(1))}}for(const[i,n]of Object.entries(u)){const r=i.replace(xi,"");if(!a||e.includes(r)){Di(t,c,o,n.callable,n.delegationSelector)}}},trigger(t,e,i){if(typeof e!=="string"||!t){return null}const n=hi();const r=zi(e);const s=e!==r;let o=null;let a=true;let c=true;let u=false;if(s&&n){o=n.Event(e,i);n(t).trigger(o);a=!o.isPropagationStopped();c=!o.isImmediatePropagationStopped();u=o.isDefaultPrevented()}const l=Pi(new Event(e,{bubbles:a,cancelable:true}),i);if(u){l.preventDefault()}if(c){t.dispatchEvent(l)}if(l.defaultPrevented&&o){o.preventDefault()}return l}};function Pi(t,e={}){for(const[i,n]of Object.entries(e)){try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:true,get(){return n}})}}return t}function Ri(t){if(t==="true"){return true}if(t==="false"){return false}if(t===Number(t).toString()){return Number(t)}if(t===""||t==="null"){return null}if(typeof t!=="string"){return t}try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function Bi(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const Fi={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${Bi(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Bi(e)}`)},getDataAttributes(t){if(!t){return{}}const e={};const i=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length);e[i]=Ri(t.dataset[n])}return e},getDataAttribute(t,e){return Ri(t.getAttribute(`data-bs-${Bi(e)}`))}};class Hi{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){t=this._mergeConfigObj(t);t=this._configAfterMerge(t);this._typeCheckConfig(t);return t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=oi(e)?Fi.getDataAttribute(e,"config"):{};return{...this.constructor.Default,...typeof i==="object"?i:{},...oi(e)?Fi.getDataAttributes(e):{},...typeof t==="object"?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[i,n]of Object.entries(e)){const e=t[i];const r=oi(e)?"element":ii(e);if(!new RegExp(n).test(r)){throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${n}".`)}}}}const Wi="5.3.2";class Ui extends Hi{constructor(t,e){super();t=ai(t);if(!t){return}this._element=t;this._config=this._getConfig(e);Ve.set(this._element,this.constructor.DATA_KEY,this)}dispose(){Ve.remove(this._element,this.constructor.DATA_KEY);Ni.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this)){this[t]=null}}_queueCallback(t,e,i=true){bi(t,e,i)}_getConfig(t){t=this._mergeConfigObj(t,this._element);t=this._configAfterMerge(t);this._typeCheckConfig(t);return t}static getInstance(t){return Ve.get(ai(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,typeof e==="object"?e:null)}static get VERSION(){return Wi}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const qi=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith(".")){return null}if(i.includes("#")&&!i.startsWith("#")){i=`#${i.split("#")[1]}`}e=i&&i!=="#"?ei(i.trim()):null}return e};const Gi={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter((t=>t.matches(e)))},parents(t,e){const i=[];let n=t.parentNode.closest(e);while(n){i.push(n);n=n.parentNode.closest(e)}return i},prev(t,e){let i=t.previousElementSibling;while(i){if(i.matches(e)){return[i]}i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;while(i){if(i.matches(e)){return[i]}i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!ui(t)&&ci(t)))},getSelectorFromElement(t){const e=qi(t);if(e){return Gi.findOne(e)?e:null}return null},getElementFromSelector(t){const e=qi(t);return e?Gi.findOne(e):null},getMultipleElementsFromSelector(t){const e=qi(t);return e?Gi.find(e):[]}};const Zi=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`;const n=t.NAME;Ni.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)){i.preventDefault()}if(ui(this)){return}const r=Gi.getElementFromSelector(this)||this.closest(`.${n}`);const s=t.getOrCreateInstance(r);s[e]()}))};const Qi="alert";const Yi="bs.alert";const Ji=`.${Yi}`;const Vi=`close${Ji}`;const Xi=`closed${Ji}`;const Ki="fade";const tn="show";class en extends Ui{static get NAME(){return Qi}close(){const t=Ni.trigger(this._element,Vi);if(t.defaultPrevented){return}this._element.classList.remove(tn);const e=this._element.classList.contains(Ki);this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove();Ni.trigger(this._element,Xi);this.dispose()}static jQueryInterface(t){return this.each((function(){const e=en.getOrCreateInstance(this);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t](this)}))}}Zi(en,"close");gi(en);const nn="button";const rn="bs.button";const sn=`.${rn}`;const on=".data-api";const an="active";const cn='[data-bs-toggle="button"]';const un=`click${sn}${on}`;class ln extends Ui{static get NAME(){return nn}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(an))}static jQueryInterface(t){return this.each((function(){const e=ln.getOrCreateInstance(this);if(t==="toggle"){e[t]()}}))}}Ni.on(document,un,cn,(t=>{t.preventDefault();const e=t.target.closest(cn);const i=ln.getOrCreateInstance(e);i.toggle()}));gi(ln);const fn="swipe";const hn=".bs.swipe";const dn=`touchstart${hn}`;const pn=`touchmove${hn}`;const vn=`touchend${hn}`;const gn=`pointerdown${hn}`;const mn=`pointerup${hn}`;const bn="touch";const wn="pen";const yn="pointer-event";const kn=40;const xn={endCallback:null,leftCallback:null,rightCallback:null};const $n={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class An extends Hi{constructor(t,e){super();this._element=t;if(!t||!An.isSupported()){return}this._config=this._getConfig(e);this._deltaX=0;this._supportPointerEvents=Boolean(window.PointerEvent);this._initEvents()}static get Default(){return xn}static get DefaultType(){return $n}static get NAME(){return fn}dispose(){Ni.off(this._element,hn)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}if(this._eventIsPointerPenTouch(t)){this._deltaX=t.clientX}}_end(t){if(this._eventIsPointerPenTouch(t)){this._deltaX=t.clientX-this._deltaX}this._handleSwipe();mi(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=kn){return}const e=t/this._deltaX;this._deltaX=0;if(!e){return}mi(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){if(this._supportPointerEvents){Ni.on(this._element,gn,(t=>this._start(t)));Ni.on(this._element,mn,(t=>this._end(t)));this._element.classList.add(yn)}else{Ni.on(this._element,dn,(t=>this._start(t)));Ni.on(this._element,pn,(t=>this._move(t)));Ni.on(this._element,vn,(t=>this._end(t)))}}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===wn||t.pointerType===bn)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const _n="carousel";const jn="bs.carousel";const Tn=`.${jn}`;const En=".data-api";const Mn="ArrowLeft";const On="ArrowRight";const Cn=500;const In="next";const Sn="prev";const Dn="left";const Ln="right";const zn=`slide${Tn}`;const Nn=`slid${Tn}`;const Pn=`keydown${Tn}`;const Rn=`mouseenter${Tn}`;const Bn=`mouseleave${Tn}`;const Fn=`dragstart${Tn}`;const Hn=`load${Tn}${En}`;const Wn=`click${Tn}${En}`;const Un="carousel";const qn="active";const Gn="slide";const Zn="carousel-item-end";const Qn="carousel-item-start";const Yn="carousel-item-next";const Jn="carousel-item-prev";const Vn=".active";const Xn=".carousel-item";const Kn=Vn+Xn;const tr=".carousel-item img";const er=".carousel-indicators";const ir="[data-bs-slide], [data-bs-slide-to]";const nr='[data-bs-ride="carousel"]';const rr={[Mn]:Ln,[On]:Dn};const sr={interval:5e3,keyboard:true,pause:"hover",ride:false,touch:true,wrap:true};const or={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ar extends Ui{constructor(t,e){super(t,e);this._interval=null;this._activeElement=null;this._isSliding=false;this.touchTimeout=null;this._swipeHelper=null;this._indicatorsElement=Gi.findOne(er,this._element);this._addEventListeners();if(this._config.ride===Un){this.cycle()}}static get Default(){return sr}static get DefaultType(){return or}static get NAME(){return _n}next(){this._slide(In)}nextWhenVisible(){if(!document.hidden&&ci(this._element)){this.next()}}prev(){this._slide(Sn)}pause(){if(this._isSliding){si(this._element)}this._clearInterval()}cycle(){this._clearInterval();this._updateInterval();this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){if(!this._config.ride){return}if(this._isSliding){Ni.one(this._element,Nn,(()=>this.cycle()));return}this.cycle()}to(t){const e=this._getItems();if(t>e.length-1||t<0){return}if(this._isSliding){Ni.one(this._element,Nn,(()=>this.to(t)));return}const i=this._getItemIndex(this._getActive());if(i===t){return}const n=t>i?In:Sn;this._slide(n,e[t])}dispose(){if(this._swipeHelper){this._swipeHelper.dispose()}super.dispose()}_configAfterMerge(t){t.defaultInterval=t.interval;return t}_addEventListeners(){if(this._config.keyboard){Ni.on(this._element,Pn,(t=>this._keydown(t)))}if(this._config.pause==="hover"){Ni.on(this._element,Rn,(()=>this.pause()));Ni.on(this._element,Bn,(()=>this._maybeEnableCycle()))}if(this._config.touch&&An.isSupported()){this._addTouchEventListeners()}}_addTouchEventListeners(){for(const t of Gi.find(tr,this._element)){Ni.on(t,Fn,(t=>t.preventDefault()))}const t=()=>{if(this._config.pause!=="hover"){return}this.pause();if(this.touchTimeout){clearTimeout(this.touchTimeout)}this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),Cn+this._config.interval)};const e={leftCallback:()=>this._slide(this._directionToOrder(Dn)),rightCallback:()=>this._slide(this._directionToOrder(Ln)),endCallback:t};this._swipeHelper=new An(this._element,e)}_keydown(t){if(/input|textarea/i.test(t.target.tagName)){return}const e=rr[t.key];if(e){t.preventDefault();this._slide(this._directionToOrder(e))}}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement){return}const e=Gi.findOne(Vn,this._indicatorsElement);e.classList.remove(qn);e.removeAttribute("aria-current");const i=Gi.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);if(i){i.classList.add(qn);i.setAttribute("aria-current","true")}}_updateInterval(){const t=this._activeElement||this._getActive();if(!t){return}const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding){return}const i=this._getActive();const n=t===In;const r=e||wi(this._getItems(),i,n,this._config.wrap);if(r===i){return}const s=this._getItemIndex(r);const o=e=>Ni.trigger(this._element,e,{relatedTarget:r,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:s});const a=o(zn);if(a.defaultPrevented){return}if(!i||!r){return}const c=Boolean(this._interval);this.pause();this._isSliding=true;this._setActiveIndicatorElement(s);this._activeElement=r;const u=n?Qn:Zn;const l=n?Yn:Jn;r.classList.add(l);i.classList.add(u);r.classList.add(u);const f=()=>{r.classList.remove(u,l);r.classList.add(qn);i.classList.remove(qn,l,u);this._isSliding=false;o(Nn)};this._queueCallback(f,i,this._isAnimated());if(c){this.cycle()}}_isAnimated(){return this._element.classList.contains(Gn)}_getActive(){return Gi.findOne(Kn,this._element)}_getItems(){return Gi.find(Xn,this._element)}_clearInterval(){if(this._interval){clearInterval(this._interval);this._interval=null}}_directionToOrder(t){if(vi()){return t===Dn?Sn:In}return t===Dn?In:Sn}_orderToDirection(t){if(vi()){return t===Sn?Dn:Ln}return t===Sn?Ln:Dn}static jQueryInterface(t){return this.each((function(){const e=ar.getOrCreateInstance(this,t);if(typeof t==="number"){e.to(t);return}if(typeof t==="string"){if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t]()}}))}}Ni.on(document,Wn,ir,(function(t){const e=Gi.getElementFromSelector(this);if(!e||!e.classList.contains(Un)){return}t.preventDefault();const i=ar.getOrCreateInstance(e);const n=this.getAttribute("data-bs-slide-to");if(n){i.to(n);i._maybeEnableCycle();return}if(Fi.getDataAttribute(this,"slide")==="next"){i.next();i._maybeEnableCycle();return}i.prev();i._maybeEnableCycle()}));Ni.on(window,Hn,(()=>{const t=Gi.find(nr);for(const e of t){ar.getOrCreateInstance(e)}}));gi(ar);const cr="collapse";const ur="bs.collapse";const lr=`.${ur}`;const fr=".data-api";const hr=`show${lr}`;const dr=`shown${lr}`;const pr=`hide${lr}`;const vr=`hidden${lr}`;const gr=`click${lr}${fr}`;const mr="show";const br="collapse";const wr="collapsing";const yr="collapsed";const kr=`:scope .${br} .${br}`;const xr="collapse-horizontal";const $r="width";const Ar="height";const _r=".collapse.show, .collapse.collapsing";const jr='[data-bs-toggle="collapse"]';const Tr={parent:null,toggle:true};const Er={parent:"(null|element)",toggle:"boolean"};class Mr extends Ui{constructor(t,e){super(t,e);this._isTransitioning=false;this._triggerArray=[];const i=Gi.find(jr);for(const t of i){const e=Gi.getSelectorFromElement(t);const i=Gi.find(e).filter((t=>t===this._element));if(e!==null&&i.length){this._triggerArray.push(t)}}this._initializeChildren();if(!this._config.parent){this._addAriaAndCollapsedClass(this._triggerArray,this._isShown())}if(this._config.toggle){this.toggle()}}static get Default(){return Tr}static get DefaultType(){return Er}static get NAME(){return cr}toggle(){if(this._isShown()){this.hide()}else{this.show()}}show(){if(this._isTransitioning||this._isShown()){return}let t=[];if(this._config.parent){t=this._getFirstLevelChildren(_r).filter((t=>t!==this._element)).map((t=>Mr.getOrCreateInstance(t,{toggle:false})))}if(t.length&&t[0]._isTransitioning){return}const e=Ni.trigger(this._element,hr);if(e.defaultPrevented){return}for(const e of t){e.hide()}const i=this._getDimension();this._element.classList.remove(br);this._element.classList.add(wr);this._element.style[i]=0;this._addAriaAndCollapsedClass(this._triggerArray,true);this._isTransitioning=true;const n=()=>{this._isTransitioning=false;this._element.classList.remove(wr);this._element.classList.add(br,mr);this._element.style[i]="";Ni.trigger(this._element,dr)};const r=i[0].toUpperCase()+i.slice(1);const s=`scroll${r}`;this._queueCallback(n,this._element,true);this._element.style[i]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()){return}const t=Ni.trigger(this._element,pr);if(t.defaultPrevented){return}const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`;this._element.classList.add(wr);this._element.classList.remove(br,mr);for(const t of this._triggerArray){const e=Gi.getElementFromSelector(t);if(e&&!this._isShown(e)){this._addAriaAndCollapsedClass([t],false)}}this._isTransitioning=true;const i=()=>{this._isTransitioning=false;this._element.classList.remove(wr);this._element.classList.add(br);Ni.trigger(this._element,vr)};this._element.style[e]="";this._queueCallback(i,this._element,true)}_isShown(t=this._element){return t.classList.contains(mr)}_configAfterMerge(t){t.toggle=Boolean(t.toggle);t.parent=ai(t.parent);return t}_getDimension(){return this._element.classList.contains(xr)?$r:Ar}_initializeChildren(){if(!this._config.parent){return}const t=this._getFirstLevelChildren(jr);for(const e of t){const t=Gi.getElementFromSelector(e);if(t){this._addAriaAndCollapsedClass([e],this._isShown(t))}}}_getFirstLevelChildren(t){const e=Gi.find(kr,this._config.parent);return Gi.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(!t.length){return}for(const i of t){i.classList.toggle(yr,!e);i.setAttribute("aria-expanded",e)}}static jQueryInterface(t){const e={};if(typeof t==="string"&&/show|hide/.test(t)){e.toggle=false}return this.each((function(){const i=Mr.getOrCreateInstance(this,e);if(typeof t==="string"){if(typeof i[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}i[t]()}}))}}Ni.on(document,gr,jr,(function(t){if(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A"){t.preventDefault()}for(const t of Gi.getMultipleElementsFromSelector(this)){Mr.getOrCreateInstance(t,{toggle:false}).toggle()}}));gi(Mr);const Or="dropdown";const Cr="bs.dropdown";const Ir=`.${Cr}`;const Sr=".data-api";const Dr="Escape";const Lr="Tab";const zr="ArrowUp";const Nr="ArrowDown";const Pr=2;const Rr=`hide${Ir}`;const Br=`hidden${Ir}`;const Fr=`show${Ir}`;const Hr=`shown${Ir}`;const Wr=`click${Ir}${Sr}`;const Ur=`keydown${Ir}${Sr}`;const qr=`keyup${Ir}${Sr}`;const Gr="show";const Zr="dropup";const Qr="dropend";const Yr="dropstart";const Jr="dropup-center";const Vr="dropdown-center";const Xr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)';const Kr=`${Xr}.${Gr}`;const ts=".dropdown-menu";const es=".navbar";const is=".navbar-nav";const ns=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)";const rs=vi()?"top-end":"top-start";const ss=vi()?"top-start":"top-end";const os=vi()?"bottom-end":"bottom-start";const as=vi()?"bottom-start":"bottom-end";const cs=vi()?"left-start":"right-start";const us=vi()?"right-start":"left-start";const ls="top";const fs="bottom";const hs={autoClose:true,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"};const ds={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ps extends Ui{constructor(t,e){super(t,e);this._popper=null;this._parent=this._element.parentNode;this._menu=Gi.next(this._element,ts)[0]||Gi.prev(this._element,ts)[0]||Gi.findOne(ts,this._parent);this._inNavbar=this._detectNavbar()}static get Default(){return hs}static get DefaultType(){return ds}static get NAME(){return Or}toggle(){return this._isShown()?this.hide():this.show()}show(){if(ui(this._element)||this._isShown()){return}const t={relatedTarget:this._element};const e=Ni.trigger(this._element,Fr,t);if(e.defaultPrevented){return}this._createPopper();if("ontouchstart"in document.documentElement&&!this._parent.closest(is)){for(const t of[].concat(...document.body.children)){Ni.on(t,"mouseover",fi)}}this._element.focus();this._element.setAttribute("aria-expanded",true);this._menu.classList.add(Gr);this._element.classList.add(Gr);Ni.trigger(this._element,Hr,t)}hide(){if(ui(this._element)||!this._isShown()){return}const t={relatedTarget:this._element};this._completeHide(t)}dispose(){if(this._popper){this._popper.destroy()}super.dispose()}update(){this._inNavbar=this._detectNavbar();if(this._popper){this._popper.update()}}_completeHide(t){const e=Ni.trigger(this._element,Rr,t);if(e.defaultPrevented){return}if("ontouchstart"in document.documentElement){for(const t of[].concat(...document.body.children)){Ni.off(t,"mouseover",fi)}}if(this._popper){this._popper.destroy()}this._menu.classList.remove(Gr);this._element.classList.remove(Gr);this._element.setAttribute("aria-expanded","false");Fi.removeDataAttribute(this._menu,"popper");Ni.trigger(this._element,Br,t)}_getConfig(t){t=super._getConfig(t);if(typeof t.reference==="object"&&!oi(t.reference)&&typeof t.reference.getBoundingClientRect!=="function"){throw new TypeError(`${Or.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`)}return t}_createPopper(){if(typeof Ye==="undefined"){throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)")}let t=this._element;if(this._config.reference==="parent"){t=this._parent}else if(oi(this._config.reference)){t=ai(this._config.reference)}else if(typeof this._config.reference==="object"){t=this._config.reference}const e=this._getPopperConfig();this._popper=Qe(t,this._menu,e)}_isShown(){return this._menu.classList.contains(Gr)}_getPlacement(){const t=this._parent;if(t.classList.contains(Qr)){return cs}if(t.classList.contains(Yr)){return us}if(t.classList.contains(Jr)){return ls}if(t.classList.contains(Vr)){return fs}const e=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";if(t.classList.contains(Zr)){return e?ss:rs}return e?as:os}_detectNavbar(){return this._element.closest(es)!==null}_getOffset(){const{offset:t}=this._config;if(typeof t==="string"){return t.split(",").map((t=>Number.parseInt(t,10)))}if(typeof t==="function"){return e=>t(e,this._element)}return t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};if(this._inNavbar||this._config.display==="static"){Fi.setDataAttribute(this._menu,"popper","static");t.modifiers=[{name:"applyStyles",enabled:false}]}return{...t,...mi(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const i=Gi.find(ns,this._menu).filter((t=>ci(t)));if(!i.length){return}wi(i,e,t===Nr,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ps.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}static clearMenus(t){if(t.button===Pr||t.type==="keyup"&&t.key!==Lr){return}const e=Gi.find(Kr);for(const i of e){const e=ps.getInstance(i);if(!e||e._config.autoClose===false){continue}const n=t.composedPath();const r=n.includes(e._menu);if(n.includes(e._element)||e._config.autoClose==="inside"&&!r||e._config.autoClose==="outside"&&r){continue}if(e._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Lr||/input|select|option|textarea|form/i.test(t.target.tagName))){continue}const s={relatedTarget:e._element};if(t.type==="click"){s.clickEvent=t}e._completeHide(s)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName);const i=t.key===Dr;const n=[zr,Nr].includes(t.key);if(!n&&!i){return}if(e&&!i){return}t.preventDefault();const r=this.matches(Xr)?this:Gi.prev(this,Xr)[0]||Gi.next(this,Xr)[0]||Gi.findOne(Xr,t.delegateTarget.parentNode);const s=ps.getOrCreateInstance(r);if(n){t.stopPropagation();s.show();s._selectMenuItem(t);return}if(s._isShown()){t.stopPropagation();s.hide();r.focus()}}}Ni.on(document,Ur,Xr,ps.dataApiKeydownHandler);Ni.on(document,Ur,ts,ps.dataApiKeydownHandler);Ni.on(document,Wr,ps.clearMenus);Ni.on(document,qr,ps.clearMenus);Ni.on(document,Wr,Xr,(function(t){t.preventDefault();ps.getOrCreateInstance(this).toggle()}));gi(ps);const vs="backdrop";const gs="fade";const ms="show";const bs=`mousedown.bs.${vs}`;const ws={className:"modal-backdrop",clickCallback:null,isAnimated:false,isVisible:true,rootElement:"body"};const ys={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ks extends Hi{constructor(t){super();this._config=this._getConfig(t);this._isAppended=false;this._element=null}static get Default(){return ws}static get DefaultType(){return ys}static get NAME(){return vs}show(t){if(!this._config.isVisible){mi(t);return}this._append();const e=this._getElement();e.classList.add(ms);this._emulateAnimation((()=>{mi(t)}))}hide(t){if(!this._config.isVisible){mi(t);return}this._getElement().classList.remove(ms);this._emulateAnimation((()=>{this.dispose();mi(t)}))}dispose(){if(!this._isAppended){return}Ni.off(this._element,bs);this._element.remove();this._isAppended=false}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className;if(this._config.isAnimated){t.classList.add(gs)}this._element=t}return this._element}_configAfterMerge(t){t.rootElement=ai(t.rootElement);return t}_append(){if(this._isAppended){return}const t=this._getElement();this._config.rootElement.append(t);Ni.on(t,bs,(()=>{mi(this._config.clickCallback)}));this._isAppended=true}_emulateAnimation(t){bi(t,this._getElement(),this._config.isAnimated)}}const xs="focustrap";const $s="bs.focustrap";const As=`.${$s}`;const _s=`focusin${As}`;const js=`keydown.tab${As}`;const Ts="Tab";const Es="forward";const Ms="backward";const Os={autofocus:true,trapElement:null};const Cs={autofocus:"boolean",trapElement:"element"};class Is extends Hi{constructor(t){super();this._config=this._getConfig(t);this._isActive=false;this._lastTabNavDirection=null}static get Default(){return Os}static get DefaultType(){return Cs}static get NAME(){return xs}activate(){if(this._isActive){return}if(this._config.autofocus){this._config.trapElement.focus()}Ni.off(document,As);Ni.on(document,_s,(t=>this._handleFocusin(t)));Ni.on(document,js,(t=>this._handleKeydown(t)));this._isActive=true}deactivate(){if(!this._isActive){return}this._isActive=false;Ni.off(document,As)}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target)){return}const i=Gi.focusableChildren(e);if(i.length===0){e.focus()}else if(this._lastTabNavDirection===Ms){i[i.length-1].focus()}else{i[0].focus()}}_handleKeydown(t){if(t.key!==Ts){return}this._lastTabNavDirection=t.shiftKey?Ms:Es}}const Ss=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top";const Ds=".sticky-top";const Ls="padding-right";const zs="margin-right";class Ns{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow();this._setElementAttributes(this._element,Ls,(e=>e+t));this._setElementAttributes(Ss,Ls,(e=>e+t));this._setElementAttributes(Ds,zs,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow");this._resetElementAttributes(this._element,Ls);this._resetElementAttributes(Ss,Ls);this._resetElementAttributes(Ds,zs)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow");this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();const r=t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n){return}this._saveInitialAttribute(t,e);const r=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(r))}px`)};this._applyManipulationCallback(t,r)}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);if(i){Fi.setDataAttribute(t,e,i)}}_resetElementAttributes(t,e){const i=t=>{const i=Fi.getDataAttribute(t,e);if(i===null){t.style.removeProperty(e);return}Fi.removeDataAttribute(t,e);t.style.setProperty(e,i)};this._applyManipulationCallback(t,i)}_applyManipulationCallback(t,e){if(oi(t)){e(t);return}for(const i of Gi.find(t,this._element)){e(i)}}}const Ps="modal";const Rs="bs.modal";const Bs=`.${Rs}`;const Fs=".data-api";const Hs="Escape";const Ws=`hide${Bs}`;const Us=`hidePrevented${Bs}`;const qs=`hidden${Bs}`;const Gs=`show${Bs}`;const Zs=`shown${Bs}`;const Qs=`resize${Bs}`;const Ys=`click.dismiss${Bs}`;const Js=`mousedown.dismiss${Bs}`;const Vs=`keydown.dismiss${Bs}`;const Xs=`click${Bs}${Fs}`;const Ks="modal-open";const to="fade";const eo="show";const io="modal-static";const no=".modal.show";const ro=".modal-dialog";const so=".modal-body";const oo='[data-bs-toggle="modal"]';const ao={backdrop:true,focus:true,keyboard:true};const co={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class uo extends Ui{constructor(t,e){super(t,e);this._dialog=Gi.findOne(ro,this._element);this._backdrop=this._initializeBackDrop();this._focustrap=this._initializeFocusTrap();this._isShown=false;this._isTransitioning=false;this._scrollBar=new Ns;this._addEventListeners()}static get Default(){return ao}static get DefaultType(){return co}static get NAME(){return Ps}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning){return}const e=Ni.trigger(this._element,Gs,{relatedTarget:t});if(e.defaultPrevented){return}this._isShown=true;this._isTransitioning=true;this._scrollBar.hide();document.body.classList.add(Ks);this._adjustDialog();this._backdrop.show((()=>this._showElement(t)))}hide(){if(!this._isShown||this._isTransitioning){return}const t=Ni.trigger(this._element,Ws);if(t.defaultPrevented){return}this._isShown=false;this._isTransitioning=true;this._focustrap.deactivate();this._element.classList.remove(eo);this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())}dispose(){Ni.off(window,Bs);Ni.off(this._dialog,Bs);this._backdrop.dispose();this._focustrap.deactivate();super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ks({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Is({trapElement:this._element})}_showElement(t){if(!document.body.contains(this._element)){document.body.append(this._element)}this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",true);this._element.setAttribute("role","dialog");this._element.scrollTop=0;const e=Gi.findOne(so,this._dialog);if(e){e.scrollTop=0}this._element.classList.add(eo);const i=()=>{if(this._config.focus){this._focustrap.activate()}this._isTransitioning=false;Ni.trigger(this._element,Zs,{relatedTarget:t})};this._queueCallback(i,this._dialog,this._isAnimated())}_addEventListeners(){Ni.on(this._element,Vs,(t=>{if(t.key!==Hs){return}if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}));Ni.on(window,Qs,(()=>{if(this._isShown&&!this._isTransitioning){this._adjustDialog()}}));Ni.on(this._element,Js,(t=>{Ni.one(this._element,Ys,(e=>{if(this._element!==t.target||this._element!==e.target){return}if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}if(this._config.backdrop){this.hide()}}))}))}_hideModal(){this._element.style.display="none";this._element.setAttribute("aria-hidden",true);this._element.removeAttribute("aria-modal");this._element.removeAttribute("role");this._isTransitioning=false;this._backdrop.hide((()=>{document.body.classList.remove(Ks);this._resetAdjustments();this._scrollBar.reset();Ni.trigger(this._element,qs)}))}_isAnimated(){return this._element.classList.contains(to)}_triggerBackdropTransition(){const t=Ni.trigger(this._element,Us);if(t.defaultPrevented){return}const e=this._element.scrollHeight>document.documentElement.clientHeight;const i=this._element.style.overflowY;if(i==="hidden"||this._element.classList.contains(io)){return}if(!e){this._element.style.overflowY="hidden"}this._element.classList.add(io);this._queueCallback((()=>{this._element.classList.remove(io);this._queueCallback((()=>{this._element.style.overflowY=i}),this._dialog)}),this._dialog);this._element.focus()}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight;const e=this._scrollBar.getWidth();const i=e>0;if(i&&!t){const t=vi()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=vi()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="";this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=uo.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof i[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}i[t](e)}))}}Ni.on(document,Xs,oo,(function(t){const e=Gi.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)){t.preventDefault()}Ni.one(e,Gs,(t=>{if(t.defaultPrevented){return}Ni.one(e,qs,(()=>{if(ci(this)){this.focus()}}))}));const i=Gi.findOne(no);if(i){uo.getInstance(i).hide()}const n=uo.getOrCreateInstance(e);n.toggle(this)}));Zi(uo);gi(uo);const lo="offcanvas";const fo="bs.offcanvas";const ho=`.${fo}`;const po=".data-api";const vo=`load${ho}${po}`;const go="Escape";const mo="show";const bo="showing";const wo="hiding";const yo="offcanvas-backdrop";const ko=".offcanvas.show";const xo=`show${ho}`;const $o=`shown${ho}`;const Ao=`hide${ho}`;const _o=`hidePrevented${ho}`;const jo=`hidden${ho}`;const To=`resize${ho}`;const Eo=`click${ho}${po}`;const Mo=`keydown.dismiss${ho}`;const Oo='[data-bs-toggle="offcanvas"]';const Co={backdrop:true,keyboard:true,scroll:false};const Io={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class So extends Ui{constructor(t,e){super(t,e);this._isShown=false;this._backdrop=this._initializeBackDrop();this._focustrap=this._initializeFocusTrap();this._addEventListeners()}static get Default(){return Co}static get DefaultType(){return Io}static get NAME(){return lo}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown){return}const e=Ni.trigger(this._element,xo,{relatedTarget:t});if(e.defaultPrevented){return}this._isShown=true;this._backdrop.show();if(!this._config.scroll){(new Ns).hide()}this._element.setAttribute("aria-modal",true);this._element.setAttribute("role","dialog");this._element.classList.add(bo);const i=()=>{if(!this._config.scroll||this._config.backdrop){this._focustrap.activate()}this._element.classList.add(mo);this._element.classList.remove(bo);Ni.trigger(this._element,$o,{relatedTarget:t})};this._queueCallback(i,this._element,true)}hide(){if(!this._isShown){return}const t=Ni.trigger(this._element,Ao);if(t.defaultPrevented){return}this._focustrap.deactivate();this._element.blur();this._isShown=false;this._element.classList.add(wo);this._backdrop.hide();const e=()=>{this._element.classList.remove(mo,wo);this._element.removeAttribute("aria-modal");this._element.removeAttribute("role");if(!this._config.scroll){(new Ns).reset()}Ni.trigger(this._element,jo)};this._queueCallback(e,this._element,true)}dispose(){this._backdrop.dispose();this._focustrap.deactivate();super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){Ni.trigger(this._element,_o);return}this.hide()};const e=Boolean(this._config.backdrop);return new ks({className:yo,isVisible:e,isAnimated:true,rootElement:this._element.parentNode,clickCallback:e?t:null})}_initializeFocusTrap(){return new Is({trapElement:this._element})}_addEventListeners(){Ni.on(this._element,Mo,(t=>{if(t.key!==go){return}if(this._config.keyboard){this.hide();return}Ni.trigger(this._element,_o)}))}static jQueryInterface(t){return this.each((function(){const e=So.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t](this)}))}}Ni.on(document,Eo,Oo,(function(t){const e=Gi.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)){t.preventDefault()}if(ui(this)){return}Ni.one(e,jo,(()=>{if(ci(this)){this.focus()}}));const i=Gi.findOne(ko);if(i&&i!==e){So.getInstance(i).hide()}const n=So.getOrCreateInstance(e);n.toggle(this)}));Ni.on(window,vo,(()=>{for(const t of Gi.find(ko)){So.getOrCreateInstance(t).show()}}));Ni.on(window,To,(()=>{for(const t of Gi.find("[aria-modal][class*=show][class*=offcanvas-]")){if(getComputedStyle(t).position!=="fixed"){So.getOrCreateInstance(t).hide()}}}));Zi(So);gi(So);const Do=/^aria-[\w-]*$/i;const Lo={"*":["class","dir","id","lang","role",Do],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};const zo=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]);const No=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;const Po=(t,e)=>{const i=t.nodeName.toLowerCase();if(e.includes(i)){if(zo.has(i)){return Boolean(No.test(t.nodeValue))}return true}return e.filter((t=>t instanceof RegExp)).some((t=>t.test(i)))};function Ro(t,e,i){if(!t.length){return t}if(i&&typeof i==="function"){return i(t)}const n=new window.DOMParser;const r=n.parseFromString(t,"text/html");const s=[].concat(...r.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=[].concat(...t.attributes);const r=[].concat(e["*"]||[],e[i]||[]);for(const e of n){if(!Po(e,r)){t.removeAttribute(e.nodeName)}}}return r.body.innerHTML}const Bo="TemplateFactory";const Fo={allowList:Lo,content:{},extraClass:"",html:false,sanitize:true,sanitizeFn:null,template:"<div></div>"};const Ho={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"};const Wo={entry:"(string|element|function|null)",selector:"(string|element)"};class Uo extends Hi{constructor(t){super();this._config=this._getConfig(t)}static get Default(){return Fo}static get DefaultType(){return Ho}static get NAME(){return Bo}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){this._checkContent(t);this._config.content={...this._config.content,...t};return this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,i]of Object.entries(this._config.content)){this._setContent(t,i,e)}const e=t.children[0];const i=this._resolvePossibleFunction(this._config.extraClass);if(i){e.classList.add(...i.split(" "))}return e}_typeCheckConfig(t){super._typeCheckConfig(t);this._checkContent(t.content)}_checkContent(t){for(const[e,i]of Object.entries(t)){super._typeCheckConfig({selector:e,entry:i},Wo)}}_setContent(t,e,i){const n=Gi.findOne(i,t);if(!n){return}e=this._resolvePossibleFunction(e);if(!e){n.remove();return}if(oi(e)){this._putElementInTemplate(ai(e),n);return}if(this._config.html){n.innerHTML=this._maybeSanitize(e);return}n.textContent=e}_maybeSanitize(t){return this._config.sanitize?Ro(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return mi(t,[this])}_putElementInTemplate(t,e){if(this._config.html){e.innerHTML="";e.append(t);return}e.textContent=t.textContent}}const qo="tooltip";const Go=new Set(["sanitize","allowList","sanitizeFn"]);const Zo="fade";const Qo="modal";const Yo="show";const Jo=".tooltip-inner";const Vo=`.${Qo}`;const Xo="hide.bs.modal";const Ko="hover";const ta="focus";const ea="click";const ia="manual";const na="hide";const ra="hidden";const sa="show";const oa="shown";const aa="inserted";const ca="click";const ua="focusin";const la="focusout";const fa="mouseenter";const ha="mouseleave";const da={AUTO:"auto",TOP:"top",RIGHT:vi()?"left":"right",BOTTOM:"bottom",LEFT:vi()?"right":"left"};const pa={allowList:Lo,animation:true,boundary:"clippingParents",container:false,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:false,offset:[0,6],placement:"top",popperConfig:null,sanitize:true,sanitizeFn:null,selector:false,template:'<div class="tooltip" role="tooltip">'+'<div class="tooltip-arrow"></div>'+'<div class="tooltip-inner"></div>'+"</div>",title:"",trigger:"hover focus"};const va={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ga extends Ui{constructor(t,e){if(typeof Ye==="undefined"){throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)")}super(t,e);this._isEnabled=true;this._timeout=0;this._isHovered=null;this._activeTrigger={};this._popper=null;this._templateFactory=null;this._newContent=null;this.tip=null;this._setListeners();if(!this._config.selector){this._fixTitle()}}static get Default(){return pa}static get DefaultType(){return va}static get NAME(){return qo}enable(){this._isEnabled=true}disable(){this._isEnabled=false}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(!this._isEnabled){return}this._activeTrigger.click=!this._activeTrigger.click;if(this._isShown()){this._leave();return}this._enter()}dispose(){clearTimeout(this._timeout);Ni.off(this._element.closest(Vo),Xo,this._hideModalHandler);if(this._element.getAttribute("data-bs-original-title")){this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title"))}this._disposePopper();super.dispose()}show(){if(this._element.style.display==="none"){throw new Error("Please use show on visible elements")}if(!(this._isWithContent()&&this._isEnabled)){return}const t=Ni.trigger(this._element,this.constructor.eventName(sa));const e=li(this._element);const i=(e||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!i){return}this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:r}=this._config;if(!this._element.ownerDocument.documentElement.contains(this.tip)){r.append(n);Ni.trigger(this._element,this.constructor.eventName(aa))}this._popper=this._createPopper(n);n.classList.add(Yo);if("ontouchstart"in document.documentElement){for(const t of[].concat(...document.body.children)){Ni.on(t,"mouseover",fi)}}const s=()=>{Ni.trigger(this._element,this.constructor.eventName(oa));if(this._isHovered===false){this._leave()}this._isHovered=false};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()){return}const t=Ni.trigger(this._element,this.constructor.eventName(na));if(t.defaultPrevented){return}const e=this._getTipElement();e.classList.remove(Yo);if("ontouchstart"in document.documentElement){for(const t of[].concat(...document.body.children)){Ni.off(t,"mouseover",fi)}}this._activeTrigger[ea]=false;this._activeTrigger[ta]=false;this._activeTrigger[Ko]=false;this._isHovered=null;const i=()=>{if(this._isWithActiveTrigger()){return}if(!this._isHovered){this._disposePopper()}this._element.removeAttribute("aria-describedby");Ni.trigger(this._element,this.constructor.eventName(ra))};this._queueCallback(i,this.tip,this._isAnimated())}update(){if(this._popper){this._popper.update()}}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){if(!this.tip){this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())}return this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e){return null}e.classList.remove(Zo,Yo);e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=ni(this.constructor.NAME).toString();e.setAttribute("id",i);if(this._isAnimated()){e.classList.add(Zo)}return e}setContent(t){this._newContent=t;if(this._isShown()){this._disposePopper();this.show()}}_getTemplateFactory(t){if(this._templateFactory){this._templateFactory.changeContent(t)}else{this._templateFactory=new Uo({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)})}return this._templateFactory}_getContentForTemplate(){return{[Jo]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Zo)}_isShown(){return this.tip&&this.tip.classList.contains(Yo)}_createPopper(t){const e=mi(this._config.placement,[this,t,this._element]);const i=da[e.toUpperCase()];return Qe(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;if(typeof t==="string"){return t.split(",").map((t=>Number.parseInt(t,10)))}if(typeof t==="function"){return e=>t(e,this._element)}return t}_resolvePossibleFunction(t){return mi(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:true,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...mi(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t){if(e==="click"){Ni.on(this._element,this.constructor.eventName(ca),this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e.toggle()}))}else if(e!==ia){const t=e===Ko?this.constructor.eventName(fa):this.constructor.eventName(ua);const i=e===Ko?this.constructor.eventName(ha):this.constructor.eventName(la);Ni.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger[t.type==="focusin"?ta:Ko]=true;e._enter()}));Ni.on(this._element,i,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger[t.type==="focusout"?ta:Ko]=e._element.contains(t.relatedTarget);e._leave()}))}}this._hideModalHandler=()=>{if(this._element){this.hide()}};Ni.on(this._element.closest(Vo),Xo,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");if(!t){return}if(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()){this._element.setAttribute("aria-label",t)}this._element.setAttribute("data-bs-original-title",t);this._element.removeAttribute("title")}_enter(){if(this._isShown()||this._isHovered){this._isHovered=true;return}this._isHovered=true;this._setTimeout((()=>{if(this._isHovered){this.show()}}),this._config.delay.show)}_leave(){if(this._isWithActiveTrigger()){return}this._isHovered=false;this._setTimeout((()=>{if(!this._isHovered){this.hide()}}),this._config.delay.hide)}_setTimeout(t,e){clearTimeout(this._timeout);this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(true)}_getConfig(t){const e=Fi.getDataAttributes(this._element);for(const t of Object.keys(e)){if(Go.has(t)){delete e[t]}}t={...e,...typeof t==="object"&&t?t:{}};t=this._mergeConfigObj(t);t=this._configAfterMerge(t);this._typeCheckConfig(t);return t}_configAfterMerge(t){t.container=t.container===false?document.body:ai(t.container);if(typeof t.delay==="number"){t.delay={show:t.delay,hide:t.delay}}if(typeof t.title==="number"){t.title=t.title.toString()}if(typeof t.content==="number"){t.content=t.content.toString()}return t}_getDelegateConfig(){const t={};for(const[e,i]of Object.entries(this._config)){if(this.constructor.Default[e]!==i){t[e]=i}}t.selector=false;t.trigger="manual";return t}_disposePopper(){if(this._popper){this._popper.destroy();this._popper=null}if(this.tip){this.tip.remove();this.tip=null}}static jQueryInterface(t){return this.each((function(){const e=ga.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}gi(ga);const ma="popover";const ba=".popover-header";const wa=".popover-body";const ya={...ga.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip">'+'<div class="popover-arrow"></div>'+'<h3 class="popover-header"></h3>'+'<div class="popover-body"></div>'+"</div>",trigger:"click"};const ka={...ga.DefaultType,content:"(null|string|element|function)"};class xa extends ga{static get Default(){return ya}static get DefaultType(){return ka}static get NAME(){return ma}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[ba]:this._getTitle(),[wa]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=xa.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}gi(xa);const $a="scrollspy";const Aa="bs.scrollspy";const _a=`.${Aa}`;const ja=".data-api";const Ta=`activate${_a}`;const Ea=`click${_a}`;const Ma=`load${_a}${ja}`;const Oa="dropdown-item";const Ca="active";const Ia='[data-bs-spy="scroll"]';const Sa="[href]";const Da=".nav, .list-group";const La=".nav-link";const za=".nav-item";const Na=".list-group-item";const Pa=`${La}, ${za} > ${La}, ${Na}`;const Ra=".dropdown";const Ba=".dropdown-toggle";const Fa={offset:null,rootMargin:"0px 0px -25%",smoothScroll:false,target:null,threshold:[.1,.5,1]};const Ha={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Wa extends Ui{constructor(t,e){super(t,e);this._targetLinks=new Map;this._observableSections=new Map;this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element;this._activeTarget=null;this._observer=null;this._previousScrollData={visibleEntryTop:0,parentScrollTop:0};this.refresh()}static get Default(){return Fa}static get DefaultType(){return Ha}static get NAME(){return $a}refresh(){this._initializeTargetsAndObservables();this._maybeEnableSmoothScroll();if(this._observer){this._observer.disconnect()}else{this._observer=this._getNewObserver()}for(const t of this._observableSections.values()){this._observer.observe(t)}}dispose(){this._observer.disconnect();super.dispose()}_configAfterMerge(t){t.target=ai(t.target)||document.body;t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin;if(typeof t.threshold==="string"){t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))}return t}_maybeEnableSmoothScroll(){if(!this._config.smoothScroll){return}Ni.off(this._config.target,Ea);Ni.on(this._config.target,Ea,Sa,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window;const n=e.offsetTop-this._element.offsetTop;if(i.scrollTo){i.scrollTo({top:n,behavior:"smooth"});return}i.scrollTop=n}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`);const i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop;this._process(e(t))};const n=(this._rootElement||document.documentElement).scrollTop;const r=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const s of t){if(!s.isIntersecting){this._activeTarget=null;this._clearActiveClass(e(s));continue}const t=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&t){i(s);if(!n){return}continue}if(!r&&!t){i(s)}}}_initializeTargetsAndObservables(){this._targetLinks=new Map;this._observableSections=new Map;const t=Gi.find(Sa,this._config.target);for(const e of t){if(!e.hash||ui(e)){continue}const t=Gi.findOne(decodeURI(e.hash),this._element);if(ci(t)){this._targetLinks.set(decodeURI(e.hash),e);this._observableSections.set(e.hash,t)}}}_process(t){if(this._activeTarget===t){return}this._clearActiveClass(this._config.target);this._activeTarget=t;t.classList.add(Ca);this._activateParents(t);Ni.trigger(this._element,Ta,{relatedTarget:t})}_activateParents(t){if(t.classList.contains(Oa)){Gi.findOne(Ba,t.closest(Ra)).classList.add(Ca);return}for(const e of Gi.parents(t,Da)){for(const t of Gi.prev(e,Pa)){t.classList.add(Ca)}}}_clearActiveClass(t){t.classList.remove(Ca);const e=Gi.find(`${Sa}.${Ca}`,t);for(const t of e){t.classList.remove(Ca)}}static jQueryInterface(t){return this.each((function(){const e=Wa.getOrCreateInstance(this,t);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}Ni.on(window,Ma,(()=>{for(const t of Gi.find(Ia)){Wa.getOrCreateInstance(t)}}));gi(Wa);const Ua="tab";const qa="bs.tab";const Ga=`.${qa}`;const Za=`hide${Ga}`;const Qa=`hidden${Ga}`;const Ya=`show${Ga}`;const Ja=`shown${Ga}`;const Va=`click${Ga}`;const Xa=`keydown${Ga}`;const Ka=`load${Ga}`;const tc="ArrowLeft";const ec="ArrowRight";const ic="ArrowUp";const nc="ArrowDown";const rc="Home";const sc="End";const oc="active";const ac="fade";const cc="show";const uc="dropdown";const lc=".dropdown-toggle";const fc=".dropdown-menu";const hc=`:not(${lc})`;const dc='.list-group, .nav, [role="tablist"]';const pc=".nav-item, .list-group-item";const vc=`.nav-link${hc}, .list-group-item${hc}, [role="tab"]${hc}`;const gc='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]';const mc=`${vc}, ${gc}`;const bc=`.${oc}[data-bs-toggle="tab"], .${oc}[data-bs-toggle="pill"], .${oc}[data-bs-toggle="list"]`;class wc extends Ui{constructor(t){super(t);this._parent=this._element.closest(dc);if(!this._parent){return}this._setInitialAttributes(this._parent,this._getChildren());Ni.on(this._element,Xa,(t=>this._keydown(t)))}static get NAME(){return Ua}show(){const t=this._element;if(this._elemIsActive(t)){return}const e=this._getActiveElem();const i=e?Ni.trigger(e,Za,{relatedTarget:t}):null;const n=Ni.trigger(t,Ya,{relatedTarget:e});if(n.defaultPrevented||i&&i.defaultPrevented){return}this._deactivate(e,t);this._activate(t,e)}_activate(t,e){if(!t){return}t.classList.add(oc);this._activate(Gi.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(cc);return}t.removeAttribute("tabindex");t.setAttribute("aria-selected",true);this._toggleDropDown(t,true);Ni.trigger(t,Ja,{relatedTarget:e})};this._queueCallback(i,t,t.classList.contains(ac))}_deactivate(t,e){if(!t){return}t.classList.remove(oc);t.blur();this._deactivate(Gi.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(cc);return}t.setAttribute("aria-selected",false);t.setAttribute("tabindex","-1");this._toggleDropDown(t,false);Ni.trigger(t,Qa,{relatedTarget:e})};this._queueCallback(i,t,t.classList.contains(ac))}_keydown(t){if(![tc,ec,ic,nc,rc,sc].includes(t.key)){return}t.stopPropagation();t.preventDefault();const e=this._getChildren().filter((t=>!ui(t)));let i;if([rc,sc].includes(t.key)){i=e[t.key===rc?0:e.length-1]}else{const n=[ec,nc].includes(t.key);i=wi(e,t.target,n,true)}if(i){i.focus({preventScroll:true});wc.getOrCreateInstance(i).show()}}_getChildren(){return Gi.find(mc,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e){this._setInitialAttributesOnChild(t)}}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t);const i=this._getOuterElement(t);t.setAttribute("aria-selected",e);if(i!==t){this._setAttributeIfNotExists(i,"role","presentation")}if(!e){t.setAttribute("tabindex","-1")}this._setAttributeIfNotExists(t,"role","tab");this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=Gi.getElementFromSelector(t);if(!e){return}this._setAttributeIfNotExists(e,"role","tabpanel");if(t.id){this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`)}}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains(uc)){return}const n=(t,n)=>{const r=Gi.findOne(t,i);if(r){r.classList.toggle(n,e)}};n(lc,oc);n(fc,cc);i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){if(!t.hasAttribute(e)){t.setAttribute(e,i)}}_elemIsActive(t){return t.classList.contains(oc)}_getInnerElement(t){return t.matches(mc)?t:Gi.findOne(mc,t)}_getOuterElement(t){return t.closest(pc)||t}static jQueryInterface(t){return this.each((function(){const e=wc.getOrCreateInstance(this);if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t]()}))}}Ni.on(document,Va,gc,(function(t){if(["A","AREA"].includes(this.tagName)){t.preventDefault()}if(ui(this)){return}wc.getOrCreateInstance(this).show()}));Ni.on(window,Ka,(()=>{for(const t of Gi.find(bc)){wc.getOrCreateInstance(t)}}));gi(wc);const yc="toast";const kc="bs.toast";const xc=`.${kc}`;const $c=`mouseover${xc}`;const Ac=`mouseout${xc}`;const _c=`focusin${xc}`;const jc=`focusout${xc}`;const Tc=`hide${xc}`;const Ec=`hidden${xc}`;const Mc=`show${xc}`;const Oc=`shown${xc}`;const Cc="fade";const Ic="hide";const Sc="show";const Dc="showing";const Lc={animation:"boolean",autohide:"boolean",delay:"number"};const zc={animation:true,autohide:true,delay:5e3};class Nc extends Ui{constructor(t,e){super(t,e);this._timeout=null;this._hasMouseInteraction=false;this._hasKeyboardInteraction=false;this._setListeners()}static get Default(){return zc}static get DefaultType(){return Lc}static get NAME(){return yc}show(){const t=Ni.trigger(this._element,Mc);if(t.defaultPrevented){return}this._clearTimeout();if(this._config.animation){this._element.classList.add(Cc)}const e=()=>{this._element.classList.remove(Dc);Ni.trigger(this._element,Oc);this._maybeScheduleHide()};this._element.classList.remove(Ic);this._element.classList.add(Sc,Dc);this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown()){return}const t=Ni.trigger(this._element,Tc);if(t.defaultPrevented){return}const e=()=>{this._element.classList.add(Ic);this._element.classList.remove(Dc,Sc);Ni.trigger(this._element,Ec)};this._element.classList.add(Dc);this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout();if(this.isShown()){this._element.classList.remove(Sc)}super.dispose()}isShown(){return this._element.classList.contains(Sc)}_maybeScheduleHide(){if(!this._config.autohide){return}if(this._hasMouseInteraction||this._hasKeyboardInteraction){return}this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=e;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=e;break}}if(e){this._clearTimeout();return}const i=t.relatedTarget;if(this._element===i||this._element.contains(i)){return}this._maybeScheduleHide()}_setListeners(){Ni.on(this._element,$c,(t=>this._onInteraction(t,true)));Ni.on(this._element,Ac,(t=>this._onInteraction(t,false)));Ni.on(this._element,_c,(t=>this._onInteraction(t,true)));Ni.on(this._element,jc,(t=>this._onInteraction(t,false)))}_clearTimeout(){clearTimeout(this._timeout);this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Nc.getOrCreateInstance(this,t);if(typeof t==="string"){if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t](this)}}))}}Zi(Nc);gi(Nc);const Pc="";const Rc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){return e(i,null,e("h2",{class:"card-title mb-2"},"FAQ"),e("div",{class:"accordion",id:"aico-faq-accordion"},this.content.faqItems.map(((t,i)=>{var n;const r=(n=t.translations.find((t=>t.locale===this.locale)))!==null&&n!==void 0?n:null;if(!r){return null}return e("div",{class:"accordion-item"},e("h2",{class:"accordion-header",id:`heading-${i}`},e("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":`#collapse-${i}`,"aria-expanded":"false","aria-controls":`collapse-${i}`},r.question)),e("div",{id:`collapse-${i}`,class:"accordion-collapse collapse","aria-labelledby":`heading-${i}`,"data-bs-parent":"#aico-faq-accordion"},e("div",{class:"accordion-body"},r.answer)))}))))}};Rc.style=Pc;const Bc="";const Fc=class{constructor(e){t(this,e);this.article=undefined;this.aicoUrl=undefined;this.aicoBearerToken=undefined;this.locale="de";this.hideDateAndAuthor=false;this.hideCategoryAndTags=false;this.articleId=undefined;this.articleUrlHandle=undefined}connectedCallback(){this.articleFetchController=new AbortController;this.api={baseApi:this.aicoUrl,bearerToken:this.aicoBearerToken}}disconnectedCallback(){this.articleFetchController.abort("disconnected")}async componentWillLoad(){if(!this.articleId&&!this.articleUrlHandle){throw new Error("Either the article id or the url handle must be provided.")}try{if(this.articleUrlHandle){this.article=await w(this.api,this.articleUrlHandle,this.articleFetchController.signal);return}this.article=await b(this.api,this.articleId,this.articleFetchController.signal)}catch(t){console.error("Could not fetch the news Article with the given data","[articleId]",this.articleId,"[articleUrlHandle]",this.articleUrlHandle)}}render(){return e(n,null,e(h,{condition:this.article!==undefined},e("aico-article-detail",{article:this.article,locale:this.locale,"hide-date-and-author":this.hideDateAndAuthor})),e(h,{condition:this.article===undefined},e("p",null,"Not found")))}};Fc.style=Bc;const Hc=".content.sc-aico-heading-content{display:flex;flex-flow:column;width:100%;margin:10px auto}.content-align-with-text.sc-aico-heading-content{align-content:space-between;max-width:1278px;display:flex;flex-flow:row wrap;width:100%;margin:0 auto}.title-wrapper.sc-aico-heading-content{width:fit-content;border-radius:10px;margin-bottom:10px;margin-left:0;padding:15px}.description.sc-aico-heading-content{width:fit-content;padding:10px;border-radius:10px;white-space:pre-line}@media screen and (max-width: 768px){.content.sc-aico-heading-content{min-height:300px !important}}";const Wc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const i=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const n={"justify-content":this.content.isTextAtMiddleOfImage?"center":"flex-end"};if(!x(this.content.picture)){n["min-height"]=this.content.isImageHeightHalfSize?"400px":"600px";n["background-size"]=this.content.isImageHeightHalfSize?"100%":"cover";n["background-image"]=`url(${this.content.picture})`;n["background-repeat"]="no-repeat";n["background-position"]="center"}const r={"background-color":this.content.textBackgroundColor};if(this.content.fontSize){r["font-size"]=`${this.content.fontSize}px`}if(!x(this.content.fontFamily)){r["font-family"]=this.content.fontFamily}const s={"background-color":this.content.textBackgroundColor};if(!x(this.content.textColor)){s["color"]=this.content.textColor}return e("div",{class:this.content.isHeadingAlignedWithText?"content content-align-with-text":"content",style:n},e(h,{condition:i!==null},e("div",{class:"title-wrapper",style:r},e("aico-title-content",{content:this.makeTitleContent(i),locale:this.locale})),e("span",{class:"description",style:s},i.description)))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h1",titleColor:this.content.textColor,translations:[Object.assign({},t)]}}};Wc.style=Hc;const Uc=".sc-aico-html-content-h{display:block}";const qc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const i=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e(h,{condition:i!==null&&!x(i.text)},e("div",{innerHTML:i.text}))}};qc.style=Uc;const Gc=".sc-aico-link-content-h {\n --hover-button-color: unset;\n}\n\n.image-link-wrapper.sc-aico-link-content {\n display: flex;\n}\n\n.image-link.sc-aico-link-content {\n display: block;\n text-align: center;\n &:hover {\n opacity: 0.5;\n }\n}\n\n.arrow-button.sc-aico-link-content {\n float: right;\n font-size: 30px;\n margin-top: -10px;\n}\n\n.button_link.sc-aico-link-content {\n display: block;\n text-decoration: none;\n text-transform: uppercase;\n padding: 12px;\n text-align: center;\n font-weight: 900;\n font-size: 1.5rem;\n line-height: 1;\n letter-spacing: 0.03rem;\n border-radius: 5px;\n &:hover {\n background-color: var(--hover-button-color) !important;\n }\n}";const Zc=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,n,r;const s=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const o={};if(this.content.textButtonColor){o["color"]=this.content.textButtonColor}if(this.content.textButtonColor){o["background-color"]=this.content.textButtonColor}if(this.content.fontSize){o["font-size"]=`${this.content.fontSize}px`}if(this.content.fontFamily){o["font-family"]=this.content.fontFamily}if(this.content.hoverColor){o["--hover-button-color"]=this.content.hoverColor}return e(i,null,e(h,{condition:!x(s===null||s===void 0?void 0:s.title)},e("label",null,s===null||s===void 0?void 0:s.title,": ")),e(h,{condition:this.content.isImageLink!==undefined&&this.content.isImageLink},e("div",{class:"image-link-wrapper",style:{"justify-content":this.content.picturePosition}},e("a",{href:(n=s===null||s===void 0?void 0:s.link)!==null&&n!==void 0?n:"#",target:"_blank",class:"image-link",style:{width:this.content.isImageFullSize?"100%":y(this.content.pictureSize)}},e("img",{src:s===null||s===void 0?void 0:s.imageUrl})))),e(h,{condition:this.content.isImageLink===null||!this.content.isImageLink},e("a",{href:(r=s===null||s===void 0?void 0:s.link)!==null&&r!==void 0?r:"#",target:"_blank",class:this.content.isButtonLink?"button-link":"",style:o},e("span",{class:"arrow-button"}," →"))))}};Zc.style=Gc;const Qc=".news-article.sc-aico-news-content{cursor:pointer}.news-article-img.sc-aico-news-content{transition:scale 0.5s ease-in-out}.news-article.sc-aico-news-content:hover .news-article-img.sc-aico-news-content{scale:1.2}";const Yc=class{constructor(e){t(this,e);this.newsArticleClicked=r(this,"newsArticleClicked",7);this.content=undefined}render(){return e("div",{class:"card-group"},this.content.aicoShopNews.map((t=>{var i,n,r,s;return e("div",{class:"news-article card h-100 pe-auto",onClick:()=>{var e;(e=this.newsArticleClicked)===null||e===void 0?void 0:e.emit(t)}},e("div",{class:"ratio ratio-4x3 overflow-hidden "},e("img",{class:"news-article-img card-img-top img-fluid object-fit-cover",style:{"object-position":"center"},src:(n=(i=t.image)!==null&&i!==void 0?i:t.headlineImage)!==null&&n!==void 0?n:"https://cdn.shopify.com/s/files/1/0565/2201/4813/files/blank-img.png?v=13432316686103745237%20406w"})),e("div",{class:"card-body",style:{"min-height":"6rem","background-color":(r=this.content.textBackgroundColor)!==null&&r!==void 0?r:"royalBlue"}},e("h5",{class:"card-title"},t.name)),e(h,{condition:!x(t.excerpt)},e("div",{class:"card-footer",style:{"background-color":(s=this.content.textBackgroundColor)!==null&&s!==void 0?s:"royalBlue",color:"white"}},e("small",{class:"text-muted"},t.excerpt))))})))}};Yc.style=Qc;const Jc="";const Vc=class{constructor(e){t(this,e);this.articleClick=r(this,"articleClick",7);this.newsResponse=undefined;this.pageNumber=1;this.aicoUrl=undefined;this.aicoBearerToken=undefined;this.newsChannels=[];this.newsSellerIds=[];this.newsBrandIds=[];this.newsLanguageLocales=[];this.pageSize=16;this.nextButtonText="Next";this.previousButtonText="Previous";this.locale="de"}connectedCallback(){this.newsListFetchController=new AbortController;this.pageNumber=1;this.api={baseApi:this.aicoUrl,bearerToken:this.aicoBearerToken}}disconnectedCallback(){this.newsListFetchController.abort("disconnected")}async componentWillLoad(){this.newsResponse=await g(this.api,this.pageNumber,this.pageSize,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}async componentWillUpdate(){this.newsListFetchController=new AbortController;this.newsResponse=await g(this.api,this.pageNumber,this.pageSize,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}render(){var t,n,r;return e(i,null,e("div",{class:"row row-cols-1 row-cols-sm-2 row-cols-lg-4 g-4 mb-4"},(t=this.newsResponse)===null||t===void 0?void 0:t.data.map((t=>e("div",{class:"col"},e("aico-news-list-item",{article:t,onArticleClick:t=>{var e;(e=this.articleClick)===null||e===void 0?void 0:e.emit(t.detail)},locale:this.locale}))))),e("nav",{class:"w-100","aria-label":"News navigation"},e("ul",{class:"pagination justify-content-center"},e("li",{class:`page-item page-link user-select-none d-flex align-items-center ${!((n=this.newsResponse)===null||n===void 0?void 0:n.links.prev)?"disabled":""}`,style:{cursor:"pointer"},onClick:()=>{if(this.pageNumber>1){this.pageNumber-=1}return false}},e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"bi bi-chevron-left me-1 fs-4",style:{width:"1em",height:"1em"},viewBox:"0 0 16 16"},e("path",{"fill-rule":"evenodd",d:"M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0"})),this.previousButtonText),this.getViewablePages().map((t=>e("li",{class:`page-item page-link user-select-none ${t==="..."?"disabled":Number(t)===this.pageNumber?"active":""}`,style:{cursor:"pointer"},onClick:()=>{if(t!=="..."){this.pageNumber=Number(t)}return false}},t))),e("li",{class:`page-item page-link user-select-none d-flex align-items-center ${!((r=this.newsResponse)===null||r===void 0?void 0:r.links.next)?"disabled":""}`,style:{cursor:"pointer"},onClick:()=>{var t,e;if(((t=this.newsResponse)===null||t===void 0?void 0:t.meta.page.lastPage)&&this.pageNumber<((e=this.newsResponse)===null||e===void 0?void 0:e.meta.page.lastPage)){this.pageNumber+=1}}},this.nextButtonText,e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"bi bi-chevron-right ms-1 fs-4",style:{width:"1em",height:"1em"},viewBox:"0 0 16 16"},e("path",{"fill-rule":"evenodd",d:"M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708"}))))))}getViewablePages(t=2){var e,i,n,r,s,o,a;const c=[];if(this.pageNumber-t>=2){c.push("1")}if(this.pageNumber-t>2){c.push("...")}for(let e=this.pageNumber-t;e<this.pageNumber;e+=1){if(e>=1){c.push(`${e}`)}}c.push(`${this.pageNumber}`);for(let n=this.pageNumber+1;n<=this.pageNumber+t;n+=1){if(n<=((i=(e=this.newsResponse)===null||e===void 0?void 0:e.meta.page.lastPage)!==null&&i!==void 0?i:0)){c.push(`${n}`)}}if(this.pageNumber+t<((r=(n=this.newsResponse)===null||n===void 0?void 0:n.meta.page.lastPage)!==null&&r!==void 0?r:0)-1){c.push("...")}if(this.pageNumber+t<=((o=(s=this.newsResponse)===null||s===void 0?void 0:s.meta.page.lastPage)!==null&&o!==void 0?o:0)-1){c.push(`${(a=this.newsResponse)===null||a===void 0?void 0:a.meta.page.lastPage}`)}return c}};Vc.style=Jc;const Xc="";const Kc=class{constructor(e){t(this,e);this.articleClick=r(this,"articleClick",7);this.article=undefined;this.locale="de"}render(){var t,i,n,r,s,o,a;const c=this.article.attributes.translations.find((t=>t.locale===this.locale));return e("div",{class:"card h-100 pe-auto",style:{cursor:"pointer"},onClick:()=>{var t;(t=this.articleClick)===null||t===void 0?void 0:t.emit(this.article)}},e("div",{class:"ratio ratio-16x9 overflow-hidden"},e("img",{class:"object-fit-cover",style:{"min-height":"15rem"},alt:"Article image",src:(s=(r=(n=(i=(t=c===null||c===void 0?void 0:c.optimizedListImage)!==null&&t!==void 0?t:c===null||c===void 0?void 0:c.optimizedImage)!==null&&i!==void 0?i:c===null||c===void 0?void 0:c.image)!==null&&n!==void 0?n:this.article.attributes.optimizedListImage)!==null&&r!==void 0?r:this.article.attributes.optimizedImage)!==null&&s!==void 0?s:this.article.attributes.image}),e("div",{class:"card-img-overlay d-flex justify-content-end"})),e("div",{class:"card-body"},e("h5",{class:"card-title"},(o=c===null||c===void 0?void 0:c.name)!==null&&o!==void 0?o:this.article.attributes.name),e("p",{class:"card-text"},(a=c===null||c===void 0?void 0:c.excerpt)!==null&&a!==void 0?a:this.article.attributes.excerpt)))}};Kc.style=Xc;const tu=".sc-aico-no-content-h{display:block}";const eu=class{constructor(e){t(this,e)}render(){return e("div",null,e("span",null,"The content cannot be rendered because it is either malformed or not supported."))}};eu.style=tu;const iu=".sc-aico-page-content-h{display:block}";const nu=class{constructor(e){t(this,e);this.pageClicked=r(this,"pageClicked",7);this.content=undefined;this.locale="de"}render(){var t,n,r,s,o;const a=(t=this.content.landingPage.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;return e(i,{style:{"max-width":"300px"}},e("div",{class:"card pe-auto"},e("div",{class:"ratio ratio-4x3"},e("img",{class:"card-img-top img-fluid object-fit-cover",style:{"object-position":"center"},src:(n=this.content.landingPage.image)!==null&&n!==void 0?n:"https://cdn.shopify.com/s/files/1/0565/2201/4813/files/blank-img.png?v=13432316686103745237%20406w",alt:(r=a===null||a===void 0?void 0:a.imageAlt)!==null&&r!==void 0?r:"Landing page image"})),e("div",{class:"card-body",style:{"min-height":"6rem"}},e("h5",{class:"card-title"},a===null||a===void 0?void 0:a.name),e(h,{condition:this.content.openExternalLink&&!x(this.content.externalLink)},e("a",{href:this.content.externalLink,class:"card-link"},(s=a===null||a===void 0?void 0:a.buttonText)!==null&&s!==void 0?s:"Navigate to page")),e(h,{condition:!this.content.openExternalLink},e("a",{href:"#",class:"card-link",onClick:t=>{var e;t.preventDefault();(e=this.pageClicked)===null||e===void 0?void 0:e.emit(this.content)}},(o=a===null||a===void 0?void 0:a.buttonText)!==null&&o!==void 0?o:"Navigate to page"))),e(h,{condition:a!==null&&!x(a.excerpt)},e("div",{class:"card-footer"},e("small",{class:"text-muted"},a===null||a===void 0?void 0:a.excerpt)))))}};nu.style=iu;const ru=".slick-slide.sc-aico-special-news-carousel>div.sc-aico-special-news-carousel{height:100% !important}";const su=class{constructor(e){t(this,e);this.articleClicked=r(this,"articleClicked",7);this.newsResponse=undefined;this.aicoUrl=undefined;this.aicoBearerToken=undefined;this.newsChannels=[];this.newsSellerIds=[];this.newsBrandIds=[];this.newsLanguageLocales=[];this.numberOfArticles=6;this.locale="de"}connectedCallback(){this.newsListFetchController=new AbortController;this.api={baseApi:this.aicoUrl,bearerToken:this.aicoBearerToken}}disconnectedCallback(){this.newsListFetchController.abort("disconnected")}async componentWillLoad(){this.newsResponse=await m(this.api,1,this.numberOfArticles,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}async componentWillUpdate(){this.newsListFetchController=new AbortController;this.newsResponse=await m(this.api,1,this.numberOfArticles,this.newsListFetchController.signal,this.newsChannels,this.newsSellerIds,this.newsBrandIds,this.newsLanguageLocales)}componentDidLoad(){c(".carousel").slick({autoplay:true,autoplaySpeed:6e3,dots:true,arrows:false,pauseOnDotsHover:true})}render(){return e("div",{class:"carousel"},this.newsResponse.data.map((t=>{var i,n,r,s;const o=t.attributes.focusXPercentage?`${t.attributes.focusXPercentage}%`:"center";const a=t.attributes.focusYPercentage?`${t.attributes.focusYPercentage}%`:"center";const c=t.attributes.translations.find((t=>t.locale===this.locale));return e("div",{class:"carousel-item card border-0"},e("div",{class:"card-body"},e("h5",{class:"card-title text-center text-uppercase"},e("a",{class:"text-reset text-decoration-none",href:"#",onClick:e=>{var i;e.preventDefault();(i=this.articleClicked)===null||i===void 0?void 0:i.emit(t)}},(i=c===null||c===void 0?void 0:c.name)!==null&&i!==void 0?i:t.attributes.name))),e("div",{class:"ratio ratio-16x9 mx-auto",style:{"max-width":"50%"}},e("img",{class:"card-img-bottom object-fit-cover",style:{"object-position":`${o} ${a}`,"min-height":"15rem"},alt:"News Picture","data-lazy":(s=(r=(n=c===null||c===void 0?void 0:c.optimizedImage)!==null&&n!==void 0?n:c===null||c===void 0?void 0:c.image)!==null&&r!==void 0?r:t.attributes.optimizedImage)!==null&&s!==void 0?s:t.attributes.image})))})))}};su.style=ru;const ou=".table-content.sc-aico-table-content{width:100%;overflow-x:auto;white-space:nowrap;text-align:center}.table-content.sc-aico-table-content:not([class]) td.sc-aico-table-content,.table-content.sc-aico-table-content:not([class]) th.sc-aico-table-content{padding:10px !important;border:none !important}.table-content.sc-aico-table-content th.sc-aico-table-content{font-weight:700 !important}.table-content.sc-aico-table-content td.sc-aico-table-content,.table-content.sc-aico-table-content th.sc-aico-table-content{white-space:pre-line}";const au=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i,n;const r=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const s=(i=this.content.firstColor)!==null&&i!==void 0?i:"#d6dfe1";const o=(n=this.content.secondColor)!==null&&n!==void 0?n:"#e6eced";return e("div",{class:"content-table card"},e("div",{class:"card-body"},e(h,{condition:r!==null},e("aico-title-content",{class:"card-title mt-0",content:this.makeTitleContent(r),locale:this.locale}),e("p",{class:"card-text"},r.additionalText)),e("table",{class:"table-content"},this.content.tableRows.sort(((t,e)=>t.sort-e.sort)).map(((t,i)=>e("tr",{style:{"font-weight":"400","background-color":i%2===0?s:o}},t.rowColumns.map((i=>{var n;const r=(n=i.translations.find((t=>t.locale===this.locale)))!==null&&n!==void 0?n:null;if(!r){return t.isHeading?e("th",null):e("td",null)}return t.isHeading?e("th",null,r.columnData):e("td",null,r.columnData)}))))))))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h2",translations:[Object.assign({},t)]}}};au.style=ou;const cu=".star-rating.sc-aico-testimonial-content{font-size:0;white-space:nowrap;height:35px;overflow:hidden;position:relative;background:url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjREREREREIiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');background-size:contain}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content{opacity:0;position:absolute;left:0;top:0;height:100%;z-index:1;background:url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjRkZERjg4IiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');background-size:contain}.star-rating.sc-aico-testimonial-content input.sc-aico-testimonial-content{opacity:0;display:inline-block;height:100%;margin:0;padding:0;z-index:2;position:relative}.star-rating.sc-aico-testimonial-content input.sc-aico-testimonial-content:hover+i.sc-aico-testimonial-content,.star-rating.sc-aico-testimonial-content input.sc-aico-testimonial-content:checked+i.sc-aico-testimonial-content{opacity:1}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:40%}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:60%}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:80%}.star-rating.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:100%}.star-rating.star-5.sc-aico-testimonial-content{width:173px}.star-rating.star-5.sc-aico-testimonial-content input.sc-aico-testimonial-content,.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content{width:20%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:40%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:60%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:80%}.star-rating.star-5.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:100%}.star-rating.star-3.sc-aico-testimonial-content{width:150px}.star-rating.star-3.sc-aico-testimonial-content input.sc-aico-testimonial-content,.star-rating.star-3.sc-aico-testimonial-content i.sc-aico-testimonial-content{width:33.33%}.star-rating.star-3.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:66.66%}.star-rating.star-3.sc-aico-testimonial-content i.sc-aico-testimonial-content~i.sc-aico-testimonial-content~i.sc-aico-testimonial-content{width:100%}";const uu=class{constructor(e){t(this,e);this.content=undefined}render(){return e("div",{class:"card"},e(h,{condition:!x(this.content.testimonial.image)},e("img",{class:"card-img-top",alt:"image",src:this.content.testimonial.image})),e("div",{class:"card-body"},e("h2",{class:"card-title"},this.content.testimonial.title),e("p",{class:"card-text"},this.content.testimonial.text),e(h,{condition:this.content.testimonial.rating!==null},e("div",{class:"star-rating star-5"},Array.from({length:this.content.testimonial.rating},((t,e)=>e+1)).map((t=>e(n,null,e("input",{type:"radio",id:`star${t}`,name:"rating",value:t}),e("i",{style:{opacity:this.content.testimonial.rating>=t?"1":"0"}}))))))))}};uu.style=cu;const lu=({condition:t,wrap:e},i)=>t?e(i):i;const fu="";const hu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i,n,r;const s=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const o={};if(this.content.hasBackgroundColor){o["background-color"]=(i=this.content.backgroundColor)!==null&&i!==void 0?i:"white";o["color"]=(n=this.content.textColor)!==null&&n!==void 0?n:"black";o["width"]="100%";o["padding"]="15px";o["margin-top"]="10px"}if(this.content.addBorder){o["border"]=`3px solid ${this.content.borderColor}`;o["margin-top"]="-3px"}if(this.content.alignmentEnabled){o["display"]="flex";o["align-items"]=(r=this.content.verticalAlign)!==null&&r!==void 0?r:"flex-start"}return e(h,{condition:s!==null},e(lu,{condition:!x(s.promptText),wrap:t=>e("div",{class:"accordion",id:"aico-text-content"},e("div",{class:"accordion-item"},e("h2",{class:"accordion-header",id:"heading"},e("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse","aria-expanded":"false","aria-controls":"collapse"},s.promptText)),e("div",{id:"collapse",class:"accordion-collapse collapse","aria-labelledby":"heading","data-bs-parent":"#aico-text-content"},e("div",{class:"accordion-body"},t))))},e("div",{class:"card",style:o},e("div",{class:"card-body w-100 border-0"},e("aico-title-content",{class:"card-title",content:this.makeTitleContent(s),locale:this.locale}),e(h,{condition:this.shouldDisplayTextAndPicture(s)},e("div",{class:"row g-4"},e("div",{class:$({"col-md-8":true,"order-1":this.content.picturePosition==="right","order-2":this.content.picturePosition==="left"})},this.getTextComponent(s)),e("div",{class:$({"col-md-4 justify-content-center":true,"order-2":this.content.picturePosition==="right","order-1":this.content.picturePosition==="left"})},this.getImageComponent(s)))),e(h,{condition:this.shouldDisplayOnlyPicture(s)},this.getImageComponent(s)),e(h,{condition:this.shouldDisplayOnlyText(s)},this.getTextComponent(s))))))}getImageComponent(t){var i;return e("div",{class:"card text-bg-dark text-white"},e("img",{class:"card-img img-fluid object-fit-contain",src:(i=t.optimizedPicture)!==null&&i!==void 0?i:t.picture}),e(h,{condition:!x(t.pictureLabel)},e("div",{class:"card-img-overlay"},e("p",{class:$({"card-text":true,"text-end":this.content.pictureLabelPosition==="right","text-center":this.content.pictureLabelPosition==="center"})},t.pictureLabel))))}getTextComponent(t){const i={"line-height":"1.3","white-space":"pre-line"};if(this.content.fontSize){i["font-size"]=`${this.content.fontSize}px`}if(this.content.fontFamily){i["font-family"]=this.content.fontFamily}if(this.content.shouldJustifyText){i["text-align"]="justify";i["text-justify"]="inner-word"}return e("p",{class:"card-text",style:i},t.text)}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h1",titleColor:this.content.textColor,translations:[Object.assign({},t)]}}shouldDisplayTextAndPicture(t){return!x(t.text)&&(!x(t.optimizedPicture)||!x(t.picture))}shouldDisplayOnlyPicture(t){return x(t.text)&&(!x(t.optimizedPicture)||!x(t.picture))}shouldDisplayOnlyText(t){return!x(t.text)&&x(t.optimizedPicture)&&x(t.picture)}};hu.style=fu;const du=".sc-aico-title-content-h{display:block}";const pu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t,i;if(!this.content.size||this.content.translations.length===0){return e("aico-no-content",null)}const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r=this.content.size;const s="black";const o={color:this.content.titleColor?this.content.titleColor:s};if(this.content.hasUnderscore){o["text-decoration-line"]="underline";o["text-decoration-color"]=(i=this.content.underscoreColor)!==null&&i!==void 0?i:s;o["text-decoration-thickness"]="3px"}return e(r,null,e("span",{style:o},n===null||n===void 0?void 0:n.title))}};pu.style=du;const vu=".sc-aico-upload-content-h{display:block}";const gu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r=this.content&&this.content.videoUrl?k(this.content.videoUrl):null;return e(i,null,e(h,{condition:n!==null},e("aico-title-content",{content:this.makeTitleContent(n),locale:this.locale})),e(h,{condition:!x(r)},e("div",{class:"ratio ratio-16x9"},e("iframe",{allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:true,src:r}))),e(h,{condition:!this.content.shouldHideFile},e("p",{class:"fs-3 mt-3"},"Files:"),e("div",{class:"list-group list-group-flush"},this.content.uploads.map((t=>{if(x(t.path)){return null}return e("a",{href:t.path,target:"_blank",class:"list-group-item list-group-item-action"},t.name)})))))}makeTitleContent(t){return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:"h2",translations:[Object.assign({},t)]}}};gu.style=vu;const mu=".media-card-video.sc-aico-video-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;-o-object-fit:contain;object-fit:contain}";const bu=class{constructor(e){t(this,e);this.content=undefined;this.locale="de"}render(){var t;const n=(t=this.content.translations.find((t=>t.locale===this.locale)))!==null&&t!==void 0?t:null;const r=n&&n.videoUrl?k(n.videoUrl):null;return e(i,null,e(h,{condition:n!==null},e("aico-title-content",{content:this.makeTitleContent(n),locale:this.locale})),e(h,{condition:!x(r)},e("div",{class:"ratio ratio-16x9"},e("iframe",{allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:true,src:r}))),e(h,{condition:!x(this.content.localVideoUrl)},e("div",{class:"ratio ratio-16x9"},e("video",{class:"media-card-video",controls:true,playsInline:true,style:{height:this.content.isVideoMinimized?"400px":"100%"}},e("source",{src:this.content.localVideoUrl,type:"video/mp4"})))))}makeTitleContent(t){var e;return{id:this.content.id,createdAt:this.content.createdAt,updatedAt:this.content.updatedAt,hasUnderscore:false,size:(e=this.content.titleSize)!==null&&e!==void 0?e:"h2",translations:[Object.assign({},t)]}}};bu.style=mu;export{l as aico_album_content,_ as aico_article_detail,T as aico_asking_content,M as aico_block_quote_content,C as aico_bullet_content,S as aico_carousel_content,L as aico_content_card_content,N as aico_divider_content,R as aico_document_content,Rc as aico_faq_content,Fc as aico_fetch_article_detail,Wc as aico_heading_content,qc as aico_html_content,Zc as aico_link_content,Yc as aico_news_content,Vc as aico_news_list,Kc as aico_news_list_item,eu as aico_no_content,nu as aico_page_content,su as aico_special_news_carousel,au as aico_table_content,uu as aico_testimonial_content,hu as aico_text_content,pu as aico_title_content,gu as aico_upload_content,bu as aico_video_content};
|
|
18
|
+
//# sourceMappingURL=p-de1a4cc0.entry.js.map
|