const t="infineon-design-system-stencil";let e;let n;let s;let l=false;let o=false;let i=false;let c=false;let f=false;const r=(t,e="")=>{{return()=>{}}};const u=(t,e)=>{{return()=>{}}};const a="{visibility:hidden}.hydrated{visibility:inherit}";const d="http://www.w3.org/1999/xlink";const p={};const h="http://www.w3.org/2000/svg";const y="http://www.w3.org/1999/xhtml";const m=t=>t!=null;const b=t=>{t=typeof t;return t==="object"||t==="function"};function $(t){var e,n,s;return(s=(n=(e=t.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const v=(t,e,...n)=>{let s=null;let l=null;let o=null;let i=false;let c=false;const f=[];const r=e=>{for(let n=0;nt[e])).join(" ")}}}const u=w(t,null);u.l=e;if(f.length>0){u.o=f}{u.i=l}{u.u=o}return u};const w=(t,e)=>{const n={p:0,h:t,t:e,m:null,o:null};{n.l=null}{n.i=null}{n.u=null}return n};const g={};const S=t=>t&&t.h===g;const k=(t,e)=>{if(t!=null&&!b(t)){if(e&4){return t==="false"?false:t===""||!!t}if(e&2){return parseFloat(t)}if(e&1){return String(t)}return t}return t};const j=t=>Ot(t).$hostElement$;const O=(t,e,n)=>{const s=j(t);return{emit:t=>C(s,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:t})}};const C=(t,e,n)=>{const s=At.ce(e,n);t.dispatchEvent(s);return s};const M=new WeakMap;const R=(t,e,n)=>{let s=Tt.get(t);if(Ft&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=e}else{s.replaceSync(e)}}else{s=e}Tt.set(t,s)};const x=(t,e,n)=>{var s;const l=U(e);const o=Tt.get(l);t=t.nodeType===11?t:Lt;if(o){if(typeof o==="string"){t=t.head||t;let e=M.get(t);let n;if(!e){M.set(t,e=new Set)}if(!e.has(l)){{n=Lt.createElement("style");n.innerHTML=o;const e=(s=At.$)!==null&&s!==void 0?s:$(Lt);if(e!=null){n.setAttribute("nonce",e)}t.insertBefore(n,t.querySelector("link"))}if(e){e.add(l)}}}else if(!t.adoptedStyleSheets.includes(o)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]}}return l};const P=t=>{const e=t.v;const n=t.$hostElement$;const s=e.p;const l=r("attachStyles",e.S);const o=x(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(s&10){n["s-sc"]=o;n.classList.add(o+"-h")}l()};const U=(t,e)=>"sc-"+t.S;const T=(t,e,n,s,l,o)=>{if(n!==s){let i=Rt(t,e);let c=e.toLowerCase();if(e==="class"){const e=t.classList;const l=L(n);const o=L(s);e.remove(...l.filter((t=>t&&!o.includes(t))));e.add(...o.filter((t=>t&&!l.includes(t))))}else if(e==="style"){{for(const e in n){if(!s||s[e]==null){if(e.includes("-")){t.style.removeProperty(e)}else{t.style[e]=""}}}}for(const e in s){if(!n||s[e]!==n[e]){if(e.includes("-")){t.style.setProperty(e,s[e])}else{t.style[e]=s[e]}}}}else if(e==="key");else if(e==="ref"){if(s){s(t)}}else if(!i&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(Rt(Wt,c)){e=c.slice(2)}else{e=c[2]+e.slice(3)}if(n){At.rel(t,e,n,false)}if(s){At.ael(t,e,s,false)}}else{const f=b(s);if((i||f&&s!==null)&&!l){try{if(!t.tagName.includes("-")){const l=s==null?"":s;if(e==="list"){i=false}else if(n==null||t[e]!=l){t[e]=l}}else{t[e]=s}}catch(t){}}let r=false;{if(c!==(c=c.replace(/^xlink\:?/,""))){e=c;r=true}}if(s==null||s===false){if(s!==false||t.getAttribute(e)===""){if(r){t.removeAttributeNS(d,e)}else{t.removeAttribute(e)}}}else if((!i||o&4||l)&&!f){s=s===true?"":s;if(r){t.setAttributeNS(d,e,s)}else{t.setAttribute(e,s)}}}}};const W=/\s/;const L=t=>!t?[]:t.split(W);const N=(t,e,n,s)=>{const l=e.m.nodeType===11&&e.m.host?e.m.host:e.m;const o=t&&t.l||p;const i=e.l||p;{for(s in o){if(!(s in i)){T(l,s,o[s],undefined,n,e.p)}}}for(s in i){T(l,s,o[s],i[s],n,e.p)}};const A=(t,o,f,r)=>{const u=o.o[f];let a=0;let d;let p;let b;if(!l){i=true;if(u.h==="slot"){if(e){r.classList.add(e+"-s")}u.p|=u.o?2:1}}if(u.t!==null){d=u.m=Lt.createTextNode(u.t)}else if(u.p&1){d=u.m=Lt.createTextNode("")}else{if(!c){c=u.h==="svg"}d=u.m=Lt.createElementNS(c?h:y,u.p&2?"slot-fb":u.h);if(c&&u.h==="foreignObject"){c=false}{N(null,u,c)}if(m(e)&&d["s-si"]!==e){d.classList.add(d["s-si"]=e)}if(u.o){for(a=0;a{At.p|=1;const n=t.childNodes;for(let t=n.length-1;t>=0;t--){const l=n[t];if(l["s-hn"]!==s&&l["s-ol"]){V(l).insertBefore(l,I(l));l["s-ol"].remove();l["s-ol"]=undefined;i=true}if(e){D(l,e)}}At.p&=~1};const E=(t,e,n,l,o,i)=>{let c=t["s-cr"]&&t["s-cr"].parentNode||t;let f;if(c.shadowRoot&&c.tagName===s){c=c.shadowRoot}for(;o<=i;++o){if(l[o]){f=A(null,n,o,t);if(f){l[o].m=f;c.insertBefore(f,I(e))}}}};const F=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.m;K(e);if(t){{o=true;if(t["s-ol"]){t["s-ol"].remove()}else{D(t,true)}}t.remove()}}}};const q=(t,e,n,s)=>{let l=0;let o=0;let i=0;let c=0;let f=e.length-1;let r=e[0];let u=e[f];let a=s.length-1;let d=s[0];let p=s[a];let h;let y;while(l<=f&&o<=a){if(r==null){r=e[++l]}else if(u==null){u=e[--f]}else if(d==null){d=s[++o]}else if(p==null){p=s[--a]}else if(H(r,d)){_(r,d);r=e[++l];d=s[++o]}else if(H(u,p)){_(u,p);u=e[--f];p=s[--a]}else if(H(r,p)){if(r.h==="slot"||p.h==="slot"){D(r.m.parentNode,false)}_(r,p);t.insertBefore(r.m,u.m.nextSibling);r=e[++l];p=s[--a]}else if(H(u,d)){if(r.h==="slot"||p.h==="slot"){D(u.m.parentNode,false)}_(u,d);t.insertBefore(u.m,r.m);u=e[--f];d=s[++o]}else{i=-1;{for(c=l;c<=f;++c){if(e[c]&&e[c].i!==null&&e[c].i===d.i){i=c;break}}}if(i>=0){y=e[i];if(y.h!==d.h){h=A(e&&e[o],n,i,t)}else{_(y,d);e[i]=undefined;h=y.m}d=s[++o]}else{h=A(e&&e[o],n,o,t);d=s[++o]}if(h){{V(r.m).insertBefore(h,I(r.m))}}}}if(l>f){E(t,s[a+1]==null?null:s[a+1].m,n,s,o,a)}else if(o>a){F(e,l,f)}};const H=(t,e)=>{if(t.h===e.h){if(t.h==="slot"){return t.u===e.u}{return t.i===e.i}}return false};const I=t=>t&&t["s-ol"]||t;const V=t=>(t["s-ol"]?t["s-ol"]:t).parentNode;const _=(t,e)=>{const n=e.m=t.m;const s=t.o;const l=e.o;const o=e.h;const i=e.t;let f;if(i===null){{c=o==="svg"?true:o==="foreignObject"?false:c}{if(o==="slot");else{N(t,e,c)}}if(s!==null&&l!==null){q(n,s,e,l)}else if(l!==null){if(t.t!==null){n.textContent=""}E(n,null,e,l,0,l.length-1)}else if(s!==null){F(s,0,s.length-1)}if(c&&o==="svg"){c=false}}else if(f=n["s-cr"]){f.parentNode.textContent=i}else if(t.t!==i){n.data=i}};const z=t=>{const e=t.childNodes;for(const t of e){if(t.nodeType===1){if(t["s-sr"]){const n=t["s-sn"];t.hidden=false;for(const s of e){if(s["s-hn"]!==t["s-hn"]||n!==""){if(s.nodeType===1&&n===s.getAttribute("slot")){t.hidden=true;break}}else{if(s.nodeType===1||s.nodeType===3&&s.textContent.trim()!==""){t.hidden=true;break}}}}z(t)}}};const B=[];const G=t=>{let e;let n;let s;for(const l of t.childNodes){if(l["s-sr"]&&(e=l["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;const t=l["s-sn"];for(s=n.length-1;s>=0;s--){e=n[s];if(!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==l["s-hn"]){if(J(e,t)){let n=B.find((t=>t.k===e));o=true;e["s-sn"]=e["s-sn"]||t;if(n){n.j=l}else{B.push({j:l,k:e})}if(e["s-sr"]){B.map((t=>{if(J(t.k,e["s-sn"])){n=B.find((t=>t.k===e));if(n&&!t.j){t.j=n.j}}}))}}else if(!B.some((t=>t.k===e))){B.push({k:e})}}}}if(l.nodeType===1){G(l)}}};const J=(t,e)=>{if(t.nodeType===1){if(t.getAttribute("slot")===null&&e===""){return true}if(t.getAttribute("slot")===e){return true}return false}if(t["s-sn"]===e){return true}return e===""};const K=t=>{{t.l&&t.l.ref&&t.l.ref(null);t.o&&t.o.map(K)}};const Q=(t,c,f=false)=>{const r=t.$hostElement$;const u=t.v;const a=t.O||w(null,null);const d=S(c)?c:v(null,null,c);s=r.tagName;if(u.C){d.l=d.l||{};u.C.map((([t,e])=>d.l[e]=r[t]))}if(f&&d.l){for(const t of Object.keys(d.l)){if(r.hasAttribute(t)&&!["key","ref","style","class"].includes(t)){d.l[t]=r[t]}}}d.h=null;d.p|=4;t.O=d;d.m=a.m=r.shadowRoot||r;{e=r["s-sc"]}{n=r["s-cr"];l=(u.p&1)!==0;o=false}_(a,d);{At.p|=1;if(i){G(d.m);let t;let e;let n;let s;let l;let o;let i=0;for(;i{if(e&&!t.M&&e["s-p"]){e["s-p"].push(new Promise((e=>t.M=e)))}};const Y=(t,e)=>{{t.p|=16}if(t.p&4){t.p|=512;return}X(t,t.R);const n=()=>Z(t,e);return Bt(n)};const Z=(t,e)=>{const n=r("scheduleUpdate",t.v.S);const s=t.P;let l;if(e){{t.p|=256;if(t.U){t.U.map((([t,e])=>it(s,t,e)));t.U=undefined}}{l=it(s,"componentWillLoad")}}else{{l=it(s,"componentWillUpdate")}}{l=tt(l,(()=>it(s,"componentWillRender")))}n();return tt(l,(()=>nt(t,s,e)))};const tt=(t,e)=>et(t)?t.then(e):e();const et=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const nt=async(t,e,n)=>{var s;const l=t.$hostElement$;const o=r("update",t.v.S);const i=l["s-rc"];if(n){P(t)}const c=r("render",t.v.S);{st(t,e,l,n)}if(i){i.map((t=>t()));l["s-rc"]=undefined}c();o();{const e=(s=l["s-p"])!==null&&s!==void 0?s:[];const n=()=>lt(t);if(e.length===0){n()}else{Promise.all(e).then(n);t.p|=4;e.length=0}}};const st=(t,e,n,s)=>{try{e=e.render();{t.p&=~16}{t.p|=2}{{{Q(t,e,s)}}}}catch(e){xt(e,t.$hostElement$)}return null};const lt=t=>{const e=t.v.S;const n=t.$hostElement$;const s=r("postUpdate",e);const l=t.P;const o=t.R;{it(l,"componentDidRender")}if(!(t.p&64)){t.p|=64;{ct(n)}{it(l,"componentDidLoad")}s();{t.T(n);if(!o){ot()}}}else{{it(l,"componentDidUpdate")}s()}{t.W(n)}{if(t.M){t.M();t.M=undefined}if(t.p&512){zt((()=>Y(t,false)))}t.p&=~(4|512)}};const ot=e=>{{ct(Lt.documentElement)}zt((()=>C(Wt,"appload",{detail:{namespace:t}})))};const it=(t,e,n)=>{if(t&&t[e]){try{return t[e](n)}catch(t){xt(t)}}return undefined};const ct=t=>t.classList.add("hydrated");const ft=(t,e)=>Ot(t).L.get(e);const rt=(t,e,n,s)=>{const l=Ot(t);const o=l.$hostElement$;const i=l.L.get(e);const c=l.p;const f=l.P;n=k(n,s.N[e][0]);const r=Number.isNaN(i)&&Number.isNaN(n);const u=n!==i&&!r;if((!(c&8)||i===undefined)&&u){l.L.set(e,n);if(f){if(s.A&&c&128){const t=s.A[e];if(t){t.map((t=>{try{f[t](n,i,e)}catch(t){xt(t,o)}}))}}if((c&(2|16))===2){Y(l,false)}}}};const ut=(t,e,n)=>{var s;if(e.N){if(t.watchers){e.A=t.watchers}const l=Object.entries(e.N);const o=t.prototype;l.map((([t,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(o,t,{get(){return ft(this,t)},set(n){rt(this,t,n,e)},configurable:true,enumerable:true})}else if(n&1&&s&64){Object.defineProperty(o,t,{value(...e){const n=Ot(this);return n.D.then((()=>n.P[t](...e)))}})}}));if(n&1){const n=new Map;o.attributeChangedCallback=function(t,s,l){At.jmp((()=>{const i=n.get(t);if(this.hasOwnProperty(i)){l=this[i];delete this[i]}else if(o.hasOwnProperty(i)&&typeof this[i]==="number"&&this[i]==l){return}else if(i==null){const n=Ot(this);const o=n===null||n===void 0?void 0:n.p;if(!(o&8)&&o&128&&l!==s){const o=n.P;const i=e.A[t];i===null||i===void 0?void 0:i.forEach((e=>{if(o[e]!=null){o[e].call(o,l,s,t)}}))}return}this[i]=l===null&&typeof this[i]==="boolean"?false:l}))};t.observedAttributes=Array.from(new Set([...Object.keys((s=e.A)!==null&&s!==void 0?s:{}),...l.filter((([t,e])=>e[0]&15)).map((([t,s])=>{const l=s[1]||t;n.set(l,t);if(s[0]&512){e.C.push([t,l])}return l}))]))}}return t};const at=async(t,e,n,s)=>{let l;if((e.p&32)===0){e.p|=32;{l=Ut(n);if(l.then){const t=u();l=await l;t()}if(!l.isProxied){{n.A=l.watchers}ut(l,n,2);l.isProxied=true}const t=r("createInstance",n.S);{e.p|=8}try{new l(e)}catch(t){xt(t)}{e.p&=~8}{e.p|=128}t()}if(l.style){let t=l.style;const e=U(n);if(!Tt.has(e)){const s=r("registerStyles",n.S);R(e,t,!!(n.p&1));s()}}}const o=e.R;const i=()=>Y(e,true);if(o&&o["s-rc"]){o["s-rc"].push(i)}else{i()}};const dt=t=>{};const pt=t=>{if((At.p&1)===0){const e=Ot(t);const n=e.v;const s=r("connectedCallback",n.S);if(!(e.p&1)){e.p|=1;{if(n.p&(4|8)){ht(t)}}{let n=t;while(n=n.parentNode||n.host){if(n["s-p"]){X(e,e.R=n);break}}}if(n.N){Object.entries(n.N).map((([e,[n]])=>{if(n&31&&t.hasOwnProperty(e)){const n=t[e];delete t[e];t[e]=n}}))}{at(t,e,n)}}else{vt(t,e,n.F);if(e===null||e===void 0?void 0:e.P);else if(e===null||e===void 0?void 0:e.q){e.q.then((()=>dt()))}}s()}};const ht=t=>{const e=t["s-cr"]=Lt.createComment("");e["s-cn"]=true;t.insertBefore(e,t.firstChild)};const yt=t=>{{it(t,"disconnectedCallback")}};const mt=async t=>{if((At.p&1)===0){const e=Ot(t);{if(e.H){e.H.map((t=>t()));e.H=undefined}}if(e===null||e===void 0?void 0:e.P){yt(e.P)}else if(e===null||e===void 0?void 0:e.q){e.q.then((()=>yt(e.P)))}}};const bt=t=>{const e=t.cloneNode;t.cloneNode=function(t){const n=this;const s=n.shadowRoot&&Dt;const l=e.call(n,s?t:false);if(!s&&t){let t=0;let e,s;const o=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si"];for(;t!n.childNodes[t][e]));if(e){{l.appendChild(e.cloneNode(true))}}if(s){l.appendChild(n.childNodes[t].cloneNode(true))}}}return l}};const $t=(t,e={})=>{var n;const s=r();const l=[];const o=e.exclude||[];const i=Wt.customElements;const c=Lt.head;const f=c.querySelector("meta[charset]");const u=Lt.createElement("style");const d=[];let p;let h=true;Object.assign(At,e);At.I=new URL(e.resourcesUrl||"./",Lt.baseURI).href;t.map((t=>{t[1].map((e=>{var n;const s={p:e[0],S:e[1],N:e[2],F:e[3]};{s.N=e[2]}{s.F=e[3]}{s.C=[]}{s.A=(n=e[4])!==null&&n!==void 0?n:{}}const c=s.S;const f=class extends HTMLElement{constructor(t){super(t);t=this;Mt(t,s);if(s.p&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if(p){clearTimeout(p);p=null}if(h){d.push(this)}else{At.jmp((()=>pt(this)))}}disconnectedCallback(){At.jmp((()=>mt(this)))}componentOnReady(){return Ot(this).q}};{{bt(f.prototype)}}s.V=t[0];if(!o.includes(c)&&!i.get(c)){l.push(c);i.define(c,ut(f,s,1))}}))}));{u.innerHTML=l+a;u.setAttribute("data-styles","");const t=(n=At.$)!==null&&n!==void 0?n:$(Lt);if(t!=null){u.setAttribute("nonce",t)}c.insertBefore(u,f?f.nextSibling:c.firstChild)}h=false;if(d.length){d.map((t=>t.connectedCallback()))}else{{At.jmp((()=>p=setTimeout(ot,30)))}}s()};const vt=(t,e,n,s)=>{if(n){n.map((([n,s,l])=>{const o=gt(t,n);const i=wt(e,l);const c=St(n);At.ael(o,s,i,c);(e.H=e.H||[]).push((()=>At.rel(o,s,i,c)))}))}};const wt=(t,e)=>n=>{try{{if(t.p&256){t.P[e](n)}else{(t.U=t.U||[]).push([e,n])}}}catch(t){xt(t)}};const gt=(t,e)=>{if(e&4)return Lt;if(e&16)return Lt.body;return t};const St=t=>(t&2)!==0;const kt=t=>At.$=t;const jt=new WeakMap;const Ot=t=>jt.get(t);const Ct=(t,e)=>jt.set(e.P=t,e);const Mt=(t,e)=>{const n={p:0,$hostElement$:t,v:e,L:new Map};{n.D=new Promise((t=>n.W=t))}{n.q=new Promise((t=>n.T=t));t["s-p"]=[];t["s-rc"]=[]}vt(t,n,e.F);return jt.set(t,n)};const Rt=(t,e)=>e in t;const xt=(t,e)=>(0,console.error)(t,e);const Pt=new Map;const Ut=(t,e,n)=>{const s=t.S.replace(/-/g,"_");const l=t.V;const o=Pt.get(l);if(o){return o[s]} /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${l}.entry.js${""}`).then((t=>{{Pt.set(l,t)}return t[s]}),xt)};const Tt=new Map;const Wt=typeof window!=="undefined"?window:{};const Lt=Wt.document||{head:{}};const Nt=Wt.HTMLElement||class{};const At={p:0,I:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)};const Dt=true;const Et=t=>Promise.resolve(t);const Ft=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const qt=[];const Ht=[];const It=(t,e)=>n=>{t.push(n);if(!f){f=true;if(e&&At.p&4){zt(_t)}else{At.raf(_t)}}};const Vt=t=>{for(let e=0;e{Vt(qt);{Vt(Ht);if(f=qt.length>0){At.raf(_t)}}};const zt=t=>Et().then(t);const Bt=It(Ht,true);export{Nt as H,g as a,$t as b,O as c,j as g,v as h,Et as p,Ct as r,kt as s}; //# sourceMappingURL=p-5308bbce.js.map