platformscode-new-react 0.0.58 → 0.0.59

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/index.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),xt="platformscode",T={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!1,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!0,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0};var yt=Object.defineProperty,_t=(o,n)=>{for(var t in n)yt(o,t,{get:n[t],enumerable:!0})},he=new WeakMap,L=o=>he.get(o),qt=(o,n)=>{const t={$flags$:0,$hostElement$:o,$cmpMeta$:n,$instanceValues$:new Map};return t.$onReadyPromise$=new Promise(i=>t.$onReadyResolve$=i),o["s-p"]=[],o["s-rc"]=[],he.set(o,t)},Fn=(o,n)=>n in o,an=(o,n)=>(0,console.error)(o,n),J=new Map,zt="slot-fb{display:contents}slot-fb[hidden]{display:none}",Un="http://www.w3.org/1999/xlink",gn=typeof window<"u"?window:{},A=gn.document||{head:{}},l=gn.HTMLElement||class{},q={$flags$:0,$resourcesUrl$:"",jmp:o=>o(),raf:o=>requestAnimationFrame(o),ael:(o,n,t,i)=>o.addEventListener(n,t,i),rel:(o,n,t,i)=>o.removeEventListener(n,t,i),ce:(o,n)=>new CustomEvent(o,n)},St=o=>Promise.resolve(o),Mt=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),ln=!1,Wn=[],ce=[],Ct=(o,n)=>t=>{o.push(t),ln||(ln=!0,q.$flags$&4?_n(dn):q.raf(dn))},Vn=o=>{for(let n=0;n<o.length;n++)try{o[n](performance.now())}catch(t){an(t)}o.length=0},dn=()=>{Vn(Wn),Vn(ce),(ln=Wn.length>0)&&q.raf(dn)},_n=o=>St().then(o),$t=Ct(ce),Kn={},It="http://www.w3.org/2000/svg",At="http://www.w3.org/1999/xhtml",Bt=o=>o!=null,qn=o=>(o=typeof o,o==="object"||o==="function");function Pt(o){var n,t,i;return(i=(t=(n=o.head)==null?void 0:n.querySelector('meta[name="csp-nonce"]'))==null?void 0:t.getAttribute("content"))!=null?i:void 0}var Dt={};_t(Dt,{err:()=>se,map:()=>Et,ok:()=>fn,unwrap:()=>jt,unwrapErr:()=>Tt});var fn=o=>({isOk:!0,isErr:!1,value:o}),se=o=>({isOk:!1,isErr:!0,value:o});function Et(o,n){if(o.isOk){const t=n(o.value);return t instanceof Promise?t.then(i=>fn(i)):fn(t)}if(o.isErr){const t=o.value;return se(t)}throw"should never get here"}var jt=o=>{if(o.isOk)return o.value;throw o.value},Tt=o=>{if(o.isErr)return o.value;throw o.value},P=(o,n="")=>()=>{},e=(o,n,...t)=>{let i=null,r=null,a=null,g=!1,h=!1;const c=[],k=u=>{for(let p=0;p<u.length;p++)i=u[p],Array.isArray(i)?k(i):i!=null&&typeof i!="boolean"&&((g=typeof o!="function"&&!qn(i))&&(i=String(i)),g&&h?c[c.length-1].$text$+=i:c.push(g?Q(null,i):i),h=g)};if(k(t),n){n.key&&(r=n.key),n.name&&(a=n.name);{const u=n.className||n.class;u&&(n.class=typeof u!="object"?u:Object.keys(u).filter(p=>u[p]).join(" "))}}if(typeof o=="function")return o(n===null?{}:n,c,Ot);const b=Q(o,null);return b.$attrs$=n,c.length>0&&(b.$children$=c),b.$key$=r,b.$name$=a,b},Q=(o,n)=>{const t={$flags$:0,$tag$:o,$text$:n,$elm$:null,$children$:null};return t.$attrs$=null,t.$key$=null,t.$name$=null,t},D={},Lt=o=>o&&o.$tag$===D,Ot={forEach:(o,n)=>o.map(Yn).forEach(n),map:(o,n)=>o.map(Yn).map(n).map(Rt)},Yn=o=>({vattrs:o.$attrs$,vchildren:o.$children$,vkey:o.$key$,vname:o.$name$,vtag:o.$tag$,vtext:o.$text$}),Rt=o=>{if(typeof o.vtag=="function"){const t={...o.vattrs};return o.vkey&&(t.key=o.vkey),o.vname&&(t.name=o.vname),e(o.vtag,t,...o.vchildren||[])}const n=Q(o.vtag,o.vtext);return n.$attrs$=o.vattrs,n.$children$=o.vchildren,n.$key$=o.vkey,n.$name$=o.vname,n},Ht=(o,n)=>o!=null&&!qn(o)?n&4?o==="false"?!1:o===""||!!o:n&2?parseFloat(o):n&1?String(o):o:o,Ft=o=>o,$=(o,n,t)=>{const i=Ft(o);return{emit:r=>le(i,n,{bubbles:!!(t&4),composed:!!(t&2),cancelable:!!(t&1),detail:r})}},le=(o,n,t)=>{const i=q.ce(n,t);return o.dispatchEvent(i),i},Gn=new WeakMap,Ut=(o,n,t)=>{let i=J.get(o);Mt&&t?(i=i||new CSSStyleSheet,typeof i=="string"?i=n:i.replaceSync(n)):i=n,J.set(o,i)},Wt=(o,n,t)=>{var i;const r=de(n),a=J.get(r);if(o=o.nodeType===11?o:A,a)if(typeof a=="string"){o=o.head||o;let g=Gn.get(o),h;if(g||Gn.set(o,g=new Set),!g.has(r)){{h=A.createElement("style"),h.innerHTML=a;const c=(i=q.$nonce$)!=null?i:Pt(A);c!=null&&h.setAttribute("nonce",c),(!(n.$flags$&1)||n.$flags$&1&&o.nodeName!=="HEAD")&&o.insertBefore(h,o.querySelector("link"))}n.$flags$&4&&(h.innerHTML+=zt),g&&g.add(r)}}else o.adoptedStyleSheets.includes(a)||(o.adoptedStyleSheets=[...o.adoptedStyleSheets,a]);return r},Vt=o=>{const n=o.$cmpMeta$,t=o.$hostElement$,i=n.$flags$,r=P("attachStyles",n.$tagName$),a=Wt(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);i&10&&i&2&&(t["s-sc"]=a,t.classList.add(a+"-h"),i&2&&t.classList.add(a+"-s")),r()},de=(o,n)=>"sc-"+o.$tagName$,Nn=(o,n,t,i,r,a)=>{if(t!==i){let g=Fn(o,n),h=n.toLowerCase();if(n==="class"){const c=o.classList,k=Xn(t),b=Xn(i);c.remove(...k.filter(u=>u&&!b.includes(u))),c.add(...b.filter(u=>u&&!k.includes(u)))}else if(n==="style"){for(const c in t)(!i||i[c]==null)&&(c.includes("-")?o.style.removeProperty(c):o.style[c]="");for(const c in i)(!t||i[c]!==t[c])&&(c.includes("-")?o.style.setProperty(c,i[c]):o.style[c]=i[c])}else if(n!=="key")if(n==="ref")i&&i(o);else if(!o.__lookupSetter__(n)&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"?n=n.slice(3):Fn(gn,h)?n=h.slice(2):n=h[2]+n.slice(3),t||i){const c=n.endsWith(fe);n=n.replace(Yt,""),t&&q.rel(o,n,t,c),i&&q.ael(o,n,i,c)}}else{const c=qn(i);if((g||c&&i!==null)&&!r)try{if(o.tagName.includes("-"))o[n]=i;else{const b=i??"";n==="list"?g=!1:(t==null||o[n]!=b)&&(o[n]=b)}}catch{}let k=!1;h!==(h=h.replace(/^xlink\:?/,""))&&(n=h,k=!0),i==null||i===!1?(i!==!1||o.getAttribute(n)==="")&&(k?o.removeAttributeNS(Un,n):o.removeAttribute(n)):(!g||a&4||r)&&!c&&(i=i===!0?"":i,k?o.setAttributeNS(Un,n,i):o.setAttribute(n,i))}}},Kt=/\s/,Xn=o=>o?o.split(Kt):[],fe="Capture",Yt=new RegExp(fe+"$"),be=(o,n,t)=>{const i=n.$elm$.nodeType===11&&n.$elm$.host?n.$elm$.host:n.$elm$,r=o&&o.$attrs$||Kn,a=n.$attrs$||Kn;for(const g of Zn(Object.keys(r)))g in a||Nn(i,g,r[g],void 0,t,n.$flags$);for(const g of Zn(Object.keys(a)))Nn(i,g,r[g],a[g],t,n.$flags$)};function Zn(o){return o.includes("ref")?[...o.filter(n=>n!=="ref"),"ref"]:o}var E,bn,W,nn=!1,en=!1,zn=!1,M=!1,on=(o,n,t,i)=>{var r;const a=n.$children$[t];let g=0,h,c,k;if(nn||(zn=!0,a.$tag$==="slot"&&(E&&i.classList.add(E+"-s"),a.$flags$|=a.$children$?2:1)),a.$text$!==null)h=a.$elm$=A.createTextNode(a.$text$);else if(a.$flags$&1)h=a.$elm$=A.createTextNode("");else{if(M||(M=a.$tag$==="svg"),h=a.$elm$=A.createElementNS(M?It:At,!nn&&T.slotRelocation&&a.$flags$&2?"slot-fb":a.$tag$),M&&a.$tag$==="foreignObject"&&(M=!1),be(null,a,M),!!h.getRootNode().querySelector("body")&&T.scoped&&Bt(E)&&h["s-si"]!==E&&h.classList.add(h["s-si"]=E),Mn(h,i),a.$children$)for(g=0;g<a.$children$.length;++g)c=on(o,a,g,h),c&&h.appendChild(c);a.$tag$==="svg"?M=!1:h.tagName==="foreignObject"&&(M=!0)}return h["s-hn"]=W,a.$flags$&3&&(h["s-sr"]=!0,h["s-cr"]=bn,h["s-sn"]=a.$name$||"",h["s-rf"]=(r=a.$attrs$)==null?void 0:r.ref,k=o&&o.$children$&&o.$children$[t],k&&k.$tag$===a.$tag$&&o.$elm$&&V(o.$elm$,!1)),h},V=(o,n)=>{q.$flags$|=1;const t=Array.from(o.childNodes);if(o["s-sr"]&&T.experimentalSlotFixes){let i=o;for(;i=i.nextSibling;)i&&i["s-sn"]===o["s-sn"]&&i["s-sh"]===W&&t.push(i)}for(let i=t.length-1;i>=0;i--){const r=t[i];r["s-hn"]!==W&&r["s-ol"]&&(B(ke(r),r,Sn(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,zn=!0),n&&V(r,n)}q.$flags$&=-2},pe=(o,n,t,i,r,a)=>{let g=o["s-cr"]&&o["s-cr"].parentNode||o,h;for(g.shadowRoot&&g.tagName===W&&(g=g.shadowRoot);r<=a;++r)i[r]&&(h=on(null,t,r,o),h&&(i[r].$elm$=h,B(g,h,Sn(n))))},ue=(o,n,t)=>{for(let i=n;i<=t;++i){const r=o[i];if(r){const a=r.$elm$;we(r),a&&(en=!0,a["s-ol"]?a["s-ol"].remove():V(a,!0),a.remove())}}},Gt=(o,n,t,i,r=!1)=>{let a=0,g=0,h=0,c=0,k=n.length-1,b=n[0],u=n[k],p=i.length-1,m=i[0],v=i[p],_,S;for(;a<=k&&g<=p;)if(b==null)b=n[++a];else if(u==null)u=n[--k];else if(m==null)m=i[++g];else if(v==null)v=i[--p];else if(N(b,m,r))j(b,m,r),b=n[++a],m=i[++g];else if(N(u,v,r))j(u,v,r),u=n[--k],v=i[--p];else if(N(b,v,r))(b.$tag$==="slot"||v.$tag$==="slot")&&V(b.$elm$.parentNode,!1),j(b,v,r),B(o,b.$elm$,u.$elm$.nextSibling),b=n[++a],v=i[--p];else if(N(u,m,r))(b.$tag$==="slot"||v.$tag$==="slot")&&V(u.$elm$.parentNode,!1),j(u,m,r),B(o,u.$elm$,b.$elm$),u=n[--k],m=i[++g];else{for(h=-1,c=a;c<=k;++c)if(n[c]&&n[c].$key$!==null&&n[c].$key$===m.$key$){h=c;break}h>=0?(S=n[h],S.$tag$!==m.$tag$?_=on(n&&n[g],t,h,o):(j(S,m,r),n[h]=void 0,_=S.$elm$),m=i[++g]):(_=on(n&&n[g],t,g,o),m=i[++g]),_&&B(ke(b.$elm$),_,Sn(b.$elm$))}a>k?pe(o,i[p+1]==null?null:i[p+1].$elm$,t,i,g,p):g>p&&ue(n,a,k)},N=(o,n,t=!1)=>o.$tag$===n.$tag$?o.$tag$==="slot"?"$nodeId$"in o&&t&&o.$elm$.nodeType!==8?!1:o.$name$===n.$name$:t?!0:o.$key$===n.$key$:!1,Sn=o=>o&&o["s-ol"]||o,ke=o=>(o["s-ol"]?o["s-ol"]:o).parentNode,j=(o,n,t=!1)=>{const i=n.$elm$=o.$elm$,r=o.$children$,a=n.$children$,g=n.$tag$,h=n.$text$;let c;h===null?(M=g==="svg"?!0:g==="foreignObject"?!1:M,g==="slot"&&!nn||be(o,n,M),r!==null&&a!==null?Gt(i,r,n,a,t):a!==null?(o.$text$!==null&&(i.textContent=""),pe(i,null,n,a,0,a.length-1)):!t&&T.updatable&&r!==null&&ue(r,0,r.length-1),M&&g==="svg"&&(M=!1)):(c=i["s-cr"])?c.parentNode.textContent=h:o.$text$!==h&&(i.data=h)},me=o=>{const n=o.childNodes;for(const t of n)if(t.nodeType===1){if(t["s-sr"]){const i=t["s-sn"];t.hidden=!1;for(const r of n)if(r!==t){if(r["s-hn"]!==t["s-hn"]||i!==""){if(r.nodeType===1&&(i===r.getAttribute("slot")||i===r["s-sn"])||r.nodeType===3&&i===r["s-sn"]){t.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){t.hidden=!0;break}}}me(t)}},I=[],ve=o=>{let n,t,i;for(const r of o.childNodes){if(r["s-sr"]&&(n=r["s-cr"])&&n.parentNode){t=n.parentNode.childNodes;const a=r["s-sn"];for(i=t.length-1;i>=0;i--)if(n=t[i],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==r["s-hn"]&&!T.experimentalSlotFixes)if(Jn(n,a)){let g=I.find(h=>h.$nodeToRelocate$===n);en=!0,n["s-sn"]=n["s-sn"]||a,g?(g.$nodeToRelocate$["s-sh"]=r["s-hn"],g.$slotRefNode$=r):(n["s-sh"]=r["s-hn"],I.push({$slotRefNode$:r,$nodeToRelocate$:n})),n["s-sr"]&&I.map(h=>{Jn(h.$nodeToRelocate$,n["s-sn"])&&(g=I.find(c=>c.$nodeToRelocate$===n),g&&!h.$slotRefNode$&&(h.$slotRefNode$=g.$slotRefNode$))})}else I.some(g=>g.$nodeToRelocate$===n)||I.push({$nodeToRelocate$:n})}r.nodeType===1&&ve(r)}},Jn=(o,n)=>o.nodeType===1?o.getAttribute("slot")===null&&n===""||o.getAttribute("slot")===n:o["s-sn"]===n?!0:n==="",we=o=>{o.$attrs$&&o.$attrs$.ref&&o.$attrs$.ref(null),o.$children$&&o.$children$.map(we)},B=(o,n,t)=>{const i=o==null?void 0:o.insertBefore(n,t);return Mn(n,o),i},xe=o=>{const n=[];return o&&n.push(...o["s-scs"]||[],o["s-si"],o["s-sc"],...xe(o.parentElement)),n},Mn=(o,n,t=!1)=>{var i;if(o&&n&&o.nodeType===1){const r=new Set(xe(n).filter(Boolean));if(r.size&&((i=o.classList)==null||i.add(...o["s-scs"]=[...r]),o["s-ol"]||t))for(const a of Array.from(o.childNodes))Mn(a,o,!0)}},Nt=(o,n,t=!1)=>{var i,r,a,g;const h=o.$hostElement$,c=o.$cmpMeta$,k=o.$vnode$||Q(null,null),b=Lt(n)?n:e(null,null,n);if(W=h.tagName,c.$attrsToReflect$&&(b.$attrs$=b.$attrs$||{},c.$attrsToReflect$.map(([u,p])=>b.$attrs$[p]=h[u])),t&&b.$attrs$)for(const u of Object.keys(b.$attrs$))h.hasAttribute(u)&&!["key","ref","style","class"].includes(u)&&(b.$attrs$[u]=h[u]);b.$tag$=null,b.$flags$|=4,o.$vnode$=b,b.$elm$=k.$elm$=h.shadowRoot||h,E=h["s-sc"],nn=(c.$flags$&1)!==0,bn=h["s-cr"],en=!1,j(k,b,t);{if(q.$flags$|=1,zn){ve(b.$elm$);for(const u of I){const p=u.$nodeToRelocate$;if(!p["s-ol"]){const m=A.createTextNode("");m["s-nr"]=p,B(p.parentNode,p["s-ol"]=m,p)}}for(const u of I){const p=u.$nodeToRelocate$,m=u.$slotRefNode$;if(m){const v=m.parentNode;let _=m.nextSibling;{let S=(i=p["s-ol"])==null?void 0:i.previousSibling;for(;S;){let y=(r=S["s-nr"])!=null?r:null;if(y&&y["s-sn"]===p["s-sn"]&&v===y.parentNode){for(y=y.nextSibling;y===p||y!=null&&y["s-sr"];)y=y==null?void 0:y.nextSibling;if(!y||!y["s-nr"]){_=y;break}}S=S.previousSibling}}(!_&&v!==p.parentNode||p.nextSibling!==_)&&p!==_&&(!p["s-hn"]&&p["s-ol"]&&(p["s-hn"]=p["s-ol"].parentNode.nodeName),B(v,p,_),p.nodeType===1&&(p.hidden=(a=p["s-ih"])!=null?a:!1)),p&&typeof m["s-rf"]=="function"&&m["s-rf"](p)}else p.nodeType===1&&(t&&(p["s-ih"]=(g=p.hidden)!=null?g:!1),p.hidden=!0)}}en&&me(b.$elm$),q.$flags$&=-2,I.length=0}bn=void 0},ye=(o,n)=>{n&&!o.$onRenderResolve$&&n["s-p"]&&n["s-p"].push(new Promise(t=>o.$onRenderResolve$=t))},Cn=(o,n)=>{if(o.$flags$|=16,o.$flags$&4){o.$flags$|=512;return}return ye(o,o.$ancestorComponent$),$t(()=>Xt(o,n))},Xt=(o,n)=>{const t=o.$hostElement$,i=P("scheduleUpdate",o.$cmpMeta$.$tagName$),r=t;if(!r)throw new Error(`Can't render component <${t.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return n&&(a=Z(r,"componentWillLoad")),i(),Zt(a,()=>Qt(o,r,n))},Zt=(o,n)=>Jt(o)?o.then(n).catch(t=>{console.error(t),n()}):n(),Jt=o=>o instanceof Promise||o&&o.then&&typeof o.then=="function",Qt=async(o,n,t)=>{var i;const r=o.$hostElement$,a=P("update",o.$cmpMeta$.$tagName$),g=r["s-rc"];t&&Vt(o);const h=P("render",o.$cmpMeta$.$tagName$);ni(o,n,r,t),g&&(g.map(c=>c()),r["s-rc"]=void 0),h(),a();{const c=(i=r["s-p"])!=null?i:[],k=()=>ei(o);c.length===0?k():(Promise.all(c).then(k),o.$flags$|=4,c.length=0)}},ni=(o,n,t,i)=>{try{n=n.render(),o.$flags$&=-17,o.$flags$|=2,Nt(o,n,i)}catch(r){an(r,o.$hostElement$)}return null},ei=o=>{const n=o.$cmpMeta$.$tagName$,t=o.$hostElement$,i=P("postUpdate",n),r=t,a=o.$ancestorComponent$;Z(r,"componentDidRender"),o.$flags$&64?(Z(r,"componentDidUpdate"),i()):(o.$flags$|=64,_e(t),Z(r,"componentDidLoad"),i(),o.$onReadyResolve$(t),a||oi()),o.$onRenderResolve$&&(o.$onRenderResolve$(),o.$onRenderResolve$=void 0),o.$flags$&512&&_n(()=>Cn(o,!1)),o.$flags$&=-517},oi=o=>{_e(A.documentElement),_n(()=>le(gn,"appload",{detail:{namespace:xt}}))},Z=(o,n,t)=>{if(o&&o[n])try{return o[n](t)}catch(i){an(i)}},_e=o=>{var n;return o.classList.add((n=T.hydratedSelectorName)!=null?n:"hydrated")},ti=(o,n)=>L(o).$instanceValues$.get(n),ii=(o,n,t,i)=>{const r=L(o),a=o,g=r.$instanceValues$.get(n),h=r.$flags$,c=a;t=Ht(t,i.$members$[n][0]);const k=Number.isNaN(g)&&Number.isNaN(t);if(t!==g&&!k){r.$instanceValues$.set(n,t);{if(i.$watchers$&&h&128){const u=i.$watchers$[n];u&&u.map(p=>{try{c[p](t,g,n)}catch(m){an(m,a)}})}(h&18)===2&&Cn(r,!1)}}},ri=(o,n,t)=>{var i,r;const a=o.prototype;if(n.$members$||n.$watchers$||o.watchers){o.watchers&&!n.$watchers$&&(n.$watchers$=o.watchers);const g=Object.entries((i=n.$members$)!=null?i:{});g.map(([h,[c]])=>{(c&31||c&32)&&Object.defineProperty(a,h,{get(){return ti(this,h)},set(k){ii(this,h,k,n)},configurable:!0,enumerable:!0})});{const h=new Map;a.attributeChangedCallback=function(c,k,b){q.jmp(()=>{var u;const p=h.get(c);if(this.hasOwnProperty(p))b=this[p],delete this[p];else{if(a.hasOwnProperty(p)&&typeof this[p]=="number"&&this[p]==b)return;if(p==null){const m=L(this),v=m==null?void 0:m.$flags$;if(v&&!(v&8)&&v&128&&b!==k){const S=this,y=(u=n.$watchers$)==null?void 0:u[c];y==null||y.forEach(Hn=>{S[Hn]!=null&&S[Hn].call(S,b,k,c)})}return}}this[p]=b===null&&typeof this[p]=="boolean"?!1:b})},o.observedAttributes=Array.from(new Set([...Object.keys((r=n.$watchers$)!=null?r:{}),...g.filter(([c,k])=>k[0]&15).map(([c,k])=>{var b;const u=k[1]||c;return h.set(u,c),k[0]&512&&((b=n.$attrsToReflect$)==null||b.push([c,u])),u})]))}}return o},ai=async(o,n,t,i)=>{let r;if(!(n.$flags$&32)){n.$flags$|=32;{r=o.constructor;const h=o.localName;customElements.whenDefined(h).then(()=>n.$flags$|=128)}if(r&&r.style){let h;typeof r.style=="string"&&(h=r.style);const c=de(t);if(!J.has(c)){const k=P("registerStyles",t.$tagName$);Ut(c,h,!!(t.$flags$&1)),k()}}}const a=n.$ancestorComponent$,g=()=>Cn(n,!0);a&&a["s-rc"]?a["s-rc"].push(g):g()},gi=o=>{},hi=o=>{if(!(q.$flags$&1)){const n=L(o),t=n.$cmpMeta$,i=P("connectedCallback",t.$tagName$);if(n.$flags$&1)n!=null&&n.$lazyInstance$||n!=null&&n.$onReadyPromise$&&n.$onReadyPromise$.then(()=>gi());else{n.$flags$|=1,t.$flags$&12&&ci(o);{let r=o;for(;r=r.parentNode||r.host;)if(r["s-p"]){ye(n,n.$ancestorComponent$=r);break}}t.$members$&&Object.entries(t.$members$).map(([r,[a]])=>{if(a&31&&o.hasOwnProperty(r)){const g=o[r];delete o[r],o[r]=g}}),ai(o,n,t)}i()}},ci=o=>{const n=o["s-cr"]=A.createComment("");n["s-cn"]=!0,B(o,n,o.firstChild)},si=async o=>{q.$flags$&1||L(o)},d=(o,n)=>{const t={$flags$:n[0],$tagName$:n[1]};t.$members$=n[2],t.$watchers$=o.$watchers$,t.$attrsToReflect$=[];const i=o.prototype.connectedCallback,r=o.prototype.disconnectedCallback;return Object.assign(o.prototype,{__registerHost(){qt(this,t)},connectedCallback(){L(this),hi(this),i&&i.call(this)},disconnectedCallback(){si(this),r&&r.call(this)},__attachShadow(){if(!this.shadowRoot)this.attachShadow({mode:"open"});else if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${t.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}),o.is=t.$tagName$,ri(o,t)},C=(o,n)=>n;const qe=d(class extends l{constructor(){super(),this.__registerHost(),this.width=100}render(){return e("div",{key:"ea8eca31793acf4793fd2cacddb213447790c99c",class:"card-wrapper",style:{width:`${this.width}%`}},e("slot",{key:"e3a8b7e8f87d89082126e068d1a045f725db5f63"}))}},[4,"card-wrapper",{width:[2]}]);function li(){if(typeof customElements>"u")return;["card-wrapper"].forEach(n=>{switch(n){case"card-wrapper":customElements.get(n)||customElements.define(n,qe);break}})}const di=qe,fi=li,bi=`@charset "UTF-8";
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),xt="platformscode",T={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!1,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!0,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0};var yt=Object.defineProperty,_t=(o,n)=>{for(var t in n)yt(o,t,{get:n[t],enumerable:!0})},ge=new WeakMap,L=o=>ge.get(o),qt=(o,n)=>{const t={$flags$:0,$hostElement$:o,$cmpMeta$:n,$instanceValues$:new Map};return t.$onReadyPromise$=new Promise(i=>t.$onReadyResolve$=i),o["s-p"]=[],o["s-rc"]=[],ge.set(o,t)},Hn=(o,n)=>n in o,an=(o,n)=>(0,console.error)(o,n),J=new Map,zt="slot-fb{display:contents}slot-fb[hidden]{display:none}",Fn="http://www.w3.org/1999/xlink",gn=typeof window<"u"?window:{},A=gn.document||{head:{}},l=gn.HTMLElement||class{},q={$flags$:0,$resourcesUrl$:"",jmp:o=>o(),raf:o=>requestAnimationFrame(o),ael:(o,n,t,i)=>o.addEventListener(n,t,i),rel:(o,n,t,i)=>o.removeEventListener(n,t,i),ce:(o,n)=>new CustomEvent(o,n)},St=o=>Promise.resolve(o),Mt=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),ln=!1,Un=[],he=[],Ct=(o,n)=>t=>{o.push(t),ln||(ln=!0,q.$flags$&4?_n(dn):q.raf(dn))},Wn=o=>{for(let n=0;n<o.length;n++)try{o[n](performance.now())}catch(t){an(t)}o.length=0},dn=()=>{Wn(Un),Wn(he),(ln=Un.length>0)&&q.raf(dn)},_n=o=>St().then(o),$t=Ct(he),Vn={},It="http://www.w3.org/2000/svg",At="http://www.w3.org/1999/xhtml",Bt=o=>o!=null,qn=o=>(o=typeof o,o==="object"||o==="function");function Pt(o){var n,t,i;return(i=(t=(n=o.head)==null?void 0:n.querySelector('meta[name="csp-nonce"]'))==null?void 0:t.getAttribute("content"))!=null?i:void 0}var Dt={};_t(Dt,{err:()=>ce,map:()=>Et,ok:()=>fn,unwrap:()=>jt,unwrapErr:()=>Tt});var fn=o=>({isOk:!0,isErr:!1,value:o}),ce=o=>({isOk:!1,isErr:!0,value:o});function Et(o,n){if(o.isOk){const t=n(o.value);return t instanceof Promise?t.then(i=>fn(i)):fn(t)}if(o.isErr){const t=o.value;return ce(t)}throw"should never get here"}var jt=o=>{if(o.isOk)return o.value;throw o.value},Tt=o=>{if(o.isErr)return o.value;throw o.value},P=(o,n="")=>()=>{},e=(o,n,...t)=>{let i=null,r=null,a=null,g=!1,h=!1;const c=[],k=u=>{for(let p=0;p<u.length;p++)i=u[p],Array.isArray(i)?k(i):i!=null&&typeof i!="boolean"&&((g=typeof o!="function"&&!qn(i))&&(i=String(i)),g&&h?c[c.length-1].$text$+=i:c.push(g?Q(null,i):i),h=g)};if(k(t),n){n.key&&(r=n.key),n.name&&(a=n.name);{const u=n.className||n.class;u&&(n.class=typeof u!="object"?u:Object.keys(u).filter(p=>u[p]).join(" "))}}if(typeof o=="function")return o(n===null?{}:n,c,Rt);const b=Q(o,null);return b.$attrs$=n,c.length>0&&(b.$children$=c),b.$key$=r,b.$name$=a,b},Q=(o,n)=>{const t={$flags$:0,$tag$:o,$text$:n,$elm$:null,$children$:null};return t.$attrs$=null,t.$key$=null,t.$name$=null,t},D={},Lt=o=>o&&o.$tag$===D,Rt={forEach:(o,n)=>o.map(Kn).forEach(n),map:(o,n)=>o.map(Kn).map(n).map(Ot)},Kn=o=>({vattrs:o.$attrs$,vchildren:o.$children$,vkey:o.$key$,vname:o.$name$,vtag:o.$tag$,vtext:o.$text$}),Ot=o=>{if(typeof o.vtag=="function"){const t={...o.vattrs};return o.vkey&&(t.key=o.vkey),o.vname&&(t.name=o.vname),e(o.vtag,t,...o.vchildren||[])}const n=Q(o.vtag,o.vtext);return n.$attrs$=o.vattrs,n.$children$=o.vchildren,n.$key$=o.vkey,n.$name$=o.vname,n},Ht=(o,n)=>o!=null&&!qn(o)?n&4?o==="false"?!1:o===""||!!o:n&2?parseFloat(o):n&1?String(o):o:o,Ft=o=>o,$=(o,n,t)=>{const i=Ft(o);return{emit:r=>se(i,n,{bubbles:!!(t&4),composed:!!(t&2),cancelable:!!(t&1),detail:r})}},se=(o,n,t)=>{const i=q.ce(n,t);return o.dispatchEvent(i),i},Yn=new WeakMap,Ut=(o,n,t)=>{let i=J.get(o);Mt&&t?(i=i||new CSSStyleSheet,typeof i=="string"?i=n:i.replaceSync(n)):i=n,J.set(o,i)},Wt=(o,n,t)=>{var i;const r=le(n),a=J.get(r);if(o=o.nodeType===11?o:A,a)if(typeof a=="string"){o=o.head||o;let g=Yn.get(o),h;if(g||Yn.set(o,g=new Set),!g.has(r)){{h=A.createElement("style"),h.innerHTML=a;const c=(i=q.$nonce$)!=null?i:Pt(A);c!=null&&h.setAttribute("nonce",c),(!(n.$flags$&1)||n.$flags$&1&&o.nodeName!=="HEAD")&&o.insertBefore(h,o.querySelector("link"))}n.$flags$&4&&(h.innerHTML+=zt),g&&g.add(r)}}else o.adoptedStyleSheets.includes(a)||(o.adoptedStyleSheets=[...o.adoptedStyleSheets,a]);return r},Vt=o=>{const n=o.$cmpMeta$,t=o.$hostElement$,i=n.$flags$,r=P("attachStyles",n.$tagName$),a=Wt(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);i&10&&i&2&&(t["s-sc"]=a,t.classList.add(a+"-h"),i&2&&t.classList.add(a+"-s")),r()},le=(o,n)=>"sc-"+o.$tagName$,Gn=(o,n,t,i,r,a)=>{if(t!==i){let g=Hn(o,n),h=n.toLowerCase();if(n==="class"){const c=o.classList,k=Nn(t),b=Nn(i);c.remove(...k.filter(u=>u&&!b.includes(u))),c.add(...b.filter(u=>u&&!k.includes(u)))}else if(n==="style"){for(const c in t)(!i||i[c]==null)&&(c.includes("-")?o.style.removeProperty(c):o.style[c]="");for(const c in i)(!t||i[c]!==t[c])&&(c.includes("-")?o.style.setProperty(c,i[c]):o.style[c]=i[c])}else if(n!=="key")if(n==="ref")i&&i(o);else if(!o.__lookupSetter__(n)&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"?n=n.slice(3):Hn(gn,h)?n=h.slice(2):n=h[2]+n.slice(3),t||i){const c=n.endsWith(de);n=n.replace(Yt,""),t&&q.rel(o,n,t,c),i&&q.ael(o,n,i,c)}}else{const c=qn(i);if((g||c&&i!==null)&&!r)try{if(o.tagName.includes("-"))o[n]=i;else{const b=i??"";n==="list"?g=!1:(t==null||o[n]!=b)&&(o[n]=b)}}catch{}let k=!1;h!==(h=h.replace(/^xlink\:?/,""))&&(n=h,k=!0),i==null||i===!1?(i!==!1||o.getAttribute(n)==="")&&(k?o.removeAttributeNS(Fn,n):o.removeAttribute(n)):(!g||a&4||r)&&!c&&(i=i===!0?"":i,k?o.setAttributeNS(Fn,n,i):o.setAttribute(n,i))}}},Kt=/\s/,Nn=o=>o?o.split(Kt):[],de="Capture",Yt=new RegExp(de+"$"),fe=(o,n,t)=>{const i=n.$elm$.nodeType===11&&n.$elm$.host?n.$elm$.host:n.$elm$,r=o&&o.$attrs$||Vn,a=n.$attrs$||Vn;for(const g of Xn(Object.keys(r)))g in a||Gn(i,g,r[g],void 0,t,n.$flags$);for(const g of Xn(Object.keys(a)))Gn(i,g,r[g],a[g],t,n.$flags$)};function Xn(o){return o.includes("ref")?[...o.filter(n=>n!=="ref"),"ref"]:o}var E,bn,W,nn=!1,en=!1,zn=!1,M=!1,on=(o,n,t,i)=>{var r;const a=n.$children$[t];let g=0,h,c,k;if(nn||(zn=!0,a.$tag$==="slot"&&(E&&i.classList.add(E+"-s"),a.$flags$|=a.$children$?2:1)),a.$text$!==null)h=a.$elm$=A.createTextNode(a.$text$);else if(a.$flags$&1)h=a.$elm$=A.createTextNode("");else{if(M||(M=a.$tag$==="svg"),h=a.$elm$=A.createElementNS(M?It:At,!nn&&T.slotRelocation&&a.$flags$&2?"slot-fb":a.$tag$),M&&a.$tag$==="foreignObject"&&(M=!1),fe(null,a,M),!!h.getRootNode().querySelector("body")&&T.scoped&&Bt(E)&&h["s-si"]!==E&&h.classList.add(h["s-si"]=E),Mn(h,i),a.$children$)for(g=0;g<a.$children$.length;++g)c=on(o,a,g,h),c&&h.appendChild(c);a.$tag$==="svg"?M=!1:h.tagName==="foreignObject"&&(M=!0)}return h["s-hn"]=W,a.$flags$&3&&(h["s-sr"]=!0,h["s-cr"]=bn,h["s-sn"]=a.$name$||"",h["s-rf"]=(r=a.$attrs$)==null?void 0:r.ref,k=o&&o.$children$&&o.$children$[t],k&&k.$tag$===a.$tag$&&o.$elm$&&V(o.$elm$,!1)),h},V=(o,n)=>{q.$flags$|=1;const t=Array.from(o.childNodes);if(o["s-sr"]&&T.experimentalSlotFixes){let i=o;for(;i=i.nextSibling;)i&&i["s-sn"]===o["s-sn"]&&i["s-sh"]===W&&t.push(i)}for(let i=t.length-1;i>=0;i--){const r=t[i];r["s-hn"]!==W&&r["s-ol"]&&(B(ue(r),r,Sn(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,zn=!0),n&&V(r,n)}q.$flags$&=-2},be=(o,n,t,i,r,a)=>{let g=o["s-cr"]&&o["s-cr"].parentNode||o,h;for(g.shadowRoot&&g.tagName===W&&(g=g.shadowRoot);r<=a;++r)i[r]&&(h=on(null,t,r,o),h&&(i[r].$elm$=h,B(g,h,Sn(n))))},pe=(o,n,t)=>{for(let i=n;i<=t;++i){const r=o[i];if(r){const a=r.$elm$;ve(r),a&&(en=!0,a["s-ol"]?a["s-ol"].remove():V(a,!0),a.remove())}}},Gt=(o,n,t,i,r=!1)=>{let a=0,g=0,h=0,c=0,k=n.length-1,b=n[0],u=n[k],p=i.length-1,m=i[0],v=i[p],_,S;for(;a<=k&&g<=p;)if(b==null)b=n[++a];else if(u==null)u=n[--k];else if(m==null)m=i[++g];else if(v==null)v=i[--p];else if(N(b,m,r))j(b,m,r),b=n[++a],m=i[++g];else if(N(u,v,r))j(u,v,r),u=n[--k],v=i[--p];else if(N(b,v,r))(b.$tag$==="slot"||v.$tag$==="slot")&&V(b.$elm$.parentNode,!1),j(b,v,r),B(o,b.$elm$,u.$elm$.nextSibling),b=n[++a],v=i[--p];else if(N(u,m,r))(b.$tag$==="slot"||v.$tag$==="slot")&&V(u.$elm$.parentNode,!1),j(u,m,r),B(o,u.$elm$,b.$elm$),u=n[--k],m=i[++g];else{for(h=-1,c=a;c<=k;++c)if(n[c]&&n[c].$key$!==null&&n[c].$key$===m.$key$){h=c;break}h>=0?(S=n[h],S.$tag$!==m.$tag$?_=on(n&&n[g],t,h,o):(j(S,m,r),n[h]=void 0,_=S.$elm$),m=i[++g]):(_=on(n&&n[g],t,g,o),m=i[++g]),_&&B(ue(b.$elm$),_,Sn(b.$elm$))}a>k?be(o,i[p+1]==null?null:i[p+1].$elm$,t,i,g,p):g>p&&pe(n,a,k)},N=(o,n,t=!1)=>o.$tag$===n.$tag$?o.$tag$==="slot"?"$nodeId$"in o&&t&&o.$elm$.nodeType!==8?!1:o.$name$===n.$name$:t?!0:o.$key$===n.$key$:!1,Sn=o=>o&&o["s-ol"]||o,ue=o=>(o["s-ol"]?o["s-ol"]:o).parentNode,j=(o,n,t=!1)=>{const i=n.$elm$=o.$elm$,r=o.$children$,a=n.$children$,g=n.$tag$,h=n.$text$;let c;h===null?(M=g==="svg"?!0:g==="foreignObject"?!1:M,g==="slot"&&!nn||fe(o,n,M),r!==null&&a!==null?Gt(i,r,n,a,t):a!==null?(o.$text$!==null&&(i.textContent=""),be(i,null,n,a,0,a.length-1)):!t&&T.updatable&&r!==null&&pe(r,0,r.length-1),M&&g==="svg"&&(M=!1)):(c=i["s-cr"])?c.parentNode.textContent=h:o.$text$!==h&&(i.data=h)},ke=o=>{const n=o.childNodes;for(const t of n)if(t.nodeType===1){if(t["s-sr"]){const i=t["s-sn"];t.hidden=!1;for(const r of n)if(r!==t){if(r["s-hn"]!==t["s-hn"]||i!==""){if(r.nodeType===1&&(i===r.getAttribute("slot")||i===r["s-sn"])||r.nodeType===3&&i===r["s-sn"]){t.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){t.hidden=!0;break}}}ke(t)}},I=[],me=o=>{let n,t,i;for(const r of o.childNodes){if(r["s-sr"]&&(n=r["s-cr"])&&n.parentNode){t=n.parentNode.childNodes;const a=r["s-sn"];for(i=t.length-1;i>=0;i--)if(n=t[i],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==r["s-hn"]&&!T.experimentalSlotFixes)if(Zn(n,a)){let g=I.find(h=>h.$nodeToRelocate$===n);en=!0,n["s-sn"]=n["s-sn"]||a,g?(g.$nodeToRelocate$["s-sh"]=r["s-hn"],g.$slotRefNode$=r):(n["s-sh"]=r["s-hn"],I.push({$slotRefNode$:r,$nodeToRelocate$:n})),n["s-sr"]&&I.map(h=>{Zn(h.$nodeToRelocate$,n["s-sn"])&&(g=I.find(c=>c.$nodeToRelocate$===n),g&&!h.$slotRefNode$&&(h.$slotRefNode$=g.$slotRefNode$))})}else I.some(g=>g.$nodeToRelocate$===n)||I.push({$nodeToRelocate$:n})}r.nodeType===1&&me(r)}},Zn=(o,n)=>o.nodeType===1?o.getAttribute("slot")===null&&n===""||o.getAttribute("slot")===n:o["s-sn"]===n?!0:n==="",ve=o=>{o.$attrs$&&o.$attrs$.ref&&o.$attrs$.ref(null),o.$children$&&o.$children$.map(ve)},B=(o,n,t)=>{const i=o==null?void 0:o.insertBefore(n,t);return Mn(n,o),i},we=o=>{const n=[];return o&&n.push(...o["s-scs"]||[],o["s-si"],o["s-sc"],...we(o.parentElement)),n},Mn=(o,n,t=!1)=>{var i;if(o&&n&&o.nodeType===1){const r=new Set(we(n).filter(Boolean));if(r.size&&((i=o.classList)==null||i.add(...o["s-scs"]=[...r]),o["s-ol"]||t))for(const a of Array.from(o.childNodes))Mn(a,o,!0)}},Nt=(o,n,t=!1)=>{var i,r,a,g;const h=o.$hostElement$,c=o.$cmpMeta$,k=o.$vnode$||Q(null,null),b=Lt(n)?n:e(null,null,n);if(W=h.tagName,c.$attrsToReflect$&&(b.$attrs$=b.$attrs$||{},c.$attrsToReflect$.map(([u,p])=>b.$attrs$[p]=h[u])),t&&b.$attrs$)for(const u of Object.keys(b.$attrs$))h.hasAttribute(u)&&!["key","ref","style","class"].includes(u)&&(b.$attrs$[u]=h[u]);b.$tag$=null,b.$flags$|=4,o.$vnode$=b,b.$elm$=k.$elm$=h.shadowRoot||h,E=h["s-sc"],nn=(c.$flags$&1)!==0,bn=h["s-cr"],en=!1,j(k,b,t);{if(q.$flags$|=1,zn){me(b.$elm$);for(const u of I){const p=u.$nodeToRelocate$;if(!p["s-ol"]){const m=A.createTextNode("");m["s-nr"]=p,B(p.parentNode,p["s-ol"]=m,p)}}for(const u of I){const p=u.$nodeToRelocate$,m=u.$slotRefNode$;if(m){const v=m.parentNode;let _=m.nextSibling;{let S=(i=p["s-ol"])==null?void 0:i.previousSibling;for(;S;){let y=(r=S["s-nr"])!=null?r:null;if(y&&y["s-sn"]===p["s-sn"]&&v===y.parentNode){for(y=y.nextSibling;y===p||y!=null&&y["s-sr"];)y=y==null?void 0:y.nextSibling;if(!y||!y["s-nr"]){_=y;break}}S=S.previousSibling}}(!_&&v!==p.parentNode||p.nextSibling!==_)&&p!==_&&(!p["s-hn"]&&p["s-ol"]&&(p["s-hn"]=p["s-ol"].parentNode.nodeName),B(v,p,_),p.nodeType===1&&(p.hidden=(a=p["s-ih"])!=null?a:!1)),p&&typeof m["s-rf"]=="function"&&m["s-rf"](p)}else p.nodeType===1&&(t&&(p["s-ih"]=(g=p.hidden)!=null?g:!1),p.hidden=!0)}}en&&ke(b.$elm$),q.$flags$&=-2,I.length=0}bn=void 0},xe=(o,n)=>{n&&!o.$onRenderResolve$&&n["s-p"]&&n["s-p"].push(new Promise(t=>o.$onRenderResolve$=t))},Cn=(o,n)=>{if(o.$flags$|=16,o.$flags$&4){o.$flags$|=512;return}return xe(o,o.$ancestorComponent$),$t(()=>Xt(o,n))},Xt=(o,n)=>{const t=o.$hostElement$,i=P("scheduleUpdate",o.$cmpMeta$.$tagName$),r=t;if(!r)throw new Error(`Can't render component <${t.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return n&&(a=Z(r,"componentWillLoad")),i(),Zt(a,()=>Qt(o,r,n))},Zt=(o,n)=>Jt(o)?o.then(n).catch(t=>{console.error(t),n()}):n(),Jt=o=>o instanceof Promise||o&&o.then&&typeof o.then=="function",Qt=async(o,n,t)=>{var i;const r=o.$hostElement$,a=P("update",o.$cmpMeta$.$tagName$),g=r["s-rc"];t&&Vt(o);const h=P("render",o.$cmpMeta$.$tagName$);ni(o,n,r,t),g&&(g.map(c=>c()),r["s-rc"]=void 0),h(),a();{const c=(i=r["s-p"])!=null?i:[],k=()=>ei(o);c.length===0?k():(Promise.all(c).then(k),o.$flags$|=4,c.length=0)}},ni=(o,n,t,i)=>{try{n=n.render(),o.$flags$&=-17,o.$flags$|=2,Nt(o,n,i)}catch(r){an(r,o.$hostElement$)}return null},ei=o=>{const n=o.$cmpMeta$.$tagName$,t=o.$hostElement$,i=P("postUpdate",n),r=t,a=o.$ancestorComponent$;Z(r,"componentDidRender"),o.$flags$&64?(Z(r,"componentDidUpdate"),i()):(o.$flags$|=64,ye(t),Z(r,"componentDidLoad"),i(),o.$onReadyResolve$(t),a||oi()),o.$onRenderResolve$&&(o.$onRenderResolve$(),o.$onRenderResolve$=void 0),o.$flags$&512&&_n(()=>Cn(o,!1)),o.$flags$&=-517},oi=o=>{ye(A.documentElement),_n(()=>se(gn,"appload",{detail:{namespace:xt}}))},Z=(o,n,t)=>{if(o&&o[n])try{return o[n](t)}catch(i){an(i)}},ye=o=>{var n;return o.classList.add((n=T.hydratedSelectorName)!=null?n:"hydrated")},ti=(o,n)=>L(o).$instanceValues$.get(n),ii=(o,n,t,i)=>{const r=L(o),a=o,g=r.$instanceValues$.get(n),h=r.$flags$,c=a;t=Ht(t,i.$members$[n][0]);const k=Number.isNaN(g)&&Number.isNaN(t);if(t!==g&&!k){r.$instanceValues$.set(n,t);{if(i.$watchers$&&h&128){const u=i.$watchers$[n];u&&u.map(p=>{try{c[p](t,g,n)}catch(m){an(m,a)}})}(h&18)===2&&Cn(r,!1)}}},ri=(o,n,t)=>{var i,r;const a=o.prototype;if(n.$members$||n.$watchers$||o.watchers){o.watchers&&!n.$watchers$&&(n.$watchers$=o.watchers);const g=Object.entries((i=n.$members$)!=null?i:{});g.map(([h,[c]])=>{(c&31||c&32)&&Object.defineProperty(a,h,{get(){return ti(this,h)},set(k){ii(this,h,k,n)},configurable:!0,enumerable:!0})});{const h=new Map;a.attributeChangedCallback=function(c,k,b){q.jmp(()=>{var u;const p=h.get(c);if(this.hasOwnProperty(p))b=this[p],delete this[p];else{if(a.hasOwnProperty(p)&&typeof this[p]=="number"&&this[p]==b)return;if(p==null){const m=L(this),v=m==null?void 0:m.$flags$;if(v&&!(v&8)&&v&128&&b!==k){const S=this,y=(u=n.$watchers$)==null?void 0:u[c];y==null||y.forEach(On=>{S[On]!=null&&S[On].call(S,b,k,c)})}return}}this[p]=b===null&&typeof this[p]=="boolean"?!1:b})},o.observedAttributes=Array.from(new Set([...Object.keys((r=n.$watchers$)!=null?r:{}),...g.filter(([c,k])=>k[0]&15).map(([c,k])=>{var b;const u=k[1]||c;return h.set(u,c),k[0]&512&&((b=n.$attrsToReflect$)==null||b.push([c,u])),u})]))}}return o},ai=async(o,n,t,i)=>{let r;if(!(n.$flags$&32)){n.$flags$|=32;{r=o.constructor;const h=o.localName;customElements.whenDefined(h).then(()=>n.$flags$|=128)}if(r&&r.style){let h;typeof r.style=="string"&&(h=r.style);const c=le(t);if(!J.has(c)){const k=P("registerStyles",t.$tagName$);Ut(c,h,!!(t.$flags$&1)),k()}}}const a=n.$ancestorComponent$,g=()=>Cn(n,!0);a&&a["s-rc"]?a["s-rc"].push(g):g()},gi=o=>{},hi=o=>{if(!(q.$flags$&1)){const n=L(o),t=n.$cmpMeta$,i=P("connectedCallback",t.$tagName$);if(n.$flags$&1)n!=null&&n.$lazyInstance$||n!=null&&n.$onReadyPromise$&&n.$onReadyPromise$.then(()=>gi());else{n.$flags$|=1,t.$flags$&12&&ci(o);{let r=o;for(;r=r.parentNode||r.host;)if(r["s-p"]){xe(n,n.$ancestorComponent$=r);break}}t.$members$&&Object.entries(t.$members$).map(([r,[a]])=>{if(a&31&&o.hasOwnProperty(r)){const g=o[r];delete o[r],o[r]=g}}),ai(o,n,t)}i()}},ci=o=>{const n=o["s-cr"]=A.createComment("");n["s-cn"]=!0,B(o,n,o.firstChild)},si=async o=>{q.$flags$&1||L(o)},d=(o,n)=>{const t={$flags$:n[0],$tagName$:n[1]};t.$members$=n[2],t.$watchers$=o.$watchers$,t.$attrsToReflect$=[];const i=o.prototype.connectedCallback,r=o.prototype.disconnectedCallback;return Object.assign(o.prototype,{__registerHost(){qt(this,t)},connectedCallback(){L(this),hi(this),i&&i.call(this)},disconnectedCallback(){si(this),r&&r.call(this)},__attachShadow(){if(!this.shadowRoot)this.attachShadow({mode:"open"});else if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${t.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}),o.is=t.$tagName$,ri(o,t)},C=(o,n)=>n;const _e=d(class extends l{constructor(){super(),this.__registerHost(),this.width=100}render(){return e("div",{key:"2be95da84b58bbf404ae31d474bc063d38da0346",class:"card-wrapper",style:{width:`${this.width}%`}},e("slot",{key:"fd01abedc8853dfcd88a7bc91a0262a98b4057f9"}))}},[4,"card-wrapper",{width:[2]}]);function li(){if(typeof customElements>"u")return;["card-wrapper"].forEach(n=>{switch(n){case"card-wrapper":customElements.get(n)||customElements.define(n,_e);break}})}const di=_e,fi=li,bi=`@charset "UTF-8";
2
2
  /*
3
3
  0 - 600px: Phone
4
4
  600 - 900px: Tablet portrait
@@ -211492,10 +211492,10 @@ a:focus {
211492
211492
 
211493
211493
  .flex-align-stretch {
211494
211494
  align-items: stretch;
211495
- }`,pi=bi,ze=d(class extends l{constructor(){super(),this.__registerHost(),this.handleClick=()=>{this.isCurrentMonth&&this.onSelect&&(console.log(this.date,"this.date"),this.onSelect(this.date))},this.handleAddPressed=n=>{n.currentTarget.classList.add("active")},this.handleRemovePressed=n=>{n.currentTarget.classList.remove("active")},this.date=void 0,this.isCurrentMonth=void 0,this.isSelected=void 0,this.isToday=void 0,this.midRange=!1,this.isFirstRangeChild=!1,this.isLastRangeChild=!1,this.onSelect=void 0}render(){let n="date-cell";return this.isCurrentMonth||(n+=" date-cell--not-current-month"),this.isSelected&&(n+=" date-cell--selected"),this.isToday&&(n+=" date-cell--today"),this.midRange&&(n+=" date-cell--mid-range"),this.isFirstRangeChild&&(n+=" date-cell--mid-range--first-child"),this.isLastRangeChild&&(n+=" date-cell--mid-range--last-child"),e("button",{key:"7709e8cc294b43137708f63976e4fa17a6089fd5",type:"button",class:n,onClick:this.handleClick,onMouseDown:this.handleAddPressed,onMouseUp:this.handleRemovePressed,onMouseOut:this.handleRemovePressed,disabled:!this.isCurrentMonth},e("div",{key:"e7276f728d6c5b0c0a627ed8ff0269f44249b010",class:"date-cell__label"},e("span",{key:"e905a0d8c8c55be66312faca9d358198f9d3f31c"},this.date.getDate())))}static get style(){return pi}},[0,"date-cell",{date:[16],isCurrentMonth:[4,"is-current-month"],isSelected:[4,"is-selected"],isToday:[4,"is-today"],midRange:[4,"mid-range"],isFirstRangeChild:[4,"is-first-range-child"],isLastRangeChild:[4,"is-last-range-child"],onSelect:[16]}]);function Se(){if(typeof customElements>"u")return;["date-cell"].forEach(n=>{switch(n){case"date-cell":customElements.get(n)||customElements.define(n,ze);break}})}const ui=ze,ki=Se,Me=d(class extends l{constructor(){super(),this.__registerHost(),this.bodyElement=null,this.title="",this.content="",this.size="lg",this.iconAlignment="Trailing",this.flush=!1,this.disabled=!1,this.extraClass="",this.isOpen=!1}handleAccordionClick(n){n.preventDefault(),!this.disabled&&(this.isOpen?this.collapseAccordion():this.openAccordion())}openAccordion(){this.isOpen=!0,this.bodyElement&&(this.bodyElement.style.maxHeight=this.bodyElement.scrollHeight+"px")}collapseAccordion(){this.isOpen=!1,this.bodyElement&&(this.bodyElement.style.maxHeight=null)}componentDidRender(){this.isOpen&&this.bodyElement?this.bodyElement.style.maxHeight=this.bodyElement.scrollHeight+24+"px":this.bodyElement&&(this.bodyElement.style.maxHeight=null)}render(){return e("div",{key:"1945c5a15b13baaefcd37817ac05adf2a63a724c",class:`accordion-item accordion-item--${this.size}
211495
+ }`,pi=bi,qe=d(class extends l{constructor(){super(),this.__registerHost(),this.handleClick=()=>{this.isCurrentMonth&&this.onSelect&&(console.log(this.date,"this.date"),this.onSelect(this.date))},this.handleAddPressed=n=>{n.currentTarget.classList.add("active")},this.handleRemovePressed=n=>{n.currentTarget.classList.remove("active")},this.date=void 0,this.isCurrentMonth=void 0,this.isSelected=void 0,this.isToday=void 0,this.midRange=!1,this.isFirstRangeChild=!1,this.isLastRangeChild=!1,this.onSelect=void 0}render(){let n="date-cell";return this.isCurrentMonth||(n+=" date-cell--not-current-month"),this.isSelected&&(n+=" date-cell--selected"),this.isToday&&(n+=" date-cell--today"),this.midRange&&(n+=" date-cell--mid-range"),this.isFirstRangeChild&&(n+=" date-cell--mid-range--first-child"),this.isLastRangeChild&&(n+=" date-cell--mid-range--last-child"),e("button",{key:"687650a376b6fb990dd4df59c528c9f39eb8945a",type:"button",class:n,onClick:this.handleClick,onMouseDown:this.handleAddPressed,onMouseUp:this.handleRemovePressed,onMouseOut:this.handleRemovePressed,disabled:!this.isCurrentMonth},e("div",{key:"938aef7c579a18db3bded6921d778b0070aaa55d",class:"date-cell__label"},e("span",{key:"3726c72ed16c425b76a35f2eb625f6991d04704b"},this.date.getDate())))}static get style(){return pi}},[0,"date-cell",{date:[16],isCurrentMonth:[4,"is-current-month"],isSelected:[4,"is-selected"],isToday:[4,"is-today"],midRange:[4,"mid-range"],isFirstRangeChild:[4,"is-first-range-child"],isLastRangeChild:[4,"is-last-range-child"],onSelect:[16]}]);function ze(){if(typeof customElements>"u")return;["date-cell"].forEach(n=>{switch(n){case"date-cell":customElements.get(n)||customElements.define(n,qe);break}})}const ui=qe,ki=ze,Se=d(class extends l{constructor(){super(),this.__registerHost(),this.bodyElement=null,this.title="",this.content="",this.size="lg",this.iconAlignment="Trailing",this.flush=!1,this.disabled=!1,this.extraClass="",this.isOpen=!1}handleAccordionClick(n){n.preventDefault(),!this.disabled&&(this.isOpen?this.collapseAccordion():this.openAccordion())}openAccordion(){this.isOpen=!0,this.bodyElement&&(this.bodyElement.style.maxHeight=this.bodyElement.scrollHeight+"px")}collapseAccordion(){this.isOpen=!1,this.bodyElement&&(this.bodyElement.style.maxHeight=null)}componentDidRender(){this.isOpen&&this.bodyElement?this.bodyElement.style.maxHeight=this.bodyElement.scrollHeight+24+"px":this.bodyElement&&(this.bodyElement.style.maxHeight=null)}render(){return e("div",{key:"afad3c7f635f4834c1a658e8f79f8129912ab0b2",class:`accordion-item accordion-item--${this.size}
211496
211496
  ${this.iconAlignment==="Leading"?"accordion-item--icon-leading":""}
211497
211497
  ${this.flush?"accordion-item--flush":""}
211498
- ${this.disabled?"disabled":""} ${this.extraClass} ${this.isOpen?"active":""}`},e("a",{key:"526cb8b0693b59480a2c8e977e9d1351470f1530",href:"#",onClick:n=>this.handleAccordionClick(n),onKeyDown:n=>n.code==="Space"?this.handleAccordionClick(n):null,class:"accordion-item__header"},this.iconAlignment==="Leading"&&e("div",{key:"eff6949e19256c54652b11a81d60396ad5795d9b",class:"accordion-item__arrow"},e("i",{key:"ee0c30a6b33309e17ba6e178a770887cdca825db",class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}})),e("div",{key:"a8cc25ff28af19f75921f1a637943fa13c7d578f",class:"accordion-item__title"},this.title),this.iconAlignment==="Trailing"&&e("div",{key:"0a17f79f9a207a33a5395d46d65e3057852d9bf8",class:"accordion-item__arrow"},e("i",{key:"01a5385053b5ec47a3eca2b9943f973904351812",class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}))),e("div",{key:"a8f65c9ba00b8ef5b23c6cf842347504c88ca264",ref:n=>this.bodyElement=n,class:"accordion-item__body"},this.content))}get el(){return this}},[0,"dga-accordion",{title:[1],content:[1],size:[1],iconAlignment:[1,"icon-alignment"],flush:[4],disabled:[4],extraClass:[1,"extra-class"],isOpen:[32]}]);function mi(){if(typeof customElements>"u")return;["dga-accordion"].forEach(n=>{switch(n){case"dga-accordion":customElements.get(n)||customElements.define(n,Me);break}})}const vi=Me,wi=mi,Ce=d(class extends l{constructor(){super(),this.__registerHost(),this.icon=void 0,this.size=void 0,this.color=void 0,this.variant="bulk",this.type=""}componentDidLoad(){console.log("from will load,",this.icon),this.updateIcon()}updateIcon(){if(console.log("from update,",this.icon),console.log("from update,",this.container),this.container){const n=this.icon.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([A-Z])([0-9])/g,"$1-$2").replace(/([a-z])([0-9])/g,"$1-$2").toLowerCase().replace("-icon","").replace("icon","").trim(),t=`hgi-${this.variant||""} ${this.type?`hgi-${this.type}`:""} hgi-${n}`;this.container.className=t}}render(){return e("div",{key:"3c3c6ca476362a315e03dd1aad15299307ecf683",style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"inherit"}},e("i",{key:"d10d790b1d2f6bda633d18ce28ed7510567ac517",style:{fontSize:`${this.size?`${this.size}px`:"inherit"}`,color:this.color},ref:n=>this.container=n}))}static get watchers(){return{icon:["updateIcon"],variant:["updateIcon"],type:["updateIcon"]}}},[0,"dga-icon",{icon:[1],size:[2],color:[1],variant:[1],type:[1]},void 0,{icon:["updateIcon"],variant:["updateIcon"],type:["updateIcon"]}]);function w(){if(typeof customElements>"u")return;["dga-icon"].forEach(n=>{switch(n){case"dga-icon":customElements.get(n)||customElements.define(n,Ce);break}})}const $e=d(class extends l{constructor(){super(),this.__registerHost(),this.type="icon",this.size=32,this.square=!1,this.border=!1,this.text="AB",this.imgUrl="/assets/avatar-img.png",this.customAttribute={key:"",value:""}}renderChildComponent(){if(this.type==="initials")return e("span",{class:"avatar__text"},this.text);if(this.type==="image")return e("img",{class:"avatar__img",src:this.imgUrl,alt:""});if(this.type==="icon")return e("div",{class:"avatar__icon"},e("dga-icon",{icon:"User",variant:"stroke"}))}render(){var n;const t=!((n=this.customAttribute)===null||n===void 0)&&n.key?{[this.customAttribute.key]:this.customAttribute.value||""}:{};return e("div",Object.assign({key:"a8d9ed9fddc4f00fe9f5549676a84e27a2d63936"},t,{class:{avatar:!0,[`avatar--${this.type}`]:!0,[`avatar--${this.size}`]:!0,"avatar--square":this.square,"avatar--border":this.border}}),this.renderChildComponent())}},[0,"dga-avatar",{type:[1],size:[2],square:[4],border:[4],text:[1],imgUrl:[1,"img-url"],customAttribute:[16]}]);function xi(){if(typeof customElements>"u")return;["dga-avatar","dga-icon"].forEach(n=>{switch(n){case"dga-avatar":customElements.get(n)||customElements.define(n,$e);break;case"dga-icon":customElements.get(n)||w();break}})}const yi=$e,_i=xi,Ie=d(class extends l{constructor(){super(),this.__registerHost(),this.breadcrumbClick=$(this,"breadcrumbClick",7),this.breadcrumbItems=[],this.items=[]}componentWillLoad(){this.handleItemsChange(this.items)}handleItemsChange(n){try{this.breadcrumbItems=this.renderItems(n)}catch(t){console.error("Invalid JSON in items prop:",t)}}isEllipsisItem(n){return n.ellipsis===!0}renderItems(n){return n.length<=5?n:[n[0],{ellipsis:!0},...n.slice(-2)]}handleClick(n,t,i){i.disabled||this.breadcrumbClick.emit({e:n,link:t,item:i})}render(){return e("nav",{key:"97256ff43a2d52dda068ba2e347612e2da33311b","aria-label":"breadcrumb"},e("ul",{key:"fb878816770229e5fe77aaab9834f24946c076a6",class:"breadcrumb"},this.breadcrumbItems.map((n,t)=>{if(this.isEllipsisItem(n))return e("li",{key:t,class:"breadcrumb-item ellipsis"},e("span",{class:"breadcrumb-icon"},e("dga-icon",{icon:"ArrowRight01Icon",variant:"stroke",type:"rounded"})),e("a",{href:"#",class:"link link--sm link--neutral"},"..."));const i=t===this.breadcrumbItems.length-1,r=t===0;return e("li",{key:t,class:{"breadcrumb-item":!0,active:i},"aria-current":i?"page":void 0},n.path&&!i?e(C,null,!r&&e("span",{class:"breadcrumb-icon"},e("dga-icon",{icon:"ArrowRight01Icon",variant:"stroke",type:"rounded"})),e("a",{onClick:a=>this.handleClick(a,n.path,n),class:{"link link--sm link--neutral":!0,"disabled-link":n.disabled},href:n.disabled?void 0:n.path,"aria-disabled":n.disabled?"true":"false"},e("span",{class:"link__label"},n.label))):e(C,null,e("span",{class:"breadcrumb-icon"},e("dga-icon",{icon:"ArrowRight01Icon",variant:"stroke",type:"rounded"})),e("a",{onClick:a=>this.handleClick(a,n.path,n),class:{"link link--sm link--neutral":!0,"disabled-link":n.disabled},href:n.disabled?void 0:n.path,"aria-disabled":n.disabled?"true":"false"},e("span",{class:"link__label"},n.label))))})))}static get watchers(){return{items:["handleItemsChange"]}}},[0,"dga-breadcrumbs",{items:[16]},void 0,{items:["handleItemsChange"]}]);function Ae(){if(typeof customElements>"u")return;["dga-breadcrumbs","dga-icon"].forEach(n=>{switch(n){case"dga-breadcrumbs":customElements.get(n)||customElements.define(n,Ie);break;case"dga-icon":customElements.get(n)||w();break}})}const Be=d(class extends l{constructor(){super(),this.__registerHost(),this.onClick=$(this,"onClick",7),this.variant="primary-neutral",this.size="md",this.label=void 0,this.iconOnly=void 0,this.iconType=void 0,this.iconProps=void 0,this.leadIcon=void 0,this.leadIconType=void 0,this.leadIconProps=void 0,this.trailIcon=void 0,this.trailIconType=void 0,this.trailIconProps=void 0,this.disabled=void 0,this.btnId=void 0,this.customAttribute={key:"",value:""},this.type="button",this.onColor=!1}handleClick(n){this.disabled||this.onClick.emit(n)}renderIcon(n,t){return e("dga-icon",Object.assign({icon:n},t))}render(){var n;const t=this.btnId||`btn-${Math.random().toString(36).substr(2,9)}`,i=!((n=this.customAttribute)===null||n===void 0)&&n.key?{[this.customAttribute.key]:this.customAttribute.value||""}:{},r=["btn",`btn--${this.size}`,`btn--${this.variant}`,this.onColor?`btn--${this.variant}--on-color`:"",this.iconOnly?"btn--icon":""].filter(Boolean).join(" ");return e("button",Object.assign({key:"858ada3b1f2699eb4ecb54bcc71df76ccf538e3b",id:t},i,{type:this.type,class:r,disabled:this.disabled,"aria-label":this.iconOnly&&!this.label?"Button with icon":this.label,role:"button",onClick:a=>this.handleClick(a)}),this.iconOnly&&this.iconType&&e("span",{key:"d0f9d824d0f19d33cede146fc54811a8604178d9",class:"btn-icon","aria-hidden":"true"},this.renderIcon(this.iconType,this.iconProps)),this.leadIcon&&this.leadIconType&&e("span",{key:"59076019cc51b8c9af9195e5baa7ffa18c09b22a",class:"btn-icon","aria-hidden":"true"},this.renderIcon(this.leadIconType,this.leadIconProps)),!this.iconOnly&&this.label&&e("span",{key:"f8c89117752c6c8a17ac5538570e20765478ce78"},this.label),this.trailIcon&&this.trailIconType&&e("span",{key:"a42da6c211d0bdbfdbaf384db00ced8f32d581c2",class:"btn-icon","aria-hidden":"true"},this.renderIcon(this.trailIconType,this.trailIconProps)))}},[0,"dga-button",{variant:[1],size:[1],label:[1],iconOnly:[4,"icon-only"],iconType:[1,"icon-type"],iconProps:[16],leadIcon:[4,"lead-icon"],leadIconType:[1,"lead-icon-type"],leadIconProps:[16],trailIcon:[4,"trail-icon"],trailIconType:[1,"trail-icon-type"],trailIconProps:[16],disabled:[4],btnId:[1,"btn-id"],customAttribute:[16],type:[1],onColor:[4,"on-color"]}]);function O(){if(typeof customElements>"u")return;["dga-button","dga-icon"].forEach(n=>{switch(n){case"dga-button":customElements.get(n)||customElements.define(n,Be);break;case"dga-icon":customElements.get(n)||w();break}})}const x=()=>{const o=Date.now().toString(36),n=Math.random().toString(36).substring(2);return o+n},Pe=d(class extends l{constructor(){super(),this.__registerHost(),this.handleFocus=()=>{var n;this.showBorderOnFocusAndFocusOute&&((n=this.labelRef)===null||n===void 0||n.classList.add("focus"))},this.handleFocusOut=()=>{var n;this.showBorderOnFocusAndFocusOute&&((n=this.labelRef)===null||n===void 0||n.classList.remove("focus"))},this.handleEscape=n=>{var t,i;n.key==="Escape"&&(this.handleFocusOut(),(i=(t=this.labelRef)===null||t===void 0?void 0:t.querySelector("input"))===null||i===void 0||i.blur())},this.color="brand",this.size="md",this.label=void 0,this.helperText=void 0,this.alertMessage=void 0,this.alertText=void 0,this.disabled=!1,this.name=x(),this.value="",this.showBorderOnFocusAndFocusOute=!0,this.onChange=void 0,this.onInput=void 0,this.checked=!1,this.isChecked=this.checked,this.Indeterminate=!1}componentWillLoad(){this.isChecked=this.checked}componentDidLoad(){window.addEventListener("keydown",this.handleEscape)}render(){return e("label",{key:"e1ea63e441150261fe9814af2a2334ac0359a616",ref:n=>this.labelRef=n,class:`checkbox ${this.color?`checkbox--${this.color}`:""} checkbox--${this.size}`},e("div",{key:"4a0b20320d65d8a8629fe2e8995af74dc716d4b1",class:"checkbox-main"},e("div",{key:"5ba8a9995216f9bfdd47503ec9174c00e596117c",class:"checkbox-main__content"},e("input",{key:"443e23bb248c37086c6fea45ec7638224525dccb",type:"checkbox",name:this.name,value:this.value,disabled:this.disabled,onFocus:this.handleFocus,onBlur:this.handleFocusOut,onChange:n=>{var t;(t=this.onChange)===null||t===void 0||t.call(this,n);const i=n.target;this.isChecked=i.checked},onInput:this.onInput,checked:this.isChecked}),e("div",{key:"c9aeb29c1dd6434e7226ab7a1d5c5534ccfa7f4f",class:"checkbox-container"},e("span",{key:"1cadd9b52bfc754da57f3fd590c790b27c0ba1ba",class:"checkbox-icon checkbox__checked-icon",style:{display:this.isChecked?"inline-block":"none"}},this.Indeterminate?e("i",{class:"hgi-solid hgi-minus-sign"}):e("i",{class:"hgi-solid hgi-tick-03"})),e("span",{key:"1246667f3d57652d822932cce65bbbe7e7ae4c7b",class:"checkbox-icon checkbox__indeterminate-icon",style:{display:this.isChecked?"none":"inline-block"}},e("i",{key:"e7fee4f758ae890a898609a23ef1714660743d5a",class:"hgi-solid hgi-remove-01"}))),this.helperText?e("div",{class:"flex-column"},e("span",{class:"checkbox__label"},this.label),e("span",{class:"checkbox__helper-text"},this.helperText)):this.label&&e("span",{class:"checkbox__label"},this.label)),this.alertMessage&&e("div",{key:"4222aedc9a39591482b12c9861527bfb2476b78d",class:"checkbox__warning"},e("span",{key:"9aca1d3b6a0c2067d454cfe4f1f6f7c547680a63",class:"checkbox__warning-icon"},e("i",{key:"96930d787b6797228cbc56820e6bb6034b3ed2c2",class:"hgi-stroke hgi-alert-circle",style:{fontSize:"16px"}})),e("span",{key:"70ced69a22f40d19b3c23635c56a8e5c2308c42f",class:"checkbox__warning-text"},this.alertText))))}},[0,"dga-checkbox",{color:[1],size:[1],label:[1],helperText:[1,"helper-text"],alertMessage:[4,"alert-message"],alertText:[1,"alert-text"],disabled:[4],name:[1],value:[1],showBorderOnFocusAndFocusOute:[4,"show-border-on-focus-and-focus-oute"],onChange:[16],onInput:[16],checked:[4],Indeterminate:[4,"indeterminate"],isChecked:[32]}]);function K(){if(typeof customElements>"u")return;["dga-checkbox"].forEach(n=>{switch(n){case"dga-checkbox":customElements.get(n)||customElements.define(n,Pe);break}})}const De=d(class extends l{constructor(){super(),this.__registerHost(),this.onMouseEnterHandler=()=>{this.isFocused=!0},this.onMouseLeaveHandler=()=>{this.isFocused=!1},this.type="default",this.showTitle=!0,this.showDescription=!0,this.showFeaturedIcon=!0,this.image="",this.showRating=!1,this.disabled=!1,this.effect="with-shadow",this.cardTitle="Card Title",this.description="Card content placeholder text goes here",this.customComponent=void 0,this.featuredIcon=e("i",{class:"hgi-stroke hgi-sharp hgi-checkmark-circle-02",style:{fontSize:"24px"}}),this.showPrimaryAction=!0,this.primaryActionLabel="Primary Action",this.showSecondaryAction=!0,this.secondaryActionLabel="Secondary Action",this.onCheckboxChange=()=>{},this.onPrimaryAction=()=>{},this.onSecondaryAction=()=>{},this.onExpandAction=()=>{},this.isFocused=!1,this.expanded=!1}toggleExpand(){this.expanded=!this.expanded}render(){return e("div",{key:"e93b49393cda2217a9d6fb66716ef37cfa9bdbfd",class:`card flex-column ${this.disabled?"disabled":""} ${this.isFocused?"focused":""} card--${this.effect}`,onMouseEnter:this.onMouseEnterHandler,onMouseLeave:this.onMouseLeaveHandler},this.image&&e("div",{key:"c6c8a85a1d86e5bbe9d6dc69446b458984001834",class:"card__image-container"},e("img",{key:"b3b358dba941c298a4cd2a8baa5e67de840fd398",src:this.image,alt:"Card"})),this.showFeaturedIcon&&e("div",{key:"b3b83b1934dcca69c1e6cc1929bc6b76471a0730",class:"featured-icon featured-icon--light-brand featured-icon--circle featured-icon--lg"},this.featuredIcon),this.type==="selectable"&&e("div",{key:"9202a5692de6b1ee1608650699de553c14264f38",class:"card__checkbox-container"},e("dga-checkbox",{key:"243c8ab42e0c7b2f25cd7a03d850affccaf5fe5f",color:"brand",onChange:this.onCheckboxChange})),(this.showTitle||this.showDescription)&&e("div",{key:"ada312f13ee56bcfdf812f71ad7918428b3dfe50",class:"card__content-text flex-column"},this.showTitle&&e("h4",{key:"76f6b7febb61235e6326e7a70ce73857e2668221",class:"text-lg-bold"},this.cardTitle," "),this.showDescription&&e("p",{key:"f13368f26780607845c6c6881b0f16d4dc400ea1",class:"text-md-regular"},this.description)),this.showRating&&e("div",{key:"389291191eb953529ce59502a93f958bba3a48d9",class:"card__rating-container"}),this.customComponent&&e("div",{key:"4c51e095be43374194294a8beeb6a5f4abf18d9f",class:"card__custom-component"},this.customComponent),this.type==="default"&&(this.showPrimaryAction||this.showSecondaryAction)&&e("div",{key:"fe126dec78e3fe2825d9e8ccbe0d4b2f89d91e88",class:"card__action card__action--default"},this.showSecondaryAction&&e("dga-button",{key:"f595e6b4193793fe31647e645ff5f563f64e47a4",label:this.secondaryActionLabel,onClick:this.onSecondaryAction,size:"lg",variant:"secondary-outline"}),this.showPrimaryAction&&e("dga-button",{key:"b551c3e408a81fba6f9876439a28f34b046c7127",label:this.primaryActionLabel,onClick:this.onPrimaryAction,size:"lg",variant:"primary-brand"})),this.type==="expanded"&&e("div",{key:"537f9108cd70e488ec4109ea65563d9e28fe77ac",class:"card__action card__action--expanded"},e("dga-button",{key:"ac0f4537c4e516e0cd77097d228da18d795dccf6",iconOnly:!0,onClick:()=>this.toggleExpand(),size:"lg",variant:"subtle",leadIconType:this.expanded?e("i",{class:"hgi-stroke hgi-arrow-up-01"}):e("i",{class:"hgi-stroke hgi-arrow-down-01"}),leadIcon:!0})),e("div",{key:"820270ffa5b5c6fdc7af6a25b53eaf6b16c0dba7",class:`collapse-content ${this.expanded?"expanded":""}`},e("slot",{key:"a7e7b019b133ab698071e20b3777aa2bbd191b94",name:"collapse-content"})))}},[4,"dga-card",{type:[1],showTitle:[4,"show-title"],showDescription:[4,"show-description"],showFeaturedIcon:[4,"show-featured-icon"],image:[1],showRating:[4,"show-rating"],disabled:[4],effect:[1],cardTitle:[1,"card-title"],description:[1],customComponent:[16],featuredIcon:[16],showPrimaryAction:[4,"show-primary-action"],primaryActionLabel:[1,"primary-action-label"],showSecondaryAction:[4,"show-secondary-action"],secondaryActionLabel:[1,"secondary-action-label"],onCheckboxChange:[16],onPrimaryAction:[16],onSecondaryAction:[16],onExpandAction:[16],isFocused:[32],expanded:[32]}]);function Ee(){if(typeof customElements>"u")return;["dga-card","dga-button","dga-checkbox","dga-icon"].forEach(n=>{switch(n){case"dga-card":customElements.get(n)||customElements.define(n,De);break;case"dga-button":customElements.get(n)||O();break;case"dga-checkbox":customElements.get(n)||K();break;case"dga-icon":customElements.get(n)||w();break}})}const je=d(class extends l{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"463c5131cfe71ed284df567e3500eea10925d32e"},e("h1",{key:"be3ad7a45e1c31b79af9e22cf29dd9446df099f5"},"Breadcrumbs Example"),e("div",{key:"64d1f296b0fee833cfe1b1ae5f69468b2a47d685",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"a1bc599900ed564df7ab57803aa9b5d4d8d62485",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-breadcrumbs",{key:"5b44d9ec4af78c0fc516f81f2d4868e2597e1eb2",items:[{label:"string1",path:"string1"},{label:"string2",path:"string2"},{label:"string3",path:"string3",disabled:!0}]}),e("dga-card",{key:"f45f6dfdbc27816f4bc35b80e79d3ccab0f3e099",cardTitle:"Card Title",featuredIcon:e("dga-icon",{icon:"mail-02",size:24,variant:"stroke",type:"rounded",color:"#1B8354"})})),e("div",{key:"744bd057f2474d95875f783d5b647470ecb53e51",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"dga-breadcrumbs-usage",{variant:[32]}]);function qi(){if(typeof customElements>"u")return;["dga-breadcrumbs-usage","dga-breadcrumbs","dga-button","dga-card","dga-checkbox","dga-icon"].forEach(n=>{switch(n){case"dga-breadcrumbs-usage":customElements.get(n)||customElements.define(n,je);break;case"dga-breadcrumbs":customElements.get(n)||Ae();break;case"dga-button":customElements.get(n)||O();break;case"dga-card":customElements.get(n)||Ee();break;case"dga-checkbox":customElements.get(n)||K();break;case"dga-icon":customElements.get(n)||w();break}})}const zi=je,Si=qi,Mi=Ie,Ci=Ae,$i=Be,Ii=O,Ai=De,Bi=Ee,Pi=`@charset "UTF-8";
211498
+ ${this.disabled?"disabled":""} ${this.extraClass} ${this.isOpen?"active":""}`},e("a",{key:"6a913fadb8c1015fffe295a46fc4eff7776aeb79",href:"#",onClick:n=>this.handleAccordionClick(n),onKeyDown:n=>n.code==="Space"?this.handleAccordionClick(n):null,class:"accordion-item__header"},this.iconAlignment==="Leading"&&e("div",{key:"7b283469ec493369b1433a331df061350a1e3710",class:"accordion-item__arrow"},e("i",{key:"48698b91d21abb2606438df8800a1847b83ef08f",class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}})),e("div",{key:"a8c360e3a25f3ad6f2b713218a3cd6d65834667a",class:"accordion-item__title"},this.title),this.iconAlignment==="Trailing"&&e("div",{key:"ac87a2ad259bc8281a368e4ec283efb70f723315",class:"accordion-item__arrow"},e("i",{key:"32f7036876199ddcc5847f0398c07231e894ccd2",class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}))),e("div",{key:"f868f87295430f958b4d64aa405a164e9451077f",ref:n=>this.bodyElement=n,class:"accordion-item__body"},this.content))}get el(){return this}},[0,"dga-accordion",{title:[1],content:[1],size:[1],iconAlignment:[1,"icon-alignment"],flush:[4],disabled:[4],extraClass:[1,"extra-class"],isOpen:[32]}]);function mi(){if(typeof customElements>"u")return;["dga-accordion"].forEach(n=>{switch(n){case"dga-accordion":customElements.get(n)||customElements.define(n,Se);break}})}const vi=Se,wi=mi,Me=d(class extends l{constructor(){super(),this.__registerHost(),this.icon=void 0,this.size=void 0,this.color=void 0,this.variant="bulk",this.type=""}componentDidLoad(){console.log("from will load,",this.icon),this.updateIcon()}updateIcon(){if(console.log("from update,",this.icon),console.log("from update,",this.container),this.container){const n=this.icon.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([A-Z])([0-9])/g,"$1-$2").replace(/([a-z])([0-9])/g,"$1-$2").toLowerCase().replace("-icon","").replace("icon","").trim(),t=`hgi-${this.variant||""} ${this.type?`hgi-${this.type}`:""} hgi-${n}`;this.container.className=t}}render(){return e("div",{key:"c886684d061fd3cb85db8e052cf3b132abad3de5",style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"inherit"}},e("i",{key:"3d9430aabc7fe2361025f40d80f15d814920ec13",style:{fontSize:`${this.size?`${this.size}px`:"inherit"}`,color:this.color},ref:n=>this.container=n}))}static get watchers(){return{icon:["updateIcon"],variant:["updateIcon"],type:["updateIcon"]}}},[0,"dga-icon",{icon:[1],size:[2],color:[1],variant:[1],type:[1]},void 0,{icon:["updateIcon"],variant:["updateIcon"],type:["updateIcon"]}]);function w(){if(typeof customElements>"u")return;["dga-icon"].forEach(n=>{switch(n){case"dga-icon":customElements.get(n)||customElements.define(n,Me);break}})}const Ce=d(class extends l{constructor(){super(),this.__registerHost(),this.type="icon",this.size=32,this.square=!1,this.border=!1,this.text="AB",this.imgUrl="/assets/avatar-img.png",this.customAttribute={key:"",value:""}}renderChildComponent(){if(this.type==="initials")return e("span",{class:"avatar__text"},this.text);if(this.type==="image")return e("img",{class:"avatar__img",src:this.imgUrl,alt:""});if(this.type==="icon")return e("div",{class:"avatar__icon"},e("dga-icon",{icon:"User",variant:"stroke"}))}render(){var n;const t=!((n=this.customAttribute)===null||n===void 0)&&n.key?{[this.customAttribute.key]:this.customAttribute.value||""}:{};return e("div",Object.assign({key:"a8d9ed9fddc4f00fe9f5549676a84e27a2d63936"},t,{class:{avatar:!0,[`avatar--${this.type}`]:!0,[`avatar--${this.size}`]:!0,"avatar--square":this.square,"avatar--border":this.border}}),this.renderChildComponent())}},[0,"dga-avatar",{type:[1],size:[2],square:[4],border:[4],text:[1],imgUrl:[1,"img-url"],customAttribute:[16]}]);function xi(){if(typeof customElements>"u")return;["dga-avatar","dga-icon"].forEach(n=>{switch(n){case"dga-avatar":customElements.get(n)||customElements.define(n,Ce);break;case"dga-icon":customElements.get(n)||w();break}})}const yi=Ce,_i=xi,$e=d(class extends l{constructor(){super(),this.__registerHost(),this.breadcrumbClick=$(this,"breadcrumbClick",7),this.breadcrumbItems=[],this.items=[]}componentWillLoad(){this.handleItemsChange(this.items)}handleItemsChange(n){try{this.breadcrumbItems=this.renderItems(n)}catch(t){console.error("Invalid JSON in items prop:",t)}}isEllipsisItem(n){return n.ellipsis===!0}renderItems(n){return n.length<=5?n:[n[0],{ellipsis:!0},...n.slice(-2)]}handleClick(n,t,i){i.disabled||this.breadcrumbClick.emit({e:n,link:t,item:i})}render(){return e("nav",{key:"97256ff43a2d52dda068ba2e347612e2da33311b","aria-label":"breadcrumb"},e("ul",{key:"fb878816770229e5fe77aaab9834f24946c076a6",class:"breadcrumb"},this.breadcrumbItems.map((n,t)=>{if(this.isEllipsisItem(n))return e("li",{key:t,class:"breadcrumb-item ellipsis"},e("span",{class:"breadcrumb-icon"},e("dga-icon",{icon:"ArrowRight01Icon",variant:"stroke",type:"rounded"})),e("a",{href:"#",class:"link link--sm link--neutral"},"..."));const i=t===this.breadcrumbItems.length-1,r=t===0;return e("li",{key:t,class:{"breadcrumb-item":!0,active:i},"aria-current":i?"page":void 0},n.path&&!i?e(C,null,!r&&e("span",{class:"breadcrumb-icon"},e("dga-icon",{icon:"ArrowRight01Icon",variant:"stroke",type:"rounded"})),e("a",{onClick:a=>this.handleClick(a,n.path,n),class:{"link link--sm link--neutral":!0,"disabled-link":n.disabled},href:n.disabled?void 0:n.path,"aria-disabled":n.disabled?"true":"false"},e("span",{class:"link__label"},n.label))):e(C,null,e("span",{class:"breadcrumb-icon"},e("dga-icon",{icon:"ArrowRight01Icon",variant:"stroke",type:"rounded"})),e("a",{onClick:a=>this.handleClick(a,n.path,n),class:{"link link--sm link--neutral":!0,"disabled-link":n.disabled},href:n.disabled?void 0:n.path,"aria-disabled":n.disabled?"true":"false"},e("span",{class:"link__label"},n.label))))})))}static get watchers(){return{items:["handleItemsChange"]}}},[0,"dga-breadcrumbs",{items:[16]},void 0,{items:["handleItemsChange"]}]);function Ie(){if(typeof customElements>"u")return;["dga-breadcrumbs","dga-icon"].forEach(n=>{switch(n){case"dga-breadcrumbs":customElements.get(n)||customElements.define(n,$e);break;case"dga-icon":customElements.get(n)||w();break}})}const Ae=d(class extends l{constructor(){super(),this.__registerHost(),this.onClick=$(this,"onClick",7),this.variant="primary-neutral",this.size="md",this.label=void 0,this.iconOnly=void 0,this.iconType=void 0,this.iconProps=void 0,this.leadIcon=void 0,this.leadIconType=void 0,this.leadIconProps=void 0,this.trailIcon=void 0,this.trailIconType=void 0,this.trailIconProps=void 0,this.disabled=void 0,this.btnId=void 0,this.customAttribute={key:"",value:""},this.type="button",this.onColor=!1}handleClick(n){this.disabled||this.onClick.emit(n)}renderIcon(n,t){return e("dga-icon",Object.assign({icon:n},t))}render(){var n;const t=this.btnId||`btn-${Math.random().toString(36).substr(2,9)}`,i=!((n=this.customAttribute)===null||n===void 0)&&n.key?{[this.customAttribute.key]:this.customAttribute.value||""}:{},r=["btn",`btn--${this.size}`,`btn--${this.variant}`,this.onColor?`btn--${this.variant}--on-color`:"",this.iconOnly?"btn--icon":""].filter(Boolean).join(" ");return e("button",Object.assign({key:"858ada3b1f2699eb4ecb54bcc71df76ccf538e3b",id:t},i,{type:this.type,class:r,disabled:this.disabled,"aria-label":this.iconOnly&&!this.label?"Button with icon":this.label,role:"button",onClick:a=>this.handleClick(a)}),this.iconOnly&&this.iconType&&e("span",{key:"d0f9d824d0f19d33cede146fc54811a8604178d9",class:"btn-icon","aria-hidden":"true"},this.renderIcon(this.iconType,this.iconProps)),this.leadIcon&&this.leadIconType&&e("span",{key:"59076019cc51b8c9af9195e5baa7ffa18c09b22a",class:"btn-icon","aria-hidden":"true"},this.renderIcon(this.leadIconType,this.leadIconProps)),!this.iconOnly&&this.label&&e("span",{key:"f8c89117752c6c8a17ac5538570e20765478ce78"},this.label),this.trailIcon&&this.trailIconType&&e("span",{key:"a42da6c211d0bdbfdbaf384db00ced8f32d581c2",class:"btn-icon","aria-hidden":"true"},this.renderIcon(this.trailIconType,this.trailIconProps)))}},[0,"dga-button",{variant:[1],size:[1],label:[1],iconOnly:[4,"icon-only"],iconType:[1,"icon-type"],iconProps:[16],leadIcon:[4,"lead-icon"],leadIconType:[1,"lead-icon-type"],leadIconProps:[16],trailIcon:[4,"trail-icon"],trailIconType:[1,"trail-icon-type"],trailIconProps:[16],disabled:[4],btnId:[1,"btn-id"],customAttribute:[16],type:[1],onColor:[4,"on-color"]}]);function R(){if(typeof customElements>"u")return;["dga-button","dga-icon"].forEach(n=>{switch(n){case"dga-button":customElements.get(n)||customElements.define(n,Ae);break;case"dga-icon":customElements.get(n)||w();break}})}const x=()=>{const o=Date.now().toString(36),n=Math.random().toString(36).substring(2);return o+n},Be=d(class extends l{constructor(){super(),this.__registerHost(),this.handleFocus=()=>{var n;this.showBorderOnFocusAndFocusOute&&((n=this.labelRef)===null||n===void 0||n.classList.add("focus"))},this.handleFocusOut=()=>{var n;this.showBorderOnFocusAndFocusOute&&((n=this.labelRef)===null||n===void 0||n.classList.remove("focus"))},this.handleEscape=n=>{var t,i;n.key==="Escape"&&(this.handleFocusOut(),(i=(t=this.labelRef)===null||t===void 0?void 0:t.querySelector("input"))===null||i===void 0||i.blur())},this.color="brand",this.size="md",this.label=void 0,this.helperText=void 0,this.alertMessage=void 0,this.alertText=void 0,this.disabled=!1,this.name=x(),this.value="",this.showBorderOnFocusAndFocusOute=!0,this.onChange=void 0,this.onInput=void 0,this.checked=!1,this.isChecked=this.checked,this.Indeterminate=!1}componentWillLoad(){this.isChecked=this.checked}componentDidLoad(){window.addEventListener("keydown",this.handleEscape)}render(){return e("label",{key:"39b6e00240ebab95a3b4e26172f11558bd250335",ref:n=>this.labelRef=n,class:`checkbox ${this.color?`checkbox--${this.color}`:""} checkbox--${this.size}`},e("div",{key:"9106bf37f92dd02c493077e74c860ac6e72c33ec",class:"checkbox-main"},e("div",{key:"4bf628b024bcc6f6c2729474810df885834ad27b",class:"checkbox-main__content"},e("input",{key:"c6661d39eec971510869fb6ecf7da56d4aec0937",type:"checkbox",name:this.name,value:this.value,disabled:this.disabled,onFocus:this.handleFocus,onBlur:this.handleFocusOut,onChange:n=>{var t;(t=this.onChange)===null||t===void 0||t.call(this,n);const i=n.target;this.isChecked=i.checked},onInput:this.onInput,checked:this.isChecked}),e("div",{key:"26c4be5ddccd5578fe32eec9094a0dabbc2526d1",class:"checkbox-container"},e("span",{key:"7c6a6b1362b864b5907744ca8eb91ce742626545",class:"checkbox-icon checkbox__checked-icon",style:{display:this.isChecked?"inline-block":"none"}},this.Indeterminate?e("i",{class:"hgi-solid hgi-minus-sign"}):e("i",{class:"hgi-solid hgi-tick-03"})),e("span",{key:"bf78645ba7751a90700564b684f96182cc09cdb2",class:"checkbox-icon checkbox__indeterminate-icon",style:{display:this.isChecked?"none":"inline-block"}},e("i",{key:"a185e0e97c569fd60d843a77a95603486f91f348",class:"hgi-solid hgi-remove-01"}))),this.helperText?e("div",{class:"flex-column"},e("span",{class:"checkbox__label"},this.label),e("span",{class:"checkbox__helper-text"},this.helperText)):this.label&&e("span",{class:"checkbox__label"},this.label)),this.alertMessage&&e("div",{key:"48ea3e54716c615da48aa76d1daace0a00c3e52c",class:"checkbox__warning"},e("span",{key:"6146e2faaa6894e4e4c8c49093cedd54ddfd343c",class:"checkbox__warning-icon"},e("i",{key:"b4c48bea17768dfb58ef85950919078b24a56092",class:"hgi-stroke hgi-alert-circle",style:{fontSize:"16px"}})),e("span",{key:"132a36261ed059b011378f432f62cb076c0e69d0",class:"checkbox__warning-text"},this.alertText))))}},[0,"dga-checkbox",{color:[1],size:[1],label:[1],helperText:[1,"helper-text"],alertMessage:[4,"alert-message"],alertText:[1,"alert-text"],disabled:[4],name:[1],value:[1],showBorderOnFocusAndFocusOute:[4,"show-border-on-focus-and-focus-oute"],onChange:[16],onInput:[16],checked:[4],Indeterminate:[4,"indeterminate"],isChecked:[32]}]);function K(){if(typeof customElements>"u")return;["dga-checkbox"].forEach(n=>{switch(n){case"dga-checkbox":customElements.get(n)||customElements.define(n,Be);break}})}const Pe=d(class extends l{constructor(){super(),this.__registerHost(),this.onMouseEnterHandler=()=>{this.isFocused=!0},this.onMouseLeaveHandler=()=>{this.isFocused=!1},this.type="default",this.showTitle=!0,this.showDescription=!0,this.showFeaturedIcon=!0,this.image="",this.showRating=!1,this.disabled=!1,this.effect="with-shadow",this.cardTitle="Card Title",this.description="Card content placeholder text goes here",this.customComponent=void 0,this.featuredIcon=e("i",{class:"hgi-stroke hgi-sharp hgi-checkmark-circle-02",style:{fontSize:"24px"}}),this.showPrimaryAction=!0,this.primaryActionLabel="Primary Action",this.showSecondaryAction=!0,this.secondaryActionLabel="Secondary Action",this.onCheckboxChange=()=>{},this.onPrimaryAction=()=>{},this.onSecondaryAction=()=>{},this.onExpandAction=()=>{},this.isFocused=!1,this.expanded=!1}toggleExpand(){this.expanded=!this.expanded}render(){return e("div",{key:"a1d6a7587a13c71a5cac092c2001fe8f84ac91b9",class:`card flex-column ${this.disabled?"disabled":""} ${this.isFocused?"focused":""} card--${this.effect}`,onMouseEnter:this.onMouseEnterHandler,onMouseLeave:this.onMouseLeaveHandler},this.image&&e("div",{key:"b9bcba103022f32c2fabe0d13ccc70f92f4b9afa",class:"card__image-container"},e("img",{key:"b1425466a276d09113855e74b38727110de1a062",src:this.image,alt:"Card"})),this.showFeaturedIcon&&e("div",{key:"6ba09e49055b01a24c3bcaca22245820b93792e0",class:"featured-icon featured-icon--light-brand featured-icon--circle featured-icon--lg"},this.featuredIcon),this.type==="selectable"&&e("div",{key:"161c3eac560d9b49d9b855166ad88eb2d1270388",class:"card__checkbox-container"},e("dga-checkbox",{key:"0510f5eeb22e9d0d883f9c2104278dab9301476a",color:"brand",onChange:this.onCheckboxChange})),(this.showTitle||this.showDescription)&&e("div",{key:"efc976bcc8b1baf1322dbb42bc70869128dd8cd7",class:"card__content-text flex-column"},this.showTitle&&e("h4",{key:"6ffc176678d22f9535c41c92b4c423204dc545c6",class:"text-lg-bold"},this.cardTitle," "),this.showDescription&&e("p",{key:"49702215e9a9988752a81033f9bb363ffce3f789",class:"text-md-regular"},this.description)),this.showRating&&e("div",{key:"f286a7a70211d4fc4623a201cd049e7f5e006066",class:"card__rating-container"}),this.customComponent&&e("div",{key:"d0c17e9d7eaab3aba721827b44cac7e0bc4f8e2d",class:"card__custom-component"},this.customComponent),this.type==="default"&&(this.showPrimaryAction||this.showSecondaryAction)&&e("div",{key:"e8b65b843a75ca1222579066c3d3425d082635ed",class:"card__action card__action--default"},this.showSecondaryAction&&e("dga-button",{key:"9049d57e8578d1f43f88cf7238e80cf094ae9449",label:this.secondaryActionLabel,onClick:this.onSecondaryAction,size:"lg",variant:"secondary-outline"}),this.showPrimaryAction&&e("dga-button",{key:"ab42692c92d71bec4f42283decefd7095fd49e7c",label:this.primaryActionLabel,onClick:this.onPrimaryAction,size:"lg",variant:"primary-brand"})),this.type==="expanded"&&e("div",{key:"54d0ef10263e70b28023137e87c9f7e5dc180ef3",class:"card__action card__action--expanded"},e("dga-button",{key:"c2f0a4eb386ce63e9606f4214b0b765c366645e6",iconOnly:!0,onClick:()=>this.toggleExpand(),size:"lg",variant:"subtle",leadIconType:this.expanded?e("i",{class:"hgi-stroke hgi-arrow-up-01"}):e("i",{class:"hgi-stroke hgi-arrow-down-01"}),leadIcon:!0})),e("div",{key:"85b961dc2b14bf416df93d335e1e18a3861b72b9",class:`collapse-content ${this.expanded?"expanded":""}`},e("slot",{key:"5a20722dd0732d3349b88e47a306f234d27cdfa7",name:"collapse-content"})))}},[4,"dga-card",{type:[1],showTitle:[4,"show-title"],showDescription:[4,"show-description"],showFeaturedIcon:[4,"show-featured-icon"],image:[1],showRating:[4,"show-rating"],disabled:[4],effect:[1],cardTitle:[1,"card-title"],description:[1],customComponent:[16],featuredIcon:[16],showPrimaryAction:[4,"show-primary-action"],primaryActionLabel:[1,"primary-action-label"],showSecondaryAction:[4,"show-secondary-action"],secondaryActionLabel:[1,"secondary-action-label"],onCheckboxChange:[16],onPrimaryAction:[16],onSecondaryAction:[16],onExpandAction:[16],isFocused:[32],expanded:[32]}]);function De(){if(typeof customElements>"u")return;["dga-card","dga-button","dga-checkbox","dga-icon"].forEach(n=>{switch(n){case"dga-card":customElements.get(n)||customElements.define(n,Pe);break;case"dga-button":customElements.get(n)||R();break;case"dga-checkbox":customElements.get(n)||K();break;case"dga-icon":customElements.get(n)||w();break}})}const Ee=d(class extends l{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"a1fd044a8446e96491b727205c9ef526233f602e"},e("h1",{key:"bfd06d34ba1d76f793f08f12b13ca3aec8394634"},"Breadcrumbs Example"),e("div",{key:"fe61b4eb1ed00088d079a4e24b00ac348028b0e7",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"3d9b3b5f492923c1f313653146ba0fd4bb34ff7f",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-breadcrumbs",{key:"22b7b9697c9c5127e425711a3775bf44c0ee0ab4",items:[{label:"string1",path:"string1"},{label:"string2",path:"string2"},{label:"string3",path:"string3",disabled:!0}]}),e("dga-card",{key:"648d5aa1e4385433dd95b45b41d4882569487f5b",cardTitle:"Card Title",featuredIcon:e("dga-icon",{icon:"mail-02",size:24,variant:"stroke",type:"rounded",color:"#1B8354"})})),e("div",{key:"b06703e574e519a4ac281a9e4b31c315f0d40f4b",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"dga-breadcrumbs-usage",{variant:[32]}]);function qi(){if(typeof customElements>"u")return;["dga-breadcrumbs-usage","dga-breadcrumbs","dga-button","dga-card","dga-checkbox","dga-icon"].forEach(n=>{switch(n){case"dga-breadcrumbs-usage":customElements.get(n)||customElements.define(n,Ee);break;case"dga-breadcrumbs":customElements.get(n)||Ie();break;case"dga-button":customElements.get(n)||R();break;case"dga-card":customElements.get(n)||De();break;case"dga-checkbox":customElements.get(n)||K();break;case"dga-icon":customElements.get(n)||w();break}})}const zi=Ee,Si=qi,Mi=$e,Ci=Ie,$i=Ae,Ii=R,Ai=Pe,Bi=De,Pi=`@charset "UTF-8";
211499
211499
  /*
211500
211500
  0 - 600px: Phone
211501
211501
  600 - 900px: Tablet portrait
@@ -214991,7 +214991,7 @@ a:focus {
214991
214991
 
214992
214992
  :host {
214993
214993
  width: fit-content;
214994
- }`,Di=Pi,Te=d(class extends l{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){return e(D,{key:"5b63bc65b49f3bf12787113c1b676edd29cbacc5"},e("slot",{key:"3fd1b2d40847f5150be040f865bd8ccd812b4ba4"}))}static get style(){return Di}},[1,"dga-carousel-item-v2"]);function Ei(){if(typeof customElements>"u")return;["dga-carousel-item-v2"].forEach(n=>{switch(n){case"dga-carousel-item-v2":customElements.get(n)||customElements.define(n,Te);break}})}const ji=Te,Ti=Ei,Le=d(class extends l{constructor(){super(),this.__registerHost(),this.responsive=[{breakPoint:1280,cardsToShow:4},{breakPoint:760,cardsToShow:2}],this.variant="neutral"}render(){return e("div",{key:"bfde0d1296e9923a5d477d549e6bc974fa29dce9"},e("h1",{key:"26ae2d33e75b087917e6950bcc1531396bb36008"},"Slider Example"),e("div",{key:"a55d552c1f51105c4129fe9043a059cc1502534b",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"6c38dd3ca9937b61dfa4c9728382f954a811d8bd",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-carousel-slider",{key:"43dcc5890dabb163bf067bf4de654fcab748d463",cardsToShow:3,autoSlide:300,responsive:this.responsive},e("div",{key:"9eae702034760e85d0cf3a10b18a022026362224",class:"example-card"},"1"),e("div",{key:"bc49d20cdbf4e5ccfa410c9d114cf97cb9e45dbd",class:"example-card"},"2"),e("div",{key:"0aa55b0f1afbd6b0a0a8f98f9877f5e8c1d0542a",class:"example-card"},"3"),e("div",{key:"d9c946a8cb3c6fee38afd2c9a9222133ca153a2c",class:"example-card"},"4"),e("div",{key:"bf043b3372c0a712a9e741ee92060087ca2342bb",class:"example-card"},"5"),e("div",{key:"39a42aa323084aaf10786cee0476ee65d2e49d96",class:"example-card"},"6"),e("div",{key:"1971d0998ec04ddfefb3da6987a180e212320ce9",class:"example-card"},"7"),e("div",{key:"3d9c8394c3cb25e3fc9d0bf140d95eab17316b91",class:"example-card"},"8"),e("div",{key:"2b16952fdf2c72988478a19b2b2a7ab4cfb22049",class:"example-card"},"9"))),e("div",{key:"1a83e994d4c423e1ffc807892130ef9a54f7249f",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"dga-carousel-slider-usage",{variant:[32]}]);function Li(){if(typeof customElements>"u")return;["dga-carousel-slider-usage"].forEach(n=>{switch(n){case"dga-carousel-slider-usage":customElements.get(n)||customElements.define(n,Le);break}})}const Oi=Le,Ri=Li,Hi=`@charset "UTF-8";
214994
+ }`,Di=Pi,je=d(class extends l{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){return e(D,{key:"a9fc5e54d525338a6e8cd23521a8cd628f846e3b"},e("slot",{key:"102492dedf5275afe63737bcfc06fb164ce9a502"}))}static get style(){return Di}},[1,"dga-carousel-item-v2"]);function Ei(){if(typeof customElements>"u")return;["dga-carousel-item-v2"].forEach(n=>{switch(n){case"dga-carousel-item-v2":customElements.get(n)||customElements.define(n,je);break}})}const ji=je,Ti=Ei,Te=d(class extends l{constructor(){super(),this.__registerHost(),this.responsive=[{breakPoint:1280,cardsToShow:4},{breakPoint:760,cardsToShow:2}],this.variant="neutral"}render(){return e("div",{key:"38ea77a679fc28a8dc3f4a0e0b8bcbe72e0319c9"},e("h1",{key:"b72972cbe671795ad73b4e5f33a2adb88060eb76"},"Slider Example"),e("div",{key:"615a0d8bf94342dfd24cba5a281d615970d9cf3f",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"b7ca4a0f96d7bbfaf4fb1f646352a6a495307f2f",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-carousel-slider",{key:"349f7012749d73fb839b95c15601719fba3160cf",cardsToShow:3,autoSlide:300,responsive:this.responsive},e("div",{key:"3c0455c4756108a8e3286d5dca517eee0832999f",class:"example-card"},"1"),e("div",{key:"1a75feae58155cf78845899bbfaff270708c5e41",class:"example-card"},"2"),e("div",{key:"aab9ed9a5c621f7144be7ca6654139e692430987",class:"example-card"},"3"),e("div",{key:"14735b2ca10356df2f27d7d0ab2720067f5698c7",class:"example-card"},"4"),e("div",{key:"00b0b83f32e592270e2b9ee1343d1d5da4330aba",class:"example-card"},"5"),e("div",{key:"5601e91549221550c4ce23ee648a3023083cb2cb",class:"example-card"},"6"),e("div",{key:"6cf081c17f372ce2b6192a902eab76a2b14363ac",class:"example-card"},"7"),e("div",{key:"f181bef00b5a8ee5b3970891af5d00fc0a7adac0",class:"example-card"},"8"),e("div",{key:"a0e3b34321abe7dbc2ffb84b92616333d5f084fd",class:"example-card"},"9"))),e("div",{key:"f99283d92ad88ed3b3e0d53e00fb5c3e343eb09f",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"dga-carousel-slider-usage",{variant:[32]}]);function Li(){if(typeof customElements>"u")return;["dga-carousel-slider-usage"].forEach(n=>{switch(n){case"dga-carousel-slider-usage":customElements.get(n)||customElements.define(n,Te);break}})}const Ri=Te,Oi=Li,Hi=`@charset "UTF-8";
214995
214995
  /*
214996
214996
  0 - 600px: Phone
214997
214997
  600 - 900px: Tablet portrait
@@ -218574,7 +218574,7 @@ a:focus {
218574
218574
  }
218575
218575
  .KCarousel-dots .KCarousel-dot.is-active {
218576
218576
  background-color: var(--stepper-button-completed);
218577
- }`,Fi=Hi,Oe=d(class extends l{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.DIRECTION={LEFT:Symbol("LEFT"),RIGHT:Symbol("RIGHT")},this.variant="arrows",this.showDots=!0,this.steps=1,this.transitionDuration=600,this.size="md",this.cardsToShow=null,this.childWidth=0,this.childrenLength=0,this.cardsToShowState=0,this.currentSlideIndex=0}changeSlide(n){console.log(),n===this.DIRECTION.RIGHT&&this.currentSlideIndex<this.childrenLength-1?this.currentSlideIndex++:n===this.DIRECTION.LEFT&&this.currentSlideIndex>0&&this.currentSlideIndex--,this.updateSlidePosition()}updateSlidePosition(){if(this.slidesContainer){const n=-(this.currentSlideIndex*this.childWidth);this.slidesContainer.style.transform=`translateX(${n}px)`}}showLeftArrow(){return this.currentSlideIndex>0}showRightArrow(){return this.currentSlideIndex<this.childrenLength-1}isHighlighted(n){return n===this.currentSlideIndex}componentDidLoad(){var n;const t=(n=this.el.shadowRoot)===null||n===void 0?void 0:n.querySelector("slot");t==null||t.addEventListener("slotchange",this.calculateChildWidth.bind(this)),this.calculateChildWidth(),this.updateChildrenLength()}calculateChildWidth(){const n=this.slidesContainer.querySelector(".KCarousel-slides > *");n&&(this.childWidth=n.clientWidth)}updateChildrenLength(){this.slidesContainer&&(this.childrenLength=this.slidesContainer.childElementCount)}render(){return console.log(this.childrenLength,"this.childrenLength"),console.log(this.currentSlideIndex,this.el.children.length,this.slidesContainer,"''''''''''''''''''''''''''''''"),e(D,{key:"4f0401c54da472b8fbe8579a30960cf75d30af41",class:`KCarousel KCarousel--${this.variant} KCarousel--${this.size}`},this.variant!=="dots-only"&&e("div",{key:"df54cf5409cb95b06340e6dbaf9e458a3be2d15a",class:"KCarousel-body"},this.variant==="arrows"&&e("a",{key:"a732337ca73743109db19f5baa3c0e0b91984fb8",class:`KCarousel-arrow ${this.showLeftArrow()?"KCarousel-arrow--active":""} left`,onClick:()=>this.changeSlide(this.DIRECTION.LEFT)},e("dga-icon",{key:"f1cf13e6a1b0319444ecfca4e0c07b2d84f442ff",icon:"arrow-left-01",variant:"stroke",type:"rounded",size:24})),e("div",{key:"b494af850e34fa6bf0a345dc936df7ce71698fbb",class:"KCarousel-container",style:{overflow:"hidden",maxWidth:`${this.childWidth}px`}},e("div",{key:"549937e445facdc25a1a6e64749f1b43d6f98ca8",style:{display:"flex",transition:`transform ${this.transitionDuration}ms ease-in-out`},class:"KCarousel-slides",ref:n=>this.slidesContainer=n},e("slot",{key:"84acde7f6fa2f914d66ca7db5635597ec5deb2e5"}))),this.variant==="arrows"&&e("a",{key:"76fbfcf492126211ddcb04d12e5b9e4310d5b1fa",class:`KCarousel-arrow ${this.showRightArrow()?"KCarousel-arrow--active":""} right`,onClick:()=>this.changeSlide(this.DIRECTION.RIGHT)},e("dga-icon",{key:"c174235eddfa44fba8c4c69a034b14811c3010c5",icon:"arrow-right-01",variant:"stroke",type:"rounded",size:24}))),["dots","dots-only"].includes(this.variant)&&e("div",{key:"9461bf53adfeba3e42b2f2f50abca8a9e5494325",class:"KCarousel-dots"},Array.from({length:this.childrenLength}).map((n,t)=>e("span",{class:{"KCarousel-dot":!0,"is-active":this.isHighlighted(t)},onClick:()=>{this.currentSlideIndex=t,this.updateSlidePosition()}}))))}get el(){return this}static get style(){return Fi}},[1,"dga-carousel-v2",{variant:[1],showDots:[4,"show-dots"],steps:[2],transitionDuration:[2,"transition-duration"],size:[1],cardsToShow:[2,"cards-to-show"],childWidth:[32],childrenLength:[32],cardsToShowState:[32],currentSlideIndex:[32]}]);function Re(){if(typeof customElements>"u")return;["dga-carousel-v2","dga-icon"].forEach(n=>{switch(n){case"dga-carousel-v2":customElements.get(n)||customElements.define(n,Oe);break;case"dga-icon":customElements.get(n)||w();break}})}const He=d(class extends l{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"2986a44268afa5c66d8447d9c5b251cc3a9de514"},e("h1",{key:"2fec3d4499afca17f05eb872c9c1b38a6775962b"},"Carousel Example"),e("div",{key:"d276ec2dfa637678cc367fb448e677dbde5139c0",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"26fe32381c4bc64bfae1d8ebf01a59355351aa69",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-carousel-v2",{key:"db59ef398676f2fd60f46e98ea15ac5bd830a655"},e("dga-carousel-v2-item",{key:"b6f36590f365c2b56ae5c3b130b36c79c4d4e817"},e("img",{key:"6dc6d8174bfd34ae87b0644435183d922a8f3e97",src:"https://cdn.pixabay.com/photo/2019/11/03/01/56/landscape-4597742_1280.jpg",style:{height:"300px",width:"450px"}})),e("dga-carousel-v2-item",{key:"95af5b4f0c48ec633eb84e4d031ee1c04636062a"},e("img",{key:"e685ddde28402e18b38417fcb4d4a11fb4054e31",src:"https://cdn.pixabay.com/photo/2020/07/09/10/31/sea-5386810_1280.jpg",style:{height:"300px",width:"450px",objectFit:"cover"}})),e("dga-carousel-v2-item",{key:"d24db572ea541edf41836841bf5a5b7eb8157eef"},e("img",{key:"de822757c7910fd67a241ebddff85262dd9720c5",src:"https://cdn.pixabay.com/photo/2019/11/03/01/56/landscape-4597742_1280.jpg",style:{height:"300px",width:"450px",objectFit:"cover"}})),e("dga-carousel-v2-item",{key:"f175ff25d601fdc83c9391faf592e5255765a98a"},e("img",{key:"06b1114daa4e24f6256a3233e62a3ad17a4d46e9",src:"https://cdn.pixabay.com/photo/2020/07/09/10/31/sea-5386810_1280.jpg",style:{height:"300px",width:"450px",objectFit:"cover"}})),e("dga-carousel-v2-item",{key:"e7a7f0c789e6d17f115f20a358ff342a0499ddf3"},e("img",{key:"bfeb44e2fe559d364364802f212015618328387b",src:"https://cdn.pixabay.com/photo/2020/07/09/10/31/sea-5386810_1280.jpg",style:{height:"300px",width:"450px",objectFit:"cover"}})),e("dga-carousel-v2-item",{key:"6b3e01f7b0e3e55b6ef1ca75a37cba72d0bb7bac"},e("img",{key:"49e714a2ee65ec80f881cff97df6442a7dbac498",src:"https://cdn.pixabay.com/photo/2020/07/09/10/31/sea-5386810_1280.jpg",style:{height:"300px",width:"450px",objectFit:"cover"}})),e("dga-carousel-v2-item",{key:"d996661dcc5a469168749c3b28f15e7d06d3ef59"},e("img",{key:"82b2e05758f13b612bd3b8688516c4559e2c2131",src:"https://cdn.pixabay.com/photo/2020/07/09/10/31/sea-5386810_1280.jpg",style:{height:"300px",width:"450px",objectFit:"cover"}})))),e("div",{key:"b33038c291e90994c50b0d80d470f799cbd7e978",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"dga-carousel-v2-usage",{variant:[32]}]);function Ui(){if(typeof customElements>"u")return;["dga-carousel-v2-usage","dga-carousel-v2","dga-icon"].forEach(n=>{switch(n){case"dga-carousel-v2-usage":customElements.get(n)||customElements.define(n,He);break;case"dga-carousel-v2":customElements.get(n)||Re();break;case"dga-icon":customElements.get(n)||w();break}})}const Wi=He,Vi=Ui,Ki=Oe,Yi=Re,Fe=d(class extends l{constructor(){super(),this.__registerHost(),this.type="realistic",this.trend="positive",this.size="lg",this.showMarker=!1,this.data=[],this.lineColor=this.trend==="positive"?"#067647":"#B42318",this.fillColor=this.trend==="positive"?"#079455":"#D92D20",this.width=this.size==="lg"?328:128,this.height=64}handleSizeChange(){this.width=this.size==="lg"?328:128}getLinePath(){const n=this.getPoints();switch(this.type){case"realistic":return this.getSmoothPath(n);case"wavy":return this.getWavyPath(n);case"straight":return this.getStraightPath(n);case"layers":return this.getSmoothPath(n);default:return""}}getPoints(){return this.data.map((n,t)=>({x:t/(this.data.length-1)*this.width,y:this.height-n/Math.max(...this.data)*this.height}))}getSmoothPath(n){return n.reduce((t,i,r,a)=>{if(r===0)return`M ${i.x},${i.y}`;const g=a[r-1],h=(g.x+i.x)/2;return`${t} C ${h},${g.y} ${h},${i.y} ${i.x},${i.y}`},"")}getWavyPath(n){return n.reduce((t,i,r)=>r===0?`M ${i.x},${i.y}`:`${t} Q ${i.x-10},${i.y+10} ${i.x},${i.y}`,"")}getStraightPath(n){return n.reduce((t,i,r)=>r===0?`M ${i.x},${i.y}`:`${t} L ${i.x},${i.y}`,"")}getAreaPath(){return`${this.getLinePath()} L ${this.width},${this.height} L 0,${this.height} Z`}render(){const n=this.getLinePath(),t=this.getAreaPath();return e("svg",{key:"26be09f1197bbf429ed77c80d945edb6683c4d67",width:this.width,height:this.height,viewBox:`0 0 ${this.width} ${this.height}`},e("defs",{key:"f079dff4148d2c79a2d599b93d79bf78e8e9976d"},e("linearGradient",{key:"0ce9a96b117526e1d0150ef1fa07c22017c3082f",id:"areaGradient",x1:"0",x2:"0",y1:"0",y2:"1"},e("stop",{key:"c453ad493455d933709e67be2bcfcadc563c808e",offset:"0%","stop-color":this.fillColor,"stop-opacity":"0.25"}),e("stop",{key:"76c8ad18eab4257db7775a18c7deff2b9d09cb0e",offset:"100%","stop-color":this.fillColor,"stop-opacity":"0"}))),e("path",{key:"d557491fe47ec0fef4cacbeb3e473ace0d2ce8f2",d:t,fill:"url(#areaGradient)"}),e("path",{key:"03e27645c0a228de17f0565bb8b07446e433ea71",d:n,fill:"none",stroke:this.lineColor,"stroke-width":"2"}),this.showMarker&&this.getPoints().map(i=>e("circle",{cx:i.x,cy:i.y,r:"4",fill:"white",stroke:this.lineColor,"stroke-width":"2"})))}static get watchers(){return{size:["handleSizeChange"]}}},[0,"dga-chart",{type:[1],trend:[1],size:[1],showMarker:[4,"show-marker"],data:[16],lineColor:[32],fillColor:[32],width:[32],height:[32]},void 0,{size:["handleSizeChange"]}]);function Ue(){if(typeof customElements>"u")return;["dga-chart"].forEach(n=>{switch(n){case"dga-chart":customElements.get(n)||customElements.define(n,Fe);break}})}const Gi=Fe,Ni=Ue,Xi=Pe,Zi=K,We=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0,this.variant="success",this.size="md",this.leadIcon=void 0,this.leadIconProps=void 0,this.trailIcon=void 0,this.trailIconProps=void 0,this.rounded=void 0,this.disabled=void 0,this.pressed=!1}renderIcon(n,t){return e("dga-icon",Object.assign({icon:n},t))}render(){return e("span",{key:"2572ca8b04a839df2fdb77952a816e6f7457d8cf",tabindex:"0",class:`chip chip--${this.variant} chip--${this.size} ${this.rounded?"chip--rounded":""} ${this.disabled?"disabled":""} ${this.pressed?"pressed":""}`,onMouseDown:()=>this.pressed=!0,onMouseUp:()=>this.pressed=!1,"aria-disabled":this.disabled},this.leadIcon?e("span",{class:"chip-icon"},this.renderIcon(this.leadIcon,this.leadIconProps)):"",this.label,this.trailIcon?e("span",{class:"chip-icon"},this.renderIcon(this.trailIcon,this.trailIconProps)):"",e("slot",{key:"0c557c4ec3c04b47a1ec36017bf85c89b57397d8"}))}},[4,"dga-chip",{label:[1],variant:[1],size:[1],leadIcon:[8,"lead-icon"],leadIconProps:[16],trailIcon:[8,"trail-icon"],trailIconProps:[16],rounded:[4],disabled:[4],pressed:[32]}]);function Ji(){if(typeof customElements>"u")return;["dga-chip","dga-icon"].forEach(n=>{switch(n){case"dga-chip":customElements.get(n)||customElements.define(n,We);break;case"dga-icon":customElements.get(n)||w();break}})}const Qi=We,nr=Ji,Ve=d(class extends l{constructor(){super(),this.__registerHost(),this.icons={success:"hgi-solid hgi-sharp hgi-checkmark-circle-02",info:"hgi-solid hgi-sharp hgi-information-circle",neutral:"hgi-solid hgi-sharp hgi-information-circle",warning:"hgi-solid hgi-alert-02",critical:"hgi-solid hgi-alert-circle"},this.sizes={"200px":200,"160px":160,"120px":120,"80px":80,"64px":64},this.size="200px",this.text=void 0,this.variant="primary",this.icon=void 0,this.percentage=0}render(){const n=this.sizes[this.size]/10,t=(this.sizes[this.size]-n)/2,i=2*Math.PI*t,r=i*(1-this.percentage/100);return e("div",{key:"d3375e96b1625bb7282b37322ee2235dfeb6b75a",class:"circular-progress-bar","aria-size":this.size},e("div",{key:"88e362f8dd59ad398100d6eacaca8090040fe63a",class:"circular-progress-bar__label"},this.variant==="success"&&this.icon&&e("i",{key:"2da5c2699f0f443e758886e2af4537a49fb318b9",class:`circular-progress-bar__label--icon ${this.icons[this.icon]}`}),this.variant!=="success"&&e("h4",{key:"754f19c31dbb46b672e51cd185585780771a8899",class:"circular-progress-bar__label--percentage"},this.percentage,"%"),this.text&&e("h5",{key:"c0eb8475bc5c4e1be18ad93aabda442730029e05",class:`circular-progress-bar__label--text ${this.variant}`},this.text)),e("svg",{key:"3c9c4c2eb383c64a77201e0cf5b793df86e6d82f",width:this.sizes[this.size],height:this.sizes[this.size],viewBox:`0 0 ${this.sizes[this.size]} ${this.sizes[this.size]}`},e("circle",{key:"9cef67a302daf063faf443e56b6855b4934d46ce",class:"track",fill:"none",stroke:"#e6e6e6",r:t,cx:this.sizes[this.size]/2,cy:this.sizes[this.size]/2,"stroke-width":n}),e("circle",{key:"0b26f3dc5479359e3c9873fe0c6b6644277d72d8",class:`tail tail--${this.variant}`,fill:"none",stroke:"currentColor",r:t,cx:this.sizes[this.size]/2,cy:this.sizes[this.size]/2,"stroke-width":n,"stroke-linecap":"round","stroke-dasharray":i,"stroke-dashoffset":r,transform:`rotate(-180 ${this.sizes[this.size]/2} ${this.sizes[this.size]/2})`,style:{transition:"stroke-dashoffset 0.5s ease"}})))}},[0,"dga-circular-progress-bar",{size:[1],text:[1],variant:[1],icon:[1],percentage:[2]}]);function er(){if(typeof customElements>"u")return;["dga-circular-progress-bar"].forEach(n=>{switch(n){case"dga-circular-progress-bar":customElements.get(n)||customElements.define(n,Ve);break}})}const or=Ve,tr=er,Ke=d(class extends l{constructor(){super(),this.__registerHost(),this.size="md",this.orientation="horizontal",this.external=!1,this.flush=!1,this.divider=!1,this.tabsList=[],this.extraClass=void 0,this.disabled=!1,this.activeTab=null}setActiveTab(n){this.activeTab=n}renderIcon(n,t){return e("dga-icon",Object.assign({icon:n},t))}render(){var n;return e("ul",{key:"cfe46351ef3963d00bf27a00ac9a4ce46b3a1fff",class:`tabs-list tabs-list--${this.orientation} ${this.divider?"tabs-list--divider":""} ${this.flush?"flush":""} ${this.extraClass}`},(n=this.tabsList)===null||n===void 0?void 0:n.map((t,i)=>e("li",{key:i},this.external?e("a",{href:t.link,class:`tabs-list__item tabs-list__item--${this.size} ${this.activeTab===i?"tabs-list__item--active":""} ${this.disabled?"disabled":""}`,onClick:r=>{r.preventDefault(),!this.disabled&&this.setActiveTab(i)}},(t==null?void 0:t.tabIcon)&&e("div",{class:"tabs-list__icon"},this.renderIcon(t==null?void 0:t.tabIcon,t==null?void 0:t.iconProps)),e("div",{class:"tabs-list__label"},t==null?void 0:t.label)):e("a",{href:"#",class:`tabs-list__item tabs-list__item--${this.size} ${this.activeTab===i?"tabs-list__item--active":""} ${this.disabled?"disabled":""}`,onClick:r=>{r.preventDefault(),!this.disabled&&this.setActiveTab(i),t!=null&&t.onClick&&(t==null||t.onClick(r))}},(t==null?void 0:t.tabIcon)&&e("div",{class:"tabs-list__icon"},this.renderIcon(t==null?void 0:t.tabIcon,t==null?void 0:t.iconProps)),e("div",{class:"tabs-list__label"},t==null?void 0:t.label)))),this.orientation==="horizontal"&&e("dga-button",{key:"601222e7273a1267419df4eefbda291ef0b96937",iconOnly:!0,iconProps:{size:17,variant:"solid"},iconType:"MoreHorizontalCircle01Icon",label:"Button",onClick:()=>{},size:"md",variant:"subtle",disabled:this.disabled}))}},[0,"dga-tabs",{size:[1],orientation:[1],external:[4],flush:[4],divider:[4],tabsList:[16],extraClass:[1,"extra-class"],disabled:[4],activeTab:[32]}]);function Ye(){if(typeof customElements>"u")return;["dga-tabs","dga-button","dga-icon"].forEach(n=>{switch(n){case"dga-tabs":customElements.get(n)||customElements.define(n,Ke);break;case"dga-button":customElements.get(n)||O();break;case"dga-icon":customElements.get(n)||w();break}})}const ir=`@charset "UTF-8";
218577
+ }`,Fi=Hi,Le=d(class extends l{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.DIRECTION={LEFT:Symbol("LEFT"),RIGHT:Symbol("RIGHT")},this.variant="arrows",this.showDots=!0,this.steps=1,this.transitionDuration=600,this.size="md",this.cardsToShow=null,this.childWidth=0,this.childrenLength=0,this.cardsToShowState=0,this.currentSlideIndex=0}changeSlide(n){console.log(),n===this.DIRECTION.RIGHT&&this.currentSlideIndex<this.childrenLength-1?this.currentSlideIndex++:n===this.DIRECTION.LEFT&&this.currentSlideIndex>0&&this.currentSlideIndex--,this.updateSlidePosition()}updateSlidePosition(){if(this.slidesContainer){const n=-(this.currentSlideIndex*this.childWidth);this.slidesContainer.style.transform=`translateX(${n}px)`}}showLeftArrow(){return this.currentSlideIndex>0}showRightArrow(){return this.currentSlideIndex<this.childrenLength-1}isHighlighted(n){return n===this.currentSlideIndex}componentDidLoad(){var n;const t=(n=this.el.shadowRoot)===null||n===void 0?void 0:n.querySelector("slot");t==null||t.addEventListener("slotchange",this.calculateChildWidth.bind(this)),this.calculateChildWidth(),this.updateChildrenLength()}calculateChildWidth(){const n=this.slidesContainer.querySelector(".KCarousel-slides > *");n&&(this.childWidth=n.clientWidth)}updateChildrenLength(){this.slidesContainer&&(this.childrenLength=this.slidesContainer.childElementCount)}render(){return console.log(this.childrenLength,"this.childrenLength"),console.log(this.currentSlideIndex,this.el.children.length,this.slidesContainer,"''''''''''''''''''''''''''''''"),e(D,{key:"451dc902573cac768709f0e74e42e26417235502",class:`KCarousel KCarousel--${this.variant} KCarousel--${this.size}`},this.variant!=="dots-only"&&e("div",{key:"a8f0d45efd9a55190d3f0122d19e827d220c9a00",class:"KCarousel-body"},this.variant==="arrows"&&e("a",{key:"4b24760c50e32e4578005a4a3a26337c93645a40",class:`KCarousel-arrow ${this.showLeftArrow()?"KCarousel-arrow--active":""} left`,onClick:()=>this.changeSlide(this.DIRECTION.LEFT)},e("dga-icon",{key:"888cf4928a87094b31ced2d5b56620aea5d07188",icon:"arrow-left-01",variant:"stroke",type:"rounded",size:24})),e("div",{key:"f4d831ac03909e2cc3af92ea93d923617fa30e28",class:"KCarousel-container",style:{overflow:"hidden",maxWidth:`${this.childWidth}px`}},e("div",{key:"3f96a1f269529e6a36f6269caf18d08622254a16",style:{display:"flex",transition:`transform ${this.transitionDuration}ms ease-in-out`},class:"KCarousel-slides",ref:n=>this.slidesContainer=n},e("slot",{key:"8675af6a0631f14f3443d9a6dff8807b09c282e5"}))),this.variant==="arrows"&&e("a",{key:"19699fde7c5b145b5dab06ac275038901e5d42f2",class:`KCarousel-arrow ${this.showRightArrow()?"KCarousel-arrow--active":""} right`,onClick:()=>this.changeSlide(this.DIRECTION.RIGHT)},e("dga-icon",{key:"6b4fc2f5cf8d0b47cdc809163152f56b1c0ad169",icon:"arrow-right-01",variant:"stroke",type:"rounded",size:24}))),["dots","dots-only"].includes(this.variant)&&e("div",{key:"518eb0d01439b2e844d5e51d577a8e48d8a6b843",class:"KCarousel-dots"},Array.from({length:this.childrenLength}).map((n,t)=>e("span",{class:{"KCarousel-dot":!0,"is-active":this.isHighlighted(t)},onClick:()=>{this.currentSlideIndex=t,this.updateSlidePosition()}}))))}get el(){return this}static get style(){return Fi}},[1,"dga-carousel-v2",{variant:[1],showDots:[4,"show-dots"],steps:[2],transitionDuration:[2,"transition-duration"],size:[1],cardsToShow:[2,"cards-to-show"],childWidth:[32],childrenLength:[32],cardsToShowState:[32],currentSlideIndex:[32]}]);function Re(){if(typeof customElements>"u")return;["dga-carousel-v2","dga-icon"].forEach(n=>{switch(n){case"dga-carousel-v2":customElements.get(n)||customElements.define(n,Le);break;case"dga-icon":customElements.get(n)||w();break}})}const Oe=d(class extends l{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"280a8d9861480d415aafea438cbe4ca975c0c27d"},e("h1",{key:"cab4b1735afdf59a76ef5450c2d8c1894c958b67"},"Carousel Example"),e("div",{key:"7aa9ae547544ea84114ef6f0851efa339b43a58f",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"3b99504de6891d3cd70afbe1d9d226047f799945",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-carousel-v2",{key:"24e4b41792b69a9b5e564e3ab286b44904993c20"},e("dga-carousel-v2-item",{key:"a549566b4017075a4cde96d1abd38533deb21c17"},e("img",{key:"8bd1ea36a5fcb5955a5e52af3e9a390a448b6251",src:"https://cdn.pixabay.com/photo/2019/11/03/01/56/landscape-4597742_1280.jpg",style:{height:"300px",width:"450px"}})),e("dga-carousel-v2-item",{key:"278c9e9f02bafefbec328f23f164873b5236d162"},e("img",{key:"f5183f85b1da913de966b6d05e2b5fe75bfff4b2",src:"https://cdn.pixabay.com/photo/2020/07/09/10/31/sea-5386810_1280.jpg",style:{height:"300px",width:"450px",objectFit:"cover"}})),e("dga-carousel-v2-item",{key:"a9ecb8ee21dc24ebf5c23154ea292d1174fd2478"},e("img",{key:"771c4cbda917de9c4907f4c948f4d7e64ac49f45",src:"https://cdn.pixabay.com/photo/2019/11/03/01/56/landscape-4597742_1280.jpg",style:{height:"300px",width:"450px",objectFit:"cover"}})),e("dga-carousel-v2-item",{key:"3bdf94403659be09b4feb28ed473115567d21249"},e("img",{key:"389cb2326fbd3630fdc9011faaa1393e0000655f",src:"https://cdn.pixabay.com/photo/2020/07/09/10/31/sea-5386810_1280.jpg",style:{height:"300px",width:"450px",objectFit:"cover"}})),e("dga-carousel-v2-item",{key:"41035907642e636872f39a96c63899e729bfa6b5"},e("img",{key:"092989fbd6e11b13c378efd56508495bd9837e31",src:"https://cdn.pixabay.com/photo/2020/07/09/10/31/sea-5386810_1280.jpg",style:{height:"300px",width:"450px",objectFit:"cover"}})),e("dga-carousel-v2-item",{key:"ab341a083897d2a2f3462dd978e38182b470ce21"},e("img",{key:"3bc38096c6b20243fa3e224a911c796b6addc3e7",src:"https://cdn.pixabay.com/photo/2020/07/09/10/31/sea-5386810_1280.jpg",style:{height:"300px",width:"450px",objectFit:"cover"}})),e("dga-carousel-v2-item",{key:"800717776ba4285ad3aafe511f7aaf455f2d71e8"},e("img",{key:"36c4b91b96e951c91085e6fb31d7ff258448dfff",src:"https://cdn.pixabay.com/photo/2020/07/09/10/31/sea-5386810_1280.jpg",style:{height:"300px",width:"450px",objectFit:"cover"}})))),e("div",{key:"8f1c1311bac855854fbb989006f1807e62360030",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"dga-carousel-v2-usage",{variant:[32]}]);function Ui(){if(typeof customElements>"u")return;["dga-carousel-v2-usage","dga-carousel-v2","dga-icon"].forEach(n=>{switch(n){case"dga-carousel-v2-usage":customElements.get(n)||customElements.define(n,Oe);break;case"dga-carousel-v2":customElements.get(n)||Re();break;case"dga-icon":customElements.get(n)||w();break}})}const Wi=Oe,Vi=Ui,Ki=Le,Yi=Re,He=d(class extends l{constructor(){super(),this.__registerHost(),this.type="realistic",this.trend="positive",this.size="lg",this.showMarker=!1,this.data=[],this.lineColor=this.trend==="positive"?"#067647":"#B42318",this.fillColor=this.trend==="positive"?"#079455":"#D92D20",this.width=this.size==="lg"?328:128,this.height=64}handleSizeChange(){this.width=this.size==="lg"?328:128}getLinePath(){const n=this.getPoints();switch(this.type){case"realistic":return this.getSmoothPath(n);case"wavy":return this.getWavyPath(n);case"straight":return this.getStraightPath(n);case"layers":return this.getSmoothPath(n);default:return""}}getPoints(){return this.data.map((n,t)=>({x:t/(this.data.length-1)*this.width,y:this.height-n/Math.max(...this.data)*this.height}))}getSmoothPath(n){return n.reduce((t,i,r,a)=>{if(r===0)return`M ${i.x},${i.y}`;const g=a[r-1],h=(g.x+i.x)/2;return`${t} C ${h},${g.y} ${h},${i.y} ${i.x},${i.y}`},"")}getWavyPath(n){return n.reduce((t,i,r)=>r===0?`M ${i.x},${i.y}`:`${t} Q ${i.x-10},${i.y+10} ${i.x},${i.y}`,"")}getStraightPath(n){return n.reduce((t,i,r)=>r===0?`M ${i.x},${i.y}`:`${t} L ${i.x},${i.y}`,"")}getAreaPath(){return`${this.getLinePath()} L ${this.width},${this.height} L 0,${this.height} Z`}render(){const n=this.getLinePath(),t=this.getAreaPath();return e("svg",{key:"26be09f1197bbf429ed77c80d945edb6683c4d67",width:this.width,height:this.height,viewBox:`0 0 ${this.width} ${this.height}`},e("defs",{key:"f079dff4148d2c79a2d599b93d79bf78e8e9976d"},e("linearGradient",{key:"0ce9a96b117526e1d0150ef1fa07c22017c3082f",id:"areaGradient",x1:"0",x2:"0",y1:"0",y2:"1"},e("stop",{key:"c453ad493455d933709e67be2bcfcadc563c808e",offset:"0%","stop-color":this.fillColor,"stop-opacity":"0.25"}),e("stop",{key:"76c8ad18eab4257db7775a18c7deff2b9d09cb0e",offset:"100%","stop-color":this.fillColor,"stop-opacity":"0"}))),e("path",{key:"d557491fe47ec0fef4cacbeb3e473ace0d2ce8f2",d:t,fill:"url(#areaGradient)"}),e("path",{key:"03e27645c0a228de17f0565bb8b07446e433ea71",d:n,fill:"none",stroke:this.lineColor,"stroke-width":"2"}),this.showMarker&&this.getPoints().map(i=>e("circle",{cx:i.x,cy:i.y,r:"4",fill:"white",stroke:this.lineColor,"stroke-width":"2"})))}static get watchers(){return{size:["handleSizeChange"]}}},[0,"dga-chart",{type:[1],trend:[1],size:[1],showMarker:[4,"show-marker"],data:[16],lineColor:[32],fillColor:[32],width:[32],height:[32]},void 0,{size:["handleSizeChange"]}]);function Fe(){if(typeof customElements>"u")return;["dga-chart"].forEach(n=>{switch(n){case"dga-chart":customElements.get(n)||customElements.define(n,He);break}})}const Gi=He,Ni=Fe,Xi=Be,Zi=K,Ue=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0,this.variant="success",this.size="md",this.leadIcon=void 0,this.leadIconProps=void 0,this.trailIcon=void 0,this.trailIconProps=void 0,this.rounded=void 0,this.disabled=void 0,this.pressed=!1}renderIcon(n,t){return e("dga-icon",Object.assign({icon:n},t))}render(){return e("span",{key:"f93a0e4a4ca40062e5e362f338898322e9626ecf",tabindex:"0",class:`chip chip--${this.variant} chip--${this.size} ${this.rounded?"chip--rounded":""} ${this.disabled?"disabled":""} ${this.pressed?"pressed":""}`,onMouseDown:()=>this.pressed=!0,onMouseUp:()=>this.pressed=!1,"aria-disabled":this.disabled},this.leadIcon?e("span",{class:"chip-icon"},this.renderIcon(this.leadIcon,this.leadIconProps)):"",this.label,this.trailIcon?e("span",{class:"chip-icon"},this.renderIcon(this.trailIcon,this.trailIconProps)):"",e("slot",{key:"8dd87d3537675fbec803d6898ac53e3b1afd2c1a"}))}},[4,"dga-chip",{label:[1],variant:[1],size:[1],leadIcon:[8,"lead-icon"],leadIconProps:[16],trailIcon:[8,"trail-icon"],trailIconProps:[16],rounded:[4],disabled:[4],pressed:[32]}]);function Ji(){if(typeof customElements>"u")return;["dga-chip","dga-icon"].forEach(n=>{switch(n){case"dga-chip":customElements.get(n)||customElements.define(n,Ue);break;case"dga-icon":customElements.get(n)||w();break}})}const Qi=Ue,nr=Ji,We=d(class extends l{constructor(){super(),this.__registerHost(),this.icons={success:"hgi-solid hgi-sharp hgi-checkmark-circle-02",info:"hgi-solid hgi-sharp hgi-information-circle",neutral:"hgi-solid hgi-sharp hgi-information-circle",warning:"hgi-solid hgi-alert-02",critical:"hgi-solid hgi-alert-circle"},this.sizes={"200px":200,"160px":160,"120px":120,"80px":80,"64px":64},this.size="200px",this.text=void 0,this.variant="primary",this.icon=void 0,this.percentage=0}render(){const n=this.sizes[this.size]/10,t=(this.sizes[this.size]-n)/2,i=2*Math.PI*t,r=i*(1-this.percentage/100);return e("div",{key:"d3375e96b1625bb7282b37322ee2235dfeb6b75a",class:"circular-progress-bar","aria-size":this.size},e("div",{key:"88e362f8dd59ad398100d6eacaca8090040fe63a",class:"circular-progress-bar__label"},this.variant==="success"&&this.icon&&e("i",{key:"2da5c2699f0f443e758886e2af4537a49fb318b9",class:`circular-progress-bar__label--icon ${this.icons[this.icon]}`}),this.variant!=="success"&&e("h4",{key:"754f19c31dbb46b672e51cd185585780771a8899",class:"circular-progress-bar__label--percentage"},this.percentage,"%"),this.text&&e("h5",{key:"c0eb8475bc5c4e1be18ad93aabda442730029e05",class:`circular-progress-bar__label--text ${this.variant}`},this.text)),e("svg",{key:"3c9c4c2eb383c64a77201e0cf5b793df86e6d82f",width:this.sizes[this.size],height:this.sizes[this.size],viewBox:`0 0 ${this.sizes[this.size]} ${this.sizes[this.size]}`},e("circle",{key:"9cef67a302daf063faf443e56b6855b4934d46ce",class:"track",fill:"none",stroke:"#e6e6e6",r:t,cx:this.sizes[this.size]/2,cy:this.sizes[this.size]/2,"stroke-width":n}),e("circle",{key:"0b26f3dc5479359e3c9873fe0c6b6644277d72d8",class:`tail tail--${this.variant}`,fill:"none",stroke:"currentColor",r:t,cx:this.sizes[this.size]/2,cy:this.sizes[this.size]/2,"stroke-width":n,"stroke-linecap":"round","stroke-dasharray":i,"stroke-dashoffset":r,transform:`rotate(-180 ${this.sizes[this.size]/2} ${this.sizes[this.size]/2})`,style:{transition:"stroke-dashoffset 0.5s ease"}})))}},[0,"dga-circular-progress-bar",{size:[1],text:[1],variant:[1],icon:[1],percentage:[2]}]);function er(){if(typeof customElements>"u")return;["dga-circular-progress-bar"].forEach(n=>{switch(n){case"dga-circular-progress-bar":customElements.get(n)||customElements.define(n,We);break}})}const or=We,tr=er,Ve=d(class extends l{constructor(){super(),this.__registerHost(),this.size="md",this.orientation="horizontal",this.external=!1,this.flush=!1,this.divider=!1,this.tabsList=[],this.extraClass=void 0,this.disabled=!1,this.activeTab=null}setActiveTab(n){this.activeTab=n}renderIcon(n,t){return e("dga-icon",Object.assign({icon:n},t))}render(){var n;return e("ul",{key:"5001e615bbc907d80f1763159f99337ba6c27808",class:`tabs-list tabs-list--${this.orientation} ${this.divider?"tabs-list--divider":""} ${this.flush?"flush":""} ${this.extraClass}`},(n=this.tabsList)===null||n===void 0?void 0:n.map((t,i)=>e("li",{key:i},this.external?e("a",{href:t.link,class:`tabs-list__item tabs-list__item--${this.size} ${this.activeTab===i?"tabs-list__item--active":""} ${this.disabled?"disabled":""}`,onClick:r=>{r.preventDefault(),!this.disabled&&this.setActiveTab(i)}},(t==null?void 0:t.tabIcon)&&e("div",{class:"tabs-list__icon"},this.renderIcon(t==null?void 0:t.tabIcon,t==null?void 0:t.iconProps)),e("div",{class:"tabs-list__label"},t==null?void 0:t.label)):e("a",{href:"#",class:`tabs-list__item tabs-list__item--${this.size} ${this.activeTab===i?"tabs-list__item--active":""} ${this.disabled?"disabled":""}`,onClick:r=>{r.preventDefault(),!this.disabled&&this.setActiveTab(i),t!=null&&t.onClick&&(t==null||t.onClick(r))}},(t==null?void 0:t.tabIcon)&&e("div",{class:"tabs-list__icon"},this.renderIcon(t==null?void 0:t.tabIcon,t==null?void 0:t.iconProps)),e("div",{class:"tabs-list__label"},t==null?void 0:t.label)))),this.orientation==="horizontal"&&e("dga-button",{key:"399e5fe617df8cd0baba91888602f75bde32e386",iconOnly:!0,iconProps:{size:17,variant:"solid"},iconType:"MoreHorizontalCircle01Icon",label:"Button",onClick:()=>{},size:"md",variant:"subtle",disabled:this.disabled}))}},[0,"dga-tabs",{size:[1],orientation:[1],external:[4],flush:[4],divider:[4],tabsList:[16],extraClass:[1,"extra-class"],disabled:[4],activeTab:[32]}]);function Ke(){if(typeof customElements>"u")return;["dga-tabs","dga-button","dga-icon"].forEach(n=>{switch(n){case"dga-tabs":customElements.get(n)||customElements.define(n,Ve);break;case"dga-button":customElements.get(n)||R();break;case"dga-icon":customElements.get(n)||w();break}})}const ir=`@charset "UTF-8";
218578
218578
  /*
218579
218579
  0 - 600px: Phone
218580
218580
  600 - 900px: Tablet portrait
@@ -222244,9 +222244,9 @@ a:focus {
222244
222244
  }
222245
222245
  .code-snippet-line-content.green {
222246
222246
  color: var(--text-primary, #1B8354);
222247
- }`,rr=ir,Ge=d(class extends l{constructor(){super(),this.__registerHost();var n;this.snippets={},this.showButton=!1,this.type="multi-line",this.showSidebar=!1,this.showTabList=!1,this.showMore=!1,this.activeTab=((n=Object.keys(this.snippets||{}))===null||n===void 0?void 0:n[0])||""}componentDidLoad(){var n;this.activeTab=((n=Object.keys(this.snippets||{}))===null||n===void 0?void 0:n[0])||""}handleTabClick(n){this.activeTab=n,this.showMore=!1}handleCopy(){navigator.clipboard.writeText(this.snippets[this.activeTab])}renderWithLineNumbers(n){var t;return this.type==="multi-line"?(t=n==null?void 0:n.split(`
222247
+ }`,rr=ir,Ye=d(class extends l{constructor(){super(),this.__registerHost();var n;this.snippets={},this.showButton=!1,this.type="multi-line",this.showSidebar=!1,this.showTabList=!1,this.showMore=!1,this.activeTab=((n=Object.keys(this.snippets||{}))===null||n===void 0?void 0:n[0])||""}componentDidLoad(){var n;this.activeTab=((n=Object.keys(this.snippets||{}))===null||n===void 0?void 0:n[0])||""}handleTabClick(n){this.activeTab=n,this.showMore=!1}handleCopy(){navigator.clipboard.writeText(this.snippets[this.activeTab])}renderWithLineNumbers(n){var t;return this.type==="multi-line"?(t=n==null?void 0:n.split(`
222248
222248
  `))===null||t===void 0?void 0:t.map((r,a)=>e("div",{key:a,class:"code-snippet-code-line"},this.showSidebar&&e("div",{class:"code-snippet-number_container"},e("span",{class:"code-snippet-line-number"},a+1)),e("span",{class:"code-snippet-line-content"},r))):n.split(`
222249
- `).slice(0,1).map((r,a)=>e("div",{key:a,class:"code-snippet-code-line"},e("span",{class:"code-snippet-line-content green"},r)))}render(){return e("div",{key:"b1baa1cb7ac9851871c92af3280354e49a788ceb",class:"code-snippet-container"},this.showTabList&&e("div",{key:"bb052ca9b9c6a7e3ef4974c64bdc8ccb28f247e2",class:"code-snippet-tabs"},e("dga-tabs",{key:"f344ff76e4448bda7088ca6c8d2aa03bbecd709b",divider:!0,orientation:"horizontal",size:"lg",tabsList:Object.keys(this.snippets).map(n=>({label:n,onClick:()=>this.handleTabClick(n)}))})),e("pre",{key:"741d5a76bf9b5b027ea2464f0fccf905592d3d6e",class:"code-snippet-code-display"},e("dga-button",{key:"f0989d9f9d703cf9860a3b44ad4434cd11f3338f",size:"lg",iconOnly:!0,iconType:"copy-01",variant:"subtle",iconProps:{size:24,color:"#161616",variant:"stroke"},class:`code-snippet-icon ${this.type}`,onClick:()=>this.handleCopy(),onColor:!1}),e("code",{key:"d35172d1eaa5f14639678e9cbf46a0feb03d55c4",style:{height:this.showButton&&this.type==="multi-line"&&!this.showMore?"150px":"auto"}},this.renderWithLineNumbers(this.snippets[this.activeTab])),this.showButton&&this.type==="multi-line"&&e("div",{key:"eca7c4e36c7aad9011ec0621ac08f6cf41d06d2a",class:"code-snippet-wrapper"},e("dga-button",{key:"8ac46b95d1b108d171cb32b74f2d4b699a8c4d7e",label:this.showMore?"Show Less":"Show More",size:"md",trailIcon:!0,trailIconType:this.showMore?"arrow-up-01":"arrow-down-01",variant:"subtle",trailIconProps:{size:20,color:"#161616",variant:"stroke"},onClick:()=>this.showMore=!this.showMore,onColor:!1}))))}static get style(){return rr}},[0,"dga-codesnippet",{snippets:[16],showButton:[4,"show-button"],type:[1],showSidebar:[4,"show-sidebar"],showTabList:[4,"show-tab-list"],showMore:[32],activeTab:[32]}]);function ar(){if(typeof customElements>"u")return;["dga-codesnippet","dga-button","dga-icon","dga-tabs"].forEach(n=>{switch(n){case"dga-codesnippet":customElements.get(n)||customElements.define(n,Ge);break;case"dga-button":customElements.get(n)||O();break;case"dga-icon":customElements.get(n)||w();break;case"dga-tabs":customElements.get(n)||Ye();break}})}const gr=Ge,hr=ar,Ne=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0,this.content=void 0}render(){return e("slot",{key:"597588cbb9f2fdcea883551329bcee275f00b32d"})}},[4,"dga-content-switcher-item",{label:[8],content:[8]}]);function cr(){if(typeof customElements>"u")return;["dga-content-switcher-item"].forEach(n=>{switch(n){case"dga-content-switcher-item":customElements.get(n)||customElements.define(n,Ne);break}})}const sr=Ne,lr=cr,Xe=d(class extends l{constructor(){super(),this.__registerHost(),this.handleSelect=n=>{this.selected=n},this.onColor=!1,this.size="md",this.items=[{label:"Item 1",content:"Content 1"},{label:"Item 2",content:"Content 2"},{label:"Item 3",content:"Content 3"}],this.selected=0}render(){return e("div",{key:"4e29519d67ae2a88e7fdeb457abb88126b5dbcf8",class:"content-switcher"},e("div",{key:"8c7c6704575e6ac5795c1ce657f94906861928cc",class:"content-switcher__items"},this.items.map((n,t)=>{const i=t===this.selected,a=`content-switcher__item content-switcher__item--${t===0?"first":t===this.items.length-1?"last":"mid"} ${this.onColor?"content-switcher__item--on-color":""} content-switcher__item--${this.size} ${i?"content-switcher__item--selected":""}`;return e("button",{key:t,type:"button",class:a,onClick:()=>this.handleSelect(t)},n.label)})),e("div",{key:"a3dcc00ce0d635e015f167ed0e1cf3a53e99475a",class:`content-switcher__content ${this.onColor?"content-switcher__content--on-color":""}`},this.items[this.selected].content))}},[0,"dga-content-switcher",{onColor:[4,"on-color"],size:[1],items:[16],selected:[32]}]);function dr(){if(typeof customElements>"u")return;["dga-content-switcher"].forEach(n=>{switch(n){case"dga-content-switcher":customElements.get(n)||customElements.define(n,Xe);break}})}const fr=Xe,br=dr;var Qn=function(o,n){var t={};for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&n.indexOf(i)<0&&(t[i]=o[i]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(o);r<i.length;r++)n.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(o,i[r])&&(t[i[r]]=o[i[r]]);return t};const Ze=d(class extends l{constructor(){super(),this.__registerHost(),this.sortData=(n="up",t,i)=>{if(n==="up"){const r=[...this.data.sort((a,g)=>g[t]>a[t]?1:a[t]>g[t]?-1:0)];this.sortedData=r}else if(n==="down"){const r=[...this.data.sort((a,g)=>a[t]>g[t]?1:g[t]>a[t]?-1:0)];this.sortedData=r}this.cells[i].sort=n=="down"?"up":"down"},this.handleSelectedRowChanges=(n,t)=>{const i=[...this.data];i[t].selected=n,this.sortedData=i,this.getSelectedRows&&this.getSelectedRows({selectedRows:i.filter(r=>r.selected),currentSelectedRow:i[t],currentSelectedRowIndex:t})},this.selectAll=n=>{const t=[...this.data];t.forEach(i=>i.selected=n),this.sortedData=t,this.getSelectedRows&&this.getSelectedRows({selectedRows:t})},this.columns=void 0,this.data=[{selected:!0},{selected:!0}],this.rowDivider=!0,this.showSelectCheckBox=!0,this.alternate=!0,this.cells=[{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1},{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1}],this.contained=!0,this.getSelectedRows=void 0,this.pressOnFilter=void 0,this.sortedData=[],this.direction=!1}componentDidLoad(){document.dir?document.dir==="rtl"?this.direction=!0:this.direction=!1:document.documentElement.lang?document.documentElement.lang==="ar"?this.direction=!0:this.direction=!1:this.direction=!1}componentDidUpdate(){const n=[...this.data.map(t=>(t.selected=!1,t))];this.sortedData=n}render(){return e("div",{key:"0c518d9631c399a638678430917bf0294c9426c8",class:`table-wrapper ${this.contained?"table-contained":""}`},e("table",{key:"6c00e34ddf7a1e1c763c29c1fe03c9aa1cc2ceeb",class:` azm-table ${this.contained?"table-contained":""}`,style:{direction:this.direction?"rtl":"ltr"}},e("thead",{key:"dc4518f61a981ec58fb4ddc6e641f046958fdd6f"},e("tr",{key:"819857e460bf979cb1bb928d6686d9670f3f6bf6",class:`${this.rowDivider?"row-divider":""}`},this.showSelectCheckBox&&e("th",{key:"bd534a68bba8ebc038ca2535824f40d1344ffe28",style:{width:"20px"}},e("dga-checkbox",{key:"0985e6b8b5afbc9c2b59cd542473c39d174bf33b",showBorderOnFocusAndFocusOute:!1,value:"true",onChange:n=>this.selectAll(n.target.checked)})),this.cells.map((n,t)=>{var{sort:i,isSort:r,propertyName:a,type:g}=n,h=Qn(n,["sort","isSort","propertyName","type"]);return e("th",{key:t},e("span",null,e("span",{class:"text"},h.title),e("span",{class:"icon-wrapper"},r&&i=="up"&&g=="propertyName"&&e("button",{class:"btn btn--sort btn--icon btn--md",onClick:()=>this.sortData("up",a,t)},e("dga-icon",{icon:"SortByUp02Icon"})),r&&(!i||i=="down")&&g=="propertyName"&&e("button",{class:"btn btn--sort btn--icon btn--md",onClick:()=>this.sortData("down",a,t)},e("dga-icon",{icon:"SortByDown02Icon"})),h.isFilter&&e("button",{class:"btn btn--sort btn--icon btn--md ",onClick:()=>this.pressOnFilter&&this.pressOnFilter(a)},e("dga-icon",{icon:"FilterIcon"})))))}))),e("tbody",{key:"9e173ddba02f395c68fe0e02be60001ec8b87fa5"},this.sortedData.map((n,t)=>e("tr",{class:`${this.rowDivider?"row-divider":""} ${this.alternate?"alternate":""} ${n.selected?"row-selected":""} `,key:t},this.showSelectCheckBox&&e("td",null,e("dga-checkbox",{name:t+"checkboxSelection",value:n.selected,id:t+"checkboxSelection",showBorderOnFocusAndFocusOute:!1,onChange:i=>this.handleSelectedRowChanges(i.target.checked,t),checked:n.selected})),this.cells.map((i,r)=>{var{El:a}=i,g=Qn(i,["El"]);return e("td",{key:r,colSpan:g.colSpan?g.colSpan:1},g.type==="element"&&a?e(a,Object.assign({},n)):n[g.propertyName])}))))))}},[0,"dga-data-table-updated",{columns:[16],data:[8],rowDivider:[4,"row-divider"],showSelectCheckBox:[4,"show-select-check-box"],alternate:[4],cells:[16],contained:[4],getSelectedRows:[8,"get-selected-rows"],pressOnFilter:[8,"press-on-filter"],sortedData:[32],direction:[32]}]);function pr(){if(typeof customElements>"u")return;["dga-data-table-updated","dga-checkbox","dga-icon"].forEach(n=>{switch(n){case"dga-data-table-updated":customElements.get(n)||customElements.define(n,Ze);break;case"dga-checkbox":customElements.get(n)||K();break;case"dga-icon":customElements.get(n)||w();break}})}const ur=Ze,kr=pr;var mr=function(o,n){var t={};for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&n.indexOf(i)<0&&(t[i]=o[i]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(o);r<i.length;r++)n.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(o,i[r])&&(t[i[r]]=o[i[r]]);return t};const Je=d(class extends l{constructor(){super(),this.__registerHost(),this.sortData=(n="up",t,i)=>{if(n==="up"){const r=[...this.data.sort((a,g)=>g[t]>a[t]?1:a[t]>g[t]?-1:0)];this.sortedData=r}else if(n==="down"){const r=[...this.data.sort((a,g)=>a[t]>g[t]?1:g[t]>a[t]?-1:0)];this.sortedData=r}this.cells[i].sort=n=="down"?"up":"down"},this.handleSelectedRowChanges=(n,t)=>{const i=[...this.data];i[t].selected=n,this.sortedData=i,this.getSelectedRows&&this.getSelectedRows({selectedRows:i.filter(r=>r.selected),currentSelectedRow:i[t],currentSelectedRowIndex:t})},this.selectAll=n=>{const t=[...this.data];t.forEach(i=>i.selected=n),this.sortedData=t,this.getSelectedRows&&this.getSelectedRows({selectedRows:t})},this.data=[{selected:!0},{selected:!0}],this.rowDivider=!0,this.showSelectCheckBox=!0,this.alternate=!0,this.cells=[{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1},{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1}],this.contained=!0,this.getSelectedRows=void 0,this.pressOnFilter=void 0,this.sortedData=[],this.direction=!1}componentDidLoad(){document.dir?document.dir==="rtl"?this.direction=!0:this.direction=!1:document.documentElement.lang?document.documentElement.lang==="ar"?this.direction=!0:this.direction=!1:this.direction=!1}componentDidUpdate(){const n=[...this.data.map(t=>(t.selected=!1,t))];this.sortedData=n}render(){return e("div",{key:"7d97bf5a6c7a03dc6d978acab62ada67738e99a6",class:`table-wrapper ${this.contained?"table-contained":""}`},e("table",{key:"fda344e0dc0200f540630e61a2f0a6dfb893017e",class:` azm-table ${this.contained?"table-contained":""}`,style:{direction:this.direction?"rtl":"ltr"}},e("thead",{key:"04599185e2b340d0ab01701759093c93e34744ee"},e("tr",{key:"ccd4730da6a0f8f106c03b06a00b2924a53b8e6f",class:`${this.rowDivider?"row-divider":""}`},this.showSelectCheckBox&&e("th",{key:"fcb38f1c64350736f45b91b83ea791ba140d2e4b",style:{width:"20px"}},e("dga-checkbox",{key:"574475cc0886dd83e569af125918798843a9f625",showBorderOnFocusAndFocusOute:!1,value:"true",onChange:n=>this.selectAll(n.target.checked)})),this.cells.map((n,t)=>{var{sort:i,isSort:r,propertyName:a,type:g}=n,h=mr(n,["sort","isSort","propertyName","type"]);return e("th",{key:t},e("span",null,e("span",{class:"text"},h.title),e("span",{class:"icon-wrapper"},r&&i=="up"&&g=="propertyName"&&e("button",{class:"btn btn--sort btn--icon btn--md",onClick:()=>this.sortData("up",a,t)},e("dga-icon",{icon:"SortByUp02Icon"})),r&&(!i||i=="down")&&g=="propertyName"&&e("button",{class:"btn btn--sort btn--icon btn--md",onClick:()=>this.sortData("down",a,t)},e("dga-icon",{icon:"SortByDown02Icon"})),h.isFilter&&e("button",{class:"btn btn--sort btn--icon btn--md ",onClick:()=>this.pressOnFilter&&this.pressOnFilter(a)},e("dga-icon",{icon:"FilterIcon"})))))}))),e("tbody",{key:"09b71a2cf0ae61537e85ee636f87b55df341433e"},this.sortedData.map((n,t)=>e("tr",{class:`${this.rowDivider?"row-divider":""} ${this.alternate?"alternate":""} ${n.selected?"row-selected":""} `,key:t},this.showSelectCheckBox&&e("td",null,e("dga-checkbox",{name:t+"checkboxSelection",value:n.selected,id:t+"checkboxSelection",showBorderOnFocusAndFocusOute:!1,onChange:i=>this.handleSelectedRowChanges(i.target.checked,t),checked:n.selected})))))))}},[0,"dga-data-table",{data:[16],rowDivider:[4,"row-divider"],showSelectCheckBox:[4,"show-select-check-box"],alternate:[4],cells:[16],contained:[4],getSelectedRows:[8,"get-selected-rows"],pressOnFilter:[8,"press-on-filter"],sortedData:[32],direction:[32]}]);function vr(){if(typeof customElements>"u")return;["dga-data-table","dga-checkbox","dga-icon"].forEach(n=>{switch(n){case"dga-data-table":customElements.get(n)||customElements.define(n,Je);break;case"dga-checkbox":customElements.get(n)||K();break;case"dga-icon":customElements.get(n)||w();break}})}const wr=Je,xr=vr,Qe=d(class extends l{constructor(){super(),this.__registerHost(),this.helperTextIcon={name:"help-circle",variant:"stroke",type:"standard"},this.helperText="",this.error=!1}render(){return e("div",{key:"ef91457a4cc70a9fa2ec306e1b872b330b4fecb3",class:`dga-helper-text ${this.error?"dga-helper-text--error":""}`},e("span",{key:"745a48a3f4373dbeb314bd06c473ff81d4efd2a3",class:"dga-helper-text__icon"},e("dga-icon",{key:"f3648f8ddf8b12a933cdc82051406a0769ddfdcb",icon:this.helperTextIcon.name,variant:this.helperTextIcon.variant,type:this.helperTextIcon.type,size:16})),e("span",{key:"fc8916f87b6956cabfc9c9efab8bbad2f5eb2e5d",class:"dga-helper-text__desc"},this.helperText))}},[0,"dga-helper-text",{helperTextIcon:[16],helperText:[1,"helper-text"],error:[4]}]);function $n(){if(typeof customElements>"u")return;["dga-helper-text","dga-icon"].forEach(n=>{switch(n){case"dga-helper-text":customElements.get(n)||customElements.define(n,Qe);break;case"dga-icon":customElements.get(n)||w();break}})}const no=d(class extends l{constructor(){super(),this.__registerHost(),this.label="",this.variant="default",this.size="md",this.disabled=!1,this.required=!1}render(){return e("label",{key:"73151552706a7f252e915781106b25e34a6b3a8e",class:`dga-label dga-label--${this.size} ${this.disabled?"disabled":""}`},this.required&&e("span",{key:"8e8ff47bbc3857489ee15c8ded796e8b9c486630",class:"star"},"*"),this.label)}},[0,"dga-label",{label:[1],variant:[1],size:[1],disabled:[4],required:[4]}]);function In(){if(typeof customElements>"u")return;["dga-label"].forEach(n=>{switch(n){case"dga-label":customElements.get(n)||customElements.define(n,no);break}})}const yr={success:e("dga-icon",{icon:"CheckmarkCircle02Icon",variant:"solid"}),error:e("dga-icon",{icon:"AlertCircleIcon",variant:"solid"}),warning:e("dga-icon",{icon:"Alert02Icon",variant:"solid"})},eo=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0,this.placeholder=void 0,this.size="lg",this.type="text",this.variant="default",this.error=!1,this.feedbackIcon=!1,this.feedbackIconType="success",this.feedbackIconRing=!1,this.helperTextIcon=void 0,this.helperText="",this.icon=void 0,this.disabled=!1,this.readonly=!1,this.required=!1,this.name=x(),this.value="",this.onChange=void 0,this.onInput=void 0,this.onBlur=void 0,this.isActive=!1,this.isFocused=!1}render(){return e("div",{key:"7e7b88838fd455c74f1f0098b515a05ddaa72bd7",class:"dga-form-control"},this.label&&e("dga-label",{key:"6467feccbebc7c010f5b73f182ddbe8b492e2cbf",label:this.label,size:this.size,required:this.required,disabled:this.disabled}),e("div",{key:"e848fdc54048be6b587a73c6a2b1a8ac4c845b93",class:`input input--${this.size} ${this.error?"input--error":""} ${this.variant!=="default"?`input--${this.variant}`:""} ${this.isActive?"active":""} ${this.isFocused?"focus":""} ${this.disabled?"input--disabled":""} ${this.readonly?"readOnly":""}`,ref:n=>this.inputContainerRef=n},e("slot",{key:"663e862e4992625d5cfd246c8a21b802adff467d",name:"prefix"}),this.icon&&e("span",{key:"125173d3b3393b2a3da418c00961dfb10c95b7f5",class:"input__icon"},e("dga-icon",{key:"fbfd13764f2535e9a6c11f5575408766194cfda1",icon:this.icon.name,variant:this.icon.variant,type:this.icon.type,size:20})),e("input",{key:"4b4b8e815529c642e43aac3b1c2328363e924780",value:this.value,name:this.name,type:this.type,onFocus:()=>this.isFocused=!0,onBlur:n=>{this.isFocused=!1,this.onBlur(n)},class:"input__field",placeholder:this.placeholder,disabled:this.disabled,readOnly:this.readonly,required:this.required,onMouseDown:()=>this.isActive=!0,onMouseUp:()=>this.isActive=!1,onMouseOut:()=>this.isActive=!1,onChange:this.onChange,onInput:this.onInput}),this.error?e("span",{class:`input__feedback-icon input__feedback-icon--error ${this.feedbackIconRing?"input__feedback-icon--ring":""}`}):this.feedbackIcon?e("span",{class:`input__feedback-icon input__feedback-icon--${this.feedbackIconType} ${this.feedbackIconRing?"input__feedback-icon--ring":""}`},yr[this.feedbackIconType]):null,e("slot",{key:"0cf9375ffadfc7133281a58bfd2632ba01fb39e8",name:"suffix"})," "),this.helperText&&e("dga-helper-text",{key:"540962ed56dba90a9423569fa666ab1df1f9e3ee",helperText:this.helperText,helperTextIcon:this.helperTextIcon,error:this.error}))}},[4,"dga-text-input",{label:[1],placeholder:[1],size:[1],type:[1],variant:[1],error:[4],feedbackIcon:[4,"feedback-icon"],feedbackIconType:[1,"feedback-icon-type"],feedbackIconRing:[4,"feedback-icon-ring"],helperTextIcon:[16],helperText:[1,"helper-text"],icon:[16],disabled:[4],readonly:[4],required:[4],name:[1],value:[1],onChange:[16],onInput:[16],onBlur:[16],isActive:[32],isFocused:[32]}]);function oo(){if(typeof customElements>"u")return;["dga-text-input","dga-helper-text","dga-icon","dga-label"].forEach(n=>{switch(n){case"dga-text-input":customElements.get(n)||customElements.define(n,eo);break;case"dga-helper-text":customElements.get(n)||$n();break;case"dga-icon":customElements.get(n)||w();break;case"dga-label":customElements.get(n)||In();break}})}const ne=o=>{const n=o.getMonth(),t=o.getFullYear(),i=new Date(t,n+1,0).getDate();return Array.from({length:i},(r,a)=>new Date(t,n,a+1))},ee=o=>{const n=new Date(o.getFullYear(),o.getMonth(),1).getDay(),t=new Date(o.getFullYear(),o.getMonth(),0),i=[];for(let r=0;r<n;r++)i.unshift(new Date(t.getFullYear(),t.getMonth(),t.getDate()-r));return i},oe=o=>{const n=new Date(o.getFullYear(),o.getMonth()+1,0).getDay(),t=new Date(o.getFullYear(),o.getMonth()+1,1),i=[];for(let r=0;r<6-n;r++)i.push(new Date(t.getFullYear(),t.getMonth(),t.getDate()+r));return i},z=new Date,tn=new Date(z);tn.setDate(tn.getDate()-1);const to=new Date(z);to.setHours(0,0,0,0);const U=new Date(z);U.setHours(23,59,59,999);const io=new Date(tn);io.setHours(0,0,0,0);const ro=new Date(tn);ro.setHours(23,59,59,999);const hn=new Date(z);hn.setDate(z.getDate()-z.getDay());const cn=new Date(z);cn.setDate(z.getDate()+(6-z.getDay()));const ao=new Date(hn);ao.setDate(hn.getDate()-7);const go=new Date(cn);go.setDate(cn.getDate()-7);const R=new Date(z);R.setDate(1);const pn=new Date(z);pn.setMonth(pn.getMonth()+1,0);const un=new Date(R);un.setMonth(un.getMonth()-1,1);const kn=new Date(R);kn.setDate(kn.getDate()-1);const mn=new Date(R);mn.setMonth(mn.getMonth()-3,1);const vn=new Date(R);vn.setDate(vn.getDate()-1);const wn=new Date(z);wn.setDate(wn.getDate()-6);const xn=new Date(z);xn.setDate(xn.getDate()-29);const yn=new Date(z);yn.setDate(yn.getDate()-89);const _r=[{label:"Today",range:()=>({startDate:to,endDate:U})},{label:"Yesterday",range:()=>({startDate:io,endDate:ro})},{label:"This Week",range:()=>({startDate:hn,endDate:cn})},{label:"Last Week",range:()=>({startDate:ao,endDate:go})},{label:"This Month",range:()=>({startDate:R,endDate:pn})},{label:"Last Month",range:()=>({startDate:un,endDate:kn})},{label:"Last 3 Months",range:()=>({startDate:mn,endDate:vn})},{label:"Last 7 Days",range:()=>({startDate:wn,endDate:U})},{label:"Last 30 Days",range:()=>({startDate:xn,endDate:U})},{label:"Last 90 Days",range:()=>({startDate:yn,endDate:U})}];function sn(o,n){return o.getFullYear()===n.getFullYear()&&o.getMonth()===n.getMonth()&&o.getDate()===n.getDate()}const te=o=>/^(?:January|February|March|April|May|June|July|August|September|October|November|December) (?:0?[1-9]|[12][0-9]|3[01]), (?:19|20)\d{2}$/.test(o)?(console.log("date is valid"),!0):(console.log("date is not valid"),!1),ho=d(class extends l{constructor(){super(),this.__registerHost(),this.initialDate=new Date,this.range=!1,this.dualMonthView=!1,this.inputField=!1,this.submitButton=!1,this.qickOptions=!1,this.onSubmit=()=>{},this.onCancel=()=>{},this.currentMonth=this.initialDate,this.selectedDate=null,this.rangeDates={},this.inputDates={startDate:"",endDate:""}}get nextMonth(){return new Date(this.currentMonth.getFullYear(),this.currentMonth.getMonth()+1)}get days(){return[...ee(this.currentMonth).slice(0,2),...ne(this.currentMonth),...oe(this.currentMonth).slice(0,2)]}get nextMonthDays(){return[...ee(this.nextMonth).slice(0,2),...ne(this.nextMonth),...oe(this.nextMonth).slice(0,2)]}formatDate(n){if(!n)return"";const t=new Date(n);return`${["January","February","March","April","May","June","July","August","September","October","November","December"][t.getMonth()]} ${t.getDate()}, ${t.getFullYear()}`}handleSelectDate(n){console.log(n,"reached"),this.range?this.rangeDates.startDate?this.rangeDates.endDate?this.rangeDates={startDate:n,endDate:null}:n>=this.rangeDates.startDate?this.rangeDates=Object.assign(Object.assign({},this.rangeDates),{endDate:n}):this.rangeDates={startDate:n}:this.rangeDates={startDate:n}:this.selectedDate=n}handleInputDate(n){const t=n.target,{name:i,value:r}=t;this.inputDates=Object.assign(Object.assign({},this.inputDates),{[i]:r})}handleChangeMonth(n){this.currentMonth=n}isMidRange(n){return this.range&&this.rangeDates.startDate&&this.rangeDates.endDate?n>this.rangeDates.startDate&&n<this.rangeDates.endDate:!1}isFirstRangeChild(n){return this.range&&this.rangeDates.startDate&&this.rangeDates.endDate?this.rangeDates.startDate.getTime()!==this.rangeDates.endDate.getTime()&&n.getTime()===this.rangeDates.startDate.getTime():!1}isLastRangeChild(n){return this.range&&this.rangeDates.startDate&&this.rangeDates.endDate?this.rangeDates.startDate.getTime()!==this.rangeDates.endDate.getTime()&&n.getTime()===this.rangeDates.endDate.getTime():!1}componentDidLoad(){this.inputField&&(this.rangeDates.startDate&&(this.inputDates=Object.assign(Object.assign({},this.inputDates),{startDate:this.formatDate(this.rangeDates.startDate)})),this.rangeDates.endDate?this.inputDates=Object.assign(Object.assign({},this.inputDates),{endDate:this.formatDate(this.rangeDates.endDate)}):this.inputDates=Object.assign(Object.assign({},this.inputDates),{endDate:""}))}render(){return e("div",{key:"bf95500e607e72eb9c773f3b8a2b57bb7f0c738d",class:"date-picker-root flex-column","data-dual-view":this.dualMonthView},e("div",{key:"281a532d7eb1c241ed743d224d9a2cb34606460c",class:"flex"},this.qickOptions&&this.range&&e("div",{key:"070cb0b1e7cf992812bec55e93f3c88a9c74618e",class:"date-picker-root__quick-options"},e("span",{key:"36af52ae335b65a53bd3c01c8f56c2778258d7cb",class:"text-md-regular"},"Qick options"),e("ul",{key:"96f7264a5fcbbcd2c8102f5d93a020597e53ca6e",class:"options-list"},_r.map(({label:n,range:t})=>e("li",{key:n},e("button",{class:"text-md-medium",onClick:()=>this.rangeDates=t},n))))),e("div",{key:"7af77af58ab130b07faaf11317361d8ec810f1b1",class:"date-picker-root__main"},this.inputField&&e("div",{key:"c7274a02328362bb0464ca000e2bf6d71ceff511",class:"date-picker-root__main__inputs"},e("dga-text-input",{key:"2b40a39fd59f5950310107bb8439efacdf3b7c55",placeholder:"Month DD, YYYY",name:"startDate",value:this.inputDates.startDate,onChange:n=>this.handleInputDate(n),onBlur:n=>{if(te(n.target.value)){const t=new Date(n.target.value);this.range?this.rangeDates.startDate?this.rangeDates.endDate?t>=this.rangeDates.endDate?this.rangeDates={startDate:t,endDate:t}:this.rangeDates=Object.assign(Object.assign({},this.rangeDates),{startDate:t}):this.rangeDates={startDate:t,endDate:null}:this.rangeDates={startDate:t}:this.selectedDate=t}}}),this.range&&e("dga-text-input",{key:"3394c153d33b1003a2926e9538bdefcc9f036a8a",placeholder:"Month DD, YYYY",name:"endDate",value:this.inputDates.endDate,onChange:n=>this.handleInputDate(n),onBlur:n=>{if(te(n.target.value)){const t=new Date(n.target.value);this.range?this.rangeDates.endDate?this.rangeDates.startDate?t<=this.rangeDates.startDate?this.rangeDates={startDate:t,endDate:this.rangeDates.startDate}:this.rangeDates=Object.assign(Object.assign({},this.rangeDates),{endDate:t}):this.rangeDates={startDate:t,endDate:null}:this.rangeDates.startDate?t<=this.rangeDates.startDate&&(this.rangeDates={startDate:t,endDate:this.rangeDates.startDate}):this.rangeDates={startDate:t,endDate:null}:this.selectedDate=t}}})),e("div",{key:"630542135a4bf8728a17c58a78400069611f54d1",class:"date-picker-root__main__content-wrapper"},e("div",{key:"d62e2f21baf66d684549a2c661a274a07adb4294",class:"date-picker"},e("month-navigator",{key:"e0dee4f8c4cbe87bc9752fa0639b9bceb83d70f4",currentMonth:this.currentMonth,onChange:n=>this.handleChangeMonth(n),showArrows:!this.dualMonthView}),e("div",{key:"1e7af2d93dd1c5bd09545ba431bd461219a3849e",class:"date-picker__weekdays"},["Su","Mo","Tu","We","Th","Fr","Sa"].map(n=>e("div",{key:n,class:"date-picker__weekday"},n))),e("div",{key:"ab6a1bfb46e383e4baf3fa16eb1c7cf73746dcad",class:"date-picker__date-grid"},this.days.map(n=>e("date-cell",{key:n.toString(),date:n,isCurrentMonth:n.getMonth()===this.currentMonth.getMonth(),isSelected:this.range?!!this.rangeDates.startDate&&sn(n,this.rangeDates.startDate)||!!this.rangeDates.endDate&&sn(n,this.rangeDates.endDate):this.selectedDate?sn(n,this.selectedDate):!1,isToday:new Date().toDateString()===n.toDateString(),isFirstRangeChild:this.isFirstRangeChild(n),isLastRangeChild:this.isLastRangeChild(n),midRange:this.isMidRange(n),onSelect:this.handleSelectDate})))),this.dualMonthView&&e("div",{key:"42b956229744663076014ba4f4064eca73e9c13e",class:"date-picker"},e("month-navigator",{key:"b43ede80bf34d091f75aba08af316ef6047489b0",currentMonth:this.nextMonth,onChange:n=>{const t=n.getMonth()===this.currentMonth.getMonth()?new Date(this.currentMonth.getFullYear(),this.currentMonth.getMonth()-1):new Date(this.currentMonth.getFullYear(),this.currentMonth.getMonth()+1);this.handleChangeMonth(t)},showArrows:!0}),e("div",{key:"d04e09b29b9da03021843f30dc1385da176005c3",class:"date-picker__weekdays"},["Su","Mo","Tu","We","Th","Fr","Sa"].map(n=>e("div",{key:n,class:"date-picker__weekday"},n))),e("div",{key:"ece2aeaa8309cdc34d0d7a196582f487a4764a44",class:"date-picker__date-grid"},this.nextMonthDays.map(n=>e("date-cell",{key:n.toString(),date:n,isCurrentMonth:n.getMonth()===this.nextMonth.getMonth(),isSelected:this.range?!!this.rangeDates.startDate&&n.getTime()===this.rangeDates.startDate.getTime()||!!this.rangeDates.endDate&&n.getTime()===this.rangeDates.endDate.getTime():this.selectedDate?n.getTime()===this.selectedDate.getTime():!1,isToday:new Date().toDateString()===n.toDateString(),midRange:this.isMidRange(n),isFirstRangeChild:this.isFirstRangeChild(n),isLastRangeChild:this.isLastRangeChild(n),onSelect:this.handleSelectDate}))))))))}},[0,"dga-datepicker",{initialDate:[16],range:[4],dualMonthView:[4,"dual-month-view"],inputField:[4,"input-field"],submitButton:[4,"submit-button"],qickOptions:[4,"qick-options"],onSubmit:[16],onCancel:[16],currentMonth:[32],selectedDate:[32],rangeDates:[32],inputDates:[32]}]);function qr(){if(typeof customElements>"u")return;["dga-datepicker","date-cell","dga-helper-text","dga-icon","dga-label","dga-text-input"].forEach(n=>{switch(n){case"dga-datepicker":customElements.get(n)||customElements.define(n,ho);break;case"date-cell":customElements.get(n)||Se();break;case"dga-helper-text":customElements.get(n)||$n();break;case"dga-icon":customElements.get(n)||w();break;case"dga-label":customElements.get(n)||In();break;case"dga-text-input":customElements.get(n)||oo();break}})}const zr=ho,Sr=qr,co=d(class extends l{constructor(){super(),this.__registerHost(),this.color="neutral"}render(){return e("span",{key:"6e2a32d07aacfbb548bf1efe3d282dd402f70b6d",class:`dga-divider dga-divider--${this.color}`})}},[0,"dga-divider",{color:[1]}]);function Mr(){if(typeof customElements>"u")return;["dga-divider"].forEach(n=>{switch(n){case"dga-divider":customElements.get(n)||customElements.define(n,co);break}})}const Cr=co,$r=Mr,Ir=`@charset "UTF-8";
222249
+ `).slice(0,1).map((r,a)=>e("div",{key:a,class:"code-snippet-code-line"},e("span",{class:"code-snippet-line-content green"},r)))}render(){return e("div",{key:"1d17507dd7ca89e6408b433b3a85f5f9d1a39632",class:"code-snippet-container"},this.showTabList&&e("div",{key:"5a1daed206e43998be3d49631cce4d3b3819afa1",class:"code-snippet-tabs"},e("dga-tabs",{key:"8d84624a689ca0742c435c1f6f981b0982a4813d",divider:!0,orientation:"horizontal",size:"lg",tabsList:Object.keys(this.snippets).map(n=>({label:n,onClick:()=>this.handleTabClick(n)}))})),e("pre",{key:"9f2d68b61bce3acf111c5661106ca2c36d5a7cdd",class:"code-snippet-code-display"},e("dga-button",{key:"ce9ba4dd65d63addaba97b8a69feaa8a837c8b5e",size:"lg",iconOnly:!0,iconType:"copy-01",variant:"subtle",iconProps:{size:24,color:"#161616",variant:"stroke"},class:`code-snippet-icon ${this.type}`,onClick:()=>this.handleCopy(),onColor:!1}),e("code",{key:"d6c5f70c3f03c9651080b4a07ed324f0cbbf1237",style:{height:this.showButton&&this.type==="multi-line"&&!this.showMore?"150px":"auto"}},this.renderWithLineNumbers(this.snippets[this.activeTab])),this.showButton&&this.type==="multi-line"&&e("div",{key:"1ea9c28447732f43ea5028f113e244a4b444b92f",class:"code-snippet-wrapper"},e("dga-button",{key:"f12236025e42735a009d52b345e96f22f48c58d7",label:this.showMore?"Show Less":"Show More",size:"md",trailIcon:!0,trailIconType:this.showMore?"arrow-up-01":"arrow-down-01",variant:"subtle",trailIconProps:{size:20,color:"#161616",variant:"stroke"},onClick:()=>this.showMore=!this.showMore,onColor:!1}))))}static get style(){return rr}},[0,"dga-codesnippet",{snippets:[16],showButton:[4,"show-button"],type:[1],showSidebar:[4,"show-sidebar"],showTabList:[4,"show-tab-list"],showMore:[32],activeTab:[32]}]);function ar(){if(typeof customElements>"u")return;["dga-codesnippet","dga-button","dga-icon","dga-tabs"].forEach(n=>{switch(n){case"dga-codesnippet":customElements.get(n)||customElements.define(n,Ye);break;case"dga-button":customElements.get(n)||R();break;case"dga-icon":customElements.get(n)||w();break;case"dga-tabs":customElements.get(n)||Ke();break}})}const gr=Ye,hr=ar,Ge=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0,this.content=void 0}render(){return e("slot",{key:"4bf4ba73464776db10614358b2b2d44b52387895"})}},[4,"dga-content-switcher-item",{label:[8],content:[8]}]);function cr(){if(typeof customElements>"u")return;["dga-content-switcher-item"].forEach(n=>{switch(n){case"dga-content-switcher-item":customElements.get(n)||customElements.define(n,Ge);break}})}const sr=Ge,lr=cr,Ne=d(class extends l{constructor(){super(),this.__registerHost(),this.handleSelect=n=>{this.selected=n},this.onColor=!1,this.size="md",this.items=[{label:"Item 1",content:"Content 1"},{label:"Item 2",content:"Content 2"},{label:"Item 3",content:"Content 3"}],this.selected=0}render(){return e("div",{key:"f3865561f5fed16d1056810ac9364bd36873f3fd",class:"content-switcher"},e("div",{key:"fc5e8e3b4a126ba052127b3dd7fdcc222faa1388",class:"content-switcher__items"},this.items.map((n,t)=>{const i=t===this.selected,a=`content-switcher__item content-switcher__item--${t===0?"first":t===this.items.length-1?"last":"mid"} ${this.onColor?"content-switcher__item--on-color":""} content-switcher__item--${this.size} ${i?"content-switcher__item--selected":""}`;return e("button",{key:t,type:"button",class:a,onClick:()=>this.handleSelect(t)},n.label)})),e("div",{key:"fcce14beaacdbf2ba042d0137beeb8e97e905675",class:`content-switcher__content ${this.onColor?"content-switcher__content--on-color":""}`},this.items[this.selected].content))}},[0,"dga-content-switcher",{onColor:[4,"on-color"],size:[1],items:[16],selected:[32]}]);function dr(){if(typeof customElements>"u")return;["dga-content-switcher"].forEach(n=>{switch(n){case"dga-content-switcher":customElements.get(n)||customElements.define(n,Ne);break}})}const fr=Ne,br=dr;var Jn=function(o,n){var t={};for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&n.indexOf(i)<0&&(t[i]=o[i]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(o);r<i.length;r++)n.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(o,i[r])&&(t[i[r]]=o[i[r]]);return t};const Xe=d(class extends l{constructor(){super(),this.__registerHost(),this.sortData=(n="up",t,i)=>{if(n==="up"){const r=[...this.data.sort((a,g)=>g[t]>a[t]?1:a[t]>g[t]?-1:0)];this.sortedData=r}else if(n==="down"){const r=[...this.data.sort((a,g)=>a[t]>g[t]?1:g[t]>a[t]?-1:0)];this.sortedData=r}this.cells[i].sort=n=="down"?"up":"down"},this.handleSelectedRowChanges=(n,t)=>{const i=[...this.data];i[t].selected=n,this.sortedData=i,this.getSelectedRows&&this.getSelectedRows({selectedRows:i.filter(r=>r.selected),currentSelectedRow:i[t],currentSelectedRowIndex:t})},this.selectAll=n=>{const t=[...this.data];t.forEach(i=>i.selected=n),this.sortedData=t,this.getSelectedRows&&this.getSelectedRows({selectedRows:t})},this.columns=void 0,this.data=[{selected:!0},{selected:!0}],this.rowDivider=!0,this.showSelectCheckBox=!0,this.alternate=!0,this.cells=[{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1},{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1}],this.contained=!0,this.getSelectedRows=void 0,this.pressOnFilter=void 0,this.sortedData=[],this.direction=!1}componentDidLoad(){document.dir?document.dir==="rtl"?this.direction=!0:this.direction=!1:document.documentElement.lang?document.documentElement.lang==="ar"?this.direction=!0:this.direction=!1:this.direction=!1}componentDidUpdate(){const n=[...this.data.map(t=>(t.selected=!1,t))];this.sortedData=n}render(){return e("div",{key:"0c518d9631c399a638678430917bf0294c9426c8",class:`table-wrapper ${this.contained?"table-contained":""}`},e("table",{key:"6c00e34ddf7a1e1c763c29c1fe03c9aa1cc2ceeb",class:` azm-table ${this.contained?"table-contained":""}`,style:{direction:this.direction?"rtl":"ltr"}},e("thead",{key:"dc4518f61a981ec58fb4ddc6e641f046958fdd6f"},e("tr",{key:"819857e460bf979cb1bb928d6686d9670f3f6bf6",class:`${this.rowDivider?"row-divider":""}`},this.showSelectCheckBox&&e("th",{key:"bd534a68bba8ebc038ca2535824f40d1344ffe28",style:{width:"20px"}},e("dga-checkbox",{key:"0985e6b8b5afbc9c2b59cd542473c39d174bf33b",showBorderOnFocusAndFocusOute:!1,value:"true",onChange:n=>this.selectAll(n.target.checked)})),this.cells.map((n,t)=>{var{sort:i,isSort:r,propertyName:a,type:g}=n,h=Jn(n,["sort","isSort","propertyName","type"]);return e("th",{key:t},e("span",null,e("span",{class:"text"},h.title),e("span",{class:"icon-wrapper"},r&&i=="up"&&g=="propertyName"&&e("button",{class:"btn btn--sort btn--icon btn--md",onClick:()=>this.sortData("up",a,t)},e("dga-icon",{icon:"SortByUp02Icon"})),r&&(!i||i=="down")&&g=="propertyName"&&e("button",{class:"btn btn--sort btn--icon btn--md",onClick:()=>this.sortData("down",a,t)},e("dga-icon",{icon:"SortByDown02Icon"})),h.isFilter&&e("button",{class:"btn btn--sort btn--icon btn--md ",onClick:()=>this.pressOnFilter&&this.pressOnFilter(a)},e("dga-icon",{icon:"FilterIcon"})))))}))),e("tbody",{key:"9e173ddba02f395c68fe0e02be60001ec8b87fa5"},this.sortedData.map((n,t)=>e("tr",{class:`${this.rowDivider?"row-divider":""} ${this.alternate?"alternate":""} ${n.selected?"row-selected":""} `,key:t},this.showSelectCheckBox&&e("td",null,e("dga-checkbox",{name:t+"checkboxSelection",value:n.selected,id:t+"checkboxSelection",showBorderOnFocusAndFocusOute:!1,onChange:i=>this.handleSelectedRowChanges(i.target.checked,t),checked:n.selected})),this.cells.map((i,r)=>{var{El:a}=i,g=Jn(i,["El"]);return e("td",{key:r,colSpan:g.colSpan?g.colSpan:1},g.type==="element"&&a?e(a,Object.assign({},n)):n[g.propertyName])}))))))}},[0,"dga-data-table-updated",{columns:[16],data:[8],rowDivider:[4,"row-divider"],showSelectCheckBox:[4,"show-select-check-box"],alternate:[4],cells:[16],contained:[4],getSelectedRows:[8,"get-selected-rows"],pressOnFilter:[8,"press-on-filter"],sortedData:[32],direction:[32]}]);function pr(){if(typeof customElements>"u")return;["dga-data-table-updated","dga-checkbox","dga-icon"].forEach(n=>{switch(n){case"dga-data-table-updated":customElements.get(n)||customElements.define(n,Xe);break;case"dga-checkbox":customElements.get(n)||K();break;case"dga-icon":customElements.get(n)||w();break}})}const ur=Xe,kr=pr;var mr=function(o,n){var t={};for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&n.indexOf(i)<0&&(t[i]=o[i]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(o);r<i.length;r++)n.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(o,i[r])&&(t[i[r]]=o[i[r]]);return t};const Ze=d(class extends l{constructor(){super(),this.__registerHost(),this.sortData=(n="up",t,i)=>{if(n==="up"){const r=[...this.data.sort((a,g)=>g[t]>a[t]?1:a[t]>g[t]?-1:0)];this.sortedData=r}else if(n==="down"){const r=[...this.data.sort((a,g)=>a[t]>g[t]?1:g[t]>a[t]?-1:0)];this.sortedData=r}this.cells[i].sort=n=="down"?"up":"down"},this.handleSelectedRowChanges=(n,t)=>{const i=[...this.data];i[t].selected=n,this.sortedData=i,this.getSelectedRows&&this.getSelectedRows({selectedRows:i.filter(r=>r.selected),currentSelectedRow:i[t],currentSelectedRowIndex:t})},this.selectAll=n=>{const t=[...this.data];t.forEach(i=>i.selected=n),this.sortedData=t,this.getSelectedRows&&this.getSelectedRows({selectedRows:t})},this.data=[{selected:!0},{selected:!0}],this.rowDivider=!0,this.showSelectCheckBox=!0,this.alternate=!0,this.cells=[{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1},{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1}],this.contained=!0,this.getSelectedRows=void 0,this.pressOnFilter=void 0,this.sortedData=[],this.direction=!1}componentDidLoad(){document.dir?document.dir==="rtl"?this.direction=!0:this.direction=!1:document.documentElement.lang?document.documentElement.lang==="ar"?this.direction=!0:this.direction=!1:this.direction=!1}componentDidUpdate(){const n=[...this.data.map(t=>(t.selected=!1,t))];this.sortedData=n}render(){return e("div",{key:"9ad56d81ff2be04f14b41178163131c98fd1db04",class:`table-wrapper ${this.contained?"table-contained":""}`},e("table",{key:"a07b47e8c94ef060d6dd977c3d8e0ad701634f33",class:` azm-table ${this.contained?"table-contained":""}`,style:{direction:this.direction?"rtl":"ltr"}},e("thead",{key:"78f7ec17e7ce5ea410428a4eeff369fa639aecbf"},e("tr",{key:"cb85e705a4c60739900237e0e96f9beb39fe7f9e",class:`${this.rowDivider?"row-divider":""}`},this.showSelectCheckBox&&e("th",{key:"b8d188c8357e94fdc15d294352548731bc61d498",style:{width:"20px"}},e("dga-checkbox",{key:"83517178c3efba72cc50fdf17691699b97fc89dd",showBorderOnFocusAndFocusOute:!1,value:"true",onChange:n=>this.selectAll(n.target.checked)})),this.cells.map((n,t)=>{var{sort:i,isSort:r,propertyName:a,type:g}=n,h=mr(n,["sort","isSort","propertyName","type"]);return e("th",{key:t},e("span",null,e("span",{class:"text"},h.title),e("span",{class:"icon-wrapper"},r&&i=="up"&&g=="propertyName"&&e("button",{class:"btn btn--sort btn--icon btn--md",onClick:()=>this.sortData("up",a,t)},e("dga-icon",{icon:"SortByUp02Icon"})),r&&(!i||i=="down")&&g=="propertyName"&&e("button",{class:"btn btn--sort btn--icon btn--md",onClick:()=>this.sortData("down",a,t)},e("dga-icon",{icon:"SortByDown02Icon"})),h.isFilter&&e("button",{class:"btn btn--sort btn--icon btn--md ",onClick:()=>this.pressOnFilter&&this.pressOnFilter(a)},e("dga-icon",{icon:"FilterIcon"})))))}))),e("tbody",{key:"85c95914f31176007ab36f4055d3f72173df385e"},this.sortedData.map((n,t)=>e("tr",{class:`${this.rowDivider?"row-divider":""} ${this.alternate?"alternate":""} ${n.selected?"row-selected":""} `,key:t},this.showSelectCheckBox&&e("td",null,e("dga-checkbox",{name:t+"checkboxSelection",value:n.selected,id:t+"checkboxSelection",showBorderOnFocusAndFocusOute:!1,onChange:i=>this.handleSelectedRowChanges(i.target.checked,t),checked:n.selected})))))))}},[0,"dga-data-table",{data:[16],rowDivider:[4,"row-divider"],showSelectCheckBox:[4,"show-select-check-box"],alternate:[4],cells:[16],contained:[4],getSelectedRows:[8,"get-selected-rows"],pressOnFilter:[8,"press-on-filter"],sortedData:[32],direction:[32]}]);function vr(){if(typeof customElements>"u")return;["dga-data-table","dga-checkbox","dga-icon"].forEach(n=>{switch(n){case"dga-data-table":customElements.get(n)||customElements.define(n,Ze);break;case"dga-checkbox":customElements.get(n)||K();break;case"dga-icon":customElements.get(n)||w();break}})}const wr=Ze,xr=vr,Je=d(class extends l{constructor(){super(),this.__registerHost(),this.helperTextIcon={name:"help-circle",variant:"stroke",type:"standard"},this.helperText="",this.error=!1}render(){return e("div",{key:"ef91457a4cc70a9fa2ec306e1b872b330b4fecb3",class:`dga-helper-text ${this.error?"dga-helper-text--error":""}`},e("span",{key:"745a48a3f4373dbeb314bd06c473ff81d4efd2a3",class:"dga-helper-text__icon"},e("dga-icon",{key:"f3648f8ddf8b12a933cdc82051406a0769ddfdcb",icon:this.helperTextIcon.name,variant:this.helperTextIcon.variant,type:this.helperTextIcon.type,size:16})),e("span",{key:"fc8916f87b6956cabfc9c9efab8bbad2f5eb2e5d",class:"dga-helper-text__desc"},this.helperText))}},[0,"dga-helper-text",{helperTextIcon:[16],helperText:[1,"helper-text"],error:[4]}]);function $n(){if(typeof customElements>"u")return;["dga-helper-text","dga-icon"].forEach(n=>{switch(n){case"dga-helper-text":customElements.get(n)||customElements.define(n,Je);break;case"dga-icon":customElements.get(n)||w();break}})}const Qe=d(class extends l{constructor(){super(),this.__registerHost(),this.label="",this.variant="default",this.size="md",this.disabled=!1,this.required=!1}render(){return e("label",{key:"73151552706a7f252e915781106b25e34a6b3a8e",class:`dga-label dga-label--${this.size} ${this.disabled?"disabled":""}`},this.required&&e("span",{key:"8e8ff47bbc3857489ee15c8ded796e8b9c486630",class:"star"},"*"),this.label)}},[0,"dga-label",{label:[1],variant:[1],size:[1],disabled:[4],required:[4]}]);function In(){if(typeof customElements>"u")return;["dga-label"].forEach(n=>{switch(n){case"dga-label":customElements.get(n)||customElements.define(n,Qe);break}})}const yr={success:e("dga-icon",{icon:"CheckmarkCircle02Icon",variant:"solid"}),error:e("dga-icon",{icon:"AlertCircleIcon",variant:"solid"}),warning:e("dga-icon",{icon:"Alert02Icon",variant:"solid"})},no=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0,this.placeholder=void 0,this.size="lg",this.type="text",this.variant="default",this.error=!1,this.feedbackIcon=!1,this.feedbackIconType="success",this.feedbackIconRing=!1,this.helperTextIcon=void 0,this.helperText="",this.icon=void 0,this.disabled=!1,this.readonly=!1,this.required=!1,this.name=x(),this.value="",this.onChange=void 0,this.onInput=void 0,this.onBlur=void 0,this.isActive=!1,this.isFocused=!1}render(){return e("div",{key:"7e7b88838fd455c74f1f0098b515a05ddaa72bd7",class:"dga-form-control"},this.label&&e("dga-label",{key:"6467feccbebc7c010f5b73f182ddbe8b492e2cbf",label:this.label,size:this.size,required:this.required,disabled:this.disabled}),e("div",{key:"e848fdc54048be6b587a73c6a2b1a8ac4c845b93",class:`input input--${this.size} ${this.error?"input--error":""} ${this.variant!=="default"?`input--${this.variant}`:""} ${this.isActive?"active":""} ${this.isFocused?"focus":""} ${this.disabled?"input--disabled":""} ${this.readonly?"readOnly":""}`,ref:n=>this.inputContainerRef=n},e("slot",{key:"663e862e4992625d5cfd246c8a21b802adff467d",name:"prefix"}),this.icon&&e("span",{key:"125173d3b3393b2a3da418c00961dfb10c95b7f5",class:"input__icon"},e("dga-icon",{key:"fbfd13764f2535e9a6c11f5575408766194cfda1",icon:this.icon.name,variant:this.icon.variant,type:this.icon.type,size:20})),e("input",{key:"4b4b8e815529c642e43aac3b1c2328363e924780",value:this.value,name:this.name,type:this.type,onFocus:()=>this.isFocused=!0,onBlur:n=>{this.isFocused=!1,this.onBlur(n)},class:"input__field",placeholder:this.placeholder,disabled:this.disabled,readOnly:this.readonly,required:this.required,onMouseDown:()=>this.isActive=!0,onMouseUp:()=>this.isActive=!1,onMouseOut:()=>this.isActive=!1,onChange:this.onChange,onInput:this.onInput}),this.error?e("span",{class:`input__feedback-icon input__feedback-icon--error ${this.feedbackIconRing?"input__feedback-icon--ring":""}`}):this.feedbackIcon?e("span",{class:`input__feedback-icon input__feedback-icon--${this.feedbackIconType} ${this.feedbackIconRing?"input__feedback-icon--ring":""}`},yr[this.feedbackIconType]):null,e("slot",{key:"0cf9375ffadfc7133281a58bfd2632ba01fb39e8",name:"suffix"})," "),this.helperText&&e("dga-helper-text",{key:"540962ed56dba90a9423569fa666ab1df1f9e3ee",helperText:this.helperText,helperTextIcon:this.helperTextIcon,error:this.error}))}},[4,"dga-text-input",{label:[1],placeholder:[1],size:[1],type:[1],variant:[1],error:[4],feedbackIcon:[4,"feedback-icon"],feedbackIconType:[1,"feedback-icon-type"],feedbackIconRing:[4,"feedback-icon-ring"],helperTextIcon:[16],helperText:[1,"helper-text"],icon:[16],disabled:[4],readonly:[4],required:[4],name:[1],value:[1],onChange:[16],onInput:[16],onBlur:[16],isActive:[32],isFocused:[32]}]);function eo(){if(typeof customElements>"u")return;["dga-text-input","dga-helper-text","dga-icon","dga-label"].forEach(n=>{switch(n){case"dga-text-input":customElements.get(n)||customElements.define(n,no);break;case"dga-helper-text":customElements.get(n)||$n();break;case"dga-icon":customElements.get(n)||w();break;case"dga-label":customElements.get(n)||In();break}})}const Qn=o=>{const n=o.getMonth(),t=o.getFullYear(),i=new Date(t,n+1,0).getDate();return Array.from({length:i},(r,a)=>new Date(t,n,a+1))},ne=o=>{const n=new Date(o.getFullYear(),o.getMonth(),1).getDay(),t=new Date(o.getFullYear(),o.getMonth(),0),i=[];for(let r=0;r<n;r++)i.unshift(new Date(t.getFullYear(),t.getMonth(),t.getDate()-r));return i},ee=o=>{const n=new Date(o.getFullYear(),o.getMonth()+1,0).getDay(),t=new Date(o.getFullYear(),o.getMonth()+1,1),i=[];for(let r=0;r<6-n;r++)i.push(new Date(t.getFullYear(),t.getMonth(),t.getDate()+r));return i},z=new Date,tn=new Date(z);tn.setDate(tn.getDate()-1);const oo=new Date(z);oo.setHours(0,0,0,0);const U=new Date(z);U.setHours(23,59,59,999);const to=new Date(tn);to.setHours(0,0,0,0);const io=new Date(tn);io.setHours(23,59,59,999);const hn=new Date(z);hn.setDate(z.getDate()-z.getDay());const cn=new Date(z);cn.setDate(z.getDate()+(6-z.getDay()));const ro=new Date(hn);ro.setDate(hn.getDate()-7);const ao=new Date(cn);ao.setDate(cn.getDate()-7);const O=new Date(z);O.setDate(1);const pn=new Date(z);pn.setMonth(pn.getMonth()+1,0);const un=new Date(O);un.setMonth(un.getMonth()-1,1);const kn=new Date(O);kn.setDate(kn.getDate()-1);const mn=new Date(O);mn.setMonth(mn.getMonth()-3,1);const vn=new Date(O);vn.setDate(vn.getDate()-1);const wn=new Date(z);wn.setDate(wn.getDate()-6);const xn=new Date(z);xn.setDate(xn.getDate()-29);const yn=new Date(z);yn.setDate(yn.getDate()-89);const _r=[{label:"Today",range:()=>({startDate:oo,endDate:U})},{label:"Yesterday",range:()=>({startDate:to,endDate:io})},{label:"This Week",range:()=>({startDate:hn,endDate:cn})},{label:"Last Week",range:()=>({startDate:ro,endDate:ao})},{label:"This Month",range:()=>({startDate:O,endDate:pn})},{label:"Last Month",range:()=>({startDate:un,endDate:kn})},{label:"Last 3 Months",range:()=>({startDate:mn,endDate:vn})},{label:"Last 7 Days",range:()=>({startDate:wn,endDate:U})},{label:"Last 30 Days",range:()=>({startDate:xn,endDate:U})},{label:"Last 90 Days",range:()=>({startDate:yn,endDate:U})}];function sn(o,n){return o.getFullYear()===n.getFullYear()&&o.getMonth()===n.getMonth()&&o.getDate()===n.getDate()}const oe=o=>/^(?:January|February|March|April|May|June|July|August|September|October|November|December) (?:0?[1-9]|[12][0-9]|3[01]), (?:19|20)\d{2}$/.test(o)?(console.log("date is valid"),!0):(console.log("date is not valid"),!1),go=d(class extends l{constructor(){super(),this.__registerHost(),this.initialDate=new Date,this.range=!1,this.dualMonthView=!1,this.inputField=!1,this.submitButton=!1,this.qickOptions=!1,this.onSubmit=()=>{},this.onCancel=()=>{},this.currentMonth=this.initialDate,this.selectedDate=null,this.rangeDates={},this.inputDates={startDate:"",endDate:""}}get nextMonth(){return new Date(this.currentMonth.getFullYear(),this.currentMonth.getMonth()+1)}get days(){return[...ne(this.currentMonth).slice(0,2),...Qn(this.currentMonth),...ee(this.currentMonth).slice(0,2)]}get nextMonthDays(){return[...ne(this.nextMonth).slice(0,2),...Qn(this.nextMonth),...ee(this.nextMonth).slice(0,2)]}formatDate(n){if(!n)return"";const t=new Date(n);return`${["January","February","March","April","May","June","July","August","September","October","November","December"][t.getMonth()]} ${t.getDate()}, ${t.getFullYear()}`}handleSelectDate(n){console.log(n,"reached"),this.range?this.rangeDates.startDate?this.rangeDates.endDate?this.rangeDates={startDate:n,endDate:null}:n>=this.rangeDates.startDate?this.rangeDates=Object.assign(Object.assign({},this.rangeDates),{endDate:n}):this.rangeDates={startDate:n}:this.rangeDates={startDate:n}:this.selectedDate=n}handleInputDate(n){const t=n.target,{name:i,value:r}=t;this.inputDates=Object.assign(Object.assign({},this.inputDates),{[i]:r})}handleChangeMonth(n){this.currentMonth=n}isMidRange(n){return this.range&&this.rangeDates.startDate&&this.rangeDates.endDate?n>this.rangeDates.startDate&&n<this.rangeDates.endDate:!1}isFirstRangeChild(n){return this.range&&this.rangeDates.startDate&&this.rangeDates.endDate?this.rangeDates.startDate.getTime()!==this.rangeDates.endDate.getTime()&&n.getTime()===this.rangeDates.startDate.getTime():!1}isLastRangeChild(n){return this.range&&this.rangeDates.startDate&&this.rangeDates.endDate?this.rangeDates.startDate.getTime()!==this.rangeDates.endDate.getTime()&&n.getTime()===this.rangeDates.endDate.getTime():!1}componentDidLoad(){this.inputField&&(this.rangeDates.startDate&&(this.inputDates=Object.assign(Object.assign({},this.inputDates),{startDate:this.formatDate(this.rangeDates.startDate)})),this.rangeDates.endDate?this.inputDates=Object.assign(Object.assign({},this.inputDates),{endDate:this.formatDate(this.rangeDates.endDate)}):this.inputDates=Object.assign(Object.assign({},this.inputDates),{endDate:""}))}render(){return e("div",{key:"9c401aaf0237f59b1695f26eb338955724f9ee6a",class:"date-picker-root flex-column","data-dual-view":this.dualMonthView},e("div",{key:"dd74c9712a46ca2e88bb2267227ac2a867fbf16a",class:"flex"},this.qickOptions&&this.range&&e("div",{key:"4e50dc374f7728a1ce127738cce99248d5d4f0c4",class:"date-picker-root__quick-options"},e("span",{key:"5335af33d1f5c8a1442f1f7af13a71f8301157f7",class:"text-md-regular"},"Qick options"),e("ul",{key:"ffd306672257fffe194288a1ea5f527b038e4a77",class:"options-list"},_r.map(({label:n,range:t})=>e("li",{key:n},e("button",{class:"text-md-medium",onClick:()=>this.rangeDates=t},n))))),e("div",{key:"39d702dbaf202394a33789e718544bf963ae2827",class:"date-picker-root__main"},this.inputField&&e("div",{key:"d6f08af124ca3efaf3596fb00f3237f3b221fc52",class:"date-picker-root__main__inputs"},e("dga-text-input",{key:"064a326e28fa3ffbe37eaa0dd1adbd88d8493215",placeholder:"Month DD, YYYY",name:"startDate",value:this.inputDates.startDate,onChange:n=>this.handleInputDate(n),onBlur:n=>{if(oe(n.target.value)){const t=new Date(n.target.value);this.range?this.rangeDates.startDate?this.rangeDates.endDate?t>=this.rangeDates.endDate?this.rangeDates={startDate:t,endDate:t}:this.rangeDates=Object.assign(Object.assign({},this.rangeDates),{startDate:t}):this.rangeDates={startDate:t,endDate:null}:this.rangeDates={startDate:t}:this.selectedDate=t}}}),this.range&&e("dga-text-input",{key:"9f5ea76de076a37a3b309887c19122f3429313c2",placeholder:"Month DD, YYYY",name:"endDate",value:this.inputDates.endDate,onChange:n=>this.handleInputDate(n),onBlur:n=>{if(oe(n.target.value)){const t=new Date(n.target.value);this.range?this.rangeDates.endDate?this.rangeDates.startDate?t<=this.rangeDates.startDate?this.rangeDates={startDate:t,endDate:this.rangeDates.startDate}:this.rangeDates=Object.assign(Object.assign({},this.rangeDates),{endDate:t}):this.rangeDates={startDate:t,endDate:null}:this.rangeDates.startDate?t<=this.rangeDates.startDate&&(this.rangeDates={startDate:t,endDate:this.rangeDates.startDate}):this.rangeDates={startDate:t,endDate:null}:this.selectedDate=t}}})),e("div",{key:"e68b32736ffa917285056000020659b48085f335",class:"date-picker-root__main__content-wrapper"},e("div",{key:"7b3c395b671e9bcf6b685eb879386e22106db922",class:"date-picker"},e("month-navigator",{key:"2e17dd7a4ef49666224d25e689c4aabaf5afb6f8",currentMonth:this.currentMonth,onChange:n=>this.handleChangeMonth(n),showArrows:!this.dualMonthView}),e("div",{key:"3a666745c679a9255c481354a639885d0f13e9c3",class:"date-picker__weekdays"},["Su","Mo","Tu","We","Th","Fr","Sa"].map(n=>e("div",{key:n,class:"date-picker__weekday"},n))),e("div",{key:"89c8468afc286926d9e6f0fea027867832710575",class:"date-picker__date-grid"},this.days.map(n=>e("date-cell",{key:n.toString(),date:n,isCurrentMonth:n.getMonth()===this.currentMonth.getMonth(),isSelected:this.range?!!this.rangeDates.startDate&&sn(n,this.rangeDates.startDate)||!!this.rangeDates.endDate&&sn(n,this.rangeDates.endDate):this.selectedDate?sn(n,this.selectedDate):!1,isToday:new Date().toDateString()===n.toDateString(),isFirstRangeChild:this.isFirstRangeChild(n),isLastRangeChild:this.isLastRangeChild(n),midRange:this.isMidRange(n),onSelect:this.handleSelectDate})))),this.dualMonthView&&e("div",{key:"0e8c6764cfa003d768cb2c83ed4f686b74270d6e",class:"date-picker"},e("month-navigator",{key:"c992311148ec241da2a5f426ee4fa3918651b11e",currentMonth:this.nextMonth,onChange:n=>{const t=n.getMonth()===this.currentMonth.getMonth()?new Date(this.currentMonth.getFullYear(),this.currentMonth.getMonth()-1):new Date(this.currentMonth.getFullYear(),this.currentMonth.getMonth()+1);this.handleChangeMonth(t)},showArrows:!0}),e("div",{key:"0e89c48b3ea9e52e21d3420a530df113531ac682",class:"date-picker__weekdays"},["Su","Mo","Tu","We","Th","Fr","Sa"].map(n=>e("div",{key:n,class:"date-picker__weekday"},n))),e("div",{key:"a78de4986c3464f84b91be3553daa271031b5900",class:"date-picker__date-grid"},this.nextMonthDays.map(n=>e("date-cell",{key:n.toString(),date:n,isCurrentMonth:n.getMonth()===this.nextMonth.getMonth(),isSelected:this.range?!!this.rangeDates.startDate&&n.getTime()===this.rangeDates.startDate.getTime()||!!this.rangeDates.endDate&&n.getTime()===this.rangeDates.endDate.getTime():this.selectedDate?n.getTime()===this.selectedDate.getTime():!1,isToday:new Date().toDateString()===n.toDateString(),midRange:this.isMidRange(n),isFirstRangeChild:this.isFirstRangeChild(n),isLastRangeChild:this.isLastRangeChild(n),onSelect:this.handleSelectDate}))))))))}},[0,"dga-datepicker",{initialDate:[16],range:[4],dualMonthView:[4,"dual-month-view"],inputField:[4,"input-field"],submitButton:[4,"submit-button"],qickOptions:[4,"qick-options"],onSubmit:[16],onCancel:[16],currentMonth:[32],selectedDate:[32],rangeDates:[32],inputDates:[32]}]);function qr(){if(typeof customElements>"u")return;["dga-datepicker","date-cell","dga-helper-text","dga-icon","dga-label","dga-text-input"].forEach(n=>{switch(n){case"dga-datepicker":customElements.get(n)||customElements.define(n,go);break;case"date-cell":customElements.get(n)||ze();break;case"dga-helper-text":customElements.get(n)||$n();break;case"dga-icon":customElements.get(n)||w();break;case"dga-label":customElements.get(n)||In();break;case"dga-text-input":customElements.get(n)||eo();break}})}const zr=go,Sr=qr,ho=d(class extends l{constructor(){super(),this.__registerHost(),this.color="neutral"}render(){return e("span",{key:"c9b6bb8aaa886fd23d2a0feafe4f5206bd58afcc",class:`dga-divider dga-divider--${this.color}`})}},[0,"dga-divider",{color:[1]}]);function Mr(){if(typeof customElements>"u")return;["dga-divider"].forEach(n=>{switch(n){case"dga-divider":customElements.get(n)||customElements.define(n,ho);break}})}const Cr=ho,$r=Mr,Ir=`@charset "UTF-8";
222250
222250
  /*
222251
222251
  0 - 600px: Phone
222252
222252
  600 - 900px: Tablet portrait
@@ -225925,14 +225925,14 @@ a:focus {
225925
225925
  .tag--on-color svg {
225926
225926
  color: currentColor;
225927
225927
  stroke: currentColor;
225928
- }`,Ar=Ir,so=d(class extends l{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.label=void 0,this.variant="success",this.size="md",this.iconOnly=void 0,this.iconType=void 0,this.leadIcon=void 0,this.trailIcon=void 0,this.rounded=void 0,this.outlined=void 0}render(){return this.iconOnly?e("span",{class:`tag tag--${this.variant} ${this.outlined?`tag--${this.variant}-outlined`:""} tag--${this.size} ${this.rounded?"tag--rounded":""} tag--icon`},this.leadIcon&&e("span",{class:"tag-icon"},this.leadIcon),!this.leadIcon&&e("slot",null)):e("span",{class:`tag tag--${this.variant} ${this.outlined?`tag--${this.variant}-outlined`:""} tag--${this.size} ${this.rounded?"tag--rounded":""}`},this.leadIcon?e("span",{class:"tag-icon"},this.leadIcon):"",this.label,this.trailIcon?e("span",{class:"tag-icon"},this.trailIcon):"",e("slot",null))}static get style(){return Ar}},[1,"dga-tag",{label:[1],variant:[1],size:[1],iconOnly:[4,"icon-only"],iconType:[8,"icon-type"],leadIcon:[8,"lead-icon"],trailIcon:[8,"trail-icon"],rounded:[4],outlined:[4]}]);function H(){if(typeof customElements>"u")return;["dga-tag"].forEach(n=>{switch(n){case"dga-tag":customElements.get(n)||customElements.define(n,so);break}})}const lo=d(class extends l{constructor(){super(),this.__registerHost(),this.type="parent",this.onColor=!1,this.level=1,this.badge=void 0,this.icon=void 0,this.externalLink=!1,this.text="link",this.link="/pages",this.expanded=!1,this.onExpand=void 0,this.disabled=!1,this.isExpanded=this.expanded}toggleTab(n){var t;this.type==="parent"&&(n.preventDefault(),this.isExpanded=!this.isExpanded,(t=this.onExpand)===null||t===void 0||t.call(this,this.isExpanded))}handleMouseEvents(n){const t=n==="add"?"add":"remove";this.tabRef.classList[t]("pressed")}render(){const n={class:`${this.type==="parent"?"sidepanel__menu-tab":"sidepanel__submenu-tab"}
225928
+ }`,Ar=Ir,co=d(class extends l{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.label=void 0,this.variant="success",this.size="md",this.iconOnly=void 0,this.iconType=void 0,this.leadIcon=void 0,this.trailIcon=void 0,this.rounded=void 0,this.outlined=void 0}render(){return this.iconOnly?e("span",{class:`tag tag--${this.variant} ${this.outlined?`tag--${this.variant}-outlined`:""} tag--${this.size} ${this.rounded?"tag--rounded":""} tag--icon`},this.leadIcon&&e("span",{class:"tag-icon"},this.leadIcon),!this.leadIcon&&e("slot",null)):e("span",{class:`tag tag--${this.variant} ${this.outlined?`tag--${this.variant}-outlined`:""} tag--${this.size} ${this.rounded?"tag--rounded":""}`},this.leadIcon?e("span",{class:"tag-icon"},this.leadIcon):"",this.label,this.trailIcon?e("span",{class:"tag-icon"},this.trailIcon):"",e("slot",null))}static get style(){return Ar}},[1,"dga-tag",{label:[1],variant:[1],size:[1],iconOnly:[4,"icon-only"],iconType:[8,"icon-type"],leadIcon:[8,"lead-icon"],trailIcon:[8,"trail-icon"],rounded:[4],outlined:[4]}]);function H(){if(typeof customElements>"u")return;["dga-tag"].forEach(n=>{switch(n){case"dga-tag":customElements.get(n)||customElements.define(n,co);break}})}const so=d(class extends l{constructor(){super(),this.__registerHost(),this.type="parent",this.onColor=!1,this.level=1,this.badge=void 0,this.icon=void 0,this.externalLink=!1,this.text="link",this.link="/pages",this.expanded=!1,this.onExpand=void 0,this.disabled=!1,this.isExpanded=this.expanded}toggleTab(n){var t;this.type==="parent"&&(n.preventDefault(),this.isExpanded=!this.isExpanded,(t=this.onExpand)===null||t===void 0||t.call(this,this.isExpanded))}handleMouseEvents(n){const t=n==="add"?"add":"remove";this.tabRef.classList[t]("pressed")}render(){const n={class:`${this.type==="parent"?"sidepanel__menu-tab":"sidepanel__submenu-tab"}
225929
225929
  ${this.level>1?"sidepanel__submenu--sublevel":""}
225930
225930
  ${this.disabled?"disabled":""}
225931
- ${this.isExpanded?"active":""}`,onMouseDown:()=>this.handleMouseEvents("add"),onMouseUp:()=>this.handleMouseEvents("remove"),onMouseOut:()=>this.handleMouseEvents("remove"),ref:t=>this.tabRef=t};return this.externalLink?e("a",Object.assign({href:this.link},n,{tabindex:"0"}),this.icon&&e("span",{class:"sidepanel__menu-tab-icon"},this.icon),e("span",{class:"sidepanel__menu-tab-label"},this.text),this.type==="parent"&&e("span",{class:"sidepanel__menu-tab-arrow"},e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}})," "),this.badge!==void 0&&e("dga-tag",{color:this.onColor?"on-color":"gray",label:this.badge>=100?"+99":this.badge.toString(),size:"sm"})):this.type==="parent"?e("a",Object.assign({href:"#"},n,{onClick:t=>this.toggleTab(t),tabindex:"0"}),this.icon&&e("span",{class:"sidepanel__menu-tab-icon"},this.icon),e("span",{class:"sidepanel__menu-tab-label"},this.text),e("span",{class:"sidepanel__menu-tab-arrow"},e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}})," "),this.badge!==void 0&&e("dga-tag",{color:this.onColor?"on-color":"gray",label:this.badge>=100?"+99":this.badge.toString(),size:"sm"})):e("stencil-route-link",Object.assign({url:this.link},n,{tabindex:"0"}),this.icon&&e("span",{class:"sidepanel__menu-tab-icon"},this.icon),e("span",{class:"sidepanel__menu-tab-label"},this.text),this.badge!==void 0&&e("dga-tag",{color:this.onColor?"on-color":"gray",label:this.badge>=100?"+99":this.badge.toString(),size:"sm"}))}},[0,"tab-link",{type:[1],onColor:[4,"on-color"],level:[2],badge:[2],icon:[16],externalLink:[4,"external-link"],text:[1],link:[1],expanded:[4],onExpand:[16],disabled:[4],isExpanded:[32]}]);function Y(){if(typeof customElements>"u")return;["tab-link","dga-tag"].forEach(n=>{switch(n){case"tab-link":customElements.get(n)||customElements.define(n,lo);break;case"dga-tag":customElements.get(n)||H();break}})}const fo=d(class extends l{constructor(){super(),this.__registerHost(),this.route=void 0,this.childRoute=void 0,this.onChildExpanded=void 0}handleExpanded(n){n?this.submenuElement.style.maxHeight="fit-content":this.submenuElement.style.maxHeight="";const t=this.submenuElement.scrollHeight;this.onChildExpanded(n,t)}render(){return!this.childRoute.children||this.childRoute.children.length===0?e("li",{key:this.childRoute.path},e("tab-link",{text:this.childRoute.name,link:`${this.route.path}${this.childRoute.path}`,level:this.childRoute.level,type:"child",icon:this.childRoute.icon,badge:this.childRoute.badge,disabled:this.childRoute.disabled})):e("li",{key:this.childRoute.path},e("tab-link",{text:this.childRoute.name,link:`${this.route.path}${this.childRoute.path}`,type:"parent",icon:this.childRoute.icon,disabled:this.childRoute.disabled,onExpand:this.handleExpanded.bind(this)}),e("ul",{class:"sidepanel__submenu-list",ref:n=>this.submenuElement=n},this.childRoute.children.map((n,t)=>e("submenu-component",{key:t,route:this.route,childRoute:n}))))}},[0,"submenu-component",{route:[16],childRoute:[16],onChildExpanded:[16]}]);function G(){if(typeof customElements>"u")return;["submenu-component","dga-tag","submenu-component","tab-link"].forEach(n=>{switch(n){case"submenu-component":customElements.get(n)||customElements.define(n,fo);break;case"dga-tag":customElements.get(n)||H();break;case"submenu-component":customElements.get(n)||G();break;case"tab-link":customElements.get(n)||Y();break}})}const bo=d(class extends l{constructor(){super(),this.__registerHost(),this.route=void 0,this.isExpanded=!1}handleExpanded(n){this.isExpanded=n,n?this.submenuElement.style.maxHeight="fit-content":this.submenuElement.style.maxHeight=""}render(){return e(C,{key:"369cf1a38aab24df40edde8267db5d7ca96ab095"},e("tab-link",{key:"4b3b86f7690969051b0395e2f1ca3e9324e644cc",text:this.route.name,type:this.route.children&&this.route.children.length>0?"parent":"child",icon:this.route.icon,link:this.route.path,onExpand:this.handleExpanded.bind(this),disabled:this.route.disabled}),this.route.children&&this.route.children.length>0&&e("ul",{key:"3a60d8ec14e5f56b1b265c0cfa61b04dca7359c8",class:"sidepanel__submenu-list",ref:n=>this.submenuElement=n},this.route.children.map((n,t)=>e("submenu-component",{key:t,route:this.route,childRoute:n,onChildExpanded:i=>{i&&(this.submenuElement.style.maxHeight="fit-content")}}))))}},[0,"tab-component",{route:[16],isExpanded:[32]}]);function An(){if(typeof customElements>"u")return;["tab-component","dga-tag","submenu-component","tab-link"].forEach(n=>{switch(n){case"tab-component":customElements.get(n)||customElements.define(n,bo);break;case"dga-tag":customElements.get(n)||H();break;case"submenu-component":customElements.get(n)||G();break;case"tab-link":customElements.get(n)||Y();break}})}const po=d(class extends l{constructor(){super(),this.__registerHost(),this.routes=[]}render(){return e("ul",{key:"5d2683d1ea8d3a1bccc6407d6bd8821eb7306b71",class:"sidepanel__menu-list"},this.routes.map((n,t)=>e("li",{key:x()},e("tab-component",{route:n}),t<this.routes.length-1&&e("div",{class:"sidepanel__menu-tab-divider"}))))}},[0,"side-panel-menu",{routes:[16]}]);function uo(){if(typeof customElements>"u")return;["side-panel-menu","dga-tag","submenu-component","tab-component","tab-link"].forEach(n=>{switch(n){case"side-panel-menu":customElements.get(n)||customElements.define(n,po);break;case"dga-tag":customElements.get(n)||H();break;case"submenu-component":customElements.get(n)||G();break;case"tab-component":customElements.get(n)||An();break;case"tab-link":customElements.get(n)||Y();break}})}const ko=d(class extends l{constructor(){super(),this.__registerHost(),this.background=void 0,this.overlay=void 0,this.border=void 0,this.collapsed=void 0,this.routes=void 0}render(){return console.log(this.routes,"routes"),e("div",{key:"3ecb197dba2adf284ed1418f0cfc144d31b963bf",class:`sidepanel ${this.background?`sidepanel--bg-${this.background}`:""}
225931
+ ${this.isExpanded?"active":""}`,onMouseDown:()=>this.handleMouseEvents("add"),onMouseUp:()=>this.handleMouseEvents("remove"),onMouseOut:()=>this.handleMouseEvents("remove"),ref:t=>this.tabRef=t};return this.externalLink?e("a",Object.assign({href:this.link},n,{tabindex:"0"}),this.icon&&e("span",{class:"sidepanel__menu-tab-icon"},this.icon),e("span",{class:"sidepanel__menu-tab-label"},this.text),this.type==="parent"&&e("span",{class:"sidepanel__menu-tab-arrow"},e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}})," "),this.badge!==void 0&&e("dga-tag",{color:this.onColor?"on-color":"gray",label:this.badge>=100?"+99":this.badge.toString(),size:"sm"})):this.type==="parent"?e("a",Object.assign({href:"#"},n,{onClick:t=>this.toggleTab(t),tabindex:"0"}),this.icon&&e("span",{class:"sidepanel__menu-tab-icon"},this.icon),e("span",{class:"sidepanel__menu-tab-label"},this.text),e("span",{class:"sidepanel__menu-tab-arrow"},e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}})," "),this.badge!==void 0&&e("dga-tag",{color:this.onColor?"on-color":"gray",label:this.badge>=100?"+99":this.badge.toString(),size:"sm"})):e("stencil-route-link",Object.assign({url:this.link},n,{tabindex:"0"}),this.icon&&e("span",{class:"sidepanel__menu-tab-icon"},this.icon),e("span",{class:"sidepanel__menu-tab-label"},this.text),this.badge!==void 0&&e("dga-tag",{color:this.onColor?"on-color":"gray",label:this.badge>=100?"+99":this.badge.toString(),size:"sm"}))}get el(){return this}},[0,"tab-link",{type:[1],onColor:[4,"on-color"],level:[2],badge:[2],icon:[16],externalLink:[4,"external-link"],text:[1],link:[1],expanded:[4],onExpand:[16],disabled:[4],isExpanded:[32]}]);function Y(){if(typeof customElements>"u")return;["tab-link","dga-tag"].forEach(n=>{switch(n){case"tab-link":customElements.get(n)||customElements.define(n,so);break;case"dga-tag":customElements.get(n)||H();break}})}const lo=d(class extends l{constructor(){super(),this.__registerHost(),this.route=void 0,this.childRoute=void 0,this.onChildExpanded=void 0}handleExpanded(n){n?this.submenuElement.style.maxHeight="fit-content":this.submenuElement.style.maxHeight="";const t=this.submenuElement.scrollHeight;this.onChildExpanded(n,t)}render(){return!this.childRoute.children||this.childRoute.children.length===0?e("li",{key:this.childRoute.path},e("tab-link",{text:this.childRoute.name,link:`${this.route.path}${this.childRoute.path}`,level:this.childRoute.level,type:"child",icon:this.childRoute.icon,badge:this.childRoute.badge,disabled:this.childRoute.disabled})):e("li",{key:this.childRoute.path},e("tab-link",{text:this.childRoute.name,link:`${this.route.path}${this.childRoute.path}`,type:"parent",icon:this.childRoute.icon,disabled:this.childRoute.disabled,onExpand:this.handleExpanded.bind(this)}),e("ul",{class:"sidepanel__submenu-list",ref:n=>this.submenuElement=n},this.childRoute.children.map((n,t)=>e("submenu-component",{key:t,route:this.route,childRoute:n}))))}},[0,"submenu-component",{route:[16],childRoute:[16],onChildExpanded:[16]}]);function G(){if(typeof customElements>"u")return;["submenu-component","dga-tag","submenu-component","tab-link"].forEach(n=>{switch(n){case"submenu-component":customElements.get(n)||customElements.define(n,lo);break;case"dga-tag":customElements.get(n)||H();break;case"submenu-component":customElements.get(n)||G();break;case"tab-link":customElements.get(n)||Y();break}})}const fo=d(class extends l{constructor(){super(),this.__registerHost(),this.route=void 0,this.isExpanded=!1}handleExpanded(n){this.isExpanded=n,n?this.submenuElement.style.maxHeight="fit-content":this.submenuElement.style.maxHeight=""}render(){return e(C,{key:"b99c8155b505cbf389c98c278ff3b7713417a5ae"},e("tab-link",{key:"76d7e2dd07dc7de13d70d692edd7601684f2bb22",text:this.route.name,type:this.route.children&&this.route.children.length>0?"parent":"child",icon:this.route.icon,link:this.route.path,onExpand:this.handleExpanded.bind(this),disabled:this.route.disabled}),this.route.children&&this.route.children.length>0&&e("ul",{key:"4cb0327b2992ce3a78de8e4c199e99e7ef02b62d",class:"sidepanel__submenu-list",ref:n=>this.submenuElement=n},this.route.children.map((n,t)=>e("submenu-component",{key:t,route:this.route,childRoute:n,onChildExpanded:i=>{i&&(this.submenuElement.style.maxHeight="fit-content")}}))))}},[0,"tab-component",{route:[16],isExpanded:[32]}]);function An(){if(typeof customElements>"u")return;["tab-component","dga-tag","submenu-component","tab-link"].forEach(n=>{switch(n){case"tab-component":customElements.get(n)||customElements.define(n,fo);break;case"dga-tag":customElements.get(n)||H();break;case"submenu-component":customElements.get(n)||G();break;case"tab-link":customElements.get(n)||Y();break}})}const bo=d(class extends l{constructor(){super(),this.__registerHost(),this.routes=[]}render(){return e("ul",{key:"4c8b2397cf812cab34718be2ff0b9d38b15654db",class:"sidepanel__menu-list"},this.routes.map((n,t)=>e("li",{key:x()},e("tab-component",{route:n}),t<this.routes.length-1&&e("div",{class:"sidepanel__menu-tab-divider"}))))}},[0,"side-panel-menu",{routes:[16]}]);function po(){if(typeof customElements>"u")return;["side-panel-menu","dga-tag","submenu-component","tab-component","tab-link"].forEach(n=>{switch(n){case"side-panel-menu":customElements.get(n)||customElements.define(n,bo);break;case"dga-tag":customElements.get(n)||H();break;case"submenu-component":customElements.get(n)||G();break;case"tab-component":customElements.get(n)||An();break;case"tab-link":customElements.get(n)||Y();break}})}const uo=d(class extends l{constructor(){super(),this.__registerHost(),this.background=void 0,this.overlay=void 0,this.border=void 0,this.collapsed=void 0,this.routes=void 0}render(){return console.log(this.routes,"routes"),e("div",{key:"3ecb197dba2adf284ed1418f0cfc144d31b963bf",class:`sidepanel ${this.background?`sidepanel--bg-${this.background}`:""}
225932
225932
  ${this.overlay?"sidepanel--overlay":""}
225933
225933
  ${this.border?"sidepanel--border":""}
225934
225934
  ${this.collapsed?"collapsed":""}
225935
- `},e("side-panel-menu",{key:"0e6c5c0d5eeb7fc50eefa8bea8c2320f1302d4a9",routes:this.routes}))}},[0,"dga-drawer",{background:[1],overlay:[4],border:[4],collapsed:[4],routes:[16]}]);function Br(){if(typeof customElements>"u")return;["dga-drawer","dga-tag","side-panel-menu","submenu-component","tab-component","tab-link"].forEach(n=>{switch(n){case"dga-drawer":customElements.get(n)||customElements.define(n,ko);break;case"dga-tag":customElements.get(n)||H();break;case"side-panel-menu":customElements.get(n)||uo();break;case"submenu-component":customElements.get(n)||G();break;case"tab-component":customElements.get(n)||An();break;case"tab-link":customElements.get(n)||Y();break}})}const Pr=ko,Dr=Br,mo=d(class extends l{constructor(){super(),this.__registerHost(),this.handleClickOutside=n=>{var t;this.containerRef&&!this.containerRef.contains(n.target)&&((t=this.btnRef)===null||t===void 0||t.classList.remove("open"))},this.id=x(),this.placeholder=void 0,this.size="lg",this.variant="default",this.error=!1,this.disabled=!1,this.readonly=!1,this.multiSelect=!1,this.options=[],this.optionLabel="name",this.trackBy="value",this.getSelectedOptions=void 0,this.extraClass=void 0,this.optionList=[]}componentWillLoad(){this.initializeOptions()}initializeOptions(){const n=[...this.options].map(t=>(t.selected||(t.selected=!1),t));this.optionList=n}setSelectedOptions(n,t){const i=[...this.optionList];this.multiSelect?(i[t].selected=!i[t].selected,this.getSelectedOptions&&this.getSelectedOptions({selectedList:i.filter(r=>r.selected),selectedOption:n,selectedIndex:t})):(i.forEach(r=>r.selected=!1),i[t].selected=!i[t].selected,this.getSelectedOptions&&this.getSelectedOptions(n)),this.optionList=i}componentDidLoad(){document.addEventListener("click",this.handleClickOutside)}disconnectedCallback(){document.removeEventListener("click",this.handleClickOutside)}handleAddPressed(n){n.currentTarget.classList.add("active")}handleRemovePressed(n){n.currentTarget.classList.remove("active")}handleToggleDropdown(n){n.currentTarget.classList.toggle("open")}handleSelectSingleOption(n,t,i){var r;this.setSelectedOptions(t,i);const a=n.target,g=a.closest(".dropdown"),h=g.querySelector(".dropdown__label"),c=g.querySelector(".dropdown__option.selected");a.classList.contains("selected")||(h.classList.remove("dropdown__label--selection"),c==null||c.classList.remove("selected"),a.classList.add("selected"),h.textContent=(r=a.querySelector(".dropdown__option-label"))===null||r===void 0?void 0:r.textContent,h.classList.add("dropdown__label--selection")),g.querySelector(".dropdown__btn").classList.remove("open")}getSelectedChoices(n){const t={values:[],labels:[]};return n.querySelectorAll(".dropdown__option.selected").forEach(i=>{var r;const a=i.getAttribute("data-value"),g=(r=i.querySelector(".dropdown__option-label"))===null||r===void 0?void 0:r.textContent;t.values.push(a),t.labels.push(g)}),t}handleMultiOptionClicked(n,t,i){this.setSelectedOptions(t,i);const r=n.target;r.classList.toggle("selected");const a=r.closest(".dropdown"),g=a.querySelector(".dropdown__label"),{values:h,labels:c}=this.getSelectedChoices(a);a.setAttribute("data-value",h.join(", ")),g.textContent=c.join(", "),h.length?g.classList.add("dropdown__label--selection"):g.classList.remove("dropdown__label--selection")}render(){return e("div",{key:"b0c756afe898e0c2e4fb00a9e2a31ef01eb6001d",id:this.id,ref:n=>this.containerRef=n,class:`dropdown dropdown--${this.size} ${this.error?"dropdown--error":""} ${this.variant!=="default"?`dropdown--${this.variant}`:""} ${this.disabled?"dropdown--disabled":""} ${this.readonly?"dropdown--readonly":""} ${this.multiSelect?"dropdown--multi-select":""} ${this.extraClass||""}`},e("button",{key:"d721cdeaef6aed1a7fdadf4fb7ba89c43869e7b8",class:"dropdown__btn",ref:n=>this.btnRef=n,disabled:this.disabled||this.readonly,onClick:this.handleToggleDropdown.bind(this),onMouseDown:this.handleAddPressed.bind(this),onMouseUp:this.handleRemovePressed.bind(this),onMouseOut:this.handleRemovePressed.bind(this),type:"button"},e("span",{key:"3916b252d9475d2c6787a3f4c874826575d6e44c",class:"dropdown__label"}),e("span",{key:"14b74fbac94fdf3f99ae1d0d2ef6558be400432d",class:"dropdown__label-placeholder"},this.placeholder),e("span",{key:"ac5230adb5add620f7d11fa0b9f2a75cbc7a1651",class:"dropdown__chevron"},e("dga-icon",{key:"c3ae4bbe3ca17c96861e0ff2c97621dab098da89",icon:"ArrowDown01Icon",variant:"stroke"}))),e("ul",{key:"c2ad3bfae709d13bf8468eb03f6492fda7a96aee",class:"dropdown__list"},this.optionList.map((n,t)=>this.multiSelect?e("li",{key:n[this.trackBy]?n[this.trackBy]:x()},e("button",{class:"dropdown__option dropdown__option--checkbox","data-value":n[this.trackBy]?n[this.trackBy]:"",onClick:i=>this.handleMultiOptionClicked(i,n,t),onMouseDown:this.handleAddPressed.bind(this),onMouseUp:this.handleRemovePressed.bind(this),onMouseOut:this.handleRemovePressed.bind(this),type:"button"},e("div",{class:"dropdown__option-icon-container"},e("span",{class:"dropdown__option-icon"},e("i",{class:"hgi-solid hgi-tick-02",style:{fontSize:"20px"}}))),e("span",{class:"dropdown__option-label"},n[this.optionLabel]?n[this.optionLabel]:""))):e("li",{key:n[this.trackBy]?n[this.trackBy]:x()},e("button",{class:"dropdown__option",type:"button",onClick:i=>this.handleSelectSingleOption(i,n,t),onMouseDown:this.handleAddPressed.bind(this),onMouseUp:this.handleRemovePressed.bind(this),onMouseOut:this.handleRemovePressed.bind(this)},e("span",{class:"dropdown__option-label"},n[this.optionLabel]?n[this.optionLabel]:""),e("span",{class:"dropdown__option-icon"},e("dga-icon",{icon:"Tick02Icon",variant:"solid"})))))))}get el(){return this}static get watchers(){return{options:["initializeOptions"]}}},[0,"dga-dropdown",{id:[1],placeholder:[1],size:[1],variant:[1],error:[4],disabled:[4],readonly:[4],multiSelect:[4,"multi-select"],options:[16],optionLabel:[1,"option-label"],trackBy:[1,"track-by"],getSelectedOptions:[16],extraClass:[1,"extra-class"],optionList:[32]},void 0,{options:["initializeOptions"]}]);function Er(){if(typeof customElements>"u")return;["dga-dropdown","dga-icon"].forEach(n=>{switch(n){case"dga-dropdown":customElements.get(n)||customElements.define(n,mo);break;case"dga-icon":customElements.get(n)||w();break}})}const jr=mo,Tr=Er,vo=d(class extends l{constructor(){super(),this.__registerHost(),this.iconFonts={xl:28,lg:24,md:20,sm:16},this.size="md",this.color="brand",this.variant="light",this.circle=!0,this.icon=void 0}render(){return e("div",{key:"c1f1814030e96d731f35296570c8c9f96a55cc7d",class:`dga-featured-icon ${this.circle?"dga-featured-icon--circle":""} dga-featured-icon--${this.size} dga-featured-icon--${this.variant}-${this.color}`},e("dga-icon",{key:"07d3e0671696e14e190f2d1e910db63f1c08ca08",icon:this.icon.name,variant:this.icon.variant,type:this.icon.type,size:this.iconFonts[this.size]}))}},[0,"dga-featured-icon",{size:[1],color:[1],variant:[1],circle:[4],icon:[16]}]);function Lr(){if(typeof customElements>"u")return;["dga-featured-icon","dga-icon"].forEach(n=>{switch(n){case"dga-featured-icon":customElements.get(n)||customElements.define(n,vo);break;case"dga-icon":customElements.get(n)||w();break}})}const Or=vo,Rr=Lr,wo=d(class extends l{constructor(){super(),this.__registerHost(),this.size="md",this.variant="neutral",this.extraClass=void 0}render(){const n=`loading loading--${this.size} loading--${this.variant} ${this.extraClass?this.extraClass:""}`;return e("div",{key:"7601bcb342109ab4e6713f37aaa2b575ed14505f",class:n},e("div",{key:"2a77507cba8f81205c94f0ea5460e68fed1ad7a9",class:"loading__circle"}))}},[0,"dga-loading",{size:[1],variant:[1],extraClass:[1,"extra-class"]}]);function xo(){if(typeof customElements>"u")return;["dga-loading"].forEach(n=>{switch(n){case"dga-loading":customElements.get(n)||customElements.define(n,wo);break}})}const yo=d(class extends l{constructor(){super(),this.__registerHost(),this.handleFileSelection=n=>{const t=n.target;this.onChange&&this.onChange(n);const i=t.files;if(i){if(this.maximumFilesSize&&Array.from(i).some(g=>g.size>this.maximumFilesSize)){this.uploadFileOverSize&&this.uploadFileOverSize();return}const r=Array.from(i).map(a=>({name:a.name,uploadStatus:"pending"}));this.files=[...this.files,...r],this.getUploadedFile&&this.getUploadedFile([...this.files])}},this.handleDrop=n=>{n.preventDefault(),n.stopPropagation();const t=n.dataTransfer.files;if(t){const i=Array.from(t).map(r=>({name:r.name,uploadStatus:"pending"}));this.files=[...this.files,...i]}this.dragState=!1},this.addDragOverClass=n=>{n.preventDefault(),n.stopPropagation(),this.dragState=!0},this.removeDragOverClass=n=>{n.preventDefault(),n.stopPropagation(),this.dragState=!1},this.id=x(),this.name=x(),this.accept=void 0,this.multiple=void 0,this.title="Drag and drop files here to upload",this.fileTypesText="Maximum file size allowed is 2MB, supported file formats include .jpg, .png, and .pdf.",this.actionName="Browse Files",this.maximumFilesSize=void 0,this.disabled=!1,this.getUploadedFile=void 0,this.uploadFileOverSize=void 0,this.onChange=void 0,this.emitDeleteFile=void 0,this.files=[],this.dragState=!1}componentDidLoad(){const n=document.querySelector(".file-upload__drop-area");n.addEventListener("dragover",this.addDragOverClass),n.addEventListener("dragleave",this.removeDragOverClass),n.addEventListener("drop",this.handleDrop)}disconnectedCallback(){const n=document.querySelector(".file-upload__drop-area");n.removeEventListener("dragover",this.addDragOverClass),n.removeEventListener("dragleave",this.removeDragOverClass),n.removeEventListener("drop",this.handleDrop)}handleDeleteFile(n,t){this.files=[...this.files.slice(0,n),...this.files.slice(n+1)],this.emitDeleteFile&&this.emitDeleteFile(t,n)}renderFile(n,t){return n.uploadStatus==="error"?e("div",{class:"file-upload__file-item--error"},e("div",{class:"file-upload__file-item"},e("span",{class:"file-upload__file-status file-upload__file-status--error"},e("i",{class:"hgi-solid hgi-alert-circle",style:{fontSize:"20px"}})),e("span",{class:"file-upload__file-name"},n.name),e("button",{class:"btn btn--close btn--icon btn--sm",onClick:()=>this.handleDeleteFile(t,n)},e("span",{class:"btn-icon"},e("i",{class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}})))),e("div",{class:"file-upload__file-item-msg"},n.errorMessage?n.errorMessage:"Here goes the helper text.")):e("div",{class:"file-upload__file-item"},e("span",{class:`file-upload__file-status file-upload__file-status--${n.uploadStatus}`},n.uploadStatus==="uploading"&&n.progress&&e("dga-loading",{size:"tiny",variant:"neutral"}),n.uploadStatus==="complete"&&e("i",{class:"hgi-solid hgi-checkmark-circle-02"})),e("span",{class:"file-upload__file-name"},n.name),e("button",{class:"btn btn--close btn--icon btn--sm",onClick:()=>this.handleDeleteFile(t,n)},e("span",{class:"btn-icon"},e("i",{class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}}))))}render(){return e("div",{key:"b1c300fdbba7bf5befe85831c2303433f9be98f0",class:`file-upload ${this.dragState?"file-upload--drag-over":""} ${this.disabled?"file-upload--disabled":""}`},e("input",{key:"3d16a650252ead3d070b04f04a7236d382a001a4",type:"file",id:this.id,name:this.name,class:"file-upload__input",accept:this.accept,multiple:this.multiple,"aria-hidden":"true",onChange:this.handleFileSelection,ref:n=>this.fileInputRef=n}),e("label",{key:"f739eab7a639cd167d557db9aa1394dee361d70f",htmlFor:this.id,class:"file-upload__drop-area"},e("span",{key:"ad46bb6195884c97d88c10584282d9be7a3cec83",class:"file-upload__icon"},e("i",{key:"e98587964df438993fe90fc7ff18104a9f405509",class:"hgi-stroke hgi-file-upload",style:{fontSize:"20px"}})),e("div",{key:"d3f5ae1cff69571acf2a9b015a77308da4a863a0",class:"file-upload__content"},e("p",{key:"3f01fcd49077772a4b0c7e876aaf816136b79904",class:"file-upload__instructions"},this.title),e("p",{key:"03dcfe8cac035d73128abb82fb774f777000adb8",class:"file-upload__formats"},this.fileTypesText)),e("button",{key:"5e4d70a45a4201afe0e11032dbd1d149257b2c13",class:"btn btn--md btn--secondary","aria-label":"Browse Files",disabled:this.dragState||this.disabled,type:"button",onClick:()=>{var n;return(n=this.fileInputRef)===null||n===void 0?void 0:n.click()}},e("span",{key:"0412b86639a090c9c187e30673458c7f851d18f2"},this.actionName))),e("div",{key:"2e7bc608d25995497f8a6315d5e91b57c347ec20",class:"file-upload__files-list"},this.files.map((n,t)=>this.renderFile(n,t))))}},[0,"dga-file-upload",{id:[1],name:[1],accept:[1],multiple:[4],title:[1],fileTypesText:[1,"file-types-text"],actionName:[1,"action-name"],maximumFilesSize:[2,"maximum-files-size"],disabled:[4],getUploadedFile:[16],uploadFileOverSize:[16],onChange:[16],emitDeleteFile:[16],files:[32],dragState:[32]}]);function Hr(){if(typeof customElements>"u")return;["dga-file-upload","dga-loading"].forEach(n=>{switch(n){case"dga-file-upload":customElements.get(n)||customElements.define(n,yo);break;case"dga-loading":customElements.get(n)||xo();break}})}const Fr=yo,Ur=Hr,Wr=`@charset "UTF-8";
225935
+ `},e("side-panel-menu",{key:"0e6c5c0d5eeb7fc50eefa8bea8c2320f1302d4a9",routes:this.routes}))}},[0,"dga-drawer",{background:[1],overlay:[4],border:[4],collapsed:[4],routes:[16]}]);function Br(){if(typeof customElements>"u")return;["dga-drawer","dga-tag","side-panel-menu","submenu-component","tab-component","tab-link"].forEach(n=>{switch(n){case"dga-drawer":customElements.get(n)||customElements.define(n,uo);break;case"dga-tag":customElements.get(n)||H();break;case"side-panel-menu":customElements.get(n)||po();break;case"submenu-component":customElements.get(n)||G();break;case"tab-component":customElements.get(n)||An();break;case"tab-link":customElements.get(n)||Y();break}})}const Pr=uo,Dr=Br,ko=d(class extends l{constructor(){super(),this.__registerHost(),this.handleClickOutside=n=>{var t;this.containerRef&&!this.containerRef.contains(n.target)&&((t=this.btnRef)===null||t===void 0||t.classList.remove("open"))},this.id=x(),this.placeholder=void 0,this.size="lg",this.variant="default",this.error=!1,this.disabled=!1,this.readonly=!1,this.multiSelect=!1,this.options=[],this.optionLabel="name",this.trackBy="value",this.getSelectedOptions=void 0,this.extraClass=void 0,this.optionList=[]}componentWillLoad(){this.initializeOptions()}initializeOptions(){const n=[...this.options].map(t=>(t.selected||(t.selected=!1),t));this.optionList=n}setSelectedOptions(n,t){const i=[...this.optionList];this.multiSelect?(i[t].selected=!i[t].selected,this.getSelectedOptions&&this.getSelectedOptions({selectedList:i.filter(r=>r.selected),selectedOption:n,selectedIndex:t})):(i.forEach(r=>r.selected=!1),i[t].selected=!i[t].selected,this.getSelectedOptions&&this.getSelectedOptions(n)),this.optionList=i}componentDidLoad(){document.addEventListener("click",this.handleClickOutside)}disconnectedCallback(){document.removeEventListener("click",this.handleClickOutside)}handleAddPressed(n){n.currentTarget.classList.add("active")}handleRemovePressed(n){n.currentTarget.classList.remove("active")}handleToggleDropdown(n){n.currentTarget.classList.toggle("open")}handleSelectSingleOption(n,t,i){var r;this.setSelectedOptions(t,i);const a=n.target,g=a.closest(".dropdown"),h=g.querySelector(".dropdown__label"),c=g.querySelector(".dropdown__option.selected");a.classList.contains("selected")||(h.classList.remove("dropdown__label--selection"),c==null||c.classList.remove("selected"),a.classList.add("selected"),h.textContent=(r=a.querySelector(".dropdown__option-label"))===null||r===void 0?void 0:r.textContent,h.classList.add("dropdown__label--selection")),g.querySelector(".dropdown__btn").classList.remove("open")}getSelectedChoices(n){const t={values:[],labels:[]};return n.querySelectorAll(".dropdown__option.selected").forEach(i=>{var r;const a=i.getAttribute("data-value"),g=(r=i.querySelector(".dropdown__option-label"))===null||r===void 0?void 0:r.textContent;t.values.push(a),t.labels.push(g)}),t}handleMultiOptionClicked(n,t,i){this.setSelectedOptions(t,i);const r=n.target;r.classList.toggle("selected");const a=r.closest(".dropdown"),g=a.querySelector(".dropdown__label"),{values:h,labels:c}=this.getSelectedChoices(a);a.setAttribute("data-value",h.join(", ")),g.textContent=c.join(", "),h.length?g.classList.add("dropdown__label--selection"):g.classList.remove("dropdown__label--selection")}render(){return e("div",{key:"163f7d55ad6e4fff492594a1c3274395d5d88378",id:this.id,ref:n=>this.containerRef=n,class:`dropdown dropdown--${this.size} ${this.error?"dropdown--error":""} ${this.variant!=="default"?`dropdown--${this.variant}`:""} ${this.disabled?"dropdown--disabled":""} ${this.readonly?"dropdown--readonly":""} ${this.multiSelect?"dropdown--multi-select":""} ${this.extraClass||""}`},e("button",{key:"29d11e4f542426e5777293d2ead6365a6a56a456",class:"dropdown__btn",ref:n=>this.btnRef=n,disabled:this.disabled||this.readonly,onClick:this.handleToggleDropdown.bind(this),onMouseDown:this.handleAddPressed.bind(this),onMouseUp:this.handleRemovePressed.bind(this),onMouseOut:this.handleRemovePressed.bind(this),type:"button"},e("span",{key:"921ab6b0f173bf1a2d57e61e35d31c9f324d87b8",class:"dropdown__label"}),e("span",{key:"dcd7e2d4390f0ffd19bdb32f1c23eba0676b8ea6",class:"dropdown__label-placeholder"},this.placeholder),e("span",{key:"5ee7e21a4428aba0dfa0a7fad23c3c797d1d7795",class:"dropdown__chevron"},e("dga-icon",{key:"08ab5495f37b5f7d19de2075283d5733941d38e7",icon:"ArrowDown01Icon",variant:"stroke"}))),e("ul",{key:"96baa1e49d82a2c9ee84815dede0fad077a23515",class:"dropdown__list"},this.optionList.map((n,t)=>this.multiSelect?e("li",{key:n[this.trackBy]?n[this.trackBy]:x()},e("button",{class:"dropdown__option dropdown__option--checkbox","data-value":n[this.trackBy]?n[this.trackBy]:"",onClick:i=>this.handleMultiOptionClicked(i,n,t),onMouseDown:this.handleAddPressed.bind(this),onMouseUp:this.handleRemovePressed.bind(this),onMouseOut:this.handleRemovePressed.bind(this),type:"button"},e("div",{class:"dropdown__option-icon-container"},e("span",{class:"dropdown__option-icon"},e("i",{class:"hgi-solid hgi-tick-02",style:{fontSize:"20px"}}))),e("span",{class:"dropdown__option-label"},n[this.optionLabel]?n[this.optionLabel]:""))):e("li",{key:n[this.trackBy]?n[this.trackBy]:x()},e("button",{class:"dropdown__option",type:"button",onClick:i=>this.handleSelectSingleOption(i,n,t),onMouseDown:this.handleAddPressed.bind(this),onMouseUp:this.handleRemovePressed.bind(this),onMouseOut:this.handleRemovePressed.bind(this)},e("span",{class:"dropdown__option-label"},n[this.optionLabel]?n[this.optionLabel]:""),e("span",{class:"dropdown__option-icon"},e("dga-icon",{icon:"Tick02Icon",variant:"solid"})))))))}get el(){return this}static get watchers(){return{options:["initializeOptions"]}}},[0,"dga-dropdown",{id:[1],placeholder:[1],size:[1],variant:[1],error:[4],disabled:[4],readonly:[4],multiSelect:[4,"multi-select"],options:[16],optionLabel:[1,"option-label"],trackBy:[1,"track-by"],getSelectedOptions:[16],extraClass:[1,"extra-class"],optionList:[32]},void 0,{options:["initializeOptions"]}]);function Er(){if(typeof customElements>"u")return;["dga-dropdown","dga-icon"].forEach(n=>{switch(n){case"dga-dropdown":customElements.get(n)||customElements.define(n,ko);break;case"dga-icon":customElements.get(n)||w();break}})}const jr=ko,Tr=Er,mo=d(class extends l{constructor(){super(),this.__registerHost(),this.iconFonts={xl:28,lg:24,md:20,sm:16},this.size="md",this.color="brand",this.variant="light",this.circle=!0,this.icon=void 0}render(){return e("div",{key:"c1f1814030e96d731f35296570c8c9f96a55cc7d",class:`dga-featured-icon ${this.circle?"dga-featured-icon--circle":""} dga-featured-icon--${this.size} dga-featured-icon--${this.variant}-${this.color}`},e("dga-icon",{key:"07d3e0671696e14e190f2d1e910db63f1c08ca08",icon:this.icon.name,variant:this.icon.variant,type:this.icon.type,size:this.iconFonts[this.size]}))}},[0,"dga-featured-icon",{size:[1],color:[1],variant:[1],circle:[4],icon:[16]}]);function Lr(){if(typeof customElements>"u")return;["dga-featured-icon","dga-icon"].forEach(n=>{switch(n){case"dga-featured-icon":customElements.get(n)||customElements.define(n,mo);break;case"dga-icon":customElements.get(n)||w();break}})}const Rr=mo,Or=Lr,vo=d(class extends l{constructor(){super(),this.__registerHost(),this.size="md",this.variant="neutral",this.extraClass=void 0}render(){const n=`loading loading--${this.size} loading--${this.variant} ${this.extraClass?this.extraClass:""}`;return e("div",{key:"251ea0a456a7186f146af07dfee5ee2dec02cc85",class:n},e("div",{key:"e37151f429664b8f389e49a7bdd3f714494521f3",class:"loading__circle"}))}},[0,"dga-loading",{size:[1],variant:[1],extraClass:[1,"extra-class"]}]);function wo(){if(typeof customElements>"u")return;["dga-loading"].forEach(n=>{switch(n){case"dga-loading":customElements.get(n)||customElements.define(n,vo);break}})}const xo=d(class extends l{constructor(){super(),this.__registerHost(),this.handleFileSelection=n=>{const t=n.target;this.onChange&&this.onChange(n);const i=t.files;if(i){if(this.maximumFilesSize&&Array.from(i).some(g=>g.size>this.maximumFilesSize)){this.uploadFileOverSize&&this.uploadFileOverSize();return}const r=Array.from(i).map(a=>({name:a.name,uploadStatus:"pending"}));this.files=[...this.files,...r],this.getUploadedFile&&this.getUploadedFile([...this.files])}},this.handleDrop=n=>{n.preventDefault(),n.stopPropagation();const t=n.dataTransfer.files;if(t){const i=Array.from(t).map(r=>({name:r.name,uploadStatus:"pending"}));this.files=[...this.files,...i]}this.dragState=!1},this.addDragOverClass=n=>{n.preventDefault(),n.stopPropagation(),this.dragState=!0},this.removeDragOverClass=n=>{n.preventDefault(),n.stopPropagation(),this.dragState=!1},this.id=x(),this.name=x(),this.accept=void 0,this.multiple=void 0,this.title="Drag and drop files here to upload",this.fileTypesText="Maximum file size allowed is 2MB, supported file formats include .jpg, .png, and .pdf.",this.actionName="Browse Files",this.maximumFilesSize=void 0,this.disabled=!1,this.getUploadedFile=void 0,this.uploadFileOverSize=void 0,this.onChange=void 0,this.emitDeleteFile=void 0,this.files=[],this.dragState=!1}componentDidLoad(){const n=document.querySelector(".file-upload__drop-area");n.addEventListener("dragover",this.addDragOverClass),n.addEventListener("dragleave",this.removeDragOverClass),n.addEventListener("drop",this.handleDrop)}disconnectedCallback(){const n=document.querySelector(".file-upload__drop-area");n.removeEventListener("dragover",this.addDragOverClass),n.removeEventListener("dragleave",this.removeDragOverClass),n.removeEventListener("drop",this.handleDrop)}handleDeleteFile(n,t){this.files=[...this.files.slice(0,n),...this.files.slice(n+1)],this.emitDeleteFile&&this.emitDeleteFile(t,n)}renderFile(n,t){return n.uploadStatus==="error"?e("div",{class:"file-upload__file-item--error"},e("div",{class:"file-upload__file-item"},e("span",{class:"file-upload__file-status file-upload__file-status--error"},e("i",{class:"hgi-solid hgi-alert-circle",style:{fontSize:"20px"}})),e("span",{class:"file-upload__file-name"},n.name),e("button",{class:"btn btn--close btn--icon btn--sm",onClick:()=>this.handleDeleteFile(t,n)},e("span",{class:"btn-icon"},e("i",{class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}})))),e("div",{class:"file-upload__file-item-msg"},n.errorMessage?n.errorMessage:"Here goes the helper text.")):e("div",{class:"file-upload__file-item"},e("span",{class:`file-upload__file-status file-upload__file-status--${n.uploadStatus}`},n.uploadStatus==="uploading"&&n.progress&&e("dga-loading",{size:"tiny",variant:"neutral"}),n.uploadStatus==="complete"&&e("i",{class:"hgi-solid hgi-checkmark-circle-02"})),e("span",{class:"file-upload__file-name"},n.name),e("button",{class:"btn btn--close btn--icon btn--sm",onClick:()=>this.handleDeleteFile(t,n)},e("span",{class:"btn-icon"},e("i",{class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}}))))}render(){return e("div",{key:"89d5b9399b49d009c29dfb3262fe6d869ab57b25",class:`file-upload ${this.dragState?"file-upload--drag-over":""} ${this.disabled?"file-upload--disabled":""}`},e("input",{key:"23874e68419840843507a16c90a561bb0753f749",type:"file",id:this.id,name:this.name,class:"file-upload__input",accept:this.accept,multiple:this.multiple,"aria-hidden":"true",onChange:this.handleFileSelection,ref:n=>this.fileInputRef=n}),e("label",{key:"02ec4b2f9fa312ddad8b50b8b05484135ddb4b73",htmlFor:this.id,class:"file-upload__drop-area"},e("span",{key:"63ca89c63d6f032bd6fb66537f6f0eccbb480b67",class:"file-upload__icon"},e("i",{key:"b32b5102327dd8312ada4087d55ccfd177cde29f",class:"hgi-stroke hgi-file-upload",style:{fontSize:"20px"}})),e("div",{key:"b826b1b1ae3388227978a100c717947f3e80fd36",class:"file-upload__content"},e("p",{key:"b12e1a7f21f3d7b87c166f99c576f4e9560982a2",class:"file-upload__instructions"},this.title),e("p",{key:"e3572e65afb04ec2e440f1ad415e36ee6a477352",class:"file-upload__formats"},this.fileTypesText)),e("button",{key:"cd18caab698d0ac73450af45c696c6c250c6b5ae",class:"btn btn--md btn--secondary","aria-label":"Browse Files",disabled:this.dragState||this.disabled,type:"button",onClick:()=>{var n;return(n=this.fileInputRef)===null||n===void 0?void 0:n.click()}},e("span",{key:"72f5507ab9256bcd906eab41b883d4b7e8259dfc"},this.actionName))),e("div",{key:"5e227accaf5d0b87b16289942da9b81cf58728db",class:"file-upload__files-list"},this.files.map((n,t)=>this.renderFile(n,t))))}},[0,"dga-file-upload",{id:[1],name:[1],accept:[1],multiple:[4],title:[1],fileTypesText:[1,"file-types-text"],actionName:[1,"action-name"],maximumFilesSize:[2,"maximum-files-size"],disabled:[4],getUploadedFile:[16],uploadFileOverSize:[16],onChange:[16],emitDeleteFile:[16],files:[32],dragState:[32]}]);function Hr(){if(typeof customElements>"u")return;["dga-file-upload","dga-loading"].forEach(n=>{switch(n){case"dga-file-upload":customElements.get(n)||customElements.define(n,xo);break;case"dga-loading":customElements.get(n)||wo();break}})}const Fr=xo,Ur=Hr,Wr=`@charset "UTF-8";
225936
225936
  /*
225937
225937
  0 - 600px: Phone
225938
225938
  600 - 900px: Tablet portrait
@@ -229591,7 +229591,7 @@ a:focus {
229591
229591
  max-width: calc(50% - 24px + 12px);
229592
229592
  min-width: auto;
229593
229593
  }
229594
- }`,Vr=Wr,_o=d(class extends l{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.background=void 0,this.NavLinks=void 0,this.mainTitle="",this.mainDescription="",this.mainLink=void 0,this.mainLinkTilte="",this.mainImage="",this.copyright="",this.groupLinks=[],this.socialMediaTitle="Social Media",this.socialMediaLinks=[],this.accessibilityTitle="Accessibility Tools",this.accessibilityLinks=[],this.basicLinks=[],this.extraLinks=[],this.bottomImages=[]}render(){return e("footer",{key:"b5778d8d9be87c9cb9224b4b46d64961faeeda2f",class:`footer ${this.background==="DarkGreen"?"footer--bg-brand":""}`},e("section",{key:"b1155f1b425b0670d1a1484e0b9be277cc60fc30",class:"footer-content"},(this.mainLinkTilte||this.mainImage)&&e("div",{key:"6b37281640220b61945003012c6147a3463e2c0c",class:"footer-icon-section"},e("a",{key:"ce7365af9e0b8e8fe048f21ab54cb2468f2b62e7",class:this.background==="DarkGreen"?"link--on-color":"",href:this.mainLink||"#",target:"_blank",rel:"noopener noreferrer"},this.mainLinkTilte)),(this.mainTitle||this.mainDescription)&&e("div",{key:"00ca3f7c0a71019c70da3a8bb8ca311c03105d6a",class:"footer-title-description"},e("h3",{key:"9d057d62b910bd2c5e4ecf4882990e063b11e017",class:this.background==="DarkGreen"?"link--on-color":""},this.mainTitle),e("p",{key:"088939ff2433446d8b63781e6dbc168aa5972f16",class:this.background==="DarkGreen"?"link--on-color":""},this.mainDescription)),this.NavLinks&&e("section",{key:"1fa4911c87038cb346bc1db1ec015cfdc77171dd",class:"footer__nav-links"},this.groupLinks.map(n=>e("div",{class:"footer__nav-links-column"},e("div",{class:"footer__nav-links-column-title"},n.title),e("ul",{class:"footer__nav-links-column-body"},n.links.map(t=>e("li",null,e("a",{href:t.target,class:`link link--sm link--neutral ${this.background==="DarkGreen"?"link--on-color":""}`},e("span",{class:"link__label"},t.name))))))),e("div",{key:"b3a5afc54796238b63816ee21e53332d589dd961",class:"footer__nav-links-column"},this.socialMediaLinks.length>0&&e("div",{key:"e658de5a333ce094c24d06eb129cd475ae6af520"},this.socialMediaTitle&&e("div",{key:"ffcccd8c1914315796c9e88a93e031a814f6287a",class:"footer__nav-links-column-title"},this.socialMediaTitle),e("div",{key:"96f21850359002c074a6a13e020ef99dd0b12a1b",class:"flex icons-container"},this.socialMediaLinks.map(n=>e("a",{href:n.target,title:n.title,class:`btn btn--md btn--secondary-outline btn--secondary-outline-on-color btn--icon ${this.background} `},e("span",{class:"btn-icon"},n.icon))))),this.accessibilityLinks.length>0&&e("div",{key:"c99f10b97dd4341693e871c317a93869ff0151c6"},e("div",{key:"b0a1950483bd1d40a0bb1312653e9c8c8e8579c6",class:"footer__nav-links-column-title"},this.accessibilityTitle),e("div",{key:"f35246cc01db19eba3981dae46bf7d11574df232",class:"flex icons-container"},this.accessibilityLinks.map(n=>e("a",{href:n.target,title:n.title,class:`btn btn--md btn--secondary-outline btn--secondary-outline-on-color btn--icon ${this.background}`},e("span",{class:"btn-icon"},n.icon))))))),e("section",{key:"1a13bf19329c8cd06c679ddecd0e3d0989086e73",class:"footer__basic"},e("div",{key:"ae3dc4631784f580f40c7905e0773b16b9b0f896",class:"footer__actions-copyright"},e("ul",{key:"753e772b9688a3f12db799a113049704c2df43d0",class:"footer__actions"},this.basicLinks.map(n=>e("li",null,e("a",{href:n.target,class:`link link--sm link--neutral link--inline ${this.background==="DarkGreen"?"link--on-color":""}`},e("span",{class:"link__label"},n.name))))),this.copyright&&e("p",{key:"42aa5cefd183f6663f2ee9dfab388641f5d3f174",class:"footer__copyright text-sm-semibold"},this.copyright),e("ul",{key:"c81d1a2664022dadf4a1af6ebd68f30cc89e2cb0",class:"footer__extra-actions"},this.extraLinks.map(n=>e("li",null,e("a",{href:n.target,class:`link link--sm link--neutral ${this.background==="DarkGreen"?"link--on-color":""}`},e("span",{class:"link__label"},n.name)))))),e("div",{key:"ac167902ed1955621dc033de4f73dbf67aeb29af",class:"footer__logos"},this.bottomImages.map(n=>e("img",{src:n,key:x()}))))))}static get style(){return Vr}},[1,"dga-footer",{background:[1],NavLinks:[4,"nav-links"],mainTitle:[1,"main-title"],mainDescription:[1,"main-description"],mainLink:[1,"main-link"],mainLinkTilte:[1,"main-link-tilte"],mainImage:[1,"main-image"],copyright:[1],groupLinks:[16],socialMediaTitle:[1,"social-media-title"],socialMediaLinks:[16],accessibilityTitle:[1,"accessibility-title"],accessibilityLinks:[16],basicLinks:[16],extraLinks:[16],bottomImages:[16]}]);function Kr(){if(typeof customElements>"u")return;["dga-footer"].forEach(n=>{switch(n){case"dga-footer":customElements.get(n)||customElements.define(n,_o);break}})}const Yr=_o,Gr=Kr,Bn=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0,this.icon=void 0,this.active=!1,this.extraClasses="",this.onClick=void 0}handleClick(n){n.preventDefault(),this.onClick&&this.onClick()}render(){return e("li",{key:"3c644e95f2b7118e3f8bfe476e655c0a09879a02"},e("a",{key:"447c57f723cc0ff5b02a53c2ab49951e6e7219a2",href:"#",class:`header-menu__item ${this.active?"header-menu__item--active":""} ${this.extraClasses}`,onClick:this.handleClick.bind(this)},e("span",{key:"49ff461e788904772932ad9d328cacbf5a71737f",class:"header-menu__item-arrow"},e("dga-icon",{key:"befcf35e4200daabd14ca53035b8edce9898e281",icon:this.icon})),e("span",{key:"921b2ad0d63f788012c2bbb43ad0eae625b4b6a6",class:"header-menu__item-label"},this.label)))}},[0,"dga-header-action-btn",{label:[1],icon:[1],active:[4],extraClasses:[1,"extra-classes"],onClick:[16]}]);function Nr(){if(typeof customElements>"u")return;["dga-header-action-btn","dga-icon"].forEach(n=>{switch(n){case"dga-header-action-btn":customElements.get(n)||customElements.define(n,Bn);break;case"dga-icon":customElements.get(n)||w();break}})}const Xr=Bn,Zr=Nr,Pn=d(class extends l{constructor(){super(),this.__registerHost(),this.fullWidth=!0,this.divider=!0,this.sticky=!1}render(){return e("header",{key:"29b2f009b8c634d1196e3deb76f01682f0630a8e",class:`header ${this.divider?"header--divider":""} ${this.sticky?"header--sticky":""}`},e("nav",{key:"2372759f45a201f59759b79c03c95657ffb1252f",class:`header-nav--${this.fullWidth?"full":"fixed"}`},e("slot",{key:"9907fd1988bdb6806f35ccd774050469a1d8b813"})))}},[4,"dga-nav-header",{fullWidth:[4,"full-width"],divider:[4],sticky:[4]}]);function Jr(){if(typeof customElements>"u")return;["dga-nav-header"].forEach(n=>{switch(n){case"dga-nav-header":customElements.get(n)||customElements.define(n,Pn);break}})}const Dn=d(class extends l{constructor(){super(),this.__registerHost(),this.toggleCollapsed=$(this,"toggleCollapsed",7),this.handleToggle=()=>{this.toggleCollapsed.emit(!this.collapsed)},this.collapsed=!1}render(){return e("div",{key:"d1a4df0d52efabdb4d6d3fec815ce4f13de0835c",class:"header-nav__main"},e("button",{key:"c3a343f032ee7a992eb81b3b4dd21961841d0d63",type:"button",onClick:this.handleToggle,class:"header-menu__btn"},e("span",{key:"2ab513cfb5b7f3870bbf3f84c9ac7f2fd127ebf0",class:"btn-icon header-menu__btn-icon"},e("dga-icon",{key:"efab02207595235a299d18c53ecc4d0f4452c424",icon:this.collapsed?"menu01":"cancel01"}))),e("slot",{key:"3cd38647032695d3b44354f05c57976e44e6dbcd"}))}},[4,"dga-nav-header-main",{collapsed:[4]}]);function Qr(){if(typeof customElements>"u")return;["dga-nav-header-main","dga-icon"].forEach(n=>{switch(n){case"dga-nav-header-main":customElements.get(n)||customElements.define(n,Dn);break;case"dga-icon":customElements.get(n)||w();break}})}const En=d(class extends l{constructor(){super(),this.__registerHost(),this.logoSrc=void 0,this.logoAlt=void 0,this.logoLink="#",this.govSrc=void 0,this.govAlt=void 0,this.govLink="#"}render(){return e("div",{key:"af1402a2ec5bd3bfa49e4561b674ec93dc218ae6",class:"header-nav__branding"},this.govSrc&&e("div",{key:"e3f983afcd8df3ec5db9d43a5c2d26cb6acd1a5e",class:"flex xs-hide"},e("a",{key:"f954b2d782716c676be1a093df7e1af11c9a8cf8",href:this.govLink},e("img",{key:"cbbad9be324e3bb31babcf44e0d0870461dd927c",src:this.govSrc,alt:this.govAlt})),e("div",{key:"5f95c3146b7b0a350c3636aebc01b252a5238704",class:"ver-divider"})),e("a",{key:"e592d288fb20084cd481106c886d5a20b54c74be",href:this.logoLink,class:"header__logo"},e("img",{key:"0f23c0031431a6dff18edf44c4104353f8d2da93",src:this.logoSrc,alt:this.logoAlt})))}},[0,"dga-nav-header-logos",{logoSrc:[1,"logo-src"],logoAlt:[1,"logo-alt"],logoLink:[1,"logo-link"],govSrc:[1,"gov-src"],govAlt:[1,"gov-alt"],govLink:[1,"gov-link"]}]);function na(){if(typeof customElements>"u")return;["dga-nav-header-logos"].forEach(n=>{switch(n){case"dga-nav-header-logos":customElements.get(n)||customElements.define(n,En);break}})}const jn=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e("ul",{key:"4b16b462930160b21a0307b0488cc3b0cbded035",class:"header-nav__menu"},e("slot",{key:"2cf718b145e96d9d6ed9e5315bc9a1988a5a9026"}))}},[4,"dga-nav-header-menu"]);function ea(){if(typeof customElements>"u")return;["dga-nav-header-menu"].forEach(n=>{switch(n){case"dga-nav-header-menu":customElements.get(n)||customElements.define(n,jn);break}})}const qo=d(class extends l{constructor(){super(),this.__registerHost(),this.active=!1,this.subMenuFullWidth=!1,this.background=void 0}onActiveChange(){this.active&&this.submenu?(this.submenu.style.display="block",this.submenu.style.maxHeight=`${this.submenu.scrollHeight}px`):this.submenu&&(this.submenu.style.maxHeight="")}componentDidLoad(){this.submenu=this.el.shadowRoot.querySelector(".header__sub-menu"),this.onActiveChange()}render(){const n=this.background==="Brand"?"header__sub-menu--bg-brand":"",t=this.subMenuFullWidth?"header__sub-menu--full":"";return e("div",{key:"1df858c02f57c617ac3f306b7bb68398de3fa87b",class:`header__sub-menu ${n} ${t}`,ref:i=>this.submenu=i},e("div",{key:"41423f160f0c23697bfebecdb26605460b54b48a",class:"sub-menu__container"},e("slot",{key:"0855f169ee1c9f24b070e16217f69ded9bd90da6"})))}get el(){return this}static get watchers(){return{active:["onActiveChange"]}}},[4,"dga-nav-header-sub-menu",{active:[4],subMenuFullWidth:[4,"sub-menu-full-width"],background:[1]},void 0,{active:["onActiveChange"]}]);function zo(){if(typeof customElements>"u")return;["dga-nav-header-sub-menu"].forEach(n=>{switch(n){case"dga-nav-header-sub-menu":customElements.get(n)||customElements.define(n,qo);break}})}const Tn=d(class extends l{constructor(){super(),this.__registerHost(),this.linkClicked=$(this,"linkClicked",7),this.handleClick=n=>{n.preventDefault(),this.linkClicked.emit()},this.label=void 0,this.icon=void 0,this.iconProps={},this.active=!1,this.subMenuBackground="Brand",this.subMenuFullWidth=!0}render(){return e("li",{key:"f7fc18c5c607906cd3231d60f1c547210d791d19"},e("a",{key:"78e527da5da6a5d57f3cf62a467ea8ccd1bd1eb9",href:"#",class:`header-menu__item ${this.active?"header-menu__item--active":""}`,onClick:this.handleClick},e("span",{key:"eb00eb133a2f597278cf965526b2155563996dd8",class:"header-menu__item-label"},this.label),e("span",{key:"699bb172c12185a32ae3ba5ef4f84f90f7475ffa",class:"header-menu__item-arrow"},e("dga-icon",Object.assign({key:"40767a73d8b672fbce0a6707a313f8a9694c661a",icon:this.icon},this.iconProps)))),this.active&&e("dga-nav-header-sub-menu",{key:"4d82f2f5466cf54fab7ff2e161571176115f123c",active:this.active,"sub-menu-full-width":this.subMenuFullWidth,background:this.subMenuBackground},e("slot",{key:"27c2f06d5005cde044aa7eded683c25f6d50c550"})))}},[4,"dga-nav-header-link",{label:[1],icon:[1],iconProps:[16],active:[4],subMenuBackground:[1,"sub-menu-background"],subMenuFullWidth:[4,"sub-menu-full-width"]}]);function oa(){if(typeof customElements>"u")return;["dga-nav-header-link","dga-icon","dga-nav-header-sub-menu"].forEach(n=>{switch(n){case"dga-nav-header-link":customElements.get(n)||customElements.define(n,Tn);break;case"dga-icon":customElements.get(n)||w();break;case"dga-nav-header-sub-menu":customElements.get(n)||zo();break}})}const rn=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"dd4a1c9ec06b88c79004d57e4d0a7820f66501ae",class:"sub-menu__column"},e("slot",{key:"403778dc75195f35f592999a1d29c368564cccf8"}))}},[4,"dga-nav-header-sub-menu-column"]);function ta(){if(typeof customElements>"u")return;["dga-nav-header-sub-menu-column"].forEach(n=>{switch(n){case"dga-nav-header-sub-menu-column":customElements.get(n)||customElements.define(n,rn);break}})}const Ln=d(class extends l{constructor(){super(),this.__registerHost(),this.background=void 0,this.link=void 0,this.linkStyle=void 0,this.label=void 0,this.helperText=void 0,this.icon=void 0}render(){const n=this.background==="Brand"?"sub-menu__link--on-color":"",t=this.linkStyle&&this.linkStyle>0?this.linkStyle===2?"sub-menu__link-icon--bg":"sub-menu__link-icon":"";return e("a",{key:"8f0e92e69250e1941908444ed16c94af63c3eae2",href:this.link,class:`sub-menu__link ${n}`},this.linkStyle&&this.linkStyle>0?e("div",{class:t},this.icon&&e("dga-icon",{icon:this.icon})):null,e("div",{key:"c845246c384c4d7173c97e268cf4a199a70edc96",class:"flex-column"},e("span",{key:"ea22e054a1a84b90af56a20e6bd2ebc282af0ff8",class:"sub-menu__link-label"},this.label),this.helperText&&e("span",{key:"01e5e6f571ff23975fe39548a17ef1852a035b92",class:"sub-menu__link-helper"},this.helperText)))}},[0,"dga-nav-header-sub-menu-link",{background:[1],link:[1],linkStyle:[2,"link-style"],label:[1],helperText:[1,"helper-text"],icon:[1]}]);function ia(){if(typeof customElements>"u")return;["dga-nav-header-sub-menu-link","dga-icon"].forEach(n=>{switch(n){case"dga-nav-header-sub-menu-link":customElements.get(n)||customElements.define(n,Ln);break;case"dga-icon":customElements.get(n)||w();break}})}const On=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e(C,null,e("button",{key:"101445fb1daec811cf01c2b324a51a8d949c047d",type:"button",class:"header-menu__btn btn btn--lg btn--subtle btn--icon"},e("span",{key:"1aa6ed607d0f086c1711aa6f9f8cf8c4ddc3453d",class:"btn-icon header-menu__btn-icon"},e("dga-icon",{key:"e16bfc109888f2849c65724e8202d929b87d8743",icon:"MoreHorizontalCircleIcon",variant:"solid"}))),e("ul",{key:"b76dbb460b3ccf6ebdabeaac908468aa9ebf1036",class:"header-nav__actions"},e("slot",{key:"805dd895ac0ea5ca5c0cc8125123cd569b6dd224"})))}},[4,"dga-nav-header-actions"]);function ra(){if(typeof customElements>"u")return;["dga-nav-header-actions","dga-icon"].forEach(n=>{switch(n){case"dga-nav-header-actions":customElements.get(n)||customElements.define(n,On);break;case"dga-icon":customElements.get(n)||w();break}})}const So=d(class extends l{constructor(){super(),this.__registerHost(),this.config=void 0}render(){return e(Pn,{key:"8a369d404736fc0bfe72cd8ce3c4a91a5f353620",fullWidth:this.config.fullWidth,divider:this.config.divider},e(Dn,{key:"6ba2bb0bf04802ce6322607a420c69e0b801f0ce",collapsed:!0},e(En,{key:"c39ed2167103022ae3114b0e9d7d3b5477d0c184",logoSrc:this.config.logoSrc,govSrc:this.config.govSrc,logoLink:this.config.logoLink,govLink:this.config.govLink}),e(jn,{key:"f612a63ca4c228e98a2f4788cc06583cabdc404a"},this.config.headerLinks.map((n,t)=>e(Tn,{key:t,active:!1,onClick:()=>console.log("clicked"),label:n.label,icon:n.icon,subMenuBackground:this.config.subMenuBackground,subMenuFullWidth:this.config.subMenuFullWidth},n.subMenu.map((i,r)=>e(rn,{key:r},i.columns.map((a,g)=>e(rn,{key:g},a.links.map((h,c)=>e(Ln,{key:c,background:this.config.subMenuBackground,label:h.label,helperText:h.helperText,icon:h.icon,linkStyle:h.linkStyle})))))))))),e(On,{key:"a57cadec0d8e450688504d95630d75b68cfea11b"},this.config.actions.map((n,t)=>e(Bn,{key:t,onClick:()=>console.log("clicked"),label:n.label,icon:n.icon}))))}},[0,"dga-header",{config:[16]}]);function aa(){if(typeof customElements>"u")return;["dga-header"].forEach(n=>{switch(n){case"dga-header":customElements.get(n)||customElements.define(n,So);break}})}const ga=So,ha=aa,ca=Qe,sa=$n,Mo=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0,this.color="neutral",this.variant="success",this.size="md",this.iconType=void 0,this.leadIcon=void 0,this.trailIcon=void 0,this.outlined=void 0,this.rounded=void 0,this.iconOnly=void 0}render(){return console.log(!!this.iconOnly,this.iconOnly),this.iconOnly?e("span",{class:`tag tag--${this.color}${this.outlined?"-outlined":""} tag--${this.size} ${this.rounded?"tag--rounded":""} tag--icon`},this.leadIcon&&e("span",{class:"tag-icon"},this.leadIcon),!this.leadIcon&&e("slot",null)):e("span",{class:`tag tag--${this.color}${this.outlined?"-outlined":""} tag--${this.size} ${this.rounded?"tag--rounded":""}`},this.leadIcon?e("span",{class:"tag-icon"},this.leadIcon):"",this.label,this.trailIcon?e("span",{class:"tag-icon"},this.trailIcon):"",e("slot",null))}},[4,"dga-html-tag",{label:[1],color:[1],variant:[1],size:[1],iconType:[8,"icon-type"],leadIcon:[8,"lead-icon"],trailIcon:[8,"trail-icon"],outlined:[516],rounded:[516],iconOnly:[516,"icon-only"]}]);function la(){if(typeof customElements>"u")return;["dga-html-tag"].forEach(n=>{switch(n){case"dga-html-tag":customElements.get(n)||customElements.define(n,Mo);break}})}const da=Mo,fa=la,ba=Ce,pa=w,Co=d(class extends l{constructor(){super(),this.__registerHost(),this.icons={error:"hgi-stroke hgi-help-circle",warning:"hgi-stroke hgi-alert-02",success:"hgi-stroke hgi-tick-02",info:"hgi-stroke hgi-help-circle",neutral:"hgi-stroke hgi-help-circle"},this.type="neutral",this.leadText=void 0,this.helperText=void 0,this.isactionButtons=!0,this.isCloseButton=!0,this.onClose=void 0,this.colored=!1,this.buttonsList=[{id:x(),label:"Button 1",onClick:()=>{},exraClasses:"",title:"Button"},{id:x(),label:"Button 2",onClick:()=>{},exraClasses:"",title:"Button"}]}render(){return e("div",{key:"09915e19eb88373464040f06d078c567c19b5fa4",class:`alert alert--${this.type} ${this.colored?`alert--${this.type}-bg`:""}`},e("div",{key:"35c455b9c4ae0895eb5701ac95d5b1f357cbe868",class:`alert__header ${this.helperText?"":"flex-center-y"}`},e("div",{key:"f8b815180a68b0a247c29b702e8d34e405499119",class:`featured-icon featured-icon--circle featured-icon--md featured-icon--light-${this.type==="neutral"?"gray":this.type}`},e("i",{key:"c10db70ebfdf5a18e899fa214f524097cd514755",class:this.icons[this.type],style:{fontSize:"20px"}})),e("div",{key:"839863049f2d0d4532028cb4e9233e71fa632761",class:"alert__body"},e("h4",{key:"594f77cf11295cde177c595cfc2fd572ae39bdf3",class:"alert__title text-md-semibold"},this.leadText),this.helperText&&e("p",{key:"41edcfd410bef3c5dbb0dc6503bee08802c58ad0",class:"alert__content text-sm-regular"},this.helperText),e("slot",{key:"ab6f991db942c81c87fc42ea024aa7fcf402a797"}))),this.isCloseButton&&e("div",{key:"176e73bb65f2adaf968a9d1e76b1391231ca6c4f",class:"alert__close-btn"},e("button",{key:"dfb3cf604346dfcbc0eba6f5e6b11e5510c02898",class:"btn btn--close btn--icon btn--md",onClick:n=>this.onClose&&this.onClose(n)},e("span",{key:"d5f751f42f6313923a92493e90be09c3e8f7e7be",class:"btn-icon"},e("i",{key:"9966af6a347d23b9808cb3b4b3b4b023abf7fb45",class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}})))),this.isactionButtons&&e(C,null,e("div",{key:"6f5fe02d4300217de29349fcbbfe37845ffa1f50",class:"alert__action"},this.buttonsList.length&&this.buttonsList.map(({id:n,onClick:t,exraClasses:i,title:r,label:a})=>e("button",Object.assign({key:n||x(),id:n||x(),onClick:g=>t(g),class:`btn btn--subtle btn--md ${i}`},r&&{title:r}),a))),e("div",{key:"6fd6db33c3d48cc39752ed4352b5bc0b2be8cbd5",class:"alert__action-mobile"},this.buttonsList.length&&this.buttonsList.map(({id:n,onClick:t,exraClasses:i,title:r,label:a})=>e("button",Object.assign({key:n||x(),id:n||x(),onClick:g=>t(g),class:`btn btn--secondary btn--lg ${i}`},r&&{title:r}),a)))))}},[4,"dga-inline-alert",{type:[1],leadText:[1,"lead-text"],helperText:[1,"helper-text"],isactionButtons:[4,"isaction-buttons"],isCloseButton:[4,"is-close-button"],onClose:[16],colored:[4],buttonsList:[16]}]);function ua(){if(typeof customElements>"u")return;["dga-inline-alert"].forEach(n=>{switch(n){case"dga-inline-alert":customElements.get(n)||customElements.define(n,Co);break}})}const ka=Co,ma=ua,va=no,wa=In,$o=d(class extends l{constructor(){super(),this.__registerHost(),this.onClick=$(this,"onClick",7),this.handleClick=n=>{n.preventDefault(),this.onClick.emit(n)},this.variant="primary",this.size="md",this.label=void 0,this.url=void 0,this.inline=void 0,this.icon=void 0,this.iconType=void 0,this.disabled=void 0,this.external=void 0,this.target="_self",this.preventScrollReset=!1,this.state={},this.extraClass=void 0,this.focus=!1}render(){return console.log(this.focus,"focus"),this.external?e("a",{href:this.url,target:this.target,onClick:n=>this.handleClick(n),onMouseDown:()=>this.focus=!0,onMouseUp:()=>this.focus=!1,class:`link link--${this.size} ${this.focus?"focus":""} link--${this.variant} ${this.inline?"link--inline":""} ${this.disabled?"link--disabled":""} ${this.extraClass}`},e("span",{class:"link__label"},this.label),this.icon&&this.iconType&&e("span",{className:"link__icon"},this.iconType),e("slot",null)):e("a",{href:this.url,onMouseDown:()=>this.focus=!0,onMouseUp:()=>this.focus=!1,onClick:this.handleClick,class:`link link--${this.size} ${this.focus?"focus":""} link--${this.variant} ${this.inline?"link--inline":""} ${this.disabled?"link--disabled":""} ${this.extraClass}`},e("span",{class:"link__label"},this.label),this.icon&&this.iconType&&e("span",{class:"link__icon"},this.iconType),e("slot",null))}},[4,"dga-link",{variant:[1],size:[1],label:[1],url:[1],inline:[4],icon:[4],iconType:[8,"icon-type"],disabled:[4],external:[4],target:[1],preventScrollReset:[4,"prevent-scroll-reset"],state:[16],extraClass:[1,"extra-class"],focus:[32]}]);function xa(){if(typeof customElements>"u")return;["dga-link"].forEach(n=>{switch(n){case"dga-link":customElements.get(n)||customElements.define(n,$o);break}})}const ya=$o,_a=xa,qa=`@charset "UTF-8";
229594
+ }`,Vr=Wr,yo=d(class extends l{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.background=void 0,this.NavLinks=void 0,this.mainTitle="",this.mainDescription="",this.mainLink=void 0,this.mainLinkTilte="",this.mainImage="",this.copyright="",this.groupLinks=[],this.socialMediaTitle="Social Media",this.socialMediaLinks=[],this.accessibilityTitle="Accessibility Tools",this.accessibilityLinks=[],this.basicLinks=[],this.extraLinks=[],this.bottomImages=[]}render(){return e("footer",{key:"80d9e142201dbd5bece6f8be92f0bb65993e1318",class:`footer ${this.background==="DarkGreen"?"footer--bg-brand":""}`},e("section",{key:"e5cdfb02b9acd764377d5d1b553951861f2512cf",class:"footer-content"},(this.mainLinkTilte||this.mainImage)&&e("div",{key:"b1d477f29d97499e1f60c44ad2abde4bbdb51a09",class:"footer-icon-section"},e("a",{key:"3c0c79af16edebcb985027ee58cb14ce4c8c2294",class:this.background==="DarkGreen"?"link--on-color":"",href:this.mainLink||"#",target:"_blank",rel:"noopener noreferrer"},this.mainLinkTilte)),(this.mainTitle||this.mainDescription)&&e("div",{key:"c3b64a168c5b42cb8d39acdac6104b18ecf40a0e",class:"footer-title-description"},e("h3",{key:"a658543158fd1185a50bfcfa516c9c338d5a6d2c",class:this.background==="DarkGreen"?"link--on-color":""},this.mainTitle),e("p",{key:"89dcb91fc46af3a8e34074d8ec07a154a2d93c16",class:this.background==="DarkGreen"?"link--on-color":""},this.mainDescription)),this.NavLinks&&e("section",{key:"99bc68ed1c321ea6caccbd884724d76bee349921",class:"footer__nav-links"},this.groupLinks.map(n=>e("div",{class:"footer__nav-links-column"},e("div",{class:"footer__nav-links-column-title"},n.title),e("ul",{class:"footer__nav-links-column-body"},n.links.map(t=>e("li",null,e("a",{href:t.target,class:`link link--sm link--neutral ${this.background==="DarkGreen"?"link--on-color":""}`},e("span",{class:"link__label"},t.name))))))),e("div",{key:"e225bb9c2003f0526dcfc8479fb534b282145058",class:"footer__nav-links-column"},this.socialMediaLinks.length>0&&e("div",{key:"dd6bf7deae53723101b0ccb8be1bdcf3216f30f8"},this.socialMediaTitle&&e("div",{key:"3335fec348560f576e18123e4e14d10f11aec4d4",class:"footer__nav-links-column-title"},this.socialMediaTitle),e("div",{key:"e5cd9b8be077f383dbc94ec8b9d6946bad9ab3b4",class:"flex icons-container"},this.socialMediaLinks.map(n=>e("a",{href:n.target,title:n.title,class:`btn btn--md btn--secondary-outline btn--secondary-outline-on-color btn--icon ${this.background} `},e("span",{class:"btn-icon"},n.icon))))),this.accessibilityLinks.length>0&&e("div",{key:"99792d3a9a0d4b4d9fae78d5e0e0949068ee4882"},e("div",{key:"2dbbf29d167a9ba83cd1c1d7d281097cbe523ec1",class:"footer__nav-links-column-title"},this.accessibilityTitle),e("div",{key:"83d139f167edacef3367ab2b22bb79a0e0410b1e",class:"flex icons-container"},this.accessibilityLinks.map(n=>e("a",{href:n.target,title:n.title,class:`btn btn--md btn--secondary-outline btn--secondary-outline-on-color btn--icon ${this.background}`},e("span",{class:"btn-icon"},n.icon))))))),e("section",{key:"81b8a1553b87b016d0aba677eda8fec3744e61ce",class:"footer__basic"},e("div",{key:"4b3b2776dca569762425003acc9149ac8adf190e",class:"footer__actions-copyright"},e("ul",{key:"faefc4cea778d75591cb670dcfd51120463dbab1",class:"footer__actions"},this.basicLinks.map(n=>e("li",null,e("a",{href:n.target,class:`link link--sm link--neutral link--inline ${this.background==="DarkGreen"?"link--on-color":""}`},e("span",{class:"link__label"},n.name))))),this.copyright&&e("p",{key:"1a89d836b20890be59d955aea33fe2cbb3e6f18f",class:"footer__copyright text-sm-semibold"},this.copyright),e("ul",{key:"aad851d428d5e8661a14d10acba4352017c27300",class:"footer__extra-actions"},this.extraLinks.map(n=>e("li",null,e("a",{href:n.target,class:`link link--sm link--neutral ${this.background==="DarkGreen"?"link--on-color":""}`},e("span",{class:"link__label"},n.name)))))),e("div",{key:"985bc5e18815ae73ff2ab7d4679cd0e7f453c98a",class:"footer__logos"},this.bottomImages.map(n=>e("img",{src:n,key:x()}))))))}static get style(){return Vr}},[1,"dga-footer",{background:[1],NavLinks:[4,"nav-links"],mainTitle:[1,"main-title"],mainDescription:[1,"main-description"],mainLink:[1,"main-link"],mainLinkTilte:[1,"main-link-tilte"],mainImage:[1,"main-image"],copyright:[1],groupLinks:[16],socialMediaTitle:[1,"social-media-title"],socialMediaLinks:[16],accessibilityTitle:[1,"accessibility-title"],accessibilityLinks:[16],basicLinks:[16],extraLinks:[16],bottomImages:[16]}]);function Kr(){if(typeof customElements>"u")return;["dga-footer"].forEach(n=>{switch(n){case"dga-footer":customElements.get(n)||customElements.define(n,yo);break}})}const Yr=yo,Gr=Kr,Bn=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0,this.icon=void 0,this.active=!1,this.extraClasses="",this.onClick=void 0}handleClick(n){n.preventDefault(),this.onClick&&this.onClick()}render(){return e("li",{key:"3c644e95f2b7118e3f8bfe476e655c0a09879a02"},e("a",{key:"447c57f723cc0ff5b02a53c2ab49951e6e7219a2",href:"#",class:`header-menu__item ${this.active?"header-menu__item--active":""} ${this.extraClasses}`,onClick:this.handleClick.bind(this)},e("span",{key:"49ff461e788904772932ad9d328cacbf5a71737f",class:"header-menu__item-arrow"},e("dga-icon",{key:"befcf35e4200daabd14ca53035b8edce9898e281",icon:this.icon})),e("span",{key:"921b2ad0d63f788012c2bbb43ad0eae625b4b6a6",class:"header-menu__item-label"},this.label)))}},[0,"dga-header-action-btn",{label:[1],icon:[1],active:[4],extraClasses:[1,"extra-classes"],onClick:[16]}]);function Nr(){if(typeof customElements>"u")return;["dga-header-action-btn","dga-icon"].forEach(n=>{switch(n){case"dga-header-action-btn":customElements.get(n)||customElements.define(n,Bn);break;case"dga-icon":customElements.get(n)||w();break}})}const Xr=Bn,Zr=Nr,Pn=d(class extends l{constructor(){super(),this.__registerHost(),this.fullWidth=!0,this.divider=!0,this.sticky=!1}render(){return e("header",{key:"29b2f009b8c634d1196e3deb76f01682f0630a8e",class:`header ${this.divider?"header--divider":""} ${this.sticky?"header--sticky":""}`},e("nav",{key:"2372759f45a201f59759b79c03c95657ffb1252f",class:`header-nav--${this.fullWidth?"full":"fixed"}`},e("slot",{key:"9907fd1988bdb6806f35ccd774050469a1d8b813"})))}},[4,"dga-nav-header",{fullWidth:[4,"full-width"],divider:[4],sticky:[4]}]);function Jr(){if(typeof customElements>"u")return;["dga-nav-header"].forEach(n=>{switch(n){case"dga-nav-header":customElements.get(n)||customElements.define(n,Pn);break}})}const Dn=d(class extends l{constructor(){super(),this.__registerHost(),this.toggleCollapsed=$(this,"toggleCollapsed",7),this.handleToggle=()=>{this.toggleCollapsed.emit(!this.collapsed)},this.collapsed=!1}render(){return e("div",{key:"d1a4df0d52efabdb4d6d3fec815ce4f13de0835c",class:"header-nav__main"},e("button",{key:"c3a343f032ee7a992eb81b3b4dd21961841d0d63",type:"button",onClick:this.handleToggle,class:"header-menu__btn"},e("span",{key:"2ab513cfb5b7f3870bbf3f84c9ac7f2fd127ebf0",class:"btn-icon header-menu__btn-icon"},e("dga-icon",{key:"efab02207595235a299d18c53ecc4d0f4452c424",icon:this.collapsed?"menu01":"cancel01"}))),e("slot",{key:"3cd38647032695d3b44354f05c57976e44e6dbcd"}))}},[4,"dga-nav-header-main",{collapsed:[4]}]);function Qr(){if(typeof customElements>"u")return;["dga-nav-header-main","dga-icon"].forEach(n=>{switch(n){case"dga-nav-header-main":customElements.get(n)||customElements.define(n,Dn);break;case"dga-icon":customElements.get(n)||w();break}})}const En=d(class extends l{constructor(){super(),this.__registerHost(),this.logoSrc=void 0,this.logoAlt=void 0,this.logoLink="#",this.govSrc=void 0,this.govAlt=void 0,this.govLink="#"}render(){return e("div",{key:"af1402a2ec5bd3bfa49e4561b674ec93dc218ae6",class:"header-nav__branding"},this.govSrc&&e("div",{key:"e3f983afcd8df3ec5db9d43a5c2d26cb6acd1a5e",class:"flex xs-hide"},e("a",{key:"f954b2d782716c676be1a093df7e1af11c9a8cf8",href:this.govLink},e("img",{key:"cbbad9be324e3bb31babcf44e0d0870461dd927c",src:this.govSrc,alt:this.govAlt})),e("div",{key:"5f95c3146b7b0a350c3636aebc01b252a5238704",class:"ver-divider"})),e("a",{key:"e592d288fb20084cd481106c886d5a20b54c74be",href:this.logoLink,class:"header__logo"},e("img",{key:"0f23c0031431a6dff18edf44c4104353f8d2da93",src:this.logoSrc,alt:this.logoAlt})))}},[0,"dga-nav-header-logos",{logoSrc:[1,"logo-src"],logoAlt:[1,"logo-alt"],logoLink:[1,"logo-link"],govSrc:[1,"gov-src"],govAlt:[1,"gov-alt"],govLink:[1,"gov-link"]}]);function na(){if(typeof customElements>"u")return;["dga-nav-header-logos"].forEach(n=>{switch(n){case"dga-nav-header-logos":customElements.get(n)||customElements.define(n,En);break}})}const jn=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e("ul",{key:"4b16b462930160b21a0307b0488cc3b0cbded035",class:"header-nav__menu"},e("slot",{key:"2cf718b145e96d9d6ed9e5315bc9a1988a5a9026"}))}},[4,"dga-nav-header-menu"]);function ea(){if(typeof customElements>"u")return;["dga-nav-header-menu"].forEach(n=>{switch(n){case"dga-nav-header-menu":customElements.get(n)||customElements.define(n,jn);break}})}const _o=d(class extends l{constructor(){super(),this.__registerHost(),this.active=!1,this.subMenuFullWidth=!1,this.background=void 0}onActiveChange(){this.active&&this.submenu?(this.submenu.style.display="block",this.submenu.style.maxHeight=`${this.submenu.scrollHeight}px`):this.submenu&&(this.submenu.style.maxHeight="")}componentDidLoad(){this.submenu=this.el.shadowRoot.querySelector(".header__sub-menu"),this.onActiveChange()}render(){const n=this.background==="Brand"?"header__sub-menu--bg-brand":"",t=this.subMenuFullWidth?"header__sub-menu--full":"";return e("div",{key:"87c23aed762b2db439847a86da9d55588f3cf457",class:`header__sub-menu ${n} ${t}`,ref:i=>this.submenu=i},e("div",{key:"25d32085bb3250d4dbb6e5d9de38e4a7179827a5",class:"sub-menu__container"},e("slot",{key:"0660bab6967f638e6add354bb62cb34386499fe8"})))}get el(){return this}static get watchers(){return{active:["onActiveChange"]}}},[4,"dga-nav-header-sub-menu",{active:[4],subMenuFullWidth:[4,"sub-menu-full-width"],background:[1]},void 0,{active:["onActiveChange"]}]);function qo(){if(typeof customElements>"u")return;["dga-nav-header-sub-menu"].forEach(n=>{switch(n){case"dga-nav-header-sub-menu":customElements.get(n)||customElements.define(n,_o);break}})}const Tn=d(class extends l{constructor(){super(),this.__registerHost(),this.linkClicked=$(this,"linkClicked",7),this.handleClick=n=>{n.preventDefault(),this.linkClicked.emit()},this.label=void 0,this.icon=void 0,this.iconProps={},this.active=!1,this.subMenuBackground="Brand",this.subMenuFullWidth=!0}render(){return e("li",{key:"f7fc18c5c607906cd3231d60f1c547210d791d19"},e("a",{key:"78e527da5da6a5d57f3cf62a467ea8ccd1bd1eb9",href:"#",class:`header-menu__item ${this.active?"header-menu__item--active":""}`,onClick:this.handleClick},e("span",{key:"eb00eb133a2f597278cf965526b2155563996dd8",class:"header-menu__item-label"},this.label),e("span",{key:"699bb172c12185a32ae3ba5ef4f84f90f7475ffa",class:"header-menu__item-arrow"},e("dga-icon",Object.assign({key:"40767a73d8b672fbce0a6707a313f8a9694c661a",icon:this.icon},this.iconProps)))),this.active&&e("dga-nav-header-sub-menu",{key:"4d82f2f5466cf54fab7ff2e161571176115f123c",active:this.active,"sub-menu-full-width":this.subMenuFullWidth,background:this.subMenuBackground},e("slot",{key:"27c2f06d5005cde044aa7eded683c25f6d50c550"})))}},[4,"dga-nav-header-link",{label:[1],icon:[1],iconProps:[16],active:[4],subMenuBackground:[1,"sub-menu-background"],subMenuFullWidth:[4,"sub-menu-full-width"]}]);function oa(){if(typeof customElements>"u")return;["dga-nav-header-link","dga-icon","dga-nav-header-sub-menu"].forEach(n=>{switch(n){case"dga-nav-header-link":customElements.get(n)||customElements.define(n,Tn);break;case"dga-icon":customElements.get(n)||w();break;case"dga-nav-header-sub-menu":customElements.get(n)||qo();break}})}const rn=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"dd4a1c9ec06b88c79004d57e4d0a7820f66501ae",class:"sub-menu__column"},e("slot",{key:"403778dc75195f35f592999a1d29c368564cccf8"}))}},[4,"dga-nav-header-sub-menu-column"]);function ta(){if(typeof customElements>"u")return;["dga-nav-header-sub-menu-column"].forEach(n=>{switch(n){case"dga-nav-header-sub-menu-column":customElements.get(n)||customElements.define(n,rn);break}})}const Ln=d(class extends l{constructor(){super(),this.__registerHost(),this.background=void 0,this.link=void 0,this.linkStyle=void 0,this.label=void 0,this.helperText=void 0,this.icon=void 0}render(){const n=this.background==="Brand"?"sub-menu__link--on-color":"",t=this.linkStyle&&this.linkStyle>0?this.linkStyle===2?"sub-menu__link-icon--bg":"sub-menu__link-icon":"";return e("a",{key:"8f0e92e69250e1941908444ed16c94af63c3eae2",href:this.link,class:`sub-menu__link ${n}`},this.linkStyle&&this.linkStyle>0?e("div",{class:t},this.icon&&e("dga-icon",{icon:this.icon})):null,e("div",{key:"c845246c384c4d7173c97e268cf4a199a70edc96",class:"flex-column"},e("span",{key:"ea22e054a1a84b90af56a20e6bd2ebc282af0ff8",class:"sub-menu__link-label"},this.label),this.helperText&&e("span",{key:"01e5e6f571ff23975fe39548a17ef1852a035b92",class:"sub-menu__link-helper"},this.helperText)))}},[0,"dga-nav-header-sub-menu-link",{background:[1],link:[1],linkStyle:[2,"link-style"],label:[1],helperText:[1,"helper-text"],icon:[1]}]);function ia(){if(typeof customElements>"u")return;["dga-nav-header-sub-menu-link","dga-icon"].forEach(n=>{switch(n){case"dga-nav-header-sub-menu-link":customElements.get(n)||customElements.define(n,Ln);break;case"dga-icon":customElements.get(n)||w();break}})}const Rn=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e(C,null,e("button",{key:"101445fb1daec811cf01c2b324a51a8d949c047d",type:"button",class:"header-menu__btn btn btn--lg btn--subtle btn--icon"},e("span",{key:"1aa6ed607d0f086c1711aa6f9f8cf8c4ddc3453d",class:"btn-icon header-menu__btn-icon"},e("dga-icon",{key:"e16bfc109888f2849c65724e8202d929b87d8743",icon:"MoreHorizontalCircleIcon",variant:"solid"}))),e("ul",{key:"b76dbb460b3ccf6ebdabeaac908468aa9ebf1036",class:"header-nav__actions"},e("slot",{key:"805dd895ac0ea5ca5c0cc8125123cd569b6dd224"})))}},[4,"dga-nav-header-actions"]);function ra(){if(typeof customElements>"u")return;["dga-nav-header-actions","dga-icon"].forEach(n=>{switch(n){case"dga-nav-header-actions":customElements.get(n)||customElements.define(n,Rn);break;case"dga-icon":customElements.get(n)||w();break}})}const zo=d(class extends l{constructor(){super(),this.__registerHost(),this.config=void 0}render(){return e(Pn,{key:"8a369d404736fc0bfe72cd8ce3c4a91a5f353620",fullWidth:this.config.fullWidth,divider:this.config.divider},e(Dn,{key:"6ba2bb0bf04802ce6322607a420c69e0b801f0ce",collapsed:!0},e(En,{key:"c39ed2167103022ae3114b0e9d7d3b5477d0c184",logoSrc:this.config.logoSrc,govSrc:this.config.govSrc,logoLink:this.config.logoLink,govLink:this.config.govLink}),e(jn,{key:"f612a63ca4c228e98a2f4788cc06583cabdc404a"},this.config.headerLinks.map((n,t)=>e(Tn,{key:t,active:!1,onClick:()=>console.log("clicked"),label:n.label,icon:n.icon,subMenuBackground:this.config.subMenuBackground,subMenuFullWidth:this.config.subMenuFullWidth},n.subMenu.map((i,r)=>e(rn,{key:r},i.columns.map((a,g)=>e(rn,{key:g},a.links.map((h,c)=>e(Ln,{key:c,background:this.config.subMenuBackground,label:h.label,helperText:h.helperText,icon:h.icon,linkStyle:h.linkStyle})))))))))),e(Rn,{key:"a57cadec0d8e450688504d95630d75b68cfea11b"},this.config.actions.map((n,t)=>e(Bn,{key:t,onClick:()=>console.log("clicked"),label:n.label,icon:n.icon}))))}},[0,"dga-header",{config:[16]}]);function aa(){if(typeof customElements>"u")return;["dga-header"].forEach(n=>{switch(n){case"dga-header":customElements.get(n)||customElements.define(n,zo);break}})}const ga=zo,ha=aa,ca=Je,sa=$n,So=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0,this.color="neutral",this.variant="success",this.size="md",this.iconType=void 0,this.leadIcon=void 0,this.trailIcon=void 0,this.outlined=void 0,this.rounded=void 0,this.iconOnly=void 0}render(){return console.log(!!this.iconOnly,this.iconOnly),this.iconOnly?e("span",{class:`tag tag--${this.color}${this.outlined?"-outlined":""} tag--${this.size} ${this.rounded?"tag--rounded":""} tag--icon`},this.leadIcon&&e("span",{class:"tag-icon"},this.leadIcon),!this.leadIcon&&e("slot",null)):e("span",{class:`tag tag--${this.color}${this.outlined?"-outlined":""} tag--${this.size} ${this.rounded?"tag--rounded":""}`},this.leadIcon?e("span",{class:"tag-icon"},this.leadIcon):"",this.label,this.trailIcon?e("span",{class:"tag-icon"},this.trailIcon):"",e("slot",null))}},[4,"dga-html-tag",{label:[1],color:[1],variant:[1],size:[1],iconType:[8,"icon-type"],leadIcon:[8,"lead-icon"],trailIcon:[8,"trail-icon"],outlined:[516],rounded:[516],iconOnly:[516,"icon-only"]}]);function la(){if(typeof customElements>"u")return;["dga-html-tag"].forEach(n=>{switch(n){case"dga-html-tag":customElements.get(n)||customElements.define(n,So);break}})}const da=So,fa=la,ba=Me,pa=w,Mo=d(class extends l{constructor(){super(),this.__registerHost(),this.icons={error:"hgi-stroke hgi-help-circle",warning:"hgi-stroke hgi-alert-02",success:"hgi-stroke hgi-tick-02",info:"hgi-stroke hgi-help-circle",neutral:"hgi-stroke hgi-help-circle"},this.type="neutral",this.leadText=void 0,this.helperText=void 0,this.isactionButtons=!0,this.isCloseButton=!0,this.onClose=void 0,this.colored=!1,this.buttonsList=[{id:x(),label:"Button 1",onClick:()=>{},exraClasses:"",title:"Button"},{id:x(),label:"Button 2",onClick:()=>{},exraClasses:"",title:"Button"}]}render(){return e("div",{key:"d7feafefd9a27b3ba7307d6e9a0cbfdc289d0325",class:`alert alert--${this.type} ${this.colored?`alert--${this.type}-bg`:""}`},e("div",{key:"75efbe2fa37f2049f62b32c2c4070696bf628b77",class:`alert__header ${this.helperText?"":"flex-center-y"}`},e("div",{key:"d9c85a8e171f522774c8c326a680960b2c8c2655",class:`featured-icon featured-icon--circle featured-icon--md featured-icon--light-${this.type==="neutral"?"gray":this.type}`},e("i",{key:"b80f9868133e792a2a5c212be2cc34d6b7c7135b",class:this.icons[this.type],style:{fontSize:"20px"}})),e("div",{key:"4ac80757e5995f373e906e8a2a4f644d5094b2d5",class:"alert__body"},e("h4",{key:"01c5abacdc36741277b7b490e366e5795c1cba87",class:"alert__title text-md-semibold"},this.leadText),this.helperText&&e("p",{key:"75ff19901245fd7e090df6773c46a3591050e5d8",class:"alert__content text-sm-regular"},this.helperText),e("slot",{key:"471bbbe8d47981676c4edbb5bebd97cbb193261e"}))),this.isCloseButton&&e("div",{key:"857b9fd6060532bc1cb3d18deb94f39572000f41",class:"alert__close-btn"},e("button",{key:"0ef5152d0aac080422d85910e8072d5a8d794174",class:"btn btn--close btn--icon btn--md",onClick:n=>this.onClose&&this.onClose(n)},e("span",{key:"786cb42dc8a68e5c8dc3275a4681abd7967ccae0",class:"btn-icon"},e("i",{key:"696d9cba9f062513fc5f23e74e5ab3a6bff7bc4f",class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}})))),this.isactionButtons&&e(C,null,e("div",{key:"075f2aa2daa18f66dc06277de565e6b44c327f63",class:"alert__action"},this.buttonsList.length&&this.buttonsList.map(({id:n,onClick:t,exraClasses:i,title:r,label:a})=>e("button",Object.assign({key:n||x(),id:n||x(),onClick:g=>t(g),class:`btn btn--subtle btn--md ${i}`},r&&{title:r}),a))),e("div",{key:"d27ccf937b775739d336a90030375247db37b548",class:"alert__action-mobile"},this.buttonsList.length&&this.buttonsList.map(({id:n,onClick:t,exraClasses:i,title:r,label:a})=>e("button",Object.assign({key:n||x(),id:n||x(),onClick:g=>t(g),class:`btn btn--secondary btn--lg ${i}`},r&&{title:r}),a)))))}},[4,"dga-inline-alert",{type:[1],leadText:[1,"lead-text"],helperText:[1,"helper-text"],isactionButtons:[4,"isaction-buttons"],isCloseButton:[4,"is-close-button"],onClose:[16],colored:[4],buttonsList:[16]}]);function ua(){if(typeof customElements>"u")return;["dga-inline-alert"].forEach(n=>{switch(n){case"dga-inline-alert":customElements.get(n)||customElements.define(n,Mo);break}})}const ka=Mo,ma=ua,va=Qe,wa=In,Co=d(class extends l{constructor(){super(),this.__registerHost(),this.onClick=$(this,"onClick",7),this.handleClick=n=>{n.preventDefault(),this.onClick.emit(n)},this.variant="primary",this.size="md",this.label=void 0,this.url=void 0,this.inline=void 0,this.icon=void 0,this.iconType=void 0,this.disabled=void 0,this.external=void 0,this.target="_self",this.preventScrollReset=!1,this.state={},this.extraClass=void 0,this.focus=!1}render(){return console.log(this.focus,"focus"),this.external?e("a",{href:this.url,target:this.target,onClick:n=>this.handleClick(n),onMouseDown:()=>this.focus=!0,onMouseUp:()=>this.focus=!1,class:`link link--${this.size} ${this.focus?"focus":""} link--${this.variant} ${this.inline?"link--inline":""} ${this.disabled?"link--disabled":""} ${this.extraClass}`},e("span",{class:"link__label"},this.label),this.icon&&this.iconType&&e("span",{className:"link__icon"},this.iconType),e("slot",null)):e("a",{href:this.url,onMouseDown:()=>this.focus=!0,onMouseUp:()=>this.focus=!1,onClick:this.handleClick,class:`link link--${this.size} ${this.focus?"focus":""} link--${this.variant} ${this.inline?"link--inline":""} ${this.disabled?"link--disabled":""} ${this.extraClass}`},e("span",{class:"link__label"},this.label),this.icon&&this.iconType&&e("span",{class:"link__icon"},this.iconType),e("slot",null))}},[4,"dga-link",{variant:[1],size:[1],label:[1],url:[1],inline:[4],icon:[4],iconType:[8,"icon-type"],disabled:[4],external:[4],target:[1],preventScrollReset:[4,"prevent-scroll-reset"],state:[16],extraClass:[1,"extra-class"],focus:[32]}]);function xa(){if(typeof customElements>"u")return;["dga-link"].forEach(n=>{switch(n){case"dga-link":customElements.get(n)||customElements.define(n,Co);break}})}const ya=Co,_a=xa,qa=`@charset "UTF-8";
229595
229595
  /*
229596
229596
  0 - 600px: Phone
229597
229597
  600 - 900px: Tablet portrait
@@ -233138,7 +233138,7 @@ a:focus {
233138
233138
  .list-item--with-icon .list-item__icon :global(i) {
233139
233139
  width: 16px;
233140
233140
  height: 16px;
233141
- }`,za=qa,Io=d(class extends l{constructor(){super(),this.__registerHost(),this.type=void 0,this.level=void 0,this.itemText=void 0,this.itemNumber=void 0,this.itemLetter=void 0,this.icon=void 0,this.inheritedType=void 0}componentWillLoad(){const n=this.el.closest("[type]");n&&(this.inheritedType=n.getAttribute("type"))}getListClass(){return{"list-item":!0,[`list-item--level-${this.level}`]:!0,[`list-item--${this.type}`]:!0}}renderMarker(){return this.type==="ordered"?e("span",{class:"list-item__marker"},this.level==="one"?this.itemNumber:this.itemLetter):null}render(){return console.log(this.inheritedType,"inheritedType"),e("li",{key:"3629dee324243bf1222aa7fa3ca64d65ce8d5d97",class:this.getListClass()},this.type==="with-icon"&&e("span",{key:"02b4c5492d1380d8e13a25334a37b045633c5ba8",class:"list-item__icon",innerHTML:this.icon}),this.renderMarker(),e("span",{key:"ebacf118e8825c9ea42e0d5c5f83cf444320944d",class:"list-item__text"},this.itemText))}get el(){return this}static get style(){return za}},[0,"dga-list-item",{type:[1],level:[1],itemText:[1,"item-text"],itemNumber:[1,"item-number"],itemLetter:[1,"item-letter"],icon:[1],inheritedType:[32]}]);function Rn(){if(typeof customElements>"u")return;["dga-list-item"].forEach(n=>{switch(n){case"dga-list-item":customElements.get(n)||customElements.define(n,Io);break}})}const Sa=Io,Ma=Rn,Ca=`@charset "UTF-8";
233141
+ }`,za=qa,$o=d(class extends l{constructor(){super(),this.__registerHost(),this.type=void 0,this.level=void 0,this.itemText=void 0,this.itemNumber=void 0,this.itemLetter=void 0,this.icon=void 0,this.inheritedType=void 0}componentWillLoad(){const n=this.el.closest("[type]");n&&(this.inheritedType=n.getAttribute("type"))}getListClass(){return{"list-item":!0,[`list-item--level-${this.level}`]:!0,[`list-item--${this.type}`]:!0}}renderMarker(){return this.type==="ordered"?e("span",{class:"list-item__marker"},this.level==="one"?this.itemNumber:this.itemLetter):null}render(){return e("li",{key:"80832fc2df179285918727b3c54df2690011ee9a",class:this.getListClass()},this.type==="with-icon"&&e("span",{key:"4d3c57724a905cd18db474965a693d0320bd87df",class:"list-item__icon",innerHTML:this.icon}),this.renderMarker(),e("span",{key:"3de9f793fe7af84b187d403c389160a2e4c396a4",class:"list-item__text"},this.itemText))}get el(){return this}static get style(){return za}},[0,"dga-list-item",{type:[1],level:[1],itemText:[1,"item-text"],itemNumber:[1,"item-number"],itemLetter:[1,"item-letter"],icon:[1],inheritedType:[32]}]);function Io(){if(typeof customElements>"u")return;["dga-list-item"].forEach(n=>{switch(n){case"dga-list-item":customElements.get(n)||customElements.define(n,$o);break}})}const Sa=$o,Ma=Io,Ca=`@charset "UTF-8";
233142
233142
  /*
233143
233143
  0 - 600px: Phone
233144
233144
  600 - 900px: Tablet portrait
@@ -236764,7 +236764,7 @@ a:focus {
236764
236764
  .list-item--with-icon .list-item__icon :global(i) {
236765
236765
  width: 16px;
236766
236766
  height: 16px;
236767
- }`,$a=Ca,Ao=d(class extends l{constructor(){super(),this.__registerHost(),this.renderListItem=n=>e("dga-list-item",Object.assign({type:n.type,level:n.level,itemText:n.label},n.type==="ordered"&&{itemNumber:n.itemNumber,itemLetter:n.itemLetter},n.type==="with-icon"&&{icon:n.icon})),this.type="unordered",this.color="primary",this.title="",this.items=[]}getItemClass(n){return{"list-item":!0,[`list-item--level-${n.level}`]:!0,[`list-item--${n.type}`]:!0}}renderIcon(n){return e("span",{class:"list-icon",innerHTML:n.icon})}renderOrderedMarker(n){return n.level==="one"?n.itemNumber:n.itemLetter}render(){const n=this.type==="ordered"?"ol":"ul";return e(n,{key:"879b480dc9dc4da1ef9c1c66aadf3c651a6ea7bc",class:`list list--${this.type} list--${this.color}`},e("slot",{key:"1e18264ba4835d01a3e5f5db6202d437602845c0"}))}static get style(){return $a}},[4,"dga-list-v2",{type:[1],color:[1],title:[1],items:[16]}]);function Bo(){if(typeof customElements>"u")return;["dga-list-v2","dga-list-item"].forEach(n=>{switch(n){case"dga-list-v2":customElements.get(n)||customElements.define(n,Ao);break;case"dga-list-item":customElements.get(n)||Rn();break}})}const Po=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"19544b7ec384388855a6c0ccda9b1d4de467ab78"},e("h1",{key:"2a93811afd4d11f0f9e1eeb6fae7d33722f5c77a"},"List Example"),e("div",{key:"de05930c13d5eb03e3be09212ea401e327bc2485",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"eac3444345f1405de61a21f5a24372ee255364cf",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-list-v2",{key:"2597545d81dd8be60eaac7e4ce65379519108e63",type:"ordered",color:"neutral"},e("dga-list-item",{key:"064f88ce0f8f33f94340fdc47d73128641ab95f5",type:"ordered",level:"one",itemNumber:"1-",itemText:"List item"}),e("dga-list-item",{key:"0c30a373a5f3385aa24d4a90c1282b294b111b63",type:"ordered",level:"two",itemLetter:"a-",itemText:"List item"}),e("dga-list-item",{key:"70efa9b8732f29cc8a733302e8da58e54df2a07b",type:"ordered",level:"two",itemLetter:"b-",itemText:"List item"}),e("dga-list-item",{key:"a5a51c3d712a16ac03161d2d2da46f7f2f08ac60",type:"ordered",level:"one",itemNumber:"2-",itemText:"List item"}),e("dga-list-item",{key:"fa594dc56a5d1657258d92d3e128591a3c95f268",type:"ordered",level:"two",itemLetter:"a-",itemText:"List item"})),e("dga-list-v2",{key:"20ebc215fdc11f8bc01e76575f74f80277d4d97d",type:"unordered",color:"neutral"},e("dga-list-item",{key:"e35c7a38cf453b82b0fd0a6e5e64268a2e521fde",type:"unordered",level:"one",itemText:"List item"}),e("dga-list-item",{key:"f10d0ca00a9c25a950084e20a4b65ef85275d5cc",type:"unordered",level:"two",itemText:"List item"}),e("dga-list-item",{key:"a3fabec6135cb253865aae4ca163a5b9602c92db",type:"unordered",level:"two",itemText:"List item"})),e("dga-list-v2",{key:"7b79bcf82edb714566b6a3eaf340af64071ba7b7",type:"with-icon",color:"neutral"},e("dga-list-item",{key:"fbfa00220cfe2f9eeb5587d6b534f50b9aab04c7",type:"with-icon",level:"one",icon:'<i class="hgi-stroke hgi-checkmark-circle-02"></i>',itemText:"List item"}),e("dga-list-item",{key:"6c3ee4586839738dc3095545b30eaadbee6fb050",type:"with-icon",level:"two",icon:'<i class="hgi-stroke hgi-checkmark-circle-02"></i>',itemText:"List item"}),e("dga-list-item",{key:"7192f517018039cfe28d1da9d729bed40c03be48",type:"with-icon",level:"two",icon:'<i class="hgi-stroke hgi-checkmark-circle-02"></i>',itemText:"List item"})))))}},[0,"dga-list-usage"]);function Ia(){if(typeof customElements>"u")return;["dga-list-usage","dga-list-item","dga-list-v2"].forEach(n=>{switch(n){case"dga-list-usage":customElements.get(n)||customElements.define(n,Po);break;case"dga-list-item":customElements.get(n)||Rn();break;case"dga-list-v2":customElements.get(n)||Bo();break}})}const Aa=Po,Ba=Ia,Pa=Ao,Da=Bo,Do=d(class extends l{constructor(){super(),this.__registerHost(),this.renderIcon=n=>n==="with-icon"?e("span",{class:"list-icon"},"✓"):null,this.type="unordered",this.color="primary",this.title="",this.items=[]}render(){const n=this.type==="ordered"?"ol":"ul";return e("div",{key:"de483b9276b8c6b47f6be277d4f4aff51201c28a",class:`list list--${this.type} list--${this.color}`},this.title&&e("h3",{key:"725892b9486cea6977fd17052a6133222f50e305",class:"list-title"},this.title),e(n,{key:"94e9d11777391d0fc3bbe5af4de41b63661e58ef"},this.items.map((t,i)=>e("li",{key:i,class:"list-item"},this.type==="with-icon"&&this.renderIcon(this.type),t))))}},[0,"dga-list",{type:[1],color:[1],title:[1],items:[16]}]);function Ea(){if(typeof customElements>"u")return;["dga-list"].forEach(n=>{switch(n){case"dga-list":customElements.get(n)||customElements.define(n,Do);break}})}const ja=Do,Ta=Ea,La=wo,Oa=xo,Eo=d(class extends l{constructor(){super(),this.__registerHost(),this.icon=void 0,this.size=24,this.color=void 0}render(){return e("svg",{key:"6d0de4b75e7c86f4d63bc7faa8e415fe8d01f769",width:this.size,height:this.size,fill:this.color||"currentColor","aria-hidden":"true"},e("use",{key:"a6fd6108e14b45ec2af3ad93d2c0c710c0390cb3",href:`../../assets/sprite.svg#${this.icon}`}))}},[0,"dga-local-icon",{icon:[1],size:[2],color:[1]}]);function Ra(){if(typeof customElements>"u")return;["dga-local-icon"].forEach(n=>{switch(n){case"dga-local-icon":customElements.get(n)||customElements.define(n,Eo);break}})}const Ha=Eo,Fa=Ra,jo=d(class extends l{constructor(){super(),this.__registerHost(),this.groupLabel=void 0}render(){return e("div",{key:"599130aadef7e1348047704ab4a115189dc00740",class:"menu-group"},this.groupLabel&&e("span",{key:"8afc2e45e71366a421c665e9851cdea17ba51696",class:"menu-group__label"},this.groupLabel),e("ul",{key:"f289e18d7a4a7812aee204a3c937f6bfcd5e2970",class:"menu-group__items"},e("slot",{key:"526b3371008a59f13b33a22db253c0e1e83aa450"})))}},[4,"dga-menu-group",{groupLabel:[1,"group-label"]}]);function Ua(){if(typeof customElements>"u")return;["dga-menu-group"].forEach(n=>{switch(n){case"dga-menu-group":customElements.get(n)||customElements.define(n,jo);break}})}const Wa=jo,Va=Ua,To=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0,this.disabled=!1,this.hasTrailElement=!1,this.hasLeadIcon=!1,this.pressed=!1}render(){return e("li",{key:"ac066373d852b189b8a53acb415c699ef792246b",class:`menu-item ${this.disabled?"disabled":""} ${this.pressed?"pressed":""}`,onMouseDown:()=>this.pressed=!0,onMouseUp:()=>this.pressed=!1,tabindex:"0"},this.hasLeadIcon&&e("span",{key:"5dd9a265ed29cabd1bcc644e4f59cc210f62b624",class:"menu-item__icon"},e("slot",{key:"239f1574e6a16d8f2f8a91725d561f958877e75e",name:"lead-icon"})),e("span",{key:"cbd5f5c85754271765484e9d38645fb7fb954bdb",class:"menu-item__label"},this.label),this.hasTrailElement&&e("div",{key:"fa86335f273ffa72af1b09c81973cb5e140b5a75",class:"menu-item__trail-element"},e("slot",{key:"64da15c7d5bb645a1cb903dead64daf0a7a3836e",name:"trail-element"})))}},[4,"dga-menu-item",{label:[1],disabled:[4],hasTrailElement:[4,"has-trail-element"],hasLeadIcon:[4,"has-lead-icon"],pressed:[32]}]);function Ka(){if(typeof customElements>"u")return;["dga-menu-item"].forEach(n=>{switch(n){case"dga-menu-item":customElements.get(n)||customElements.define(n,To);break}})}const Ya=To,Ga=Ka,Lo=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e("ul",{key:"d6bae4ef0e0e112315642530f9622596f63176bc",class:"menu"},e("slot",{key:"9a04ff37fc0bfb5a1287684d3e4b137768ba7ee0"}))}},[4,"dga-menu-list"]);function Na(){if(typeof customElements>"u")return;["dga-menu-list"].forEach(n=>{switch(n){case"dga-menu-list":customElements.get(n)||customElements.define(n,Lo);break}})}const Xa=Lo,Za=Na,Oo=d(class extends l{constructor(){super(),this.__registerHost(),this.handleClickOutside=n=>{this.anchorEl&&!this.anchorEl.contains(n.target)&&this.onClose()},this.anchorEl=null,this.open=!1,this.onClose=()=>{}}componentDidLoad(){document.addEventListener("click",this.handleClickOutside)}disconnectedCallback(){document.removeEventListener("click",this.handleClickOutside)}getMenuStyle(){var n;const t=(n=this.anchorEl)===null||n===void 0?void 0:n.getBoundingClientRect();return{position:"absolute",top:`${(t==null?void 0:t.bottom)+window.scrollY}px`,left:`${(t==null?void 0:t.left)+window.scrollX}px`,zIndex:"1000"}}render(){return e(C,{key:"1e5f9e404d4cd10a679574b61d4cbc197e117013"},this.open&&this.anchorEl&&e("ul",{key:"45bd582bd8db8b7cd8371bdf6cdbb98622a09591",class:"menu",style:this.getMenuStyle()},e("slot",{key:"9a5d640ab638130774fba51a3b2bc0c2305aa461"})))}},[4,"dga-menu",{anchorEl:[16],open:[4],onClose:[16]}]);function Ja(){if(typeof customElements>"u")return;["dga-menu"].forEach(n=>{switch(n){case"dga-menu":customElements.get(n)||customElements.define(n,Oo);break}})}const Qa=Oo,ng=Ja,Ro=d(class extends l{constructor(){super(),this.__registerHost(),this.changeIcons={"01":{positive:"arrow-up-02",negative:"arrow-down-02"},"02":{positive:"trade-up",negative:"trade-down"}},this.label="",this.Style="small-chart",this.percentage="0%",this.showFeaturedIcon=!0,this.featuredIcon=e("i",{class:"hgi-stroke hgi-trade-up",style:{fontSize:"24px"}}),this.showChart=!0,this.showInfo=!0,this.showActions=!0,this.showSecondaryAction=!0,this.showMoreButton=!0,this.changeProps={type:"01",trend:"positive"},this.chartProps=void 0,this.trend=void 0,this.onPrimaryAction=()=>{},this.onSecondaryAction=()=>{},this.onExpandAction=()=>{}}render(){return e("div",{key:"c37289fb2ad8df927f3a0def9deda1fc02bd22a6",class:"dga-metric","data-chart-size":this.Style},e("div",{key:"3f2d1517a8007cd63ae2f92e5d0ab137e691a69a",class:"dga-metric__head"},e("div",{key:"8bab54f2bb7091c8360e0f07ef539f647d6c21df",class:"dga-metric__head-content"},this.showFeaturedIcon&&e("div",{key:"d98cd13e3c6517afd6f9ed1fafe1d1d4b6d60a6d",class:"featured-icon featured-icon--light-brand featured-icon--circle featured-icon--sm"},this.featuredIcon),this.label&&e("span",{key:"26cbbc2750c68650a9baf1612bff3c2de837e6c0",class:"dga-metric__head-content-text"},this.label)),this.showMoreButton&&e("dga-button",{key:"e1d47f5a82e7a11395109a3fe3af16da85dfc56a",variant:"subtle",iconOnly:!0,leadIcon:!0,leadIconType:"more-vertical",leadIconProps:{variant:"stroke",type:"rounded"},onClick:this.onExpandAction})),e("div",{key:"bbb6be4e8fa5e868d1fee4174dd3b17e25ee83b0",class:"dga-metric__body"},e("div",{key:"db36241807bcdc7452439b20422a6f3e5107b8a4",class:"dga-metric__content"},e("h3",{key:"8bb134189571e7c2762d4fdacbc116986d610b59",class:"dga-metric__content-percentage"},this.percentage),this.showInfo&&e("div",{key:"eeb4ef8d15c8ac0e18959f156e177306aa435b79",class:"dga-metric__content-change","data-change-trend":this.changeProps.trend},e("span",{key:"dbdfa0c08c278f065e38723dcac25449def9c0b6",class:"dga-metric__content-change-icon"},e("dga-icon",{key:"ae5d871bc5a81b7ecbae626ad7c55717f53fb804",icon:this.changeIcons[this.changeProps.type][this.changeProps.trend],type:"rounded",variant:"stroke",size:24})),e("span",{key:"add7993a75c9f5da75c6ac1b09dfcad5f7e80f3a",class:"dga-metric__content-change-value"},Math.abs(100),"%"),e("span",{key:"b7d3462dd8e36fedb94d1da29f2f53246bcaa619",class:"dga-metric__content-change-period"},"vs last month"))),this.showChart&&e("div",{key:"078eae986a88c5d37a03472d96b5dde8118d2b0d",class:"dga-metric__chart"},e("dga-chart",Object.assign({key:"db68d5d06e989aeae53b6bf87872ce595b8bd8b8"},this.chartProps,{size:this.Style==="small-chart"?"sm":"lg"})))),this.showActions&&e(C,{key:"30b68477d8bceca1410959220ae66e07a6abb1ba"},e("div",{key:"5c3c8f84d8c5034be44ac32a343099f3e6897857",class:"dga-metric__divider"}),e("div",{key:"4a288f04a432825a1e1b62931752ce8e93ecc1b3",class:"dga-metric__actions"},this.showSecondaryAction&&e("dga-button",{key:"a1f7654fe05db130f68156d96aa572425895361c",variant:"subtle",iconOnly:!0,leadIcon:!0,leadIconType:"settings-02",leadIconProps:{variant:"stroke",type:"rounded"},onClick:this.onSecondaryAction}),e("dga-button",{key:"e7bab0bb366c23879a8198e91c0a8d1c7e96d6e1",variant:"secondary-outline",class:"dga-metric__actions--primary",label:"View Report",onClick:this.onPrimaryAction}))))}},[0,"dga-metric",{label:[1],Style:[1,"style"],percentage:[1],showFeaturedIcon:[4,"show-featured-icon"],featuredIcon:[8,"featured-icon"],showChart:[4,"show-chart"],showInfo:[4,"show-info"],showActions:[4,"show-actions"],showSecondaryAction:[4,"show-secondary-action"],showMoreButton:[4,"show-more-button"],changeProps:[16],chartProps:[16],trend:[16],onPrimaryAction:[16],onSecondaryAction:[16],onExpandAction:[16]}]);function eg(){if(typeof customElements>"u")return;["dga-metric","dga-button","dga-chart","dga-icon"].forEach(n=>{switch(n){case"dga-metric":customElements.get(n)||customElements.define(n,Ro);break;case"dga-button":customElements.get(n)||O();break;case"dga-chart":customElements.get(n)||Ue();break;case"dga-icon":customElements.get(n)||w();break}})}const og=Ro,tg=eg;function ie(o){if(!o)return new Error("😒 Name is required");try{const n=document.querySelector(`#${o}`);if(n.style.display="none",!n)return new Error(`🥲 not found modal with name ${o}`);n.close(),document.body.classList.remove("modal-open")}catch(n){console.log("🚀 ~ HideModal ~ error:",n)}}const Ho=d(class extends l{constructor(){super(),this.__registerHost(),this.modalTitle=void 0,this.closeButton=void 0,this.onClose=void 0,this.featuredIconColor=void 0,this.featuredIconStyle=void 0,this.featuredIconType="InformationCircle",this.featuredIconCircle=void 0,this.featuredIconSize=void 0,this.alignmentCenter=void 0,this.actionFillContainer=void 0,this.actionStack=void 0,this.secondBtnPosition="left",this.position="center",this.name=void 0,this.show=!1,this.staticModal=!1,this.buttonsList=[]}handleClickOutside(n){n.stopPropagation(),n.preventDefault(),!this.staticModal&&ie(this.name)}render(){return e("dialog",Object.assign({key:"e50443857384c51eb5263c97a964c77ae49d2730",onClick:n=>this.handleClickOutside(n),ref:n=>this.dialogRef=n,style:{display:this.show?"flex":"none"},class:`flex-align-${this.position}`},this.show&&{open:this.show}),e("div",{key:"0bee2404f31aed0313dfe8672c126c8f258b1551",class:"modal",ref:n=>this.containergRef=n,onClick:n=>n.stopPropagation()},e("div",{key:"be361c4b4343005a405d91b70a5121ecc0c88023",class:"modal__header"},e("div",{key:"8b7fd329549c5fb9028e7a92ab235dc1028448a3",class:"modal__icon",style:this.alignmentCenter?{justifyContent:"center",width:"100%",display:"flex"}:{}},e("div",{key:"ca29234212cdb99912e357e4875616a514ae38d8",class:`featured-icon featured-icon--${this.featuredIconStyle}-${this.featuredIconColor} ${this.featuredIconCircle?"featured-icon--circle":""} featured-icon--${this.featuredIconSize}`},e("span",{key:"473d0da7549b01a067c458e6c0a25fd52ce2ad7c"},e("dga-icon",{key:"49210bf1fc285985f593106c0aa99b1b5abb3342",icon:this.featuredIconType})))),this.closeButton&&e("div",{key:"f794fd58cba31a6c2b30be5fcf2e5014e87af0b4",class:"modal__close"},e("button",{key:"c55d90c2934c8b7ccbb50325cd9f33c484bb8dc0",class:"btn btn--close btn--icon btn--md",onClick:n=>{ie(this.name)}},e("span",{key:"6b6c5aed216e02da9ecf8a134250f7ee7cdc7b78",class:"btn-icon"},e("dga-icon",{key:"f698b67f0148947c2c10427a87d969cb45d39345",icon:"Cancel01Icon",variant:"solid"}))))),this.modalTitle&&e("h4",{key:"88aef2abe9cc3e2e0d08307cb971f124b8d30f33",class:"modal__heading",style:this.alignmentCenter?{textAlign:"center",width:"100%"}:{}},this.modalTitle),e("slot",{key:"bc6fd66e423a4cfa9a70baad5290e536737f6c17"}),e("div",{key:"1ca62b31c02b7b1d4b47b24533a4b762eab992ee",style:Object.assign(Object.assign({display:"flex",width:"100%",justifyContent:this.alignmentCenter?"center":this.buttonsList.length>2?"flex-start":"space-between"},!this.alignmentCenter&&this.buttonsList.length==2&&{justifyContent:this.secondBtnPosition=="left"?"flex-start":"space-between"}),{flexDirection:this.actionStack?"column":"row"})},this.buttonsList.length>0&&this.buttonsList.slice(0,this.buttonsList.length>3?3:this.buttonsList.length).map((n,t)=>e("button",Object.assign({style:Object.assign(Object.assign({},this.actionFillContainer&&{width:"100%"}),t==2&&!this.alignmentCenter&&{marginLeft:"auto"}),key:n.id?n.id:x(),id:n.id?n.id:x(),onClick:i=>n.onClick(i),class:`modal__actions-btn btn btn--md ${t==0?"btn--primary-neutral":this.actionStack&&t==2?"btn--subtle":"btn--secondary-outline"} ${n.extraClass} `},n.title&&{title:n.title}),n.label)))))}},[4,"dga-modal",{modalTitle:[1,"modal-title"],closeButton:[4,"close-button"],onClose:[16],featuredIconColor:[1,"featured-icon-color"],featuredIconStyle:[1,"featured-icon-style"],featuredIconType:[1,"featured-icon-type"],featuredIconCircle:[4,"featured-icon-circle"],featuredIconSize:[1,"featured-icon-size"],alignmentCenter:[4,"alignment-center"],actionFillContainer:[4,"action-fill-container"],actionStack:[4,"action-stack"],secondBtnPosition:[1,"second-btn-position"],position:[1],name:[1],show:[4],staticModal:[4,"static-modal"],buttonsList:[16]}]);function ig(){if(typeof customElements>"u")return;["dga-modal","dga-icon"].forEach(n=>{switch(n){case"dga-modal":customElements.get(n)||customElements.define(n,Ho);break;case"dga-icon":customElements.get(n)||w();break}})}const rg=Ho,ag=ig,gg=On,hg=ra,cg=Tn,sg=oa,lg=En,dg=na,fg=Dn,bg=Qr,pg=jn,ug=ea,kg=rn,mg=ta,vg=Ln,wg=ia,xg=qo,yg=zo,_g=Pn,qg=Jr,zg={error:"hgi-stroke hgi-alert-02",warning:"hgi-stroke hgi-alert-circle",success:"hgi-stroke hgi-sharp hgi-checkmark-circle-02",info:"hgi-stroke hgi-sharp hgi-information-circle",neutral:"hgi-stroke hgi-sharp hgi-information-circle"},Fo=d(class extends l{constructor(){super(),this.__registerHost(),this.type="neutral",this.leadText=void 0,this.hasHelperText=!1,this.helperText=void 0,this.action=void 0,this.closeButton=void 0,this.vPostion="top",this.hPostion="right",this.onClose=void 0,this.buttonsList=[]}render(){return e("div",{key:"e6bca5d0e1291c28bf67e9c92d2913e318d39a7e",class:`notification-toast notification-toast--${this.type} vpostion-${this.vPostion} hpostion-${this.hPostion}`},e("div",{key:"2a7d62ae3d2c165c8fd7f8d94a7b8f51f0feb8b9",class:`notification-toast__header ${this.hasHelperText?"":"flex-center-y"}`},e("div",{key:"064798fa318ad89f61d2a64516d0528a53742ae6",class:`notification--${this.type} notification-toast__icon featured-icon featured-icon--circle featured-icon--md`},e("i",{key:"b244f70942e4dc699553d3af4a9ad99ab7fc64e8",class:zg[this.type],style:{fontSize:"18px"}})),e("div",{key:"6c9f80e3bd01952ca3c58126d104babd4b80242c",class:"notification-toast__body"},e("h4",{key:"5e8ab82ccccadd8d923d606b40f9b86860120c7d",class:"notification-toast__title text-md-semibold"},this.leadText),this.hasHelperText&&this.helperText&&e("p",{key:"622d6bb7a9f4ab216ad4ae146e9f81b9d403a173",class:"notification-toast__content text-sm-regular"},this.helperText)),this.closeButton&&e("div",{key:"3dff500d75232fd920e2d1c3cf55c4328aa5e39a",class:"notification-toast__close-btn"},e("button",{key:"f94151b69314019e0dca923450ff06c9e499be23",class:"btn btn--close btn--icon btn--md",onClick:n=>{var t;return(t=this.onClose)===null||t===void 0?void 0:t.call(this,n)}},e("span",{key:"8086da77f578696729d8063df139ee31a2ba3a8e",class:"btn-icon"},e("i",{key:"5617c29f2a7849787db79d9b97fddac46257500c",class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}}))))),this.action&&e(C,null,e("div",{key:"6ddbb032eb5ad556756aa7b53cd48b110a8b3167",class:"notification-toast__action"},this.buttonsList.length>0&&this.buttonsList.map(({id:n,onClick:t,extraClasses:i,title:r,customAttribute:a,label:g})=>e("button",Object.assign({key:n||x(),id:n||x(),onClick:h=>t(h),class:`btn btn--subtle btn--md ${i}`},r&&{title:r},a&&a.key&&{[a.key]:a.value?a.value:""}),g))),e("div",{key:"1a840726602b93f8407c235a2793cda9a11a6b90",class:"notification-toast__action-mobile"},this.buttonsList.length>0&&this.buttonsList.map(({id:n,onClick:t,extraClasses:i,title:r,customAttribute:a,label:g})=>e("button",Object.assign({key:n||x(),id:n||x(),onClick:h=>t(h),class:`btn btn--secondary btn--lg ${i}`},r&&{title:r},a&&a.key&&{[a.key]:a.value?a.value:""}),g)))))}},[0,"dga-notification-toast",{type:[1],leadText:[1,"lead-text"],hasHelperText:[4,"has-helper-text"],helperText:[1,"helper-text"],action:[4],closeButton:[4,"close-button"],vPostion:[1,"v-postion"],hPostion:[1,"h-postion"],onClose:[16],buttonsList:[16]}]);function Sg(){if(typeof customElements>"u")return;["dga-notification-toast"].forEach(n=>{switch(n){case"dga-notification-toast":customElements.get(n)||customElements.define(n,Fo);break}})}const Mg=Fo,Cg=Sg,Uo=d(class extends l{constructor(){super(),this.__registerHost(),this.icons={success:"hgi-solid hgi-sharp hgi-checkmark-circle-02",info:"hgi-solid hgi-sharp hgi-information-circle",neutral:"hgi-solid hgi-sharp hgi-information-circle",warning:"hgi-solid hgi-alert-02",critical:"hgi-solid hgi-alert-circle"},this.icon=!0,this.leadText=void 0,this.content=void 0,this.variant=void 0,this.link=!1,this.textLink=void 0,this.dismissable=!1,this.setNavigateTo=void 0,this.navigateTo=void 0,this.dismmissed=void 0}render(){return e("div",{key:"efe35855c6d293d767bb46228e5ea7e9f43ebc4e",class:`notification notification--${this.variant}`,role:"alert"},e("div",{key:"ca58215377e44ec6cc7ac3e0af6fa3f90e3fee1a",class:"notification__content"},this.icon&&e("div",{key:"de637890fe861dcb8c55b226e8d7bc5acaad3b66",class:"notification__icon"},e("i",{key:"5521cef9b21495d8ee5f25f0b46c4a36c6d69585",class:this.icons[this.variant],style:{fontSize:"24px"}})),this.leadText&&e("strong",{key:"27932c4c3f6fe5f1c93dd759564741358ae6051e",class:"notification__lead-text"},this.leadText,": "),e("p",{key:"9882b5651bb0667caf40e31f453ebe5d6260023f"},this.content),this.link&&e("a",{key:"f50322068e40e2bdb4294382283f3bbd5faf6ce2",onClick:()=>{this.navigateTo&&this.navigateTo(this.setNavigateTo)},class:"notification__link link link--md link--neutral link--inline"},e("span",{key:"d7b48f3a8c050b0f333bec52c25f219158c6d89c",class:"link__label"},this.textLink))),this.dismissable&&e("div",{key:"8aee531f6fb947438157a19c10fcef465aaa90f8",class:"notification__dismiss"},e("button",{key:"ff1182a34dcbdcdb823481beb0065a675b1a64f9",class:"btn btn--close btn--icon btn--md",onClick:()=>{this.dismmissed&&this.dismmissed()}},e("span",{key:"478b43b130062eb665a46b840e79eba18aa6c324",class:"btn-icon"},e("i",{key:"e1c464b7314217a8d4801441aa72b5e0f009283e",class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}})))))}},[0,"dga-notification",{icon:[4],leadText:[1,"lead-text"],content:[1],variant:[1],link:[4],textLink:[1,"text-link"],dismissable:[4],setNavigateTo:[1,"set-navigate-to"],navigateTo:[16],dismmissed:[16]}]);function $g(){if(typeof customElements>"u")return;["dga-notification"].forEach(n=>{switch(n){case"dga-notification":customElements.get(n)||customElements.define(n,Uo);break}})}const Ig=Uo,Ag=$g,F="...",X=(o,n)=>{let t=n-o+1;return Array.from({length:t},(i,r)=>r+o)},Wo=d(class extends l{constructor(){super(),this.__registerHost(),this.onNext=()=>{this.currentPage!=this.totalPageCount&&(this.currentPage=this.currentPage+1,this.onChange&&this.onChange(this.currentPage))},this.onPrevious=()=>{this.currentPage!=1&&(this.currentPage=this.currentPage-1,this.onChange&&this.onChange(this.currentPage))},this.handelPageChange=n=>{n!=this.currentPage&&(this.currentPage=n,this.onChange(this.currentPage))},this.size="large",this.totalPageCount=10,this.siblingCount=1,this.onChange=()=>{},this.currentPage=1}get paginationRange(){const{totalPageCount:n,siblingCount:t,currentPage:i}=this;if(t+5>=n)return X(1,n);const a=Math.max(i-t,1),g=Math.min(i+t,n),h=a>2,c=g<n-2,k=1,b=n;if(!h&&c){let u=3+2*t;return[...X(1,u),F,n]}if(h&&!c){let u=3+2*t,p=X(n-u+1,n);return[k,F,...p]}if(h&&c){let u=X(a,g);return[k,F,...u,F,b]}return[]}render(){return e("ul",{key:"c44bec70961eccf7528004becf25064721c75b4c",class:`pagination pagination--${this.size}`},e("li",{key:"3a7159989878b8b58c7c93ca1a62ddf2bcae76be",class:"pagination__item pagination__arrow"},e("button",{key:"b981298a53ce81b84fb7077b64fbac9fe5ae1958",onClick:this.onPrevious,disabled:this.currentPage===1},e("svg",{key:"a490874e39ef11675cde8a81be793eec398422d8",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"ef8ad41274ba1be57c5d4b9463fcbc95b62bd8a7",id:"Leading Icon"},e("path",{key:"2828b0066605ebfb737445ebfcca4eb2fd3530ee",id:"Icon",d:"M10.5 12L6.5 8L10.5 4",stroke:"#161616","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))))),this.paginationRange&&this.paginationRange.map(n=>n===F?e("li",{key:x(),class:"pagination__item"},"…"):e("li",{key:x(),class:`pagination__item ${this.currentPage===n?"pagination__item--active":""}`},e("button",{onClick:()=>{this.handelPageChange(n)}},n))),e("li",{key:"a480785445e5bb5982cb67aed985a5faf596ff5b",class:"pagination__item pagination__arrow"},e("button",{key:"d0629bc58d1e18713d8c0dd6d36126af5faaff33",onClick:this.onNext,disabled:this.currentPage===this.totalPageCount},e("svg",{key:"f945354a8f731961782f4ebcb7bc64a32ab51176",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"2cca092d7dca4a8d4edb62c01470fd7bc3cf8709",id:"Leading Icon"},e("path",{key:"be6e68b7705ef0cc59bbca373aa4d1a1f9e77fca",id:"Icon",d:"M6.5 12L10.5 8L6.5 4",stroke:"#161616","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))))))}},[0,"dga-pagination",{size:[1],totalPageCount:[2,"total-page-count"],siblingCount:[2,"sibling-count"],onChange:[16],currentPage:[32]}]);function Bg(){if(typeof customElements>"u")return;["dga-pagination"].forEach(n=>{switch(n){case"dga-pagination":customElements.get(n)||customElements.define(n,Wo);break}})}const Pg=Wo,Dg=Bg,Vo=d(class extends l{constructor(){super(),this.__registerHost(),this.onSelect=$(this,"onSelect",7),this.type=void 0,this.variant=void 0,this.options=void 0,this.label=void 0,this.icon=void 0,this.dpIsActive=!1,this.selectedOption=null}handlePrefixClick(){this.prefixBtn.classList.toggle("open")}handleOptionSelect(n){this.selectedOption=n,this.onSelect.emit(n.value);const t=this.prefixBtn.querySelector(".dropdown__label");t&&t.classList.add("dropdown__label--selection"),this.prefixBtn.classList.remove("open"),this.prefixBtn.classList.add("selected")}render(){return this.type==="text"?e("div",{class:`input__prefix input__prefix--${this.variant}-text`},e("span",{class:"input__prefix-label"},this.label)):e(C,null,e("button",{class:`input__prefix input__prefix--${this.variant} input__dropdown-btn`,onMouseDown:()=>this.dpIsActive=!0,onMouseUp:()=>this.dpIsActive=!1,onMouseOut:()=>this.dpIsActive=!1,onClick:()=>this.handlePrefixClick(),ref:n=>this.prefixBtn=n},e("span",{class:"input__prefix-icon"},this.icon),e("span",{class:"dropdown__label"},this.selectedOption&&Object.keys(this.selectedOption).length?this.selectedOption.label:" "),e("span",{class:"input__prefix-label"},this.label),e("span",{class:"input__prefix-chevron"},e("dga-icon",{icon:"ArrowDown01Icon",variant:"stroke"}))),e("ul",{class:"input__dropdown-list"},this.options&&this.options.map(n=>{var t;return e("li",{key:n.value},e("button",{class:`dropdown__option ${((t=this.selectedOption)===null||t===void 0?void 0:t.value)===n.value?"selected":""}`,onClick:()=>this.handleOptionSelect(n)},e("span",{class:"dropdown__option-label"},n.label),e("span",{class:"dropdown__option-icon"},e("dga-icon",{icon:"Tick02Icon",variant:"solid"}))))})))}},[0,"dga-prefix",{type:[1],variant:[1],options:[16],label:[1],icon:[8],dpIsActive:[32],selectedOption:[32]}]);function Eg(){if(typeof customElements>"u")return;["dga-prefix","dga-icon"].forEach(n=>{switch(n){case"dga-prefix":customElements.get(n)||customElements.define(n,Vo);break;case"dga-icon":customElements.get(n)||w();break}})}const jg=Vo,Tg=Eg,Lg=`@charset "UTF-8";
236767
+ }`,$a=Ca,Ao=d(class extends l{constructor(){super(),this.__registerHost(),this.type="unordered",this.color="primary",this.title="",this.items=[]}render(){const n=this.type==="ordered"?"ol":"ul";return e(n,{key:"317b0cf0edbc883cf7d2eaf39228492e89eb3481",class:`list list--${this.type} list--${this.color}`},e("slot",{key:"e8336ac3eae7796f6e1df92c4f2d37db78ab22ee"}))}static get style(){return $a}},[4,"dga-list-v2",{type:[1],color:[1],title:[1],items:[16]}]);function Bo(){if(typeof customElements>"u")return;["dga-list-v2"].forEach(n=>{switch(n){case"dga-list-v2":customElements.get(n)||customElements.define(n,Ao);break}})}const Po=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"d582ae2e88673cfe3f284b2771ac029df6e564d4"},e("h1",{key:"bcf1f1727f4d7bfcdec520b334fb81bbf94dbf11"},"List Example"),e("div",{key:"615c3355f8fff617732cada2c74bfc8c6b3002d0",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"bd28aee5553854153e100e082d23338a990a67b1",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-list-v2",{key:"d5155f7a4779bfab341a61d60c9322a0b7968ef6",type:"ordered",color:"neutral"},e("dga-list-item",{key:"3dd18b79ab21eaa805c52fb48670fe0543c90631",type:"ordered",level:"one",itemNumber:"1-",itemText:"List item"}),e("dga-list-item",{key:"4b1cb368efecac02703be88ae7a2fa8ec97a50eb",type:"ordered",level:"two",itemLetter:"a-",itemText:"List item"}),e("dga-list-item",{key:"1f46e9b9971966b6a829da13a4f397029edb8464",type:"ordered",level:"two",itemLetter:"b-",itemText:"List item"}),e("dga-list-item",{key:"f5cd35e435b229d5ce0bfbbcf94ce4a91e421fbe",type:"ordered",level:"one",itemNumber:"2-",itemText:"List item"}),e("dga-list-item",{key:"3a79bb338e2ae56f1dd4471adfba2ba118f7d73b",type:"ordered",level:"two",itemLetter:"a-",itemText:"List item"})),e("dga-list-v2",{key:"9c1b598ae079f0bf7a389d4a200e27d18dcbc96d",type:"unordered",color:"neutral"},e("dga-list-item",{key:"d0d0972d5894157d48307208a0648b57ea05ea21",type:"unordered",level:"one",itemText:"List item"}),e("dga-list-item",{key:"f7cd9b5071f409c37c6bf5ff87342c88cc693466",type:"unordered",level:"two",itemText:"List item"}),e("dga-list-item",{key:"54e91395be966fea1f08dd8541bd3979b0295980",type:"unordered",level:"two",itemText:"List item"})),e("dga-list-v2",{key:"4d184cff71ba868ffcb81d4e3c7f8127f1589aaf",type:"with-icon",color:"neutral"},e("dga-list-item",{key:"5d38bbcfaca22f8b720ed4f417c12f6458347b88",type:"with-icon",level:"one",icon:'<i class="hgi-stroke hgi-checkmark-circle-02"></i>',itemText:"List item"}),e("dga-list-item",{key:"af8e4704408a496d61755eace6712c34f53a2786",type:"with-icon",level:"two",icon:'<i class="hgi-stroke hgi-checkmark-circle-02"></i>',itemText:"List item"}),e("dga-list-item",{key:"3f19110512b74dd5817b3cc1b1f7008cf51c6294",type:"with-icon",level:"two",icon:'<i class="hgi-stroke hgi-checkmark-circle-02"></i>',itemText:"List item"})))))}},[0,"dga-list-usage"]);function Ia(){if(typeof customElements>"u")return;["dga-list-usage","dga-list-item","dga-list-v2"].forEach(n=>{switch(n){case"dga-list-usage":customElements.get(n)||customElements.define(n,Po);break;case"dga-list-item":customElements.get(n)||Io();break;case"dga-list-v2":customElements.get(n)||Bo();break}})}const Aa=Po,Ba=Ia,Pa=Ao,Da=Bo,Do=d(class extends l{constructor(){super(),this.__registerHost(),this.renderIcon=n=>n==="with-icon"?e("span",{class:"list-icon"},"✓"):null,this.type="unordered",this.color="primary",this.title="",this.items=[]}render(){const n=this.type==="ordered"?"ol":"ul";return e("div",{key:"ce667620adac94663986ff3631f4f87aa172406c",class:`list list--${this.type} list--${this.color}`},this.title&&e("h3",{key:"795537d38fd9a3cf8ac0d089f7ebaffdaa869dbd",class:"list-title"},this.title),e(n,{key:"8a4e0519849f1ffe1560cadfdbef2d55af11775f"},this.items.map((t,i)=>e("li",{key:i,class:"list-item"},this.type==="with-icon"&&this.renderIcon(this.type),t))))}},[0,"dga-list",{type:[1],color:[1],title:[1],items:[16]}]);function Ea(){if(typeof customElements>"u")return;["dga-list"].forEach(n=>{switch(n){case"dga-list":customElements.get(n)||customElements.define(n,Do);break}})}const ja=Do,Ta=Ea,La=vo,Ra=wo,Eo=d(class extends l{constructor(){super(),this.__registerHost(),this.icon=void 0,this.size=24,this.color=void 0}render(){return e("svg",{key:"eec4a734c4ce8e8933e87e279a874197a231267b",width:this.size,height:this.size,fill:this.color||"currentColor","aria-hidden":"true"},e("use",{key:"ac5d2d7dac0202f6e2ca9e360af3bced6a1a2309",href:`../../assets/sprite.svg#${this.icon}`}))}},[0,"dga-local-icon",{icon:[1],size:[2],color:[1]}]);function Oa(){if(typeof customElements>"u")return;["dga-local-icon"].forEach(n=>{switch(n){case"dga-local-icon":customElements.get(n)||customElements.define(n,Eo);break}})}const Ha=Eo,Fa=Oa,jo=d(class extends l{constructor(){super(),this.__registerHost(),this.groupLabel=void 0}render(){return e("div",{key:"599130aadef7e1348047704ab4a115189dc00740",class:"menu-group"},this.groupLabel&&e("span",{key:"8afc2e45e71366a421c665e9851cdea17ba51696",class:"menu-group__label"},this.groupLabel),e("ul",{key:"f289e18d7a4a7812aee204a3c937f6bfcd5e2970",class:"menu-group__items"},e("slot",{key:"526b3371008a59f13b33a22db253c0e1e83aa450"})))}},[4,"dga-menu-group",{groupLabel:[1,"group-label"]}]);function Ua(){if(typeof customElements>"u")return;["dga-menu-group"].forEach(n=>{switch(n){case"dga-menu-group":customElements.get(n)||customElements.define(n,jo);break}})}const Wa=jo,Va=Ua,To=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0,this.disabled=!1,this.hasTrailElement=!1,this.hasLeadIcon=!1,this.pressed=!1}render(){return e("li",{key:"ac066373d852b189b8a53acb415c699ef792246b",class:`menu-item ${this.disabled?"disabled":""} ${this.pressed?"pressed":""}`,onMouseDown:()=>this.pressed=!0,onMouseUp:()=>this.pressed=!1,tabindex:"0"},this.hasLeadIcon&&e("span",{key:"5dd9a265ed29cabd1bcc644e4f59cc210f62b624",class:"menu-item__icon"},e("slot",{key:"239f1574e6a16d8f2f8a91725d561f958877e75e",name:"lead-icon"})),e("span",{key:"cbd5f5c85754271765484e9d38645fb7fb954bdb",class:"menu-item__label"},this.label),this.hasTrailElement&&e("div",{key:"fa86335f273ffa72af1b09c81973cb5e140b5a75",class:"menu-item__trail-element"},e("slot",{key:"64da15c7d5bb645a1cb903dead64daf0a7a3836e",name:"trail-element"})))}},[4,"dga-menu-item",{label:[1],disabled:[4],hasTrailElement:[4,"has-trail-element"],hasLeadIcon:[4,"has-lead-icon"],pressed:[32]}]);function Ka(){if(typeof customElements>"u")return;["dga-menu-item"].forEach(n=>{switch(n){case"dga-menu-item":customElements.get(n)||customElements.define(n,To);break}})}const Ya=To,Ga=Ka,Lo=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e("ul",{key:"d6bae4ef0e0e112315642530f9622596f63176bc",class:"menu"},e("slot",{key:"9a04ff37fc0bfb5a1287684d3e4b137768ba7ee0"}))}},[4,"dga-menu-list"]);function Na(){if(typeof customElements>"u")return;["dga-menu-list"].forEach(n=>{switch(n){case"dga-menu-list":customElements.get(n)||customElements.define(n,Lo);break}})}const Xa=Lo,Za=Na,Ro=d(class extends l{constructor(){super(),this.__registerHost(),this.handleClickOutside=n=>{this.anchorEl&&!this.anchorEl.contains(n.target)&&this.onClose()},this.anchorEl=null,this.open=!1,this.onClose=()=>{}}componentDidLoad(){document.addEventListener("click",this.handleClickOutside)}disconnectedCallback(){document.removeEventListener("click",this.handleClickOutside)}getMenuStyle(){var n;const t=(n=this.anchorEl)===null||n===void 0?void 0:n.getBoundingClientRect();return{position:"absolute",top:`${(t==null?void 0:t.bottom)+window.scrollY}px`,left:`${(t==null?void 0:t.left)+window.scrollX}px`,zIndex:"1000"}}render(){return e(C,{key:"1e5f9e404d4cd10a679574b61d4cbc197e117013"},this.open&&this.anchorEl&&e("ul",{key:"45bd582bd8db8b7cd8371bdf6cdbb98622a09591",class:"menu",style:this.getMenuStyle()},e("slot",{key:"9a5d640ab638130774fba51a3b2bc0c2305aa461"})))}},[4,"dga-menu",{anchorEl:[16],open:[4],onClose:[16]}]);function Ja(){if(typeof customElements>"u")return;["dga-menu"].forEach(n=>{switch(n){case"dga-menu":customElements.get(n)||customElements.define(n,Ro);break}})}const Qa=Ro,ng=Ja,Oo=d(class extends l{constructor(){super(),this.__registerHost(),this.changeIcons={"01":{positive:"arrow-up-02",negative:"arrow-down-02"},"02":{positive:"trade-up",negative:"trade-down"}},this.label="",this.Style="small-chart",this.percentage="0%",this.showFeaturedIcon=!0,this.featuredIcon=e("i",{class:"hgi-stroke hgi-trade-up",style:{fontSize:"24px"}}),this.showChart=!0,this.showInfo=!0,this.showActions=!0,this.showSecondaryAction=!0,this.showMoreButton=!0,this.changeProps={type:"01",trend:"positive"},this.chartProps=void 0,this.trend=void 0,this.onPrimaryAction=()=>{},this.onSecondaryAction=()=>{},this.onExpandAction=()=>{}}render(){return e("div",{key:"a8779af6a17c0ef3c3277e2eaa4b151acfcaee06",class:"dga-metric","data-chart-size":this.Style},e("div",{key:"f8eff560651787adb5376f5a5d108e9182235e80",class:"dga-metric__head"},e("div",{key:"f5a03926bddf4af108eaefd407d1e6f552c9d9b3",class:"dga-metric__head-content"},this.showFeaturedIcon&&e("div",{key:"4b19068a834c865a37e81bbca3062f59037ca2a9",class:"featured-icon featured-icon--light-brand featured-icon--circle featured-icon--sm"},this.featuredIcon),this.label&&e("span",{key:"5c3567d8c08f48cbe0e6dcc4c841cd1a7d1542a2",class:"dga-metric__head-content-text"},this.label)),this.showMoreButton&&e("dga-button",{key:"18612764a3720068c3005ae5c00436606d79366b",variant:"subtle",iconOnly:!0,leadIcon:!0,leadIconType:"more-vertical",leadIconProps:{variant:"stroke",type:"rounded"},onClick:this.onExpandAction})),e("div",{key:"ab4f87f0e50dde3ce2342f1dc063344db0015f54",class:"dga-metric__body"},e("div",{key:"e6f90ec2dc843cb4fb4a8a2fe562ed4cacd3c4d8",class:"dga-metric__content"},e("h3",{key:"8e6f14fc58110d2050213f3722d4c16d9d9275c9",class:"dga-metric__content-percentage"},this.percentage),this.showInfo&&e("div",{key:"95c0d7a008cef18140955bc7c8b7f6283847089e",class:"dga-metric__content-change","data-change-trend":this.changeProps.trend},e("span",{key:"96875a6c8bda44a95b18c9aff054ab8396c8f0c8",class:"dga-metric__content-change-icon"},e("dga-icon",{key:"0ad44161366f70f832523a75854dae052d0d4721",icon:this.changeIcons[this.changeProps.type][this.changeProps.trend],type:"rounded",variant:"stroke",size:24})),e("span",{key:"7a972eda0afa7855175ee59197899bc51651d15b",class:"dga-metric__content-change-value"},Math.abs(100),"%"),e("span",{key:"250e66ee0501165fe922ab4a882f2e915a7c8992",class:"dga-metric__content-change-period"},"vs last month"))),this.showChart&&e("div",{key:"1022ac6e293702334afa0b0a579d01cf4caeb10f",class:"dga-metric__chart"},e("dga-chart",Object.assign({key:"4984bb868c5ac51377aa327536742b0764f4440f"},this.chartProps,{size:this.Style==="small-chart"?"sm":"lg"})))),this.showActions&&e(C,{key:"dc3614c415db2b5c4eb55f73d3f25726a86b1093"},e("div",{key:"76053e429516a30dd9a7cd773674e5854868b2d7",class:"dga-metric__divider"}),e("div",{key:"f0daff03f74edb61234b16f26362ce68f9c4835f",class:"dga-metric__actions"},this.showSecondaryAction&&e("dga-button",{key:"6cc1d18250a5e9f357066ee460b214a7e234a40a",variant:"subtle",iconOnly:!0,leadIcon:!0,leadIconType:"settings-02",leadIconProps:{variant:"stroke",type:"rounded"},onClick:this.onSecondaryAction}),e("dga-button",{key:"3b6986693dbcaf0396f1d38b05ca5caca3818212",variant:"secondary-outline",class:"dga-metric__actions--primary",label:"View Report",onClick:this.onPrimaryAction}))))}},[0,"dga-metric",{label:[1],Style:[1,"style"],percentage:[1],showFeaturedIcon:[4,"show-featured-icon"],featuredIcon:[8,"featured-icon"],showChart:[4,"show-chart"],showInfo:[4,"show-info"],showActions:[4,"show-actions"],showSecondaryAction:[4,"show-secondary-action"],showMoreButton:[4,"show-more-button"],changeProps:[16],chartProps:[16],trend:[16],onPrimaryAction:[16],onSecondaryAction:[16],onExpandAction:[16]}]);function eg(){if(typeof customElements>"u")return;["dga-metric","dga-button","dga-chart","dga-icon"].forEach(n=>{switch(n){case"dga-metric":customElements.get(n)||customElements.define(n,Oo);break;case"dga-button":customElements.get(n)||R();break;case"dga-chart":customElements.get(n)||Fe();break;case"dga-icon":customElements.get(n)||w();break}})}const og=Oo,tg=eg;function te(o){if(!o)return new Error("😒 Name is required");try{const n=document.querySelector(`#${o}`);if(n.style.display="none",!n)return new Error(`🥲 not found modal with name ${o}`);n.close(),document.body.classList.remove("modal-open")}catch(n){console.log("🚀 ~ HideModal ~ error:",n)}}const Ho=d(class extends l{constructor(){super(),this.__registerHost(),this.modalTitle=void 0,this.closeButton=void 0,this.onClose=void 0,this.featuredIconColor=void 0,this.featuredIconStyle=void 0,this.featuredIconType="InformationCircle",this.featuredIconCircle=void 0,this.featuredIconSize=void 0,this.alignmentCenter=void 0,this.actionFillContainer=void 0,this.actionStack=void 0,this.secondBtnPosition="left",this.position="center",this.name=void 0,this.show=!1,this.staticModal=!1,this.buttonsList=[]}handleClickOutside(n){n.stopPropagation(),n.preventDefault(),!this.staticModal&&te(this.name)}render(){return e("dialog",Object.assign({key:"e50443857384c51eb5263c97a964c77ae49d2730",onClick:n=>this.handleClickOutside(n),ref:n=>this.dialogRef=n,style:{display:this.show?"flex":"none"},class:`flex-align-${this.position}`},this.show&&{open:this.show}),e("div",{key:"0bee2404f31aed0313dfe8672c126c8f258b1551",class:"modal",ref:n=>this.containergRef=n,onClick:n=>n.stopPropagation()},e("div",{key:"be361c4b4343005a405d91b70a5121ecc0c88023",class:"modal__header"},e("div",{key:"8b7fd329549c5fb9028e7a92ab235dc1028448a3",class:"modal__icon",style:this.alignmentCenter?{justifyContent:"center",width:"100%",display:"flex"}:{}},e("div",{key:"ca29234212cdb99912e357e4875616a514ae38d8",class:`featured-icon featured-icon--${this.featuredIconStyle}-${this.featuredIconColor} ${this.featuredIconCircle?"featured-icon--circle":""} featured-icon--${this.featuredIconSize}`},e("span",{key:"473d0da7549b01a067c458e6c0a25fd52ce2ad7c"},e("dga-icon",{key:"49210bf1fc285985f593106c0aa99b1b5abb3342",icon:this.featuredIconType})))),this.closeButton&&e("div",{key:"f794fd58cba31a6c2b30be5fcf2e5014e87af0b4",class:"modal__close"},e("button",{key:"c55d90c2934c8b7ccbb50325cd9f33c484bb8dc0",class:"btn btn--close btn--icon btn--md",onClick:n=>{te(this.name)}},e("span",{key:"6b6c5aed216e02da9ecf8a134250f7ee7cdc7b78",class:"btn-icon"},e("dga-icon",{key:"f698b67f0148947c2c10427a87d969cb45d39345",icon:"Cancel01Icon",variant:"solid"}))))),this.modalTitle&&e("h4",{key:"88aef2abe9cc3e2e0d08307cb971f124b8d30f33",class:"modal__heading",style:this.alignmentCenter?{textAlign:"center",width:"100%"}:{}},this.modalTitle),e("slot",{key:"bc6fd66e423a4cfa9a70baad5290e536737f6c17"}),e("div",{key:"1ca62b31c02b7b1d4b47b24533a4b762eab992ee",style:Object.assign(Object.assign({display:"flex",width:"100%",justifyContent:this.alignmentCenter?"center":this.buttonsList.length>2?"flex-start":"space-between"},!this.alignmentCenter&&this.buttonsList.length==2&&{justifyContent:this.secondBtnPosition=="left"?"flex-start":"space-between"}),{flexDirection:this.actionStack?"column":"row"})},this.buttonsList.length>0&&this.buttonsList.slice(0,this.buttonsList.length>3?3:this.buttonsList.length).map((n,t)=>e("button",Object.assign({style:Object.assign(Object.assign({},this.actionFillContainer&&{width:"100%"}),t==2&&!this.alignmentCenter&&{marginLeft:"auto"}),key:n.id?n.id:x(),id:n.id?n.id:x(),onClick:i=>n.onClick(i),class:`modal__actions-btn btn btn--md ${t==0?"btn--primary-neutral":this.actionStack&&t==2?"btn--subtle":"btn--secondary-outline"} ${n.extraClass} `},n.title&&{title:n.title}),n.label)))))}},[4,"dga-modal",{modalTitle:[1,"modal-title"],closeButton:[4,"close-button"],onClose:[16],featuredIconColor:[1,"featured-icon-color"],featuredIconStyle:[1,"featured-icon-style"],featuredIconType:[1,"featured-icon-type"],featuredIconCircle:[4,"featured-icon-circle"],featuredIconSize:[1,"featured-icon-size"],alignmentCenter:[4,"alignment-center"],actionFillContainer:[4,"action-fill-container"],actionStack:[4,"action-stack"],secondBtnPosition:[1,"second-btn-position"],position:[1],name:[1],show:[4],staticModal:[4,"static-modal"],buttonsList:[16]}]);function ig(){if(typeof customElements>"u")return;["dga-modal","dga-icon"].forEach(n=>{switch(n){case"dga-modal":customElements.get(n)||customElements.define(n,Ho);break;case"dga-icon":customElements.get(n)||w();break}})}const rg=Ho,ag=ig,gg=Rn,hg=ra,cg=Tn,sg=oa,lg=En,dg=na,fg=Dn,bg=Qr,pg=jn,ug=ea,kg=rn,mg=ta,vg=Ln,wg=ia,xg=_o,yg=qo,_g=Pn,qg=Jr,zg={error:"hgi-stroke hgi-alert-02",warning:"hgi-stroke hgi-alert-circle",success:"hgi-stroke hgi-sharp hgi-checkmark-circle-02",info:"hgi-stroke hgi-sharp hgi-information-circle",neutral:"hgi-stroke hgi-sharp hgi-information-circle"},Fo=d(class extends l{constructor(){super(),this.__registerHost(),this.type="neutral",this.leadText=void 0,this.hasHelperText=!1,this.helperText=void 0,this.action=void 0,this.closeButton=void 0,this.vPostion="top",this.hPostion="right",this.onClose=void 0,this.buttonsList=[]}render(){return e("div",{key:"e6bca5d0e1291c28bf67e9c92d2913e318d39a7e",class:`notification-toast notification-toast--${this.type} vpostion-${this.vPostion} hpostion-${this.hPostion}`},e("div",{key:"2a7d62ae3d2c165c8fd7f8d94a7b8f51f0feb8b9",class:`notification-toast__header ${this.hasHelperText?"":"flex-center-y"}`},e("div",{key:"064798fa318ad89f61d2a64516d0528a53742ae6",class:`notification--${this.type} notification-toast__icon featured-icon featured-icon--circle featured-icon--md`},e("i",{key:"b244f70942e4dc699553d3af4a9ad99ab7fc64e8",class:zg[this.type],style:{fontSize:"18px"}})),e("div",{key:"6c9f80e3bd01952ca3c58126d104babd4b80242c",class:"notification-toast__body"},e("h4",{key:"5e8ab82ccccadd8d923d606b40f9b86860120c7d",class:"notification-toast__title text-md-semibold"},this.leadText),this.hasHelperText&&this.helperText&&e("p",{key:"622d6bb7a9f4ab216ad4ae146e9f81b9d403a173",class:"notification-toast__content text-sm-regular"},this.helperText)),this.closeButton&&e("div",{key:"3dff500d75232fd920e2d1c3cf55c4328aa5e39a",class:"notification-toast__close-btn"},e("button",{key:"f94151b69314019e0dca923450ff06c9e499be23",class:"btn btn--close btn--icon btn--md",onClick:n=>{var t;return(t=this.onClose)===null||t===void 0?void 0:t.call(this,n)}},e("span",{key:"8086da77f578696729d8063df139ee31a2ba3a8e",class:"btn-icon"},e("i",{key:"5617c29f2a7849787db79d9b97fddac46257500c",class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}}))))),this.action&&e(C,null,e("div",{key:"6ddbb032eb5ad556756aa7b53cd48b110a8b3167",class:"notification-toast__action"},this.buttonsList.length>0&&this.buttonsList.map(({id:n,onClick:t,extraClasses:i,title:r,customAttribute:a,label:g})=>e("button",Object.assign({key:n||x(),id:n||x(),onClick:h=>t(h),class:`btn btn--subtle btn--md ${i}`},r&&{title:r},a&&a.key&&{[a.key]:a.value?a.value:""}),g))),e("div",{key:"1a840726602b93f8407c235a2793cda9a11a6b90",class:"notification-toast__action-mobile"},this.buttonsList.length>0&&this.buttonsList.map(({id:n,onClick:t,extraClasses:i,title:r,customAttribute:a,label:g})=>e("button",Object.assign({key:n||x(),id:n||x(),onClick:h=>t(h),class:`btn btn--secondary btn--lg ${i}`},r&&{title:r},a&&a.key&&{[a.key]:a.value?a.value:""}),g)))))}},[0,"dga-notification-toast",{type:[1],leadText:[1,"lead-text"],hasHelperText:[4,"has-helper-text"],helperText:[1,"helper-text"],action:[4],closeButton:[4,"close-button"],vPostion:[1,"v-postion"],hPostion:[1,"h-postion"],onClose:[16],buttonsList:[16]}]);function Sg(){if(typeof customElements>"u")return;["dga-notification-toast"].forEach(n=>{switch(n){case"dga-notification-toast":customElements.get(n)||customElements.define(n,Fo);break}})}const Mg=Fo,Cg=Sg,Uo=d(class extends l{constructor(){super(),this.__registerHost(),this.icons={success:"hgi-solid hgi-sharp hgi-checkmark-circle-02",info:"hgi-solid hgi-sharp hgi-information-circle",neutral:"hgi-solid hgi-sharp hgi-information-circle",warning:"hgi-solid hgi-alert-02",critical:"hgi-solid hgi-alert-circle"},this.icon=!0,this.leadText=void 0,this.content=void 0,this.variant=void 0,this.link=!1,this.textLink=void 0,this.dismissable=!1,this.setNavigateTo=void 0,this.navigateTo=void 0,this.dismmissed=void 0}render(){return e("div",{key:"efe35855c6d293d767bb46228e5ea7e9f43ebc4e",class:`notification notification--${this.variant}`,role:"alert"},e("div",{key:"ca58215377e44ec6cc7ac3e0af6fa3f90e3fee1a",class:"notification__content"},this.icon&&e("div",{key:"de637890fe861dcb8c55b226e8d7bc5acaad3b66",class:"notification__icon"},e("i",{key:"5521cef9b21495d8ee5f25f0b46c4a36c6d69585",class:this.icons[this.variant],style:{fontSize:"24px"}})),this.leadText&&e("strong",{key:"27932c4c3f6fe5f1c93dd759564741358ae6051e",class:"notification__lead-text"},this.leadText,": "),e("p",{key:"9882b5651bb0667caf40e31f453ebe5d6260023f"},this.content),this.link&&e("a",{key:"f50322068e40e2bdb4294382283f3bbd5faf6ce2",onClick:()=>{this.navigateTo&&this.navigateTo(this.setNavigateTo)},class:"notification__link link link--md link--neutral link--inline"},e("span",{key:"d7b48f3a8c050b0f333bec52c25f219158c6d89c",class:"link__label"},this.textLink))),this.dismissable&&e("div",{key:"8aee531f6fb947438157a19c10fcef465aaa90f8",class:"notification__dismiss"},e("button",{key:"ff1182a34dcbdcdb823481beb0065a675b1a64f9",class:"btn btn--close btn--icon btn--md",onClick:()=>{this.dismmissed&&this.dismmissed()}},e("span",{key:"478b43b130062eb665a46b840e79eba18aa6c324",class:"btn-icon"},e("i",{key:"e1c464b7314217a8d4801441aa72b5e0f009283e",class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}})))))}},[0,"dga-notification",{icon:[4],leadText:[1,"lead-text"],content:[1],variant:[1],link:[4],textLink:[1,"text-link"],dismissable:[4],setNavigateTo:[1,"set-navigate-to"],navigateTo:[16],dismmissed:[16]}]);function $g(){if(typeof customElements>"u")return;["dga-notification"].forEach(n=>{switch(n){case"dga-notification":customElements.get(n)||customElements.define(n,Uo);break}})}const Ig=Uo,Ag=$g,F="...",X=(o,n)=>{let t=n-o+1;return Array.from({length:t},(i,r)=>r+o)},Wo=d(class extends l{constructor(){super(),this.__registerHost(),this.onNext=()=>{this.currentPage!=this.totalPageCount&&(this.currentPage=this.currentPage+1,this.onChange&&this.onChange(this.currentPage))},this.onPrevious=()=>{this.currentPage!=1&&(this.currentPage=this.currentPage-1,this.onChange&&this.onChange(this.currentPage))},this.handelPageChange=n=>{n!=this.currentPage&&(this.currentPage=n,this.onChange(this.currentPage))},this.size="large",this.totalPageCount=10,this.siblingCount=1,this.onChange=()=>{},this.currentPage=1}get paginationRange(){const{totalPageCount:n,siblingCount:t,currentPage:i}=this;if(t+5>=n)return X(1,n);const a=Math.max(i-t,1),g=Math.min(i+t,n),h=a>2,c=g<n-2,k=1,b=n;if(!h&&c){let u=3+2*t;return[...X(1,u),F,n]}if(h&&!c){let u=3+2*t,p=X(n-u+1,n);return[k,F,...p]}if(h&&c){let u=X(a,g);return[k,F,...u,F,b]}return[]}render(){return e("ul",{key:"c44bec70961eccf7528004becf25064721c75b4c",class:`pagination pagination--${this.size}`},e("li",{key:"3a7159989878b8b58c7c93ca1a62ddf2bcae76be",class:"pagination__item pagination__arrow"},e("button",{key:"b981298a53ce81b84fb7077b64fbac9fe5ae1958",onClick:this.onPrevious,disabled:this.currentPage===1},e("svg",{key:"a490874e39ef11675cde8a81be793eec398422d8",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"ef8ad41274ba1be57c5d4b9463fcbc95b62bd8a7",id:"Leading Icon"},e("path",{key:"2828b0066605ebfb737445ebfcca4eb2fd3530ee",id:"Icon",d:"M10.5 12L6.5 8L10.5 4",stroke:"#161616","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))))),this.paginationRange&&this.paginationRange.map(n=>n===F?e("li",{key:x(),class:"pagination__item"},"…"):e("li",{key:x(),class:`pagination__item ${this.currentPage===n?"pagination__item--active":""}`},e("button",{onClick:()=>{this.handelPageChange(n)}},n))),e("li",{key:"a480785445e5bb5982cb67aed985a5faf596ff5b",class:"pagination__item pagination__arrow"},e("button",{key:"d0629bc58d1e18713d8c0dd6d36126af5faaff33",onClick:this.onNext,disabled:this.currentPage===this.totalPageCount},e("svg",{key:"f945354a8f731961782f4ebcb7bc64a32ab51176",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"2cca092d7dca4a8d4edb62c01470fd7bc3cf8709",id:"Leading Icon"},e("path",{key:"be6e68b7705ef0cc59bbca373aa4d1a1f9e77fca",id:"Icon",d:"M6.5 12L10.5 8L6.5 4",stroke:"#161616","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))))))}},[0,"dga-pagination",{size:[1],totalPageCount:[2,"total-page-count"],siblingCount:[2,"sibling-count"],onChange:[16],currentPage:[32]}]);function Bg(){if(typeof customElements>"u")return;["dga-pagination"].forEach(n=>{switch(n){case"dga-pagination":customElements.get(n)||customElements.define(n,Wo);break}})}const Pg=Wo,Dg=Bg,Vo=d(class extends l{constructor(){super(),this.__registerHost(),this.onSelect=$(this,"onSelect",7),this.type=void 0,this.variant=void 0,this.options=void 0,this.label=void 0,this.icon=void 0,this.dpIsActive=!1,this.selectedOption=null}handlePrefixClick(){this.prefixBtn.classList.toggle("open")}handleOptionSelect(n){this.selectedOption=n,this.onSelect.emit(n.value);const t=this.prefixBtn.querySelector(".dropdown__label");t&&t.classList.add("dropdown__label--selection"),this.prefixBtn.classList.remove("open"),this.prefixBtn.classList.add("selected")}render(){return this.type==="text"?e("div",{class:`input__prefix input__prefix--${this.variant}-text`},e("span",{class:"input__prefix-label"},this.label)):e(C,null,e("button",{class:`input__prefix input__prefix--${this.variant} input__dropdown-btn`,onMouseDown:()=>this.dpIsActive=!0,onMouseUp:()=>this.dpIsActive=!1,onMouseOut:()=>this.dpIsActive=!1,onClick:()=>this.handlePrefixClick(),ref:n=>this.prefixBtn=n},e("span",{class:"input__prefix-icon"},this.icon),e("span",{class:"dropdown__label"},this.selectedOption&&Object.keys(this.selectedOption).length?this.selectedOption.label:" "),e("span",{class:"input__prefix-label"},this.label),e("span",{class:"input__prefix-chevron"},e("dga-icon",{icon:"ArrowDown01Icon",variant:"stroke"}))),e("ul",{class:"input__dropdown-list"},this.options&&this.options.map(n=>{var t;return e("li",{key:n.value},e("button",{class:`dropdown__option ${((t=this.selectedOption)===null||t===void 0?void 0:t.value)===n.value?"selected":""}`,onClick:()=>this.handleOptionSelect(n)},e("span",{class:"dropdown__option-label"},n.label),e("span",{class:"dropdown__option-icon"},e("dga-icon",{icon:"Tick02Icon",variant:"solid"}))))})))}},[0,"dga-prefix",{type:[1],variant:[1],options:[16],label:[1],icon:[8],dpIsActive:[32],selectedOption:[32]}]);function Eg(){if(typeof customElements>"u")return;["dga-prefix","dga-icon"].forEach(n=>{switch(n){case"dga-prefix":customElements.get(n)||customElements.define(n,Vo);break;case"dga-icon":customElements.get(n)||w();break}})}const jg=Vo,Tg=Eg,Lg=`@charset "UTF-8";
236768
236768
  /*
236769
236769
  0 - 600px: Phone
236770
236770
  600 - 900px: Tablet portrait
@@ -240366,7 +240366,7 @@ a:focus {
240366
240366
  font-weight: 400;
240367
240367
  line-height: normal;
240368
240368
  padding: 0 8px;
240369
- }`,Og=Lg,Ko=d(class extends l{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.percentage=10,this.RTL=!1,this.size="small",this.progressStyle="neutral",this.showLabel=!0,this.showHelperText=!0,this.error=!1,this.success=!1,this.label="label",this.helperText="Help Text"}render(){const n={small:"sm",medium:"md",large:"lg"};let t=this.error?"error":this.success?"success":this.progressStyle,i=this.error||this.success?100:this.percentage;const r={neutral:e("svg",{key:"a4964d7ed81e33ee3b575c79e57cb501150923f2",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"e2a4d24f553603a6803998134014e0d4422eca39","clip-path":"url(#clip0_17869_405)"},e("path",{key:"c7afdbb7ea1fa2016461536631709cd1cfa22971",d:"M6.06004 6.00001C6.21678 5.55446 6.52614 5.17875 6.93334 4.93943C7.34055 4.70012 7.8193 4.61264 8.28483 4.69248C8.75035 4.77233 9.17259 5.01436 9.47676 5.3757C9.78093 5.73703 9.94741 6.19436 9.94671 6.66668C9.94671 8.00001 7.94671 8.66668 7.94671 8.66668M8.00004 11.3333H8.00671M14.6667 8.00001C14.6667 11.6819 11.6819 14.6667 8.00004 14.6667C4.31814 14.6667 1.33337 11.6819 1.33337 8.00001C1.33337 4.31811 4.31814 1.33334 8.00004 1.33334C11.6819 1.33334 14.6667 4.31811 14.6667 8.00001Z",stroke:"#384250","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})),e("defs",{key:"e384394870400d4cefa25c3494ac8ad1c6bcb998"},e("clipPath",{key:"4d75c1cde88ab3f7a54b05ee9162da71474e6ff1",id:"clip0_17869_405"},e("rect",{key:"67a9771f91e00507921ea4e4f4a1b900cc2bfb40",width:"16",height:"16",fill:"white"})))),primary:e("svg",{key:"51152b57fde3b0cc6044dd542dd19ff24712d136",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"275ed2b71cba4cb8fbb174728ccdfcce0299290c","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00002 15.3334C12.0501 15.3334 15.3334 12.0501 15.3334 8.00002C15.3334 3.94993 12.0501 0.666687 8.00002 0.666687C3.94993 0.666687 0.666687 3.94993 0.666687 8.00002C0.666687 12.0501 3.94993 15.3334 8.00002 15.3334Z",fill:"white"}),e("path",{key:"10947ca1052e5f6ed01670336abc62c186042a32","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00002 15.3334C12.0501 15.3334 15.3334 12.0501 15.3334 8.00002C15.3334 3.94993 12.0501 0.666687 8.00002 0.666687C3.94993 0.666687 0.666687 3.94993 0.666687 8.00002C0.666687 12.0501 3.94993 15.3334 8.00002 15.3334ZM4.70017 7.41423C4.43982 7.67458 4.43982 8.09669 4.70017 8.35704L6.58578 10.2427C6.84613 10.503 7.26824 10.503 7.52859 10.2427L11.2998 6.47143C11.5602 6.21108 11.5602 5.78897 11.2998 5.52862C11.0395 5.26827 10.6174 5.26827 10.357 5.52862L7.05719 8.82845L5.64297 7.41423C5.38263 7.15388 4.96052 7.15388 4.70017 7.41423Z",fill:"#067647"})),error:e("svg",{key:"23115a94221c770907e12e59bca8fbc1ff12629a",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"2352e43bdc095b7d340c9b97128465e0ae3e95bd","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00002 15.3334C12.0501 15.3334 15.3334 12.0501 15.3334 8.00002C15.3334 3.94993 12.0501 0.666687 8.00002 0.666687C3.94993 0.666687 0.666687 3.94993 0.666687 8.00002C0.666687 12.0501 3.94993 15.3334 8.00002 15.3334Z",fill:"white"}),e("path",{key:"e4c57ae35da3b0b825768a57ee5b80f1647d5c22","fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.3334 8.00002C15.3334 12.0502 12.0502 15.3334 8.00002 15.3334C3.94989 15.3334 0.666687 12.0502 0.666687 8.00002C0.666687 3.94989 3.94989 0.666687 8.00002 0.666687C12.0502 0.666687 15.3334 3.94989 15.3334 8.00002ZM5.80471 4.862C5.54445 4.60158 5.12225 4.60158 4.862 4.862C4.60158 5.12225 4.60158 5.54445 4.862 5.80471L7.05715 8.00002L4.862 10.1953C4.60158 10.4556 4.60158 10.8778 4.862 11.138C5.12225 11.3985 5.54445 11.3985 5.80471 11.138L8.00002 8.94289L10.1953 11.138C10.4556 11.3985 10.8778 11.3985 11.138 11.138C11.3985 10.8778 11.3985 10.4556 11.138 10.1953L8.94289 8.00002L11.138 5.80471C11.3985 5.54445 11.3985 5.12225 11.138 4.862C10.8778 4.60158 10.4556 4.60158 10.1953 4.862L8.00002 7.05715L5.80471 4.862Z",fill:"#B42318"}))};return e("div",{key:"72997870fdfdde5154f3b241acde6bd76e773370",class:"progress-wrapper",style:{direction:this.RTL?"rtl":"ltr"}},this.showLabel&&e("h3",{key:"6c4690d404d4ea46c46dd02dad6c39d96d00f4c3",class:`${n[this.size]}`},this.label),e("div",{key:"bec818a7d0790c5100b11c467f41639546556b19",class:`progress-bar-container ${n[this.size]}`,title:`${i.toString()}%`},e("div",{key:"d056c60a34e3e926bf099d10d39cbb187e03ceba",class:`progress-bar ${t}`,style:{width:`${i}%`}},this.size==="large"&&i>8&&e("span",{key:"29ff6e4d4142c64fdb4767b8febe784cb3c3c36d",class:"progress-bar-text"},i,"%"))),this.showHelperText&&e("div",{key:"707a2644eb96dd6f87bcddf303e272cb1476abfd",class:"progress-bar__note"},e("div",{key:"a762899d13770bfd5c23328e37a4c5e80eae489d",class:"icon"},this.error?r.error:this.success?r.primary:r.neutral),e("div",{key:"83ea7d335db4bd007495e9439217e4c134ee25ec",class:"content"},e("p",{key:"b349acc88904712ce296d830ae110097cccf38d6",class:`progress-bar-content ${this.success&&"success"} ${this.error&&"error"} ${n[this.size]}`},this.helperText))))}static get style(){return Og}},[1,"dga-progress-bar",{percentage:[2],RTL:[4,"r-t-l"],size:[1],progressStyle:[1,"progress-style"],showLabel:[4,"show-label"],showHelperText:[4,"show-helper-text"],error:[4],success:[4],label:[1],helperText:[1,"helper-text"]}]);function Rg(){if(typeof customElements>"u")return;["dga-progress-bar"].forEach(n=>{switch(n){case"dga-progress-bar":customElements.get(n)||customElements.define(n,Ko);break}})}const Hg=Ko,Fg=Rg,Yo=d(class extends l{constructor(){super(),this.__registerHost(),this.handleFocus=()=>{this.stepContentRef.classList.add("focus")},this.handleFocusOut=()=>{this.stepContentRef.classList.remove("focus")},this.handleEscape=n=>{if(n.key==="Escape"){this.handleFocusOut();const t=this.el.querySelector("input");t&&t.blur()}},this.currentStep=1,this.title="",this.description="",this.activeStep=0,this.nextStep=!0,this.showStepName=!0,this.showStepDescription=!0,this.isActive=!1,this.labelState="upcoming",this.labelStyle="circle"}componentWillLoad(){this.updateState(),window.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){window.removeEventListener("keydown",this.handleEscape)}updateState(){this.isActive=this.activeStep>this.currentStep,this.activeStep>this.currentStep?this.labelState="completed":this.activeStep<this.currentStep?this.labelState="upcoming":this.labelState="current"}labelChildren(n){return this.labelState==="completed"?e("i",{class:"hgi-stroke hgi-tick-02",style:{fontSize:"16px"}}):n.toString()}render(){return e("div",{key:"9698bcda105c92b5c97dabd1f3864009aeaf87f2",class:"progress-indicator__step",onMouseDown:this.handleFocus,onMouseUp:this.handleFocusOut},e("div",{key:"2a269660bbf14b7fcad81fc0aaa42f0a0212377c",class:"progress-indicator__step-content flex-column",ref:n=>this.stepContentRef=n},e("div",{key:"09672522af217fd987c5a1439639abb29e1c30bb",class:"step-label","data-state":this.labelState},e("span",{key:"725d55a1e4e9f095211b6d59461f3733e58f931c",class:`step-label--${this.labelStyle}`},this.labelStyle==="circle"&&this.labelChildren(this.currentStep))),e("div",{key:"8104dce7501a2c6aac9bea661b0933de18c6c6dc",class:"step-text flex-column"},this.showStepName&&e("span",{key:"47b196cd750bc66c70581f32478a0adb693f7025",class:this.isActive?"text-md-medium":"text-md-regular"},this.title),this.showStepDescription&&e("p",{key:"35cbbc81031f3ccc695128f69bca43a3f01be03f",class:"text-sm-regular"},this.description))),this.nextStep&&e("span",{key:"e16fbbdadaa14ea800047fc10dcd5382a81d174e",class:`progress-indicator__step-connector ${this.isActive?"progress-indicator__step-connector--active":""}`}))}get el(){return this}},[0,"dga-progress-indicator-step",{currentStep:[2,"current-step"],title:[1],description:[1],activeStep:[1026,"active-step"],nextStep:[4,"next-step"],showStepName:[4,"show-step-name"],showStepDescription:[4,"show-step-description"],labelStyle:[1,"label-style"],isActive:[32],labelState:[32]}]);function Go(){if(typeof customElements>"u")return;["dga-progress-indicator-step"].forEach(n=>{switch(n){case"dga-progress-indicator-step":customElements.get(n)||customElements.define(n,Yo);break}})}const Ug=Yo,Wg=Go,No=d(class extends l{constructor(){super(),this.__registerHost(),this.activeStep=1,this.alignment="horizontal",this.steps=[]}render(){return e("div",{key:"0e84de212ffcc562f2c40d248d4cc06e624efaef",class:"progress-indicator flex","data-alignment":this.alignment},this.steps.map((n,t)=>e("dga-progress-indicator-step",{currentStep:t+1,title:n.label,description:n.description,activeStep:this.activeStep})))}},[0,"dga-progress-indicator-v2",{activeStep:[2,"active-step"],alignment:[1],steps:[16]}]);function Vg(){if(typeof customElements>"u")return;["dga-progress-indicator-v2","dga-progress-indicator-step"].forEach(n=>{switch(n){case"dga-progress-indicator-v2":customElements.get(n)||customElements.define(n,No);break;case"dga-progress-indicator-step":customElements.get(n)||Go();break}})}const Kg=No,Yg=Vg,Xo=d(class extends l{constructor(){super(),this.__registerHost(),this.activeStep=1,this.alignment="horizontal"}render(){return e("div",{key:"31f14f91de8f7f69b0ddec232130ed0f10cf8106",class:"progress-indicator flex","data-alignment":this.alignment},e("slot",{key:"6cc25b23f4652a2ef663f8a7d0c1a2030601d600"}))}},[4,"dga-progress-indicator",{activeStep:[1026,"active-step"],alignment:[1]}]);function Gg(){if(typeof customElements>"u")return;["dga-progress-indicator"].forEach(n=>{switch(n){case"dga-progress-indicator":customElements.get(n)||customElements.define(n,Xo);break}})}const Ng=Xo,Xg=Gg,Zo=d(class extends l{constructor(){super(),this.__registerHost(),this.handleActive=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.add("active")},this.handleRemoveActive=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.remove("active")},this.handleFocus=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.add("focus")},this.handleFocusOut=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.remove("focus")},this.handleEscape=n=>{var t,i;n.key==="Escape"&&((i=(t=this.radioLabelRef)===null||t===void 0?void 0:t.querySelector("input"))===null||i===void 0||i.blur(),this.handleFocusOut())},this.color="brand",this.label=void 0,this.hasHelperText=!1,this.helperText=void 0,this.alertMessage=void 0,this.alertText=void 0,this.disabled=!1,this.id=x(),this.name=x(),this.value="",this.customAttribute={key:"",value:""},this.onChange=void 0,this.onInput=void 0}componentDidLoad(){window.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){window.removeEventListener("keydown",this.handleEscape)}render(){return e("label",{key:"98e7f64b3eb98ee0cd5b2c5ce75df5d0d718c113",ref:n=>this.radioLabelRef=n,class:`radio ${this.color?"radio--"+this.color:""}`,onMouseDown:this.handleActive,onMouseUp:this.handleRemoveActive,onMouseOut:this.handleRemoveActive,onChange:this.handleRemoveActive},e("div",{key:"32599e445fa4c6350a91a35b490e9ac5a98d2144",class:"radio-main"},e("div",{key:"b5aa3590c7a94aaeb7ee7fdc4b94ee73911a11f6",class:"radio-main__content"},e("input",Object.assign({key:"ba61946352d448213220f2b7bb3f7b50b358357f",type:"radio",name:this.name,value:this.value,id:this.id},this.customAttribute.key&&{[this.customAttribute.key]:this.customAttribute.value?this.customAttribute.value:""},{onChange:this.onChange,onInput:this.onInput,disabled:this.disabled,onFocus:this.handleFocus,onBlur:this.handleFocusOut})),e("div",{key:"7d4b3f2de39d597a2ddfde5fad4739e83ccc15e3",class:"radio-container"}),e("div",{key:"62c824151f15dcbc409b75b1f255bf7e60e76d0e",class:"flex-column"},this.label&&e("span",{key:"4f1502fbdf5d367868fc133bfde9514d2fb79578",class:"radio__label"},this.label),this.hasHelperText&&this.helperText&&e("span",{key:"8e614548ebd5b4118fc5dc3f10a54f934166c397",class:"radio__helper-text"},this.helperText))),this.alertMessage&&this.alertText&&e("div",{key:"0afe1c11ea53b45282663150e1be1d7fa4865ad9",class:"radio__warning"},e("span",{key:"2b7eeea0b92647f0fbbb5bf83e2fc023ea5654c8",class:"radio__warning-icon"},e("i",{key:"4de76d7d267481ce3e232c993a089986e2e528d1",class:"hgi-stroke hgi-alert-circle",style:{fontSize:"16px"}})),e("span",{key:"4cdcec9508496b1052b0854c0d1014bea701f1c7",class:"radio__warning-text"},this.alertText))))}get el(){return this}},[0,"dga-radio-button",{color:[1],label:[1],hasHelperText:[4,"has-helper-text"],helperText:[1,"helper-text"],alertMessage:[4,"alert-message"],alertText:[1,"alert-text"],disabled:[4],id:[1],name:[1],value:[1],customAttribute:[16],onChange:[16],onInput:[16]}]);function Jo(){if(typeof customElements>"u")return;["dga-radio-button"].forEach(n=>{switch(n){case"dga-radio-button":customElements.get(n)||customElements.define(n,Zo);break}})}const Qo=d(class extends l{constructor(){super(),this.__registerHost(),this.activeStep=1}render(){return e("div",{key:"7f39338d1f303054618988fca013e9e86c97f6fe"},e("h1",{key:"cd1d3fcdd32f3215d77ee2aae6b5b8a08ec73e86"},"RadioButton Example"),e("div",{key:"83e37a82c317663ca0b9b119c3aab1e3822d2ad3",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"9b105b6e06f8ffb5068b22d540a1a7e4bba699f6",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-radio-button",{key:"e632426ed30d35da8d497d6e6ae86f65d4b89b42",label:"Radio Label",hasHelperText:!0,helperText:"When a selection needs a further detailed explanation, it goes here.",alertMessage:!0,alertText:"Error/Warning message"})),e("div",{key:"f4917a6def27fa7916d27e486db572e730e68d3c",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"dga-radio-button-usage",{activeStep:[32]}]);function Zg(){if(typeof customElements>"u")return;["dga-radio-button-usage","dga-radio-button"].forEach(n=>{switch(n){case"dga-radio-button-usage":customElements.get(n)||customElements.define(n,Qo);break;case"dga-radio-button":customElements.get(n)||Jo();break}})}const Jg=Qo,Qg=Zg,nh=Zo,eh=Jo;function oh(o){const n=o.toString().split(".")[1];return n?n.length:0}function th(o,n){if(o==null)return o;const t=Math.round(o/n)*n;return Number(t.toFixed(oh(n)))}const nt=d(class extends l{constructor(){super(),this.__registerHost(),this.handleMouseMove=n=>{if(this.readOnly)return;const t=this.rootRef;if(t){const{left:i,width:r}=t.getBoundingClientRect(),a=(n.clientX-i)/r,g=.5,h=th(this.max*a+g/2,g);(this.hover!==h||this.focus!==h)&&(this.hover=h,this.focus=h)}},this.handleChange=n=>{if(this.readOnly)return;let t=n.target.value===""?null:parseFloat(n.target.value);this.hover!==-1&&(t=this.hover),this.rating=t||-1},this.handleClear=n=>{n.clientX===0&&n.clientY===0||(this.hover=-1,this.rating=-1)},this.size="small",this.value=-1,this.onChange=()=>{},this.readOnly=!1,this.max=5,this.variant="Default",this.rating=-1,this.hover=-1,this.focus=-1,this.pressed=-1}componentDidLoad(){this.rating=this.value}componentDidUpdate(){this.onChange(this.rating)}render(){return console.log("pressed",this.pressed),e("span",{key:"4f6ebd84a3bad87086eebadb9c6b4e024c2ad599",class:`rating rating--${this.size}`,ref:n=>this.rootRef=n,onMouseMove:n=>this.handleMouseMove(n),onMouseLeave:n=>this.handleClear(n)},Array.from({length:this.max},(n,t)=>t+1).map(n=>{const t={Default:"var(--background-secondary)",Brand:"var(--background-primary)"};return e("span",{class:`rating__star ${this.pressed===n?"rating__star--pressed":""}`,onMouseDown:()=>this.pressed=n,onMouseUp:()=>this.pressed=-1},e("label",{htmlFor:`star-${n-.5}`,style:{width:this.hover>0?this.hover==n-.5?"50%":"0%":this.rating==n-.5?"50%":"0%",overflow:"hidden",position:"absolute"},class:"rating__star__label"},e("span",{class:"rating__star__label-icon"},e("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M22.1839 3.93733C22.8987 2.38758 25.1013 2.38759 25.8161 3.93733L30.3024 13.6635C30.5937 14.2952 31.1923 14.73 31.883 14.8119L42.5195 16.0731C44.2143 16.274 44.8949 18.3688 43.6419 19.5275L35.7781 26.7998C35.2674 27.272 35.0388 27.9757 35.1744 28.6579L37.2618 39.1636C37.5944 40.8375 35.8125 42.1321 34.3233 41.2985L24.9769 36.0668C24.3699 35.7271 23.6301 35.7271 23.0231 36.0668L13.6767 41.2985C12.1875 42.1321 10.4056 40.8375 10.7382 39.1636L12.8256 28.6579C12.9612 27.9757 12.7326 27.272 12.2219 26.7998L4.35805 19.5275C3.10505 18.3688 3.78569 16.274 5.48048 16.0731L16.117 14.8119C16.8077 14.73 17.4063 14.2952 17.6976 13.6635L22.1839 3.93733Z",style:{fill:t[this.variant]}}))),e("span",{class:"rating__star__label-text"},n-.5," Stars")),e("input",{class:"rating__star__label-input",id:`star-${n-.5}`,type:"radio",name:"half-rating",defaultValue:n-.5,onChange:this.handleChange,onMouseDown:()=>this.pressed=n,onMouseUp:()=>this.pressed=-1}),e("label",{htmlFor:`star-${n}`,class:"rating__star__label"},e("span",{class:"rating__star__label-icon"},e("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M22.1839 3.93733C22.8987 2.38758 25.1013 2.38759 25.8161 3.93733L30.3024 13.6635C30.5937 14.2952 31.1923 14.73 31.883 14.8119L42.5195 16.0731C44.2143 16.274 44.8949 18.3688 43.6419 19.5275L35.7781 26.7998C35.2674 27.272 35.0388 27.9757 35.1744 28.6579L37.2618 39.1636C37.5944 40.8375 35.8125 42.1321 34.3233 41.2985L24.9769 36.0668C24.3699 35.7271 23.6301 35.7271 23.0231 36.0668L13.6767 41.2985C12.1875 42.1321 10.4056 40.8375 10.7382 39.1636L12.8256 28.6579C12.9612 27.9757 12.7326 27.272 12.2219 26.7998L4.35805 19.5275C3.10505 18.3688 3.78569 16.274 5.48048 16.0731L16.117 14.8119C16.8077 14.73 17.4063 14.2952 17.6976 13.6635L22.1839 3.93733Z",style:{fill:this.hover>0?this.hover>=n?t[this.variant]:"var(--background-neutral-200)":this.rating>=n?t[this.variant]:"var(--background-neutral-200)"}}))),e("span",{class:"rating__star__label-text"},n," Star")),e("input",{class:"rating__star__label-input",id:`star-${n}`,type:"radio",name:"half-rating",defaultValue:n,onChange:this.handleChange,onMouseDown:()=>this.pressed=n,onMouseUp:()=>this.pressed=-1}))}))}},[0,"dga-rating",{size:[1],value:[2],onChange:[16],readOnly:[4,"read-only"],max:[2],variant:[1],rating:[32],hover:[32],focus:[32],pressed:[32]}]);function ih(){if(typeof customElements>"u")return;["dga-rating"].forEach(n=>{switch(n){case"dga-rating":customElements.get(n)||customElements.define(n,nt);break}})}const rh=nt,ah=ih,et=d(class extends l{constructor(){super(),this.__registerHost(),this.icons={"success-check":{icon:"hgi-solid hgi-checkmark-circle-02",color:"var(--icon-success)!important"},"blue-info":{icon:"hgi-solid hgi-information-circle",color:"var(--icon-info)!important"},"neutral-info":{icon:"hgi-solid hgi-information-circle",color:"var(--icon-default-400)!important"},"neutral-?":{icon:"hgi-solid hgi-help-circle",color:"var(--icon-default-400)!important"},"warning-!-circle":{icon:"hgi-solid hgi-alert-circle",color:"var(--icon-warning)!important"},"warning-!-triangle":{icon:"hgi-solid hgi-sharp hgi-alert-02",color:"var(--icon-warning)!important"},"error-!":{icon:"hgi-solid hgi-alert-circle",color:"var(--icon-error)!important"},"error-x":{icon:"hgi-solid hgi-cancel-circle",color:"var(--icon-error)!important"}},this.handleMouseEnter=()=>{this.isHovered=!0},this.handleMouseLeave=()=>{this.isHovered=!1},this.beakPlacement="none",this.beakAlignment="center",this.direction="top",this.tooltipTitle=void 0,this.helperText=void 0,this.icon=!1,this.iconType="neutral-info",this.theme="light",this.isHovered=!1}render(){return e("div",{key:"492f3d197bf3e4fdab580b879ff803ef88fcf409",class:"tooltip","data-theme":this.theme,"data-beak-direction":`${this.beakPlacement}-${this.beakAlignment}`},this.isHovered&&e("div",{key:"988dd1ab99c3f6e73f1f01f76a9569accc246c38",class:"tooltip-main","data-direction":this.direction},e("div",{key:"345e728209cfdc42e2298dc0bc58bed32a8a37bc",class:"tooltip-main__wrapper"},this.beakPlacement!=="none"&&e("span",{key:"b1f7c6016bc4625a0b9da6571c449a87fcb2d4a2",class:"tooltip-main__beak","data-beak-direction":`${this.beakPlacement}-${this.beakAlignment}`}),this.icon&&e("span",{key:"9e3af41f53b377bd07aea66d613128b82ea0e572",class:"tooltip-main__icon"},e("i",{key:"3baf6b6bd4d463af8d54ea4972b490d73722c1bb",class:this.icons[this.iconType].icon,style:{color:this.icons[this.iconType].color,fontSize:"18px"}})," "),e("div",{key:"2cc637e7f632735a35d585e44b5fe8b0c2c7afb0",class:"tooltip-main__content flex-column"},this.tooltipTitle&&e("span",{key:"04ca9c47d53b5050c2f1f8bc89c8f174198e5b6d",class:"tooltip-main__content__title"},this.tooltipTitle),this.helperText&&e("span",{key:"43385ebf25e7b121a0fa410fe8737f52c9ef1c69",class:"tooltip-main__content__helper-text"},this.helperText)))),e("div",{key:"f7b10219b91c1e4eddf7c7ab9d0ffb4965cef483",class:"tooltip-item",onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},e("slot",{key:"e99808f2f9271dd46281997ae9008347c0d5286b"})))}},[4,"dga-tooltip",{beakPlacement:[1,"beak-placement"],beakAlignment:[1,"beak-alignment"],direction:[1],tooltipTitle:[1,"tooltip-title"],helperText:[1,"helper-text"],icon:[4],iconType:[1,"icon-type"],theme:[1],isHovered:[32]}]);function ot(){if(typeof customElements>"u")return;["dga-tooltip"].forEach(n=>{switch(n){case"dga-tooltip":customElements.get(n)||customElements.define(n,et);break}})}const tt=d(class extends l{constructor(){super(),this.__registerHost(),this.onChange=$(this,"onChange",7),this.onBlur=$(this,"onBlur",7),this.SILENCE_TIMEOUT_DURATION=8e3,this.handleResetInput=()=>{this.value="",this.onChange.emit({target:{value:this.value}})},this.label=void 0,this.placeholder=void 0,this.size="lg",this.variant="default",this.error=!1,this.showTrailingIcon=!0,this.icon=!0,this.disabled=!1,this.readonly=!1,this.name=x(),this.value="",this.onInput=()=>{},this.speechLang="en",this.isActive=!1,this.isFocused=!1,this.isListening=!1}componentWillLoad(){const n=window.SpeechRecognition||window.webkitSpeechRecognition;n?(this.recognition=new n,this.recognition.continuous=!0,this.recognition.interimResults=!0,this.recognition.onresult=t=>{let i="";for(let r=t.resultIndex;r<t.results.length;++r)t.results[r].isFinal?this.value=t.results[r][0].transcript:i+=t.results[r][0].transcript;this.value=i||this.value},this.recognition.onend=()=>{this.isListening=!1},this.recognition.onerror=t=>{console.error("Speech recognition error",t),this.isListening=!1}):console.error("SpeechRecognition is not supported by this browser.")}startListening(){this.recognition&&(this.speechLang==="en"?this.recognition.lang="en-US":this.speechLang==="ar"&&(this.recognition.lang="ar"),this.isListening=!0,this.recognition.start(),this.resetSilenceTimer())}stopListening(){this.recognition&&(this.recognition.stop(),this.isListening=!1)}resetSilenceTimer(){this.clearSilenceTimer(),this.silenceTimeout=setTimeout(()=>{this.stopListening()},this.SILENCE_TIMEOUT_DURATION)}clearSilenceTimer(){this.silenceTimeout&&clearTimeout(this.silenceTimeout)}handleInputChange(n){console.log(this.value,"query"),this.onChange.emit(n)}render(){return e("div",{key:"299013707bf8390016d58f53fa1f999cd7f63126",class:"dga-form-control"},this.label&&e("label",{key:"039e65d09dcaa590503ca309f77da9b4a8db7966",class:"dga-label"},this.label),e("div",{key:"4b9516edda287ed7a89243556c1ca2c611adc8a7",class:`dga-search-box dga-search-box--${this.size} ${this.error?"dga-search-box--error":""} ${this.variant!=="default"?`dga-search-box--${this.variant}`:""} ${this.isActive?"active":""} ${this.isFocused?"focus":""} ${this.disabled?"dga-search-box--disabled":""} ${this.readonly?"readOnly":""}`,ref:n=>this.inputContainerRef=n},this.icon&&e("span",{key:"3529563ef11f951620e55295f26caad91361007a",class:"dga-search-box__icon"},e("svg",{key:"204894d3d524c2de9f9cfc0d6c977232b2a1e1cd",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"9653bc84c1b977bb788ac0be6ee2bc793f27f485","fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.16675 1.04163C4.67943 1.04163 1.04175 4.67931 1.04175 9.16663C1.04175 13.6539 4.67943 17.2916 9.16675 17.2916C11.1854 17.2916 13.0322 16.5554 14.4531 15.3369L17.8915 18.7752C18.1356 19.0193 18.5313 19.0193 18.7754 18.7752C19.0194 18.5312 19.0194 18.1354 18.7754 17.8914L15.337 14.453C16.5556 13.032 17.2917 11.1853 17.2917 9.16663C17.2917 4.67931 13.6541 1.04163 9.16675 1.04163ZM2.29175 9.16663C2.29175 5.36967 5.36979 2.29163 9.16675 2.29163C12.9637 2.29163 16.0417 5.36967 16.0417 9.16663C16.0417 12.9636 12.9637 16.0416 9.16675 16.0416C5.36979 16.0416 2.29175 12.9636 2.29175 9.16663Z",fill:"#161616"}))),e("input",{key:"abca121f2b81a079f634aae7e279e62bb4347332",value:this.value,name:this.name,type:"text",onFocus:()=>this.isFocused=!0,onBlur:n=>{this.isFocused=!1,this.onBlur.emit(n)},class:"input__field",placeholder:this.placeholder,disabled:this.disabled,readOnly:this.readonly,onMouseDown:()=>this.isActive=!0,onMouseUp:()=>this.isActive=!1,onMouseOut:()=>this.isActive=!1,onChange:n=>this.onChange.emit(n),onInput:this.onInput}),e("div",{key:"f572874ad5778336b0f6c9c2ea5c3c54f2f7af6e",class:"dga-search-box__actions"},this.value.length>0&&e(C,{key:"a5cb7be136ddffd52f22c5d86570015209711036"},e("button",{key:"6197d23dfbf46981333776a438078ffdeed1e6d5",class:"dga-search-box__action-btn",onClick:this.handleResetInput},e("i",{key:"8788ccdaef38f75a4b19975aa07df69b71db29e3",class:"hgi-stroke hgi-cancel-01",style:{fontSize:"20px"}})),e("svg",{key:"b305461b30717e2bf8b367db6a542ccaef6215d6",xmlns:"http://www.w3.org/2000/svg",width:"1",height:"26",viewBox:"0 0 1 26",fill:"none"},e("rect",{key:"36bef3d6322ba58542ef786068289c567ecde26e",x:"1",y:"0.5",width:"25",height:"1",transform:"rotate(90 1 0.5)",fill:"#D2D6DB"}))),this.showTrailingIcon&&e("dga-tooltip",{key:"8b71e077dcd95d47eda941e2f45e7584d6efddbe",tooltipTitle:"Search by voice",direction:"bottom",beakAlignment:"center",beakPlacement:"top"},e("button",{key:"bc6687bca56a4c7e7a26411d496764e494978fcb",class:"dga-search-box__search-btn",onClick:()=>this.startListening(),disabled:this.isListening},this.isListening?e("span",{class:"dga-search-box__icon"},e("i",{class:"hgi-solid hgi-mic-01",style:{fontSize:"20px"}})):e("span",{class:"dga-search-box__icon"},e("i",{class:"hgi-stroke hgi-mic-01",style:{fontSize:"20px"}})))))))}},[0,"dga-search-box",{label:[1],placeholder:[1],size:[1],variant:[1],error:[4],showTrailingIcon:[4,"show-trailing-icon"],icon:[4],disabled:[4],readonly:[4],name:[1],value:[1025],onInput:[16],speechLang:[1,"speech-lang"],isActive:[32],isFocused:[32],isListening:[32]}]);function gh(){if(typeof customElements>"u")return;["dga-search-box","dga-tooltip"].forEach(n=>{switch(n){case"dga-search-box":customElements.get(n)||customElements.define(n,tt);break;case"dga-tooltip":customElements.get(n)||ot();break}})}const hh=tt,ch=gh,it=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e(D,{key:"04fcb474597c186d93fa710eab178d41cfe73e13"},e("div",{key:"e5ffaecede77182417fac162d1948bbd2ffe025f",class:"items-container"},e("slot",{key:"fa1c9189c3dec1fc991e4f19413ca4296aa4cce5"})))}},[4,"dga-second-nav-header-actions"]);function sh(){if(typeof customElements>"u")return;["dga-second-nav-header-actions"].forEach(n=>{switch(n){case"dga-second-nav-header-actions":customElements.get(n)||customElements.define(n,it);break}})}const lh=it,dh=sh,rt=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e(D,{key:"2660e8ad3d58fcf732e4324e8d08c44f0211f7b1"},e("div",{key:"73b2aa58ebd14470a5ed69bed27796dde5549e98",class:"items-container"},e("slot",{key:"c50dad7108a53aa08f61df199ed09e3f3081b3fc"})))}},[4,"dga-second-nav-header-content"]);function fh(){if(typeof customElements>"u")return;["dga-second-nav-header-content"].forEach(n=>{switch(n){case"dga-second-nav-header-content":customElements.get(n)||customElements.define(n,rt);break}})}const bh=rt,ph=fh,at=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0}connectedCallback(){this.el.childNodes.forEach(n=>{const t=n;t.tagName==="DGA-ICON".toLocaleUpperCase()&&t.attributes.getNamedItem("slot")===null&&t.setAttribute("slot","icon")})}render(){return e(D,{key:"b0f2141e6cd50980b435a33c967011bd174ff3c4"},e("slot",{key:"3c9c0f2753b02816292154c1867ea758725ac928",name:"icon"}),e("slot",{key:"e038fdf1306a2e73344ccb3b3d6aab61aeb17e77",name:"label"},this.label))}get el(){return this}},[4,"dga-second-nav-header-item",{label:[1]}]);function uh(){if(typeof customElements>"u")return;["dga-second-nav-header-item"].forEach(n=>{switch(n){case"dga-second-nav-header-item":customElements.get(n)||customElements.define(n,at);break}})}const kh=at,mh=uh,gt=d(class extends l{constructor(){super(),this.__registerHost(),this.variant="primary",this.hideDivider=void 0,this.hideActions=void 0,this.hideContent=void 0}componentWillLoad(){this.el.childNodes.forEach(n=>{const t=n;t.tagName==="DGA-SECOND-NAV-HEADER-CONTENT"&&this.hideContent===!0&&(t.style.display="none"),t.tagName==="DGA-SECOND-NAV-HEADER-ACTIONS"&&this.hideActions===!0&&(t.style.display="none"),t.tagName==="DGA-SECOND-NAV-HEADER-CONTENT"&&t.attributes.getNamedItem("slot")===null&&t.setAttribute("slot","content"),t.tagName==="DGA-SECOND-NAV-HEADER-ACTIONS"&&t.attributes.getNamedItem("slot")===null&&t.setAttribute("slot","actions")})}render(){return e(D,{key:"0191b5bd642e4195e842eca33186258c718345d2"},e("div",{key:"b98f05e2c71edd88741cace8a73603e96d68b8c2",class:`wrapper ${this.variant} `,"aria-label":"a secondary navigation navbar"},e("div",{key:"47a57f556c245e2913988f6c4c8163ed2b8b62f0",class:`container ${this.hideDivider?"":"border"}`},e("div",{key:"83f39df2c04fabdf73d900b60821a337dd53f8b9",class:"content"},e("slot",{key:"8b3bff37efdf6d29a6982ecd7ea27d5496401326",name:"content"})),e("div",{key:"0f405806e11171017e447ef022fe7d5160af9b84",class:"actions"},e("slot",{key:"b528f0c8747ccd549e7f2ffa41c2606b59a46ce3",name:"actions"})))))}get el(){return this}},[6,"dga-second-nav-header",{variant:[1],hideDivider:[1028,"hide-divider"],hideActions:[4,"hide-actions"],hideContent:[4,"hide-content"]}]);function vh(){if(typeof customElements>"u")return;["dga-second-nav-header"].forEach(n=>{switch(n){case"dga-second-nav-header":customElements.get(n)||customElements.define(n,gt);break}})}const wh=gt,xh=vh,ht=d(class extends l{constructor(){super(),this.__registerHost(),this.min=0,this.max=100,this.step=1,this.range=!0,this.label=void 0,this.showLabel=!0,this.showHelperText=!0,this.helperText=void 0,this.size="small",this.minValue=void 0,this.maxValue=void 0}calculatePositions(){const n=(this.minValue-this.min)/(this.max-this.min)*100,t=(this.maxValue-this.min)/(this.max-this.min)*100;this.minPos=n,this.maxPos=t,this.railColorStyle=this.range?{left:`${n}%`,width:`${t-n}%`}:{left:"0%",width:`${n}%`}}componentWillLoad(){this.minValue=this.min,this.maxValue=this.max,this.calculatePositions()}watchMinValue(n){this.minValue=n,this.calculatePositions()}watchMaxValue(n){this.maxValue=n,this.calculatePositions()}watchRangeValue(){this.calculatePositions()}handleMinChange(n){const t=n.target,i=this.range?Math.min(+t.value,this.maxValue-this.step):Math.min(+t.value);this.minValue=i,this.calculatePositions()}handleMaxChange(n){const t=n.target,i=Math.max(+t.value,this.minValue+this.step);this.maxValue=i,this.calculatePositions()}render(){return e("div",{key:"4d579ebd0f36cf2d3a795e85fcf15d161efa83b6",class:`range-slider-wrapper ${this.size}`},e("div",{key:"d8506bffc509298d4576761aa62fca2e98b3e039",class:"range-slider-input-wrapper"},e("input",{key:"b2aae3d3276d1c426498b55d61237d50073e0fc1",class:"range-slider-input",type:"range",value:this.minValue,min:this.min,max:this.max,step:this.step,onInput:this.handleMinChange.bind(this)}),this.range&&e("input",{key:"073bd404d7d990234d593734d514aeed35f5e1e8",class:"range-slider-input",type:"range",value:this.maxValue,min:this.min,max:this.max,step:this.step,onInput:this.handleMaxChange.bind(this)})),e("div",{key:"ded6353d5013f74716be6ab96180e11b6b7ebf11",class:"range-slider-container"},this.showLabel&&e("h3",{key:"cf08b662a44d2315d4716557d96de480599adf29"},this.label),e("div",{key:"a875c0dd8410f1868a534d030ea1995f30433788",class:"range-slider-control-wrapper"},e("div",{key:"5b58e2781e60e110502ebfdb70899b084ae45d42",class:"range-slider-control",style:{left:`${this.minPos}%`}}),e("div",{key:"8fa6949dba06158b0a775bdb88f2548783174825",class:"range-slider-rail"},this.range&&e("div",{key:"623c99b50c38aa1a9b0bbfc44f3c298acd828bdb",class:"range-slider-number_left"},this.minValue),e("div",{key:"7c5e228e5f6938159678a14801ec204306225888",class:"range-slider-inner-rail",style:this.railColorStyle}),this.range&&e("div",{key:"b6bf8a95604d0bd034e1a6a1e650af01c3d0dc8c",class:"range-slider-number_right"},this.maxValue),!this.range&&e("div",{key:"e968bd0c6a67dc63da823d5a02ff01cf97acc33a",class:"range-slider-number_right"},this.minValue)),this.range&&e("div",{key:"9cff825573b26c3c4184ccb644cd7b84d852ad2b",class:"range-slider-control",style:{left:`${this.maxPos}%`}}),this.showHelperText&&e("div",{key:"1860567b427c0fa177cf955afef474e162f200aa",class:"range-slider-note"},e("div",{key:"122e3f9ac8d50c0de99c115e9c3b3149e4fe505a",class:"range-slider-note-icon"},e("svg",{key:"0905af5270c3d77d1ab4cc59bba92a70ea35effc",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"7e24449cbc9b4a6d32dd6a3ecf7d2d8a88d721e0","clip-path":"url(#clip0_17869_405)"},e("path",{key:"167c272561728ffd582c0947633fadbd5b5d4dd7",d:"M6.06004 6.00001C6.21678 5.55446 6.52614 5.17875 6.93334 4.93943C7.34055 4.70012 7.8193 4.61264 8.28483 4.69248C8.75035 4.77233 9.17259 5.01436 9.47676 5.3757C9.78093 5.73703 9.94741 6.19436 9.94671 6.66668C9.94671 8.00001 7.94671 8.66668 7.94671 8.66668M8.00004 11.3333H8.00671M14.6667 8.00001C14.6667 11.6819 11.6819 14.6667 8.00004 14.6667C4.31814 14.6667 1.33337 11.6819 1.33337 8.00001C1.33337 4.31811 4.31814 1.33334 8.00004 1.33334C11.6819 1.33334 14.6667 4.31811 14.6667 8.00001Z",stroke:"#384250","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})),e("defs",{key:"16e8de9a2291bc173bf94d66ba270e0dd43df87f"},e("clipPath",{key:"6c7f3535a5156b28e7f9aab8931be659c3cf8e8f",id:"clip0_17869_405"},e("rect",{key:"265fe45a4b6ccb280e6bc588ac78049ba3c0d881",width:"16",height:"16",fill:"white"}))))),e("div",{key:"42af9bdbe442c8fb1118b0e6b6a3e1dbcf0ecea1",class:"range-slider-note-content"},e("p",{key:"c748c307be8225cc5756ce956d6dbc11eb95588b"},this.helperText))))))}static get watchers(){return{min:["watchMinValue"],max:["watchMaxValue"],range:["watchRangeValue"]}}},[0,"dga-slider",{min:[2],max:[2],step:[2],range:[4],label:[1],showLabel:[4,"show-label"],showHelperText:[4,"show-helper-text"],helperText:[1,"helper-text"],size:[1],minValue:[32],maxValue:[32]},void 0,{min:["watchMinValue"],max:["watchMaxValue"],range:["watchRangeValue"]}]);function yh(){if(typeof customElements>"u")return;["dga-slider"].forEach(n=>{switch(n){case"dga-slider":customElements.get(n)||customElements.define(n,ht);break}})}const _h=ht,qh=yh,ct=d(class extends l{constructor(){super(),this.__registerHost(),this.data=[],this.rowDivider=!0,this.colDivider=!0,this.compact=!1,this.selectable=!0,this.alternate=!0,this.cells=[],this.contained=!0,this.getSelectedRows=void 0,this.sortedData=[],this.direction=!1}componentWillLoad(){this.initializeDirection(),this.initializeSortedData()}handleDataChange(){this.initializeSortedData()}initializeDirection(){document.dir?this.direction=document.dir==="rtl":document.documentElement.lang?this.direction=document.documentElement.lang==="ar":this.direction=!1}initializeSortedData(){this.sortedData=this.data.map(n=>(n.selected=!1,n))}handleSelectedRowChanges(n,t,i,r){const a=[...this.sortedData];a[t].selected=n,this.sortedData=a,this.getSelectedRows&&this.getSelectedRows({currentSelectedRowData:a[t],currentSelectedCellName:i,currentSelectedRowIndex:t,currentSelectedCellIndex:r})}render(){return e("div",{key:"7ca282868717c21c42d027f329de015217c0df8d",class:`table-wrapper ${this.contained?"table-contained":""}`},e("table",{key:"19dd1949e547c48fa0c41fa7963ffe70f89ffc95",class:`azm-structured-table ${this.contained?"table-contained":""}`,style:{direction:this.direction?"rtl":"ltr"}},e("thead",{key:"fca51371ed4f8fae00b3d9002b32946ea874db9f"},e("tr",{key:"62b3dd30c3237a2255703ccd0409d6e30c06ecee",class:`${this.rowDivider?"row-divider":""}`},this.cells.map(({title:n},t)=>e("th",{key:t},n)))),e("tbody",{key:"8eb0116943b136ecd589680d53013eb109d0af8a"},this.sortedData.map((n,t)=>e("tr",{class:`${this.rowDivider?"row-divider":""} ${this.alternate?"alternate":""}`,key:t},this.cells.map(({El:i,customAttribute:r,propertyName:a,type:g,colSpan:h},c)=>e("td",Object.assign({key:c,colSpan:h||1},(r==null?void 0:r.key)&&{[r.key]:r.value||""},{class:`${this.compact?"compact":""} ${this.colDivider?"col-divider":""}`}),e("div",null,this.selectable&&e("span",null,e("input",{type:"checkbox",name:`${t}checkboxSelection`,checked:n.selected,id:`${t}checkboxSelection${a}`,onChange:k=>this.handleSelectedRowChanges(k.target.checked,t,a,c)})),g==="element"&&i?e(i,Object.assign({},n)):n[a]))))))))}static get watchers(){return{data:["handleDataChange"]}}},[0,"dga-structured-list",{data:[16],rowDivider:[4,"row-divider"],colDivider:[4,"col-divider"],compact:[4],selectable:[4],alternate:[4],cells:[16],contained:[4],getSelectedRows:[16],sortedData:[32],direction:[32]},void 0,{data:["handleDataChange"]}]);function zh(){if(typeof customElements>"u")return;["dga-structured-list"].forEach(n=>{switch(n){case"dga-structured-list":customElements.get(n)||customElements.define(n,ct);break}})}const Sh=ct,Mh=zh,st=d(class extends l{constructor(){super(),this.__registerHost(),this.onSelect=$(this,"onSelect",7),this.type=void 0,this.variant=void 0,this.options=void 0,this.label=void 0,this.icon=void 0,this.dpIsActive=!1,this.selectedOption=null}handleSuffixClick(){this.suffixBtn.classList.toggle("open")}handleOptionSelect(n){this.selectedOption=n,this.onSelect.emit(n.value);const t=this.suffixBtn.querySelector(".dropdown__label");t&&t.classList.add("dropdown__label--selection"),this.suffixBtn.classList.remove("open"),this.suffixBtn.classList.add("selected")}render(){return this.type==="text"?e("div",{class:`input__suffix input__suffix--${this.variant}-text`},e("span",{class:"input__suffix-label"},this.label)):e(C,null,e("button",{class:`input__suffix input__suffix--${this.variant} input__dropdown-btn`,onMouseDown:()=>this.dpIsActive=!0,onMouseUp:()=>this.dpIsActive=!1,onMouseOut:()=>this.dpIsActive=!1,onClick:()=>this.handleSuffixClick(),ref:n=>this.suffixBtn=n},e("span",{class:"input__suffix-icon"},this.icon),e("span",{class:"dropdown__label"},this.selectedOption&&Object.keys(this.selectedOption).length?this.selectedOption.label:" "),e("span",{class:"input__suffix-label"},this.label),e("span",{class:"input__suffix-chevron"},e("dga-icon",{icon:"ArrowDown01Icon",variant:"stroke"}))),e("ul",{class:"input__dropdown-list"},this.options&&this.options.map(n=>{var t;return e("li",{key:n.value},e("button",{class:`dropdown__option ${((t=this.selectedOption)===null||t===void 0?void 0:t.value)===n.value?"selected":""}`,onClick:()=>this.handleOptionSelect(n)},e("span",{class:"dropdown__option-label"},n.label),e("span",{class:"dropdown__option-icon"},e("dga-icon",{icon:"Tick02Icon",variant:"solid"}))))})))}},[0,"dga-suffix",{type:[1],variant:[1],options:[16],label:[1],icon:[8],dpIsActive:[32],selectedOption:[32]}]);function Ch(){if(typeof customElements>"u")return;["dga-suffix","dga-icon"].forEach(n=>{switch(n){case"dga-suffix":customElements.get(n)||customElements.define(n,st);break;case"dga-icon":customElements.get(n)||w();break}})}const $h=st,Ih=Ch,lt=d(class extends l{constructor(){super(),this.__registerHost(),this.handleActive=()=>{this.disabled||this.labelRef.classList.add("active")},this.handleRemoveActive=()=>{this.labelRef.classList.remove("active"),this.isChecked=!this.isChecked},this.handleFocus=()=>{this.labelRef.classList.add("focus")},this.handleFocusOut=()=>{this.labelRef.classList.remove("focus")},this.handleEscape=n=>{if(n.key==="Escape"){this.handleFocusOut();const t=this.el.querySelector("input");t==null||t.blur()}},this.color="brand",this.label=void 0,this.checked=!1,this.hasHelperText=void 0,this.helperText=void 0,this.alertMessage=void 0,this.alertText=void 0,this.disabled=!1,this.id=this.generateGuid(),this.name=this.generateGuid(),this.value=!0,this.onChange=void 0,this.onInput=void 0,this.isChecked=this.checked}generateGuid(){return Math.random().toString(36).substr(2,9)}componentDidLoad(){window.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){window.removeEventListener("keydown",this.handleEscape)}render(){return e("label",{key:"6d6f280f8e4db24bbc2d4813f9b13c97af8ab110",ref:n=>this.labelRef=n,class:`switch ${this.color?`switch--${this.color}`:""}`,onMouseDown:this.handleActive,onChange:this.handleRemoveActive},e("div",{key:"ee5b60abcb5d14bc866417c6206265dd3a18d3af",class:"switch-main"},e("div",{key:"9502d6f878238a7c2fc7c2cae0613ac8a857f3b1",class:`switch-main__content ${this.disabled?"disabled":""}`},e("div",{key:"dfc8672aa27c28f004ed59624d4df8477ceb42b7",class:"switch-wrapper"},e("input",{key:"5bf1abe8e0b66bb59712aab813ab2681587bd00f",type:"checkbox",name:this.name,value:this.value,id:this.id,disabled:this.disabled,onFocus:this.handleFocus,onBlur:this.handleFocusOut,onChange:this.onChange,onInput:this.onInput,checked:this.isChecked}),e("span",{key:"ed58d29672a05d945a3ce3b3cc17e9fa833d1db0",class:`slider round ${this.isChecked?"slider--active":"slider--inactive"}`})),!this.hasHelperText&&!this.helperText?this.label&&e("span",{class:"switch__label"},this.label):e("div",{class:"flex-column"},e("span",{class:"switch__label"},this.label),e("span",{class:"switch__helper-text"},this.helperText))),this.alertMessage&&e("div",{key:"60db6eb0fe079146f189e221173fd00f03d7ff77",class:"switch__warning"},e("span",{key:"fcf3c737bfdf0695a999e8a02e103d522bcb2051",class:"switch__warning-icon"},e("svg",{key:"e330a2db5b666baad1ece52a8588529628892251",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},e("path",{key:"00c97b4ef4c523f6ed4427a8c8d9c704f9ae9f41",d:"M8 1.33333C4.324 1.33333 1.33333 4.324 1.33333 8C1.33333 11.676 4.324 14.6667 8 14.6667C11.676 14.6667 14.6667 11.676 14.6667 8C14.6667 4.324 11.676 1.33333 8 1.33333ZM8 13.3333C5.05467 13.3333 2.66667 10.9453 2.66667 8C2.66667 5.05467 5.05467 2.66667 8 2.66667C10.9453 2.66667 13.3333 5.05467 13.3333 8C13.3333 10.9453 10.9453 13.3333 8 13.3333ZM7.33333 4H8.66667V8H7.33333V4ZM7.33333 9.33333H8.66667V10.6667H7.33333V9.33333Z",fill:"currentColor"}))),e("span",{key:"9b35113ae91b3f530c50ff5a62007be25528da5e",class:"switch__warning-text"},this.alertText))))}get el(){return this}},[0,"dga-switch",{color:[1],label:[1],checked:[1028],hasHelperText:[4,"has-helper-text"],helperText:[1,"helper-text"],alertMessage:[4,"alert-message"],alertText:[1,"alert-text"],disabled:[4],id:[1],name:[1],value:[8],onChange:[16],onInput:[16],isChecked:[32]}]);function Ah(){if(typeof customElements>"u")return;["dga-switch"].forEach(n=>{switch(n){case"dga-switch":customElements.get(n)||customElements.define(n,lt);break}})}const Bh=lt,Ph=Ah,dt=d(class extends l{constructor(){super(),this.__registerHost(),this.data=[{selected:!0},{selected:!0}],this.rowDivider=!0,this.showSelectCheckBox=!0,this.alternate=!0,this.cells=[{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1},{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1}],this.contained=!0,this.getSelectedRows=void 0,this.pressOnFilter=void 0,this.sortedData=[],this.direction=!1}componentDidLoad(){document.dir?document.dir==="rtl"?this.direction=!0:this.direction=!1:document.documentElement.lang?document.documentElement.lang==="ar"?this.direction=!0:this.direction=!1:this.direction=!1}componentDidUpdate(){const n=[...this.data.map(t=>(t.selected=!1,t))];this.sortedData=n}render(){return e("tbody",{key:"3a6d959d85a51b8631b9860185f0a2a10e0e704d"},e("slot",{key:"d8554118b98b06baa597c44cf6b3f3e410356c72"}))}},[4,"dga-table-body",{data:[16],rowDivider:[4,"row-divider"],showSelectCheckBox:[4,"show-select-check-box"],alternate:[4],cells:[16],contained:[4],getSelectedRows:[8,"get-selected-rows"],pressOnFilter:[8,"press-on-filter"],sortedData:[32],direction:[32]}]);function Dh(){if(typeof customElements>"u")return;["dga-table-body"].forEach(n=>{switch(n){case"dga-table-body":customElements.get(n)||customElements.define(n,dt);break}})}const Eh=dt,jh=Dh,ft=d(class extends l{constructor(){super(),this.__registerHost(),this.tabRefs=new Map,this.handleScroll=()=>{const n=this.getActiveDivId();n!==this.activeSectionId&&(this.activeSectionId=n||"")},this.sections=[],this.subTitle="sub",this.title="main",this.activeSectionId=""}componentWillLoad(){window.addEventListener("scroll",this.handleScroll)}disconnectedCallback(){window.removeEventListener("scroll",this.handleScroll)}moveTOSelectedId(n){try{const t=document.getElementById(n);t==null||t.scrollIntoView({behavior:"smooth"})}catch(t){console.error("Error moving to selected ID:",t)}}getActiveDivId(){const n=document.querySelectorAll("div[id]");for(const t of n){const i=t.getBoundingClientRect();if(i.top>=0&&i.left>=0&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&i.right<=(window.innerWidth||document.documentElement.clientWidth))return t.id}return null}handleAddPressed(n){const t=this.tabRefs.get(n);t==null||t.classList.add("pressed")}handleRemovePressed(n){const t=this.tabRefs.get(n);t==null||t.classList.remove("pressed")}renderTab(n){return e("li",null,e("a",{ref:t=>t&&this.tabRefs.set(n.Target,t),onClick:()=>this.moveTOSelectedId(n.Target),onMouseDown:()=>this.handleAddPressed(n.Target),onMouseUp:()=>this.handleRemovePressed(n.Target),onMouseOut:()=>this.handleRemovePressed(n.Target),class:`table-of-content__tab ${this.activeSectionId===n.Target?"table-of-content__tab-prefix":""}`},e("span",{class:"table-of-content__tab-label"},n.Name)))}renderSubTabs(n){var t;return e("ul",{class:"table-of-content__tab-sublist"},this.renderTab(n),(t=n.Children)===null||t===void 0?void 0:t.map(i=>e("ul",{class:"table-of-content__tab-sub-sublist"},this.renderTab(i))))}render(){return e("aside",{key:"c03c8bdfa9aba1b61d4cb746d032335317648640",class:"table-of-content"},e("div",{key:"cccc3a852852818caf111967acb12f205f14ed3f",class:"table-of-content__header"},e("p",{key:"52e66ebb206c26b0fced481a5b294da0ee8ae258",class:"text-sm-regular"},this.subTitle),e("h4",{key:"ed7f65ebcd934643078a62be8c74509d88c5ae47",class:"text-xl-semibold"},this.title)),e("div",{key:"85bb58c547bdd0c5cb4ed56b4a841c9f5a23253e",class:"table-of-content__body"},e("ul",{key:"8d27c7e6e709e55ec669bbe05a0fd82dc0978a7a",class:"table-of-content__tab-list"},this.sections.map(n=>n.Children?e("div",null,this.renderTab(n),n.Children.map(t=>this.renderSubTabs(t))):this.renderTab(n)))))}},[0,"dga-table-of-content",{sections:[16],subTitle:[1,"sub-title"],title:[1],activeSectionId:[32]}]);function Th(){if(typeof customElements>"u")return;["dga-table-of-content"].forEach(n=>{switch(n){case"dga-table-of-content":customElements.get(n)||customElements.define(n,ft);break}})}const Lh=ft,Oh=Th,bt=d(class extends l{constructor(){super(),this.__registerHost(),this.data=[{selected:!0},{selected:!0}],this.rowDivider=!0,this.showSelectCheckBox=!0,this.alternate=!0,this.cells=[{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1},{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1}],this.contained=!0,this.getSelectedRows=void 0,this.pressOnFilter=void 0,this.sortedData=[],this.direction=!1}componentDidLoad(){document.dir?document.dir==="rtl"?this.direction=!0:this.direction=!1:document.documentElement.lang?document.documentElement.lang==="ar"?this.direction=!0:this.direction=!1:this.direction=!1}componentDidUpdate(){const n=[...this.data.map(t=>(t.selected=!1,t))];this.sortedData=n}render(){return e("div",{key:"0175e79b68fd8e9ea8009d3e36ba198b10097dac",class:`table-wrapper ${this.contained?"table-contained":""}`},e("table",{key:"05fb18cba6e7ca6bf5587647a29834c48baacaa1",class:` azm-table ${this.contained?"table-contained":""}`,style:{direction:this.direction?"rtl":"ltr"}},e("slot",{key:"35bcd22a6cebf1ccce8f2216a89b09f81f383c71"})))}},[4,"dga-table",{data:[16],rowDivider:[4,"row-divider"],showSelectCheckBox:[4,"show-select-check-box"],alternate:[4],cells:[16],contained:[4],getSelectedRows:[8,"get-selected-rows"],pressOnFilter:[8,"press-on-filter"],sortedData:[32],direction:[32]}]);function Rh(){if(typeof customElements>"u")return;["dga-table"].forEach(n=>{switch(n){case"dga-table":customElements.get(n)||customElements.define(n,bt);break}})}const Hh=bt,Fh=Rh,Uh=Ke,Wh=Ye,Vh=so,Kh=H,Yh=eo,Gh=oo,re={success:e("dga-icon",{icon:"CheckmarkCircle02Icon",variant:"solid"}),error:e("dga-icon",{icon:"AlertCircleIcon",variant:"solid"}),warning:e("dga-icon",{icon:"Alert02Icon",variant:"solid"})},pt=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0,this.placeholder=void 0,this.variant="default",this.error=!1,this.feedbackIcon=!1,this.feedbackIconType="success",this.feedbackIconRing=!1,this.disabled=!1,this.readonly=!1,this.scrollbar=!0,this.resize=!0,this.cols=50,this.rows=4,this.onChange=void 0,this.onInput=void 0,this.name=x(),this.value="",this.isActive=!1,this.isFocused=!1}render(){return e("div",{key:"a5b22496a8ca28b0a5e3e8e97b6127c5f832e0d8",class:"dga-form-control"},this.label&&e("label",{key:"8a36104c41a657ef3afaf4d74db5fe6263fe3fed",class:"dga-label"},this.label),e("div",{key:"64e07dc8893d6d076a51794a1f61f55afbb5fb03",class:`textarea textarea--lg ${this.error?"textarea--error":""} ${this.variant!=="default"?`textarea--${this.variant}`:""} ${this.isActive?"active":""} ${this.isFocused?"focus":""} ${this.disabled?"disabled":""}`,ref:n=>this.inputContainerRef=n,"data-error":this.error},e("textarea",{key:"8611871320520bfce39d2d8c5354357a1007e4ff",onFocus:()=>this.isFocused=!0,onBlur:()=>this.isFocused=!1,class:`textarea__field ${this.resize?"textarea__field--resize":""} ${this.scrollbar?"":"textarea__field--hidden-scrollbar"}`,placeholder:this.placeholder,disabled:this.disabled,readOnly:this.readonly,rows:this.rows&&this.rows,cols:this.cols&&this.cols,onMouseDown:()=>this.isActive=!0,onMouseUp:()=>this.isActive=!1,onMouseOut:()=>this.isActive=!1,onChange:this.onChange,onInput:this.onInput,name:this.name,value:this.value}),this.error?e("span",{class:`textarea__feedback-icon textarea__feedback-icon--error ${this.feedbackIconRing?"textarea__feedback-icon--ring":""}`},re.error):this.feedbackIcon?e("span",{class:`textarea__feedback-icon textarea__feedback-icon--${this.feedbackIconType} ${this.feedbackIconRing?"textarea__feedback-icon--ring":""}`},re[this.feedbackIconType]):null))}},[0,"dga-textarea",{label:[1],placeholder:[1],variant:[1],error:[4],feedbackIcon:[4,"feedback-icon"],feedbackIconType:[1,"feedback-icon-type"],feedbackIconRing:[4,"feedback-icon-ring"],disabled:[4],readonly:[4],scrollbar:[4],resize:[4],cols:[2],rows:[2],onChange:[16],onInput:[16],name:[1],value:[1],isActive:[32],isFocused:[32]}]);function Nh(){if(typeof customElements>"u")return;["dga-textarea","dga-icon"].forEach(n=>{switch(n){case"dga-textarea":customElements.get(n)||customElements.define(n,pt);break;case"dga-icon":customElements.get(n)||w();break}})}const Xh=pt,Zh=Nh,Jh=et,Qh=ot,nc=`@charset "UTF-8";
240369
+ }`,Rg=Lg,Ko=d(class extends l{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.percentage=10,this.RTL=!1,this.size="small",this.progressStyle="neutral",this.showLabel=!0,this.showHelperText=!0,this.error=!1,this.success=!1,this.label="label",this.helperText="Help Text"}render(){const n={small:"sm",medium:"md",large:"lg"};let t=this.error?"error":this.success?"success":this.progressStyle,i=this.error||this.success?100:this.percentage;const r={neutral:e("svg",{key:"a4964d7ed81e33ee3b575c79e57cb501150923f2",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"e2a4d24f553603a6803998134014e0d4422eca39","clip-path":"url(#clip0_17869_405)"},e("path",{key:"c7afdbb7ea1fa2016461536631709cd1cfa22971",d:"M6.06004 6.00001C6.21678 5.55446 6.52614 5.17875 6.93334 4.93943C7.34055 4.70012 7.8193 4.61264 8.28483 4.69248C8.75035 4.77233 9.17259 5.01436 9.47676 5.3757C9.78093 5.73703 9.94741 6.19436 9.94671 6.66668C9.94671 8.00001 7.94671 8.66668 7.94671 8.66668M8.00004 11.3333H8.00671M14.6667 8.00001C14.6667 11.6819 11.6819 14.6667 8.00004 14.6667C4.31814 14.6667 1.33337 11.6819 1.33337 8.00001C1.33337 4.31811 4.31814 1.33334 8.00004 1.33334C11.6819 1.33334 14.6667 4.31811 14.6667 8.00001Z",stroke:"#384250","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})),e("defs",{key:"e384394870400d4cefa25c3494ac8ad1c6bcb998"},e("clipPath",{key:"4d75c1cde88ab3f7a54b05ee9162da71474e6ff1",id:"clip0_17869_405"},e("rect",{key:"67a9771f91e00507921ea4e4f4a1b900cc2bfb40",width:"16",height:"16",fill:"white"})))),primary:e("svg",{key:"51152b57fde3b0cc6044dd542dd19ff24712d136",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"275ed2b71cba4cb8fbb174728ccdfcce0299290c","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00002 15.3334C12.0501 15.3334 15.3334 12.0501 15.3334 8.00002C15.3334 3.94993 12.0501 0.666687 8.00002 0.666687C3.94993 0.666687 0.666687 3.94993 0.666687 8.00002C0.666687 12.0501 3.94993 15.3334 8.00002 15.3334Z",fill:"white"}),e("path",{key:"10947ca1052e5f6ed01670336abc62c186042a32","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00002 15.3334C12.0501 15.3334 15.3334 12.0501 15.3334 8.00002C15.3334 3.94993 12.0501 0.666687 8.00002 0.666687C3.94993 0.666687 0.666687 3.94993 0.666687 8.00002C0.666687 12.0501 3.94993 15.3334 8.00002 15.3334ZM4.70017 7.41423C4.43982 7.67458 4.43982 8.09669 4.70017 8.35704L6.58578 10.2427C6.84613 10.503 7.26824 10.503 7.52859 10.2427L11.2998 6.47143C11.5602 6.21108 11.5602 5.78897 11.2998 5.52862C11.0395 5.26827 10.6174 5.26827 10.357 5.52862L7.05719 8.82845L5.64297 7.41423C5.38263 7.15388 4.96052 7.15388 4.70017 7.41423Z",fill:"#067647"})),error:e("svg",{key:"23115a94221c770907e12e59bca8fbc1ff12629a",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"2352e43bdc095b7d340c9b97128465e0ae3e95bd","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00002 15.3334C12.0501 15.3334 15.3334 12.0501 15.3334 8.00002C15.3334 3.94993 12.0501 0.666687 8.00002 0.666687C3.94993 0.666687 0.666687 3.94993 0.666687 8.00002C0.666687 12.0501 3.94993 15.3334 8.00002 15.3334Z",fill:"white"}),e("path",{key:"e4c57ae35da3b0b825768a57ee5b80f1647d5c22","fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.3334 8.00002C15.3334 12.0502 12.0502 15.3334 8.00002 15.3334C3.94989 15.3334 0.666687 12.0502 0.666687 8.00002C0.666687 3.94989 3.94989 0.666687 8.00002 0.666687C12.0502 0.666687 15.3334 3.94989 15.3334 8.00002ZM5.80471 4.862C5.54445 4.60158 5.12225 4.60158 4.862 4.862C4.60158 5.12225 4.60158 5.54445 4.862 5.80471L7.05715 8.00002L4.862 10.1953C4.60158 10.4556 4.60158 10.8778 4.862 11.138C5.12225 11.3985 5.54445 11.3985 5.80471 11.138L8.00002 8.94289L10.1953 11.138C10.4556 11.3985 10.8778 11.3985 11.138 11.138C11.3985 10.8778 11.3985 10.4556 11.138 10.1953L8.94289 8.00002L11.138 5.80471C11.3985 5.54445 11.3985 5.12225 11.138 4.862C10.8778 4.60158 10.4556 4.60158 10.1953 4.862L8.00002 7.05715L5.80471 4.862Z",fill:"#B42318"}))};return e("div",{key:"72997870fdfdde5154f3b241acde6bd76e773370",class:"progress-wrapper",style:{direction:this.RTL?"rtl":"ltr"}},this.showLabel&&e("h3",{key:"6c4690d404d4ea46c46dd02dad6c39d96d00f4c3",class:`${n[this.size]}`},this.label),e("div",{key:"bec818a7d0790c5100b11c467f41639546556b19",class:`progress-bar-container ${n[this.size]}`,title:`${i.toString()}%`},e("div",{key:"d056c60a34e3e926bf099d10d39cbb187e03ceba",class:`progress-bar ${t}`,style:{width:`${i}%`}},this.size==="large"&&i>8&&e("span",{key:"29ff6e4d4142c64fdb4767b8febe784cb3c3c36d",class:"progress-bar-text"},i,"%"))),this.showHelperText&&e("div",{key:"707a2644eb96dd6f87bcddf303e272cb1476abfd",class:"progress-bar__note"},e("div",{key:"a762899d13770bfd5c23328e37a4c5e80eae489d",class:"icon"},this.error?r.error:this.success?r.primary:r.neutral),e("div",{key:"83ea7d335db4bd007495e9439217e4c134ee25ec",class:"content"},e("p",{key:"b349acc88904712ce296d830ae110097cccf38d6",class:`progress-bar-content ${this.success&&"success"} ${this.error&&"error"} ${n[this.size]}`},this.helperText))))}static get style(){return Rg}},[1,"dga-progress-bar",{percentage:[2],RTL:[4,"r-t-l"],size:[1],progressStyle:[1,"progress-style"],showLabel:[4,"show-label"],showHelperText:[4,"show-helper-text"],error:[4],success:[4],label:[1],helperText:[1,"helper-text"]}]);function Og(){if(typeof customElements>"u")return;["dga-progress-bar"].forEach(n=>{switch(n){case"dga-progress-bar":customElements.get(n)||customElements.define(n,Ko);break}})}const Hg=Ko,Fg=Og,Yo=d(class extends l{constructor(){super(),this.__registerHost(),this.handleFocus=()=>{this.stepContentRef.classList.add("focus")},this.handleFocusOut=()=>{this.stepContentRef.classList.remove("focus")},this.handleEscape=n=>{if(n.key==="Escape"){this.handleFocusOut();const t=this.el.querySelector("input");t&&t.blur()}},this.currentStep=1,this.title="",this.description="",this.activeStep=0,this.nextStep=!0,this.showStepName=!0,this.showStepDescription=!0,this.isActive=!1,this.labelState="upcoming",this.labelStyle="circle"}componentWillLoad(){this.updateState(),window.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){window.removeEventListener("keydown",this.handleEscape)}updateState(){this.isActive=this.activeStep>this.currentStep,this.activeStep>this.currentStep?this.labelState="completed":this.activeStep<this.currentStep?this.labelState="upcoming":this.labelState="current"}labelChildren(n){return this.labelState==="completed"?e("i",{class:"hgi-stroke hgi-tick-02",style:{fontSize:"16px"}}):n.toString()}render(){return e("div",{key:"9698bcda105c92b5c97dabd1f3864009aeaf87f2",class:"progress-indicator__step",onMouseDown:this.handleFocus,onMouseUp:this.handleFocusOut},e("div",{key:"2a269660bbf14b7fcad81fc0aaa42f0a0212377c",class:"progress-indicator__step-content flex-column",ref:n=>this.stepContentRef=n},e("div",{key:"09672522af217fd987c5a1439639abb29e1c30bb",class:"step-label","data-state":this.labelState},e("span",{key:"725d55a1e4e9f095211b6d59461f3733e58f931c",class:`step-label--${this.labelStyle}`},this.labelStyle==="circle"&&this.labelChildren(this.currentStep))),e("div",{key:"8104dce7501a2c6aac9bea661b0933de18c6c6dc",class:"step-text flex-column"},this.showStepName&&e("span",{key:"47b196cd750bc66c70581f32478a0adb693f7025",class:this.isActive?"text-md-medium":"text-md-regular"},this.title),this.showStepDescription&&e("p",{key:"35cbbc81031f3ccc695128f69bca43a3f01be03f",class:"text-sm-regular"},this.description))),this.nextStep&&e("span",{key:"e16fbbdadaa14ea800047fc10dcd5382a81d174e",class:`progress-indicator__step-connector ${this.isActive?"progress-indicator__step-connector--active":""}`}))}get el(){return this}},[0,"dga-progress-indicator-step",{currentStep:[2,"current-step"],title:[1],description:[1],activeStep:[1026,"active-step"],nextStep:[4,"next-step"],showStepName:[4,"show-step-name"],showStepDescription:[4,"show-step-description"],labelStyle:[1,"label-style"],isActive:[32],labelState:[32]}]);function Go(){if(typeof customElements>"u")return;["dga-progress-indicator-step"].forEach(n=>{switch(n){case"dga-progress-indicator-step":customElements.get(n)||customElements.define(n,Yo);break}})}const Ug=Yo,Wg=Go,No=d(class extends l{constructor(){super(),this.__registerHost(),this.activeStep=1,this.alignment="horizontal",this.steps=[]}render(){return e("div",{key:"0e84de212ffcc562f2c40d248d4cc06e624efaef",class:"progress-indicator flex","data-alignment":this.alignment},this.steps.map((n,t)=>e("dga-progress-indicator-step",{currentStep:t+1,title:n.label,description:n.description,activeStep:this.activeStep})))}},[0,"dga-progress-indicator-v2",{activeStep:[2,"active-step"],alignment:[1],steps:[16]}]);function Vg(){if(typeof customElements>"u")return;["dga-progress-indicator-v2","dga-progress-indicator-step"].forEach(n=>{switch(n){case"dga-progress-indicator-v2":customElements.get(n)||customElements.define(n,No);break;case"dga-progress-indicator-step":customElements.get(n)||Go();break}})}const Kg=No,Yg=Vg,Xo=d(class extends l{constructor(){super(),this.__registerHost(),this.activeStep=1,this.alignment="horizontal"}render(){return e("div",{key:"31f14f91de8f7f69b0ddec232130ed0f10cf8106",class:"progress-indicator flex","data-alignment":this.alignment},e("slot",{key:"6cc25b23f4652a2ef663f8a7d0c1a2030601d600"}))}},[4,"dga-progress-indicator",{activeStep:[1026,"active-step"],alignment:[1]}]);function Gg(){if(typeof customElements>"u")return;["dga-progress-indicator"].forEach(n=>{switch(n){case"dga-progress-indicator":customElements.get(n)||customElements.define(n,Xo);break}})}const Ng=Xo,Xg=Gg,Zo=d(class extends l{constructor(){super(),this.__registerHost(),this.handleActive=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.add("active")},this.handleRemoveActive=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.remove("active")},this.handleFocus=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.add("focus")},this.handleFocusOut=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.remove("focus")},this.handleEscape=n=>{var t,i;n.key==="Escape"&&((i=(t=this.radioLabelRef)===null||t===void 0?void 0:t.querySelector("input"))===null||i===void 0||i.blur(),this.handleFocusOut())},this.color="brand",this.label=void 0,this.hasHelperText=!1,this.helperText=void 0,this.alertMessage=void 0,this.alertText=void 0,this.disabled=!1,this.id=x(),this.name=x(),this.value="",this.customAttribute={key:"",value:""},this.onChange=void 0,this.onInput=void 0}componentDidLoad(){window.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){window.removeEventListener("keydown",this.handleEscape)}render(){return e("label",{key:"98e7f64b3eb98ee0cd5b2c5ce75df5d0d718c113",ref:n=>this.radioLabelRef=n,class:`radio ${this.color?"radio--"+this.color:""}`,onMouseDown:this.handleActive,onMouseUp:this.handleRemoveActive,onMouseOut:this.handleRemoveActive,onChange:this.handleRemoveActive},e("div",{key:"32599e445fa4c6350a91a35b490e9ac5a98d2144",class:"radio-main"},e("div",{key:"b5aa3590c7a94aaeb7ee7fdc4b94ee73911a11f6",class:"radio-main__content"},e("input",Object.assign({key:"ba61946352d448213220f2b7bb3f7b50b358357f",type:"radio",name:this.name,value:this.value,id:this.id},this.customAttribute.key&&{[this.customAttribute.key]:this.customAttribute.value?this.customAttribute.value:""},{onChange:this.onChange,onInput:this.onInput,disabled:this.disabled,onFocus:this.handleFocus,onBlur:this.handleFocusOut})),e("div",{key:"7d4b3f2de39d597a2ddfde5fad4739e83ccc15e3",class:"radio-container"}),e("div",{key:"62c824151f15dcbc409b75b1f255bf7e60e76d0e",class:"flex-column"},this.label&&e("span",{key:"4f1502fbdf5d367868fc133bfde9514d2fb79578",class:"radio__label"},this.label),this.hasHelperText&&this.helperText&&e("span",{key:"8e614548ebd5b4118fc5dc3f10a54f934166c397",class:"radio__helper-text"},this.helperText))),this.alertMessage&&this.alertText&&e("div",{key:"0afe1c11ea53b45282663150e1be1d7fa4865ad9",class:"radio__warning"},e("span",{key:"2b7eeea0b92647f0fbbb5bf83e2fc023ea5654c8",class:"radio__warning-icon"},e("i",{key:"4de76d7d267481ce3e232c993a089986e2e528d1",class:"hgi-stroke hgi-alert-circle",style:{fontSize:"16px"}})),e("span",{key:"4cdcec9508496b1052b0854c0d1014bea701f1c7",class:"radio__warning-text"},this.alertText))))}get el(){return this}},[0,"dga-radio-button",{color:[1],label:[1],hasHelperText:[4,"has-helper-text"],helperText:[1,"helper-text"],alertMessage:[4,"alert-message"],alertText:[1,"alert-text"],disabled:[4],id:[1],name:[1],value:[1],customAttribute:[16],onChange:[16],onInput:[16]}]);function Jo(){if(typeof customElements>"u")return;["dga-radio-button"].forEach(n=>{switch(n){case"dga-radio-button":customElements.get(n)||customElements.define(n,Zo);break}})}const Qo=d(class extends l{constructor(){super(),this.__registerHost(),this.activeStep=1}render(){return e("div",{key:"7f39338d1f303054618988fca013e9e86c97f6fe"},e("h1",{key:"cd1d3fcdd32f3215d77ee2aae6b5b8a08ec73e86"},"RadioButton Example"),e("div",{key:"83e37a82c317663ca0b9b119c3aab1e3822d2ad3",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"9b105b6e06f8ffb5068b22d540a1a7e4bba699f6",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-radio-button",{key:"e632426ed30d35da8d497d6e6ae86f65d4b89b42",label:"Radio Label",hasHelperText:!0,helperText:"When a selection needs a further detailed explanation, it goes here.",alertMessage:!0,alertText:"Error/Warning message"})),e("div",{key:"f4917a6def27fa7916d27e486db572e730e68d3c",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"dga-radio-button-usage",{activeStep:[32]}]);function Zg(){if(typeof customElements>"u")return;["dga-radio-button-usage","dga-radio-button"].forEach(n=>{switch(n){case"dga-radio-button-usage":customElements.get(n)||customElements.define(n,Qo);break;case"dga-radio-button":customElements.get(n)||Jo();break}})}const Jg=Qo,Qg=Zg,nh=Zo,eh=Jo;function oh(o){const n=o.toString().split(".")[1];return n?n.length:0}function th(o,n){if(o==null)return o;const t=Math.round(o/n)*n;return Number(t.toFixed(oh(n)))}const nt=d(class extends l{constructor(){super(),this.__registerHost(),this.handleMouseMove=n=>{if(this.readOnly)return;const t=this.rootRef;if(t){const{left:i,width:r}=t.getBoundingClientRect(),a=(n.clientX-i)/r,g=.5,h=th(this.max*a+g/2,g);(this.hover!==h||this.focus!==h)&&(this.hover=h,this.focus=h)}},this.handleChange=n=>{if(this.readOnly)return;let t=n.target.value===""?null:parseFloat(n.target.value);this.hover!==-1&&(t=this.hover),this.rating=t||-1},this.handleClear=n=>{n.clientX===0&&n.clientY===0||(this.hover=-1,this.rating=-1)},this.size="small",this.value=-1,this.onChange=()=>{},this.readOnly=!1,this.max=5,this.variant="Default",this.rating=-1,this.hover=-1,this.focus=-1,this.pressed=-1}componentDidLoad(){this.rating=this.value}componentDidUpdate(){this.onChange(this.rating)}render(){return console.log("pressed",this.pressed),e("span",{key:"4f6ebd84a3bad87086eebadb9c6b4e024c2ad599",class:`rating rating--${this.size}`,ref:n=>this.rootRef=n,onMouseMove:n=>this.handleMouseMove(n),onMouseLeave:n=>this.handleClear(n)},Array.from({length:this.max},(n,t)=>t+1).map(n=>{const t={Default:"var(--background-secondary)",Brand:"var(--background-primary)"};return e("span",{class:`rating__star ${this.pressed===n?"rating__star--pressed":""}`,onMouseDown:()=>this.pressed=n,onMouseUp:()=>this.pressed=-1},e("label",{htmlFor:`star-${n-.5}`,style:{width:this.hover>0?this.hover==n-.5?"50%":"0%":this.rating==n-.5?"50%":"0%",overflow:"hidden",position:"absolute"},class:"rating__star__label"},e("span",{class:"rating__star__label-icon"},e("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M22.1839 3.93733C22.8987 2.38758 25.1013 2.38759 25.8161 3.93733L30.3024 13.6635C30.5937 14.2952 31.1923 14.73 31.883 14.8119L42.5195 16.0731C44.2143 16.274 44.8949 18.3688 43.6419 19.5275L35.7781 26.7998C35.2674 27.272 35.0388 27.9757 35.1744 28.6579L37.2618 39.1636C37.5944 40.8375 35.8125 42.1321 34.3233 41.2985L24.9769 36.0668C24.3699 35.7271 23.6301 35.7271 23.0231 36.0668L13.6767 41.2985C12.1875 42.1321 10.4056 40.8375 10.7382 39.1636L12.8256 28.6579C12.9612 27.9757 12.7326 27.272 12.2219 26.7998L4.35805 19.5275C3.10505 18.3688 3.78569 16.274 5.48048 16.0731L16.117 14.8119C16.8077 14.73 17.4063 14.2952 17.6976 13.6635L22.1839 3.93733Z",style:{fill:t[this.variant]}}))),e("span",{class:"rating__star__label-text"},n-.5," Stars")),e("input",{class:"rating__star__label-input",id:`star-${n-.5}`,type:"radio",name:"half-rating",defaultValue:n-.5,onChange:this.handleChange,onMouseDown:()=>this.pressed=n,onMouseUp:()=>this.pressed=-1}),e("label",{htmlFor:`star-${n}`,class:"rating__star__label"},e("span",{class:"rating__star__label-icon"},e("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M22.1839 3.93733C22.8987 2.38758 25.1013 2.38759 25.8161 3.93733L30.3024 13.6635C30.5937 14.2952 31.1923 14.73 31.883 14.8119L42.5195 16.0731C44.2143 16.274 44.8949 18.3688 43.6419 19.5275L35.7781 26.7998C35.2674 27.272 35.0388 27.9757 35.1744 28.6579L37.2618 39.1636C37.5944 40.8375 35.8125 42.1321 34.3233 41.2985L24.9769 36.0668C24.3699 35.7271 23.6301 35.7271 23.0231 36.0668L13.6767 41.2985C12.1875 42.1321 10.4056 40.8375 10.7382 39.1636L12.8256 28.6579C12.9612 27.9757 12.7326 27.272 12.2219 26.7998L4.35805 19.5275C3.10505 18.3688 3.78569 16.274 5.48048 16.0731L16.117 14.8119C16.8077 14.73 17.4063 14.2952 17.6976 13.6635L22.1839 3.93733Z",style:{fill:this.hover>0?this.hover>=n?t[this.variant]:"var(--background-neutral-200)":this.rating>=n?t[this.variant]:"var(--background-neutral-200)"}}))),e("span",{class:"rating__star__label-text"},n," Star")),e("input",{class:"rating__star__label-input",id:`star-${n}`,type:"radio",name:"half-rating",defaultValue:n,onChange:this.handleChange,onMouseDown:()=>this.pressed=n,onMouseUp:()=>this.pressed=-1}))}))}},[0,"dga-rating",{size:[1],value:[2],onChange:[16],readOnly:[4,"read-only"],max:[2],variant:[1],rating:[32],hover:[32],focus:[32],pressed:[32]}]);function ih(){if(typeof customElements>"u")return;["dga-rating"].forEach(n=>{switch(n){case"dga-rating":customElements.get(n)||customElements.define(n,nt);break}})}const rh=nt,ah=ih,et=d(class extends l{constructor(){super(),this.__registerHost(),this.icons={"success-check":{icon:"hgi-solid hgi-checkmark-circle-02",color:"var(--icon-success)!important"},"blue-info":{icon:"hgi-solid hgi-information-circle",color:"var(--icon-info)!important"},"neutral-info":{icon:"hgi-solid hgi-information-circle",color:"var(--icon-default-400)!important"},"neutral-?":{icon:"hgi-solid hgi-help-circle",color:"var(--icon-default-400)!important"},"warning-!-circle":{icon:"hgi-solid hgi-alert-circle",color:"var(--icon-warning)!important"},"warning-!-triangle":{icon:"hgi-solid hgi-sharp hgi-alert-02",color:"var(--icon-warning)!important"},"error-!":{icon:"hgi-solid hgi-alert-circle",color:"var(--icon-error)!important"},"error-x":{icon:"hgi-solid hgi-cancel-circle",color:"var(--icon-error)!important"}},this.handleMouseEnter=()=>{this.isHovered=!0},this.handleMouseLeave=()=>{this.isHovered=!1},this.beakPlacement="none",this.beakAlignment="center",this.direction="top",this.tooltipTitle=void 0,this.helperText=void 0,this.icon=!1,this.iconType="neutral-info",this.theme="light",this.isHovered=!1}render(){return e("div",{key:"2d0571660cc519dfbac4212bc9ee213f684880fd",class:"tooltip","data-theme":this.theme,"data-beak-direction":`${this.beakPlacement}-${this.beakAlignment}`},this.isHovered&&e("div",{key:"f8ba3470a69c806ab1511075ba6bcf863d8e1fb5",class:"tooltip-main","data-direction":this.direction},e("div",{key:"48ff0eac50d8a6159923c26556e847317575e4be",class:"tooltip-main__wrapper"},this.beakPlacement!=="none"&&e("span",{key:"abefaa24b612c3fed2d4bcef49e9d3a3a4dc4d7a",class:"tooltip-main__beak","data-beak-direction":`${this.beakPlacement}-${this.beakAlignment}`}),this.icon&&e("span",{key:"4287f170d3d446443dff82570b380017179884b6",class:"tooltip-main__icon"},e("i",{key:"22321ab40c0c86e522f2ea851f72042c38835d2e",class:this.icons[this.iconType].icon,style:{color:this.icons[this.iconType].color,fontSize:"18px"}})," "),e("div",{key:"108ffe05fac66dc926cc294223915895602abe86",class:"tooltip-main__content flex-column"},this.tooltipTitle&&e("span",{key:"be39f74d6fa706b99678620a015ba052d813ae41",class:"tooltip-main__content__title"},this.tooltipTitle),this.helperText&&e("span",{key:"4ec48029def2440e84a8099bce80bf39a046e745",class:"tooltip-main__content__helper-text"},this.helperText)))),e("div",{key:"ace8b7b42ceff74bbf8328b8d15a47a8d9272dd6",class:"tooltip-item",onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},e("slot",{key:"bf608099388b4e1dab0b0e190fa14b500c309dcf"})))}},[4,"dga-tooltip",{beakPlacement:[1,"beak-placement"],beakAlignment:[1,"beak-alignment"],direction:[1],tooltipTitle:[1,"tooltip-title"],helperText:[1,"helper-text"],icon:[4],iconType:[1,"icon-type"],theme:[1],isHovered:[32]}]);function ot(){if(typeof customElements>"u")return;["dga-tooltip"].forEach(n=>{switch(n){case"dga-tooltip":customElements.get(n)||customElements.define(n,et);break}})}const tt=d(class extends l{constructor(){super(),this.__registerHost(),this.onChange=$(this,"onChange",7),this.onBlur=$(this,"onBlur",7),this.SILENCE_TIMEOUT_DURATION=8e3,this.handleResetInput=()=>{this.value="",this.onChange.emit({target:{value:this.value}})},this.label=void 0,this.placeholder=void 0,this.size="lg",this.variant="default",this.error=!1,this.showTrailingIcon=!0,this.icon=!0,this.disabled=!1,this.readonly=!1,this.name=x(),this.value="",this.onInput=()=>{},this.speechLang="en",this.isActive=!1,this.isFocused=!1,this.isListening=!1}componentWillLoad(){const n=window.SpeechRecognition||window.webkitSpeechRecognition;n?(this.recognition=new n,this.recognition.continuous=!0,this.recognition.interimResults=!0,this.recognition.onresult=t=>{let i="";for(let r=t.resultIndex;r<t.results.length;++r)t.results[r].isFinal?this.value=t.results[r][0].transcript:i+=t.results[r][0].transcript;this.value=i||this.value},this.recognition.onend=()=>{this.isListening=!1},this.recognition.onerror=t=>{console.error("Speech recognition error",t),this.isListening=!1}):console.error("SpeechRecognition is not supported by this browser.")}startListening(){this.recognition&&(this.speechLang==="en"?this.recognition.lang="en-US":this.speechLang==="ar"&&(this.recognition.lang="ar"),this.isListening=!0,this.recognition.start(),this.resetSilenceTimer())}stopListening(){this.recognition&&(this.recognition.stop(),this.isListening=!1)}resetSilenceTimer(){this.clearSilenceTimer(),this.silenceTimeout=setTimeout(()=>{this.stopListening()},this.SILENCE_TIMEOUT_DURATION)}clearSilenceTimer(){this.silenceTimeout&&clearTimeout(this.silenceTimeout)}handleInputChange(n){console.log(this.value,"query"),this.onChange.emit(n)}render(){return e("div",{key:"299013707bf8390016d58f53fa1f999cd7f63126",class:"dga-form-control"},this.label&&e("label",{key:"039e65d09dcaa590503ca309f77da9b4a8db7966",class:"dga-label"},this.label),e("div",{key:"4b9516edda287ed7a89243556c1ca2c611adc8a7",class:`dga-search-box dga-search-box--${this.size} ${this.error?"dga-search-box--error":""} ${this.variant!=="default"?`dga-search-box--${this.variant}`:""} ${this.isActive?"active":""} ${this.isFocused?"focus":""} ${this.disabled?"dga-search-box--disabled":""} ${this.readonly?"readOnly":""}`,ref:n=>this.inputContainerRef=n},this.icon&&e("span",{key:"3529563ef11f951620e55295f26caad91361007a",class:"dga-search-box__icon"},e("svg",{key:"204894d3d524c2de9f9cfc0d6c977232b2a1e1cd",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"9653bc84c1b977bb788ac0be6ee2bc793f27f485","fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.16675 1.04163C4.67943 1.04163 1.04175 4.67931 1.04175 9.16663C1.04175 13.6539 4.67943 17.2916 9.16675 17.2916C11.1854 17.2916 13.0322 16.5554 14.4531 15.3369L17.8915 18.7752C18.1356 19.0193 18.5313 19.0193 18.7754 18.7752C19.0194 18.5312 19.0194 18.1354 18.7754 17.8914L15.337 14.453C16.5556 13.032 17.2917 11.1853 17.2917 9.16663C17.2917 4.67931 13.6541 1.04163 9.16675 1.04163ZM2.29175 9.16663C2.29175 5.36967 5.36979 2.29163 9.16675 2.29163C12.9637 2.29163 16.0417 5.36967 16.0417 9.16663C16.0417 12.9636 12.9637 16.0416 9.16675 16.0416C5.36979 16.0416 2.29175 12.9636 2.29175 9.16663Z",fill:"#161616"}))),e("input",{key:"abca121f2b81a079f634aae7e279e62bb4347332",value:this.value,name:this.name,type:"text",onFocus:()=>this.isFocused=!0,onBlur:n=>{this.isFocused=!1,this.onBlur.emit(n)},class:"input__field",placeholder:this.placeholder,disabled:this.disabled,readOnly:this.readonly,onMouseDown:()=>this.isActive=!0,onMouseUp:()=>this.isActive=!1,onMouseOut:()=>this.isActive=!1,onChange:n=>this.onChange.emit(n),onInput:this.onInput}),e("div",{key:"f572874ad5778336b0f6c9c2ea5c3c54f2f7af6e",class:"dga-search-box__actions"},this.value.length>0&&e(C,{key:"a5cb7be136ddffd52f22c5d86570015209711036"},e("button",{key:"6197d23dfbf46981333776a438078ffdeed1e6d5",class:"dga-search-box__action-btn",onClick:this.handleResetInput},e("i",{key:"8788ccdaef38f75a4b19975aa07df69b71db29e3",class:"hgi-stroke hgi-cancel-01",style:{fontSize:"20px"}})),e("svg",{key:"b305461b30717e2bf8b367db6a542ccaef6215d6",xmlns:"http://www.w3.org/2000/svg",width:"1",height:"26",viewBox:"0 0 1 26",fill:"none"},e("rect",{key:"36bef3d6322ba58542ef786068289c567ecde26e",x:"1",y:"0.5",width:"25",height:"1",transform:"rotate(90 1 0.5)",fill:"#D2D6DB"}))),this.showTrailingIcon&&e("dga-tooltip",{key:"8b71e077dcd95d47eda941e2f45e7584d6efddbe",tooltipTitle:"Search by voice",direction:"bottom",beakAlignment:"center",beakPlacement:"top"},e("button",{key:"bc6687bca56a4c7e7a26411d496764e494978fcb",class:"dga-search-box__search-btn",onClick:()=>this.startListening(),disabled:this.isListening},this.isListening?e("span",{class:"dga-search-box__icon"},e("i",{class:"hgi-solid hgi-mic-01",style:{fontSize:"20px"}})):e("span",{class:"dga-search-box__icon"},e("i",{class:"hgi-stroke hgi-mic-01",style:{fontSize:"20px"}})))))))}},[0,"dga-search-box",{label:[1],placeholder:[1],size:[1],variant:[1],error:[4],showTrailingIcon:[4,"show-trailing-icon"],icon:[4],disabled:[4],readonly:[4],name:[1],value:[1025],onInput:[16],speechLang:[1,"speech-lang"],isActive:[32],isFocused:[32],isListening:[32]}]);function gh(){if(typeof customElements>"u")return;["dga-search-box","dga-tooltip"].forEach(n=>{switch(n){case"dga-search-box":customElements.get(n)||customElements.define(n,tt);break;case"dga-tooltip":customElements.get(n)||ot();break}})}const hh=tt,ch=gh,it=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e(D,{key:"04fcb474597c186d93fa710eab178d41cfe73e13"},e("div",{key:"e5ffaecede77182417fac162d1948bbd2ffe025f",class:"items-container"},e("slot",{key:"fa1c9189c3dec1fc991e4f19413ca4296aa4cce5"})))}},[4,"dga-second-nav-header-actions"]);function sh(){if(typeof customElements>"u")return;["dga-second-nav-header-actions"].forEach(n=>{switch(n){case"dga-second-nav-header-actions":customElements.get(n)||customElements.define(n,it);break}})}const lh=it,dh=sh,rt=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e(D,{key:"2660e8ad3d58fcf732e4324e8d08c44f0211f7b1"},e("div",{key:"73b2aa58ebd14470a5ed69bed27796dde5549e98",class:"items-container"},e("slot",{key:"c50dad7108a53aa08f61df199ed09e3f3081b3fc"})))}},[4,"dga-second-nav-header-content"]);function fh(){if(typeof customElements>"u")return;["dga-second-nav-header-content"].forEach(n=>{switch(n){case"dga-second-nav-header-content":customElements.get(n)||customElements.define(n,rt);break}})}const bh=rt,ph=fh,at=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0}connectedCallback(){this.el.childNodes.forEach(n=>{const t=n;t.tagName==="DGA-ICON".toLocaleUpperCase()&&t.attributes.getNamedItem("slot")===null&&t.setAttribute("slot","icon")})}render(){return e(D,{key:"b0f2141e6cd50980b435a33c967011bd174ff3c4"},e("slot",{key:"3c9c0f2753b02816292154c1867ea758725ac928",name:"icon"}),e("slot",{key:"e038fdf1306a2e73344ccb3b3d6aab61aeb17e77",name:"label"},this.label))}get el(){return this}},[4,"dga-second-nav-header-item",{label:[1]}]);function uh(){if(typeof customElements>"u")return;["dga-second-nav-header-item"].forEach(n=>{switch(n){case"dga-second-nav-header-item":customElements.get(n)||customElements.define(n,at);break}})}const kh=at,mh=uh,gt=d(class extends l{constructor(){super(),this.__registerHost(),this.variant="primary",this.hideDivider=void 0,this.hideActions=void 0,this.hideContent=void 0}componentWillLoad(){this.el.childNodes.forEach(n=>{const t=n;t.tagName==="DGA-SECOND-NAV-HEADER-CONTENT"&&this.hideContent===!0&&(t.style.display="none"),t.tagName==="DGA-SECOND-NAV-HEADER-ACTIONS"&&this.hideActions===!0&&(t.style.display="none"),t.tagName==="DGA-SECOND-NAV-HEADER-CONTENT"&&t.attributes.getNamedItem("slot")===null&&t.setAttribute("slot","content"),t.tagName==="DGA-SECOND-NAV-HEADER-ACTIONS"&&t.attributes.getNamedItem("slot")===null&&t.setAttribute("slot","actions")})}render(){return e(D,{key:"0191b5bd642e4195e842eca33186258c718345d2"},e("div",{key:"b98f05e2c71edd88741cace8a73603e96d68b8c2",class:`wrapper ${this.variant} `,"aria-label":"a secondary navigation navbar"},e("div",{key:"47a57f556c245e2913988f6c4c8163ed2b8b62f0",class:`container ${this.hideDivider?"":"border"}`},e("div",{key:"83f39df2c04fabdf73d900b60821a337dd53f8b9",class:"content"},e("slot",{key:"8b3bff37efdf6d29a6982ecd7ea27d5496401326",name:"content"})),e("div",{key:"0f405806e11171017e447ef022fe7d5160af9b84",class:"actions"},e("slot",{key:"b528f0c8747ccd549e7f2ffa41c2606b59a46ce3",name:"actions"})))))}get el(){return this}},[6,"dga-second-nav-header",{variant:[1],hideDivider:[1028,"hide-divider"],hideActions:[4,"hide-actions"],hideContent:[4,"hide-content"]}]);function vh(){if(typeof customElements>"u")return;["dga-second-nav-header"].forEach(n=>{switch(n){case"dga-second-nav-header":customElements.get(n)||customElements.define(n,gt);break}})}const wh=gt,xh=vh,ht=d(class extends l{constructor(){super(),this.__registerHost(),this.min=0,this.max=100,this.step=1,this.range=!0,this.label=void 0,this.showLabel=!0,this.showHelperText=!0,this.helperText=void 0,this.size="small",this.minValue=void 0,this.maxValue=void 0}calculatePositions(){const n=(this.minValue-this.min)/(this.max-this.min)*100,t=(this.maxValue-this.min)/(this.max-this.min)*100;this.minPos=n,this.maxPos=t,this.railColorStyle=this.range?{left:`${n}%`,width:`${t-n}%`}:{left:"0%",width:`${n}%`}}componentWillLoad(){this.minValue=this.min,this.maxValue=this.max,this.calculatePositions()}watchMinValue(n){this.minValue=n,this.calculatePositions()}watchMaxValue(n){this.maxValue=n,this.calculatePositions()}watchRangeValue(){this.calculatePositions()}handleMinChange(n){const t=n.target,i=this.range?Math.min(+t.value,this.maxValue-this.step):Math.min(+t.value);this.minValue=i,this.calculatePositions()}handleMaxChange(n){const t=n.target,i=Math.max(+t.value,this.minValue+this.step);this.maxValue=i,this.calculatePositions()}render(){return e("div",{key:"4d579ebd0f36cf2d3a795e85fcf15d161efa83b6",class:`range-slider-wrapper ${this.size}`},e("div",{key:"d8506bffc509298d4576761aa62fca2e98b3e039",class:"range-slider-input-wrapper"},e("input",{key:"b2aae3d3276d1c426498b55d61237d50073e0fc1",class:"range-slider-input",type:"range",value:this.minValue,min:this.min,max:this.max,step:this.step,onInput:this.handleMinChange.bind(this)}),this.range&&e("input",{key:"073bd404d7d990234d593734d514aeed35f5e1e8",class:"range-slider-input",type:"range",value:this.maxValue,min:this.min,max:this.max,step:this.step,onInput:this.handleMaxChange.bind(this)})),e("div",{key:"ded6353d5013f74716be6ab96180e11b6b7ebf11",class:"range-slider-container"},this.showLabel&&e("h3",{key:"cf08b662a44d2315d4716557d96de480599adf29"},this.label),e("div",{key:"a875c0dd8410f1868a534d030ea1995f30433788",class:"range-slider-control-wrapper"},e("div",{key:"5b58e2781e60e110502ebfdb70899b084ae45d42",class:"range-slider-control",style:{left:`${this.minPos}%`}}),e("div",{key:"8fa6949dba06158b0a775bdb88f2548783174825",class:"range-slider-rail"},this.range&&e("div",{key:"623c99b50c38aa1a9b0bbfc44f3c298acd828bdb",class:"range-slider-number_left"},this.minValue),e("div",{key:"7c5e228e5f6938159678a14801ec204306225888",class:"range-slider-inner-rail",style:this.railColorStyle}),this.range&&e("div",{key:"b6bf8a95604d0bd034e1a6a1e650af01c3d0dc8c",class:"range-slider-number_right"},this.maxValue),!this.range&&e("div",{key:"e968bd0c6a67dc63da823d5a02ff01cf97acc33a",class:"range-slider-number_right"},this.minValue)),this.range&&e("div",{key:"9cff825573b26c3c4184ccb644cd7b84d852ad2b",class:"range-slider-control",style:{left:`${this.maxPos}%`}}),this.showHelperText&&e("div",{key:"1860567b427c0fa177cf955afef474e162f200aa",class:"range-slider-note"},e("div",{key:"122e3f9ac8d50c0de99c115e9c3b3149e4fe505a",class:"range-slider-note-icon"},e("svg",{key:"0905af5270c3d77d1ab4cc59bba92a70ea35effc",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"7e24449cbc9b4a6d32dd6a3ecf7d2d8a88d721e0","clip-path":"url(#clip0_17869_405)"},e("path",{key:"167c272561728ffd582c0947633fadbd5b5d4dd7",d:"M6.06004 6.00001C6.21678 5.55446 6.52614 5.17875 6.93334 4.93943C7.34055 4.70012 7.8193 4.61264 8.28483 4.69248C8.75035 4.77233 9.17259 5.01436 9.47676 5.3757C9.78093 5.73703 9.94741 6.19436 9.94671 6.66668C9.94671 8.00001 7.94671 8.66668 7.94671 8.66668M8.00004 11.3333H8.00671M14.6667 8.00001C14.6667 11.6819 11.6819 14.6667 8.00004 14.6667C4.31814 14.6667 1.33337 11.6819 1.33337 8.00001C1.33337 4.31811 4.31814 1.33334 8.00004 1.33334C11.6819 1.33334 14.6667 4.31811 14.6667 8.00001Z",stroke:"#384250","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})),e("defs",{key:"16e8de9a2291bc173bf94d66ba270e0dd43df87f"},e("clipPath",{key:"6c7f3535a5156b28e7f9aab8931be659c3cf8e8f",id:"clip0_17869_405"},e("rect",{key:"265fe45a4b6ccb280e6bc588ac78049ba3c0d881",width:"16",height:"16",fill:"white"}))))),e("div",{key:"42af9bdbe442c8fb1118b0e6b6a3e1dbcf0ecea1",class:"range-slider-note-content"},e("p",{key:"c748c307be8225cc5756ce956d6dbc11eb95588b"},this.helperText))))))}static get watchers(){return{min:["watchMinValue"],max:["watchMaxValue"],range:["watchRangeValue"]}}},[0,"dga-slider",{min:[2],max:[2],step:[2],range:[4],label:[1],showLabel:[4,"show-label"],showHelperText:[4,"show-helper-text"],helperText:[1,"helper-text"],size:[1],minValue:[32],maxValue:[32]},void 0,{min:["watchMinValue"],max:["watchMaxValue"],range:["watchRangeValue"]}]);function yh(){if(typeof customElements>"u")return;["dga-slider"].forEach(n=>{switch(n){case"dga-slider":customElements.get(n)||customElements.define(n,ht);break}})}const _h=ht,qh=yh,ct=d(class extends l{constructor(){super(),this.__registerHost(),this.data=[],this.rowDivider=!0,this.colDivider=!0,this.compact=!1,this.selectable=!0,this.alternate=!0,this.cells=[],this.contained=!0,this.getSelectedRows=void 0,this.sortedData=[],this.direction=!1}componentWillLoad(){this.initializeDirection(),this.initializeSortedData()}handleDataChange(){this.initializeSortedData()}initializeDirection(){document.dir?this.direction=document.dir==="rtl":document.documentElement.lang?this.direction=document.documentElement.lang==="ar":this.direction=!1}initializeSortedData(){this.sortedData=this.data.map(n=>(n.selected=!1,n))}handleSelectedRowChanges(n,t,i,r){const a=[...this.sortedData];a[t].selected=n,this.sortedData=a,this.getSelectedRows&&this.getSelectedRows({currentSelectedRowData:a[t],currentSelectedCellName:i,currentSelectedRowIndex:t,currentSelectedCellIndex:r})}render(){return e("div",{key:"7ca282868717c21c42d027f329de015217c0df8d",class:`table-wrapper ${this.contained?"table-contained":""}`},e("table",{key:"19dd1949e547c48fa0c41fa7963ffe70f89ffc95",class:`azm-structured-table ${this.contained?"table-contained":""}`,style:{direction:this.direction?"rtl":"ltr"}},e("thead",{key:"fca51371ed4f8fae00b3d9002b32946ea874db9f"},e("tr",{key:"62b3dd30c3237a2255703ccd0409d6e30c06ecee",class:`${this.rowDivider?"row-divider":""}`},this.cells.map(({title:n},t)=>e("th",{key:t},n)))),e("tbody",{key:"8eb0116943b136ecd589680d53013eb109d0af8a"},this.sortedData.map((n,t)=>e("tr",{class:`${this.rowDivider?"row-divider":""} ${this.alternate?"alternate":""}`,key:t},this.cells.map(({El:i,customAttribute:r,propertyName:a,type:g,colSpan:h},c)=>e("td",Object.assign({key:c,colSpan:h||1},(r==null?void 0:r.key)&&{[r.key]:r.value||""},{class:`${this.compact?"compact":""} ${this.colDivider?"col-divider":""}`}),e("div",null,this.selectable&&e("span",null,e("input",{type:"checkbox",name:`${t}checkboxSelection`,checked:n.selected,id:`${t}checkboxSelection${a}`,onChange:k=>this.handleSelectedRowChanges(k.target.checked,t,a,c)})),g==="element"&&i?e(i,Object.assign({},n)):n[a]))))))))}static get watchers(){return{data:["handleDataChange"]}}},[0,"dga-structured-list",{data:[16],rowDivider:[4,"row-divider"],colDivider:[4,"col-divider"],compact:[4],selectable:[4],alternate:[4],cells:[16],contained:[4],getSelectedRows:[16],sortedData:[32],direction:[32]},void 0,{data:["handleDataChange"]}]);function zh(){if(typeof customElements>"u")return;["dga-structured-list"].forEach(n=>{switch(n){case"dga-structured-list":customElements.get(n)||customElements.define(n,ct);break}})}const Sh=ct,Mh=zh,st=d(class extends l{constructor(){super(),this.__registerHost(),this.onSelect=$(this,"onSelect",7),this.type=void 0,this.variant=void 0,this.options=void 0,this.label=void 0,this.icon=void 0,this.dpIsActive=!1,this.selectedOption=null}handleSuffixClick(){this.suffixBtn.classList.toggle("open")}handleOptionSelect(n){this.selectedOption=n,this.onSelect.emit(n.value);const t=this.suffixBtn.querySelector(".dropdown__label");t&&t.classList.add("dropdown__label--selection"),this.suffixBtn.classList.remove("open"),this.suffixBtn.classList.add("selected")}render(){return this.type==="text"?e("div",{class:`input__suffix input__suffix--${this.variant}-text`},e("span",{class:"input__suffix-label"},this.label)):e(C,null,e("button",{class:`input__suffix input__suffix--${this.variant} input__dropdown-btn`,onMouseDown:()=>this.dpIsActive=!0,onMouseUp:()=>this.dpIsActive=!1,onMouseOut:()=>this.dpIsActive=!1,onClick:()=>this.handleSuffixClick(),ref:n=>this.suffixBtn=n},e("span",{class:"input__suffix-icon"},this.icon),e("span",{class:"dropdown__label"},this.selectedOption&&Object.keys(this.selectedOption).length?this.selectedOption.label:" "),e("span",{class:"input__suffix-label"},this.label),e("span",{class:"input__suffix-chevron"},e("dga-icon",{icon:"ArrowDown01Icon",variant:"stroke"}))),e("ul",{class:"input__dropdown-list"},this.options&&this.options.map(n=>{var t;return e("li",{key:n.value},e("button",{class:`dropdown__option ${((t=this.selectedOption)===null||t===void 0?void 0:t.value)===n.value?"selected":""}`,onClick:()=>this.handleOptionSelect(n)},e("span",{class:"dropdown__option-label"},n.label),e("span",{class:"dropdown__option-icon"},e("dga-icon",{icon:"Tick02Icon",variant:"solid"}))))})))}},[0,"dga-suffix",{type:[1],variant:[1],options:[16],label:[1],icon:[8],dpIsActive:[32],selectedOption:[32]}]);function Ch(){if(typeof customElements>"u")return;["dga-suffix","dga-icon"].forEach(n=>{switch(n){case"dga-suffix":customElements.get(n)||customElements.define(n,st);break;case"dga-icon":customElements.get(n)||w();break}})}const $h=st,Ih=Ch,lt=d(class extends l{constructor(){super(),this.__registerHost(),this.handleActive=()=>{this.disabled||this.labelRef.classList.add("active")},this.handleRemoveActive=()=>{this.labelRef.classList.remove("active"),this.isChecked=!this.isChecked},this.handleFocus=()=>{this.labelRef.classList.add("focus")},this.handleFocusOut=()=>{this.labelRef.classList.remove("focus")},this.handleEscape=n=>{if(n.key==="Escape"){this.handleFocusOut();const t=this.el.querySelector("input");t==null||t.blur()}},this.color="brand",this.label=void 0,this.checked=!1,this.hasHelperText=void 0,this.helperText=void 0,this.alertMessage=void 0,this.alertText=void 0,this.disabled=!1,this.id=this.generateGuid(),this.name=this.generateGuid(),this.value=!0,this.onChange=void 0,this.onInput=void 0,this.isChecked=this.checked}generateGuid(){return Math.random().toString(36).substr(2,9)}componentDidLoad(){window.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){window.removeEventListener("keydown",this.handleEscape)}render(){return e("label",{key:"6d6f280f8e4db24bbc2d4813f9b13c97af8ab110",ref:n=>this.labelRef=n,class:`switch ${this.color?`switch--${this.color}`:""}`,onMouseDown:this.handleActive,onChange:this.handleRemoveActive},e("div",{key:"ee5b60abcb5d14bc866417c6206265dd3a18d3af",class:"switch-main"},e("div",{key:"9502d6f878238a7c2fc7c2cae0613ac8a857f3b1",class:`switch-main__content ${this.disabled?"disabled":""}`},e("div",{key:"dfc8672aa27c28f004ed59624d4df8477ceb42b7",class:"switch-wrapper"},e("input",{key:"5bf1abe8e0b66bb59712aab813ab2681587bd00f",type:"checkbox",name:this.name,value:this.value,id:this.id,disabled:this.disabled,onFocus:this.handleFocus,onBlur:this.handleFocusOut,onChange:this.onChange,onInput:this.onInput,checked:this.isChecked}),e("span",{key:"ed58d29672a05d945a3ce3b3cc17e9fa833d1db0",class:`slider round ${this.isChecked?"slider--active":"slider--inactive"}`})),!this.hasHelperText&&!this.helperText?this.label&&e("span",{class:"switch__label"},this.label):e("div",{class:"flex-column"},e("span",{class:"switch__label"},this.label),e("span",{class:"switch__helper-text"},this.helperText))),this.alertMessage&&e("div",{key:"60db6eb0fe079146f189e221173fd00f03d7ff77",class:"switch__warning"},e("span",{key:"fcf3c737bfdf0695a999e8a02e103d522bcb2051",class:"switch__warning-icon"},e("svg",{key:"e330a2db5b666baad1ece52a8588529628892251",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},e("path",{key:"00c97b4ef4c523f6ed4427a8c8d9c704f9ae9f41",d:"M8 1.33333C4.324 1.33333 1.33333 4.324 1.33333 8C1.33333 11.676 4.324 14.6667 8 14.6667C11.676 14.6667 14.6667 11.676 14.6667 8C14.6667 4.324 11.676 1.33333 8 1.33333ZM8 13.3333C5.05467 13.3333 2.66667 10.9453 2.66667 8C2.66667 5.05467 5.05467 2.66667 8 2.66667C10.9453 2.66667 13.3333 5.05467 13.3333 8C13.3333 10.9453 10.9453 13.3333 8 13.3333ZM7.33333 4H8.66667V8H7.33333V4ZM7.33333 9.33333H8.66667V10.6667H7.33333V9.33333Z",fill:"currentColor"}))),e("span",{key:"9b35113ae91b3f530c50ff5a62007be25528da5e",class:"switch__warning-text"},this.alertText))))}get el(){return this}},[0,"dga-switch",{color:[1],label:[1],checked:[1028],hasHelperText:[4,"has-helper-text"],helperText:[1,"helper-text"],alertMessage:[4,"alert-message"],alertText:[1,"alert-text"],disabled:[4],id:[1],name:[1],value:[8],onChange:[16],onInput:[16],isChecked:[32]}]);function Ah(){if(typeof customElements>"u")return;["dga-switch"].forEach(n=>{switch(n){case"dga-switch":customElements.get(n)||customElements.define(n,lt);break}})}const Bh=lt,Ph=Ah,dt=d(class extends l{constructor(){super(),this.__registerHost(),this.data=[{selected:!0},{selected:!0}],this.rowDivider=!0,this.showSelectCheckBox=!0,this.alternate=!0,this.cells=[{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1},{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1}],this.contained=!0,this.getSelectedRows=void 0,this.pressOnFilter=void 0,this.sortedData=[],this.direction=!1}componentDidLoad(){document.dir?document.dir==="rtl"?this.direction=!0:this.direction=!1:document.documentElement.lang?document.documentElement.lang==="ar"?this.direction=!0:this.direction=!1:this.direction=!1}componentDidUpdate(){const n=[...this.data.map(t=>(t.selected=!1,t))];this.sortedData=n}render(){return e("tbody",{key:"2e912dabd58b1690964febe816a7dc7eaf6cd84c"},e("slot",{key:"070ff1fa7ba4422f17023cba9aed6f93d8eb849d"}))}},[4,"dga-table-body",{data:[16],rowDivider:[4,"row-divider"],showSelectCheckBox:[4,"show-select-check-box"],alternate:[4],cells:[16],contained:[4],getSelectedRows:[8,"get-selected-rows"],pressOnFilter:[8,"press-on-filter"],sortedData:[32],direction:[32]}]);function Dh(){if(typeof customElements>"u")return;["dga-table-body"].forEach(n=>{switch(n){case"dga-table-body":customElements.get(n)||customElements.define(n,dt);break}})}const Eh=dt,jh=Dh,ft=d(class extends l{constructor(){super(),this.__registerHost(),this.tabRefs=new Map,this.handleScroll=()=>{const n=this.getActiveDivId();n!==this.activeSectionId&&(this.activeSectionId=n||"")},this.sections=[],this.subTitle="sub",this.title="main",this.activeSectionId=""}componentWillLoad(){window.addEventListener("scroll",this.handleScroll)}disconnectedCallback(){window.removeEventListener("scroll",this.handleScroll)}moveTOSelectedId(n){try{const t=document.getElementById(n);t==null||t.scrollIntoView({behavior:"smooth"})}catch(t){console.error("Error moving to selected ID:",t)}}getActiveDivId(){const n=document.querySelectorAll("div[id]");for(const t of n){const i=t.getBoundingClientRect();if(i.top>=0&&i.left>=0&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&i.right<=(window.innerWidth||document.documentElement.clientWidth))return t.id}return null}handleAddPressed(n){const t=this.tabRefs.get(n);t==null||t.classList.add("pressed")}handleRemovePressed(n){const t=this.tabRefs.get(n);t==null||t.classList.remove("pressed")}renderTab(n){return e("li",null,e("a",{ref:t=>t&&this.tabRefs.set(n.Target,t),onClick:()=>this.moveTOSelectedId(n.Target),onMouseDown:()=>this.handleAddPressed(n.Target),onMouseUp:()=>this.handleRemovePressed(n.Target),onMouseOut:()=>this.handleRemovePressed(n.Target),class:`table-of-content__tab ${this.activeSectionId===n.Target?"table-of-content__tab-prefix":""}`},e("span",{class:"table-of-content__tab-label"},n.Name)))}renderSubTabs(n){var t;return e("ul",{class:"table-of-content__tab-sublist"},this.renderTab(n),(t=n.Children)===null||t===void 0?void 0:t.map(i=>e("ul",{class:"table-of-content__tab-sub-sublist"},this.renderTab(i))))}render(){return e("aside",{key:"817a80e660e364cdb44a9d80d46800d668b6732e",class:"table-of-content"},e("div",{key:"4be5c2be9d8d3b2612a4219ddb79ca4c710703da",class:"table-of-content__header"},e("p",{key:"aaada897ecaa9317622450b590e35542bea00ccf",class:"text-sm-regular"},this.subTitle),e("h4",{key:"402b57c2d939b76ef5b966c39856a34c0e9a9210",class:"text-xl-semibold"},this.title)),e("div",{key:"bd2294afca81556f005fbdc9437d2c0829624da0",class:"table-of-content__body"},e("ul",{key:"4f0151a8e4eb792df1bf4f357022fe21e7009b69",class:"table-of-content__tab-list"},this.sections.map(n=>n.Children?e("div",null,this.renderTab(n),n.Children.map(t=>this.renderSubTabs(t))):this.renderTab(n)))))}},[0,"dga-table-of-content",{sections:[16],subTitle:[1,"sub-title"],title:[1],activeSectionId:[32]}]);function Th(){if(typeof customElements>"u")return;["dga-table-of-content"].forEach(n=>{switch(n){case"dga-table-of-content":customElements.get(n)||customElements.define(n,ft);break}})}const Lh=ft,Rh=Th,bt=d(class extends l{constructor(){super(),this.__registerHost(),this.data=[{selected:!0},{selected:!0}],this.rowDivider=!0,this.showSelectCheckBox=!0,this.alternate=!0,this.cells=[{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1},{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1}],this.contained=!0,this.getSelectedRows=void 0,this.pressOnFilter=void 0,this.sortedData=[],this.direction=!1}componentDidLoad(){document.dir?document.dir==="rtl"?this.direction=!0:this.direction=!1:document.documentElement.lang?document.documentElement.lang==="ar"?this.direction=!0:this.direction=!1:this.direction=!1}componentDidUpdate(){const n=[...this.data.map(t=>(t.selected=!1,t))];this.sortedData=n}render(){return e("div",{key:"2e8f2acb08e8d026c419ed9bbd949194acb01850",class:`table-wrapper ${this.contained?"table-contained":""}`},e("table",{key:"a8c5cf6b3fac82c729aabd027ea7049294f1fd30",class:` azm-table ${this.contained?"table-contained":""}`,style:{direction:this.direction?"rtl":"ltr"}},e("slot",{key:"d71e84ade2c837a4669d6e7ba8b1469a9580b5f6"})))}},[4,"dga-table",{data:[16],rowDivider:[4,"row-divider"],showSelectCheckBox:[4,"show-select-check-box"],alternate:[4],cells:[16],contained:[4],getSelectedRows:[8,"get-selected-rows"],pressOnFilter:[8,"press-on-filter"],sortedData:[32],direction:[32]}]);function Oh(){if(typeof customElements>"u")return;["dga-table"].forEach(n=>{switch(n){case"dga-table":customElements.get(n)||customElements.define(n,bt);break}})}const Hh=bt,Fh=Oh,Uh=Ve,Wh=Ke,Vh=co,Kh=H,Yh=no,Gh=eo,ie={success:e("dga-icon",{icon:"CheckmarkCircle02Icon",variant:"solid"}),error:e("dga-icon",{icon:"AlertCircleIcon",variant:"solid"}),warning:e("dga-icon",{icon:"Alert02Icon",variant:"solid"})},pt=d(class extends l{constructor(){super(),this.__registerHost(),this.label=void 0,this.placeholder=void 0,this.variant="default",this.error=!1,this.feedbackIcon=!1,this.feedbackIconType="success",this.feedbackIconRing=!1,this.disabled=!1,this.readonly=!1,this.scrollbar=!0,this.resize=!0,this.cols=50,this.rows=4,this.onChange=void 0,this.onInput=void 0,this.name=x(),this.value="",this.isActive=!1,this.isFocused=!1}render(){return e("div",{key:"a5b22496a8ca28b0a5e3e8e97b6127c5f832e0d8",class:"dga-form-control"},this.label&&e("label",{key:"8a36104c41a657ef3afaf4d74db5fe6263fe3fed",class:"dga-label"},this.label),e("div",{key:"64e07dc8893d6d076a51794a1f61f55afbb5fb03",class:`textarea textarea--lg ${this.error?"textarea--error":""} ${this.variant!=="default"?`textarea--${this.variant}`:""} ${this.isActive?"active":""} ${this.isFocused?"focus":""} ${this.disabled?"disabled":""}`,ref:n=>this.inputContainerRef=n,"data-error":this.error},e("textarea",{key:"8611871320520bfce39d2d8c5354357a1007e4ff",onFocus:()=>this.isFocused=!0,onBlur:()=>this.isFocused=!1,class:`textarea__field ${this.resize?"textarea__field--resize":""} ${this.scrollbar?"":"textarea__field--hidden-scrollbar"}`,placeholder:this.placeholder,disabled:this.disabled,readOnly:this.readonly,rows:this.rows&&this.rows,cols:this.cols&&this.cols,onMouseDown:()=>this.isActive=!0,onMouseUp:()=>this.isActive=!1,onMouseOut:()=>this.isActive=!1,onChange:this.onChange,onInput:this.onInput,name:this.name,value:this.value}),this.error?e("span",{class:`textarea__feedback-icon textarea__feedback-icon--error ${this.feedbackIconRing?"textarea__feedback-icon--ring":""}`},ie.error):this.feedbackIcon?e("span",{class:`textarea__feedback-icon textarea__feedback-icon--${this.feedbackIconType} ${this.feedbackIconRing?"textarea__feedback-icon--ring":""}`},ie[this.feedbackIconType]):null))}},[0,"dga-textarea",{label:[1],placeholder:[1],variant:[1],error:[4],feedbackIcon:[4,"feedback-icon"],feedbackIconType:[1,"feedback-icon-type"],feedbackIconRing:[4,"feedback-icon-ring"],disabled:[4],readonly:[4],scrollbar:[4],resize:[4],cols:[2],rows:[2],onChange:[16],onInput:[16],name:[1],value:[1],isActive:[32],isFocused:[32]}]);function Nh(){if(typeof customElements>"u")return;["dga-textarea","dga-icon"].forEach(n=>{switch(n){case"dga-textarea":customElements.get(n)||customElements.define(n,pt);break;case"dga-icon":customElements.get(n)||w();break}})}const Xh=pt,Zh=Nh,Jh=et,Qh=ot,nc=`@charset "UTF-8";
240370
240370
  /*
240371
240371
  0 - 600px: Phone
240372
240372
  600 - 900px: Tablet portrait
@@ -244047,8 +244047,8 @@ a:focus {
244047
244047
  .floating-button-btn:disabled:active, .floating-button-btn[disabled]:active {
244048
244048
  background-color: var(--disabled-color, #e5e7eb);
244049
244049
  outline: none;
244050
- }`,ec=nc,ut=d(class extends l{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.buttonClick=$(this,"buttonClick",7),this.label="Button",this.RTL=!1,this.variant="primary-brand",this.size="small",this.icon="plus-sign",this.onColor=!1,this.disabled=!1,this.iconOnly=!1,this.iconProps={type:"rounded",variant:"stroke"}}handleClick(n){this.disabled||this.buttonClick.emit(n)}renderIcon(n,t){return e("dga-icon",Object.assign({icon:n},t))}render(){return e("button",{key:"717e6964189daa6d969adb842072aef478fc4094",dir:this.RTL?"rtl":"ltr",disabled:this.disabled,class:`floating-button-onColor-${this.onColor} floating-button-btn ${this.variant} ${this.size} `,onClick:n=>this.handleClick(n)},this.icon&&e("div",{key:"719f45d20dd99c7635093fafc3ba06049337acff",class:"floating-button-icon"},this.renderIcon(this.icon,this.iconProps)),this.label&&!this.iconOnly&&e("p",{key:"f7f5836943d58015da58d4ae6ab7385f57623cc0"},this.label))}static get style(){return ec}},[1,"floating-button",{label:[1],RTL:[4,"r-t-l"],variant:[1],size:[1],icon:[1],onColor:[4,"on-color"],disabled:[4],iconOnly:[4,"icon-only"],iconProps:[16]}]);function oc(){if(typeof customElements>"u")return;["floating-button","dga-icon"].forEach(n=>{switch(n){case"floating-button":customElements.get(n)||customElements.define(n,ut);break;case"dga-icon":customElements.get(n)||w();break}})}const tc=ut,ic=oc,kt=d(class extends l{constructor(){super(),this.__registerHost(),this.width=330,this.height=66,this.strokeColor="#067647",this.fillColor="#079455",this.strokeWidth=2,this.opacity=.2,this.data=[]}generatePath(){if(!this.data||this.data.length===0)return"";const n=Math.max(...this.data),t=Math.min(...this.data),i=this.height/(n-t),r=this.width/(this.data.length-1);return this.data.map((a,g)=>{const h=g*r,c=this.height-(a-t)*i;return`${g===0?"M":"L"} ${h} ${c}`}).join(" ")}render(){const n=this.generatePath();return e("svg",{key:"517673289d33d4eb246680f4f199bbc7f2e9f6d3",width:this.width,height:this.height,viewBox:`0 0 ${this.width} ${this.height}`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("mask",{key:"089484768ddd05ca8f4fbb1e38ca03fe33cc5468",id:"mask0",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:this.width-2,height:this.height-2},e("rect",{key:"6117492ea4813ebebe3d83b3c1848bf7ea12fe79",width:this.width-2,height:this.height-2,transform:"translate(1 1)",fill:"url(#paint0_linear)"})),e("g",{key:"84d7c4198088f1d90d131889f5309a55ec570e70",mask:"url(#mask0)"},e("path",{key:"ee6482c6147b00cc6fc286c3c866394aa79e2118",d:n,fill:this.fillColor,opacity:this.opacity})),e("path",{key:"70eca34beec4af5a1436a91085342e71eb72f657",d:n,stroke:this.strokeColor,"stroke-width":this.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"}),e("defs",{key:"fb8f3842ede58ebb8c12482a708c8a06292130cb"},e("linearGradient",{key:"00e2feb2975dac3fbc596c7299609fdc364cf583",id:"paint0_linear",x1:"164",y1:"0",x2:"164",y2:"64",gradientUnits:"userSpaceOnUse"},e("stop",{key:"abf470b852ac346fa3c270be31a2e68eab5b083f"}),e("stop",{key:"831517fe0385cb6e15d424d5c45dd2b2b2a380ad",offset:"1","stop-opacity":"0"}))))}},[0,"reusable-chart",{width:[2],height:[2],strokeColor:[1,"stroke-color"],fillColor:[1,"fill-color"],strokeWidth:[2,"stroke-width"],opacity:[2],data:[16]}]);function rc(){if(typeof customElements>"u")return;["reusable-chart"].forEach(n=>{switch(n){case"reusable-chart":customElements.get(n)||customElements.define(n,kt);break}})}const ac=kt,gc=rc,hc=po,cc=uo,mt=d(class extends l{constructor(){super(),this.__registerHost(),this.translateX=0}render(){return e("div",{key:"425bdbddadec76ae8bfabbe316d2b9354690b891",class:"slider-list",style:{transform:`translateX(-${this.translateX}%)`,transition:"transform 1s ease-in-out"}},e("slot",{key:"a8c168ad9356cdde792de0a1d67791bf25cc3682"}))}},[4,"slider-list",{translateX:[2,"translate-x"]}]);function sc(){if(typeof customElements>"u")return;["slider-list"].forEach(n=>{switch(n){case"slider-list":customElements.get(n)||customElements.define(n,mt);break}})}const lc=mt,dc=sc,vt=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"e025939cf1c617c6e594968fe33a5b34e1f908ad",class:"slider-track"},e("slot",{key:"77c7780dc60df122245cb8c6efd8a8559cf9589a"}))}},[4,"slider-track"]);function fc(){if(typeof customElements>"u")return;["slider-track"].forEach(n=>{switch(n){case"slider-track":customElements.get(n)||customElements.define(n,vt);break}})}const bc=vt,pc=fc,wt=d(class extends l{constructor(){super(),this.__registerHost(),this.padding="0px 0px",this.margin="0px 0px"}render(){return e("div",{key:"e28dc6c4ec69b7da08fdf743745e0e25cd9527fd",style:{position:"relative",padding:this.padding,margin:this.margin}},e("slot",{key:"607989f148d40fa7182394a0359353044a234457"}))}},[4,"slider-wrapper",{padding:[1],margin:[1]}]);function uc(){if(typeof customElements>"u")return;["slider-wrapper"].forEach(n=>{switch(n){case"slider-wrapper":customElements.get(n)||customElements.define(n,wt);break}})}const kc=wt,mc=uc,vc=fo,wc=G,xc=bo,yc=An,_c=lo,qc=Y;/**
244050
+ }`,ec=nc,ut=d(class extends l{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.buttonClick=$(this,"buttonClick",7),this.label="Button",this.RTL=!1,this.variant="primary-brand",this.size="small",this.icon="plus-sign",this.onColor=!1,this.disabled=!1,this.iconOnly=!1,this.iconProps={type:"rounded",variant:"stroke"}}handleClick(n){this.disabled||this.buttonClick.emit(n)}renderIcon(n,t){return e("dga-icon",Object.assign({icon:n},t))}render(){return e("button",{key:"ec5fe8023c08d873c534d0830db50b5ed14f928c",dir:this.RTL?"rtl":"ltr",disabled:this.disabled,class:`floating-button-onColor-${this.onColor} floating-button-btn ${this.variant} ${this.size} `,onClick:n=>this.handleClick(n)},this.icon&&e("div",{key:"ee76e328d03f589530a202101a930b0225c3f8f0",class:"floating-button-icon"},this.renderIcon(this.icon,this.iconProps)),this.label&&!this.iconOnly&&e("p",{key:"4a9a2409210f0ccbd23476a2c722b443b3277fcf"},this.label))}static get style(){return ec}},[1,"floating-button",{label:[1],RTL:[4,"r-t-l"],variant:[1],size:[1],icon:[1],onColor:[4,"on-color"],disabled:[4],iconOnly:[4,"icon-only"],iconProps:[16]}]);function oc(){if(typeof customElements>"u")return;["floating-button","dga-icon"].forEach(n=>{switch(n){case"floating-button":customElements.get(n)||customElements.define(n,ut);break;case"dga-icon":customElements.get(n)||w();break}})}const tc=ut,ic=oc,kt=d(class extends l{constructor(){super(),this.__registerHost(),this.width=330,this.height=66,this.strokeColor="#067647",this.fillColor="#079455",this.strokeWidth=2,this.opacity=.2,this.data=[]}generatePath(){if(!this.data||this.data.length===0)return"";const n=Math.max(...this.data),t=Math.min(...this.data),i=this.height/(n-t),r=this.width/(this.data.length-1);return this.data.map((a,g)=>{const h=g*r,c=this.height-(a-t)*i;return`${g===0?"M":"L"} ${h} ${c}`}).join(" ")}render(){const n=this.generatePath();return e("svg",{key:"517673289d33d4eb246680f4f199bbc7f2e9f6d3",width:this.width,height:this.height,viewBox:`0 0 ${this.width} ${this.height}`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("mask",{key:"089484768ddd05ca8f4fbb1e38ca03fe33cc5468",id:"mask0",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:this.width-2,height:this.height-2},e("rect",{key:"6117492ea4813ebebe3d83b3c1848bf7ea12fe79",width:this.width-2,height:this.height-2,transform:"translate(1 1)",fill:"url(#paint0_linear)"})),e("g",{key:"84d7c4198088f1d90d131889f5309a55ec570e70",mask:"url(#mask0)"},e("path",{key:"ee6482c6147b00cc6fc286c3c866394aa79e2118",d:n,fill:this.fillColor,opacity:this.opacity})),e("path",{key:"70eca34beec4af5a1436a91085342e71eb72f657",d:n,stroke:this.strokeColor,"stroke-width":this.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"}),e("defs",{key:"fb8f3842ede58ebb8c12482a708c8a06292130cb"},e("linearGradient",{key:"00e2feb2975dac3fbc596c7299609fdc364cf583",id:"paint0_linear",x1:"164",y1:"0",x2:"164",y2:"64",gradientUnits:"userSpaceOnUse"},e("stop",{key:"abf470b852ac346fa3c270be31a2e68eab5b083f"}),e("stop",{key:"831517fe0385cb6e15d424d5c45dd2b2b2a380ad",offset:"1","stop-opacity":"0"}))))}},[0,"reusable-chart",{width:[2],height:[2],strokeColor:[1,"stroke-color"],fillColor:[1,"fill-color"],strokeWidth:[2,"stroke-width"],opacity:[2],data:[16]}]);function rc(){if(typeof customElements>"u")return;["reusable-chart"].forEach(n=>{switch(n){case"reusable-chart":customElements.get(n)||customElements.define(n,kt);break}})}const ac=kt,gc=rc,hc=bo,cc=po,mt=d(class extends l{constructor(){super(),this.__registerHost(),this.translateX=0}render(){return e("div",{key:"77c761ac67cc9685669945c9130e12d22c14f7ed",class:"slider-list",style:{transform:`translateX(-${this.translateX}%)`,transition:"transform 1s ease-in-out"}},e("slot",{key:"1c255b9bd24c55487e879c4bbb19eb47f47223ff"}))}},[4,"slider-list",{translateX:[2,"translate-x"]}]);function sc(){if(typeof customElements>"u")return;["slider-list"].forEach(n=>{switch(n){case"slider-list":customElements.get(n)||customElements.define(n,mt);break}})}const lc=mt,dc=sc,vt=d(class extends l{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"3251572781b07158c7e8fcb0dab317338dfa014b",class:"slider-track"},e("slot",{key:"83de3fcc803dc09604a389f88c7ce07134da682d"}))}},[4,"slider-track"]);function fc(){if(typeof customElements>"u")return;["slider-track"].forEach(n=>{switch(n){case"slider-track":customElements.get(n)||customElements.define(n,vt);break}})}const bc=vt,pc=fc,wt=d(class extends l{constructor(){super(),this.__registerHost(),this.padding="0px 0px",this.margin="0px 0px"}render(){return e("div",{key:"756fc438bfae9267d97437a3e2c1ca6213387994",style:{position:"relative",padding:this.padding,margin:this.margin}},e("slot",{key:"824835d9319f39974e3849b84781ff8c815041c7"}))}},[4,"slider-wrapper",{padding:[1],margin:[1]}]);function uc(){if(typeof customElements>"u")return;["slider-wrapper"].forEach(n=>{switch(n){case"slider-wrapper":customElements.get(n)||customElements.define(n,wt);break}})}const kc=wt,mc=uc,vc=lo,wc=G,xc=fo,yc=An,_c=so,qc=Y;/**
244051
244051
  * @license
244052
244052
  * Copyright 2018 Google LLC
244053
244053
  * SPDX-License-Identifier: BSD-3-Clause
244054
- */const zc=new Set(["children","localName","ref","style","className"]),ae=new WeakMap,ge=(o,n,t,i,r)=>{const a=r==null?void 0:r[n];a===void 0?(o[n]=t,t==null&&n in HTMLElement.prototype&&o.removeAttribute(n)):t!==i&&((g,h,c)=>{let k=ae.get(g);k===void 0&&ae.set(g,k=new Map);let b=k.get(h);c!==void 0?b===void 0?(k.set(h,b={handleEvent:c}),g.addEventListener(h,b)):b.handleEvent=c:b!==void 0&&(k.delete(h),g.removeEventListener(h,b))})(o,a,t)},Sc=({react:o,tagName:n,elementClass:t,events:i,displayName:r})=>{const a=new Set(Object.keys(i??{})),g=o.forwardRef((h,c)=>{const k=o.useRef(new Map),b=o.useRef(null),u={},p={};for(const[m,v]of Object.entries(h))zc.has(m)?u[m==="className"?"class":m]=v:a.has(m)||m in t.prototype?p[m]=v:u[m]=v;return o.useLayoutEffect(()=>{if(b.current===null)return;const m=new Map;for(const v in p)ge(b.current,v,h[v],k.current.get(v),i),k.current.delete(v),m.set(v,h[v]);for(const[v,_]of k.current)ge(b.current,v,void 0,_,i);k.current=m}),o.useLayoutEffect(()=>{var m;(m=b.current)==null||m.removeAttribute("defer-hydration")},[]),u.suppressHydrationWarning=!0,o.createElement(n,{...u,ref:o.useCallback(m=>{b.current=m,typeof c=="function"?c(m):c!==null&&(c.current=m)},[c])})});return g.displayName=r??t.name,g},f=({defineCustomElement:o,...n})=>(typeof o<"u"&&o(),Sc(n)),Mc=f({tagName:"card-wrapper",elementClass:di,react:s,events:{},defineCustomElement:fi}),Cc=f({tagName:"date-cell",elementClass:ui,react:s,events:{},defineCustomElement:ki}),$c=f({tagName:"dga-accordion",elementClass:vi,react:s,events:{},defineCustomElement:wi}),Ic=f({tagName:"dga-avatar",elementClass:yi,react:s,events:{},defineCustomElement:_i}),Ac=f({tagName:"dga-breadcrumbs",elementClass:Mi,react:s,events:{onBreadcrumbClick:"breadcrumbClick"},defineCustomElement:Ci}),Bc=f({tagName:"dga-breadcrumbs-usage",elementClass:zi,react:s,events:{},defineCustomElement:Si}),Pc=f({tagName:"dga-button",elementClass:$i,react:s,events:{onOnClick:"onClick"},defineCustomElement:Ii}),Dc=f({tagName:"dga-card",elementClass:Ai,react:s,events:{},defineCustomElement:Bi}),Ec=f({tagName:"dga-carousel-item-v2",elementClass:ji,react:s,events:{},defineCustomElement:Ti}),jc=f({tagName:"dga-carousel-slider-usage",elementClass:Oi,react:s,events:{},defineCustomElement:Ri}),Tc=f({tagName:"dga-carousel-v2",elementClass:Ki,react:s,events:{},defineCustomElement:Yi}),Lc=f({tagName:"dga-carousel-v2-usage",elementClass:Wi,react:s,events:{},defineCustomElement:Vi}),Oc=f({tagName:"dga-chart",elementClass:Gi,react:s,events:{},defineCustomElement:Ni}),Rc=f({tagName:"dga-checkbox",elementClass:Xi,react:s,events:{},defineCustomElement:Zi}),Hc=f({tagName:"dga-chip",elementClass:Qi,react:s,events:{},defineCustomElement:nr}),Fc=f({tagName:"dga-circular-progress-bar",elementClass:or,react:s,events:{},defineCustomElement:tr}),Uc=f({tagName:"dga-codesnippet",elementClass:gr,react:s,events:{},defineCustomElement:hr}),Wc=f({tagName:"dga-content-switcher",elementClass:fr,react:s,events:{},defineCustomElement:br}),Vc=f({tagName:"dga-content-switcher-item",elementClass:sr,react:s,events:{},defineCustomElement:lr}),Kc=f({tagName:"dga-data-table",elementClass:wr,react:s,events:{},defineCustomElement:xr}),Yc=f({tagName:"dga-data-table-updated",elementClass:ur,react:s,events:{},defineCustomElement:kr}),Gc=f({tagName:"dga-datepicker",elementClass:zr,react:s,events:{},defineCustomElement:Sr}),Nc=f({tagName:"dga-divider",elementClass:Cr,react:s,events:{},defineCustomElement:$r}),Xc=f({tagName:"dga-drawer",elementClass:Pr,react:s,events:{},defineCustomElement:Dr}),Zc=f({tagName:"dga-dropdown",elementClass:jr,react:s,events:{},defineCustomElement:Tr}),Jc=f({tagName:"dga-featured-icon",elementClass:Or,react:s,events:{},defineCustomElement:Rr}),Qc=f({tagName:"dga-file-upload",elementClass:Fr,react:s,events:{},defineCustomElement:Ur}),ns=f({tagName:"dga-footer",elementClass:Yr,react:s,events:{},defineCustomElement:Gr}),es=f({tagName:"dga-header",elementClass:ga,react:s,events:{},defineCustomElement:ha}),os=f({tagName:"dga-header-action-btn",elementClass:Xr,react:s,events:{},defineCustomElement:Zr}),ts=f({tagName:"dga-helper-text",elementClass:ca,react:s,events:{},defineCustomElement:sa}),is=f({tagName:"dga-html-tag",elementClass:da,react:s,events:{},defineCustomElement:fa}),rs=f({tagName:"dga-icon",elementClass:ba,react:s,events:{},defineCustomElement:pa}),as=f({tagName:"dga-inline-alert",elementClass:ka,react:s,events:{},defineCustomElement:ma}),gs=f({tagName:"dga-label",elementClass:va,react:s,events:{},defineCustomElement:wa}),hs=f({tagName:"dga-link",elementClass:ya,react:s,events:{onOnClick:"onClick"},defineCustomElement:_a}),cs=f({tagName:"dga-list",elementClass:ja,react:s,events:{},defineCustomElement:Ta}),ss=f({tagName:"dga-list-item",elementClass:Sa,react:s,events:{},defineCustomElement:Ma}),ls=f({tagName:"dga-list-usage",elementClass:Aa,react:s,events:{},defineCustomElement:Ba}),ds=f({tagName:"dga-list-v2",elementClass:Pa,react:s,events:{},defineCustomElement:Da}),fs=f({tagName:"dga-loading",elementClass:La,react:s,events:{},defineCustomElement:Oa}),bs=f({tagName:"dga-local-icon",elementClass:Ha,react:s,events:{},defineCustomElement:Fa}),ps=f({tagName:"dga-menu",elementClass:Qa,react:s,events:{},defineCustomElement:ng}),us=f({tagName:"dga-menu-group",elementClass:Wa,react:s,events:{},defineCustomElement:Va}),ks=f({tagName:"dga-menu-item",elementClass:Ya,react:s,events:{},defineCustomElement:Ga}),ms=f({tagName:"dga-menu-list",elementClass:Xa,react:s,events:{},defineCustomElement:Za}),vs=f({tagName:"dga-metric",elementClass:og,react:s,events:{},defineCustomElement:tg}),ws=f({tagName:"dga-modal",elementClass:rg,react:s,events:{},defineCustomElement:ag}),xs=f({tagName:"dga-nav-header",elementClass:_g,react:s,events:{},defineCustomElement:qg}),ys=f({tagName:"dga-nav-header-actions",elementClass:gg,react:s,events:{},defineCustomElement:hg}),_s=f({tagName:"dga-nav-header-link",elementClass:cg,react:s,events:{onLinkClicked:"linkClicked"},defineCustomElement:sg}),qs=f({tagName:"dga-nav-header-logos",elementClass:lg,react:s,events:{},defineCustomElement:dg}),zs=f({tagName:"dga-nav-header-main",elementClass:fg,react:s,events:{onToggleCollapsed:"toggleCollapsed"},defineCustomElement:bg}),Ss=f({tagName:"dga-nav-header-menu",elementClass:pg,react:s,events:{},defineCustomElement:ug}),Ms=f({tagName:"dga-nav-header-sub-menu",elementClass:xg,react:s,events:{},defineCustomElement:yg}),Cs=f({tagName:"dga-nav-header-sub-menu-column",elementClass:kg,react:s,events:{},defineCustomElement:mg}),$s=f({tagName:"dga-nav-header-sub-menu-link",elementClass:vg,react:s,events:{},defineCustomElement:wg}),Is=f({tagName:"dga-notification",elementClass:Ig,react:s,events:{},defineCustomElement:Ag}),As=f({tagName:"dga-notification-toast",elementClass:Mg,react:s,events:{},defineCustomElement:Cg}),Bs=f({tagName:"dga-pagination",elementClass:Pg,react:s,events:{},defineCustomElement:Dg}),Ps=f({tagName:"dga-prefix",elementClass:jg,react:s,events:{onOnSelect:"onSelect"},defineCustomElement:Tg}),Ds=f({tagName:"dga-progress-bar",elementClass:Hg,react:s,events:{},defineCustomElement:Fg}),Es=f({tagName:"dga-progress-indicator",elementClass:Ng,react:s,events:{},defineCustomElement:Xg}),js=f({tagName:"dga-progress-indicator-step",elementClass:Ug,react:s,events:{},defineCustomElement:Wg}),Ts=f({tagName:"dga-progress-indicator-v2",elementClass:Kg,react:s,events:{},defineCustomElement:Yg}),Ls=f({tagName:"dga-radio-button",elementClass:nh,react:s,events:{},defineCustomElement:eh}),Os=f({tagName:"dga-radio-button-usage",elementClass:Jg,react:s,events:{},defineCustomElement:Qg}),Rs=f({tagName:"dga-rating",elementClass:rh,react:s,events:{},defineCustomElement:ah}),Hs=f({tagName:"dga-search-box",elementClass:hh,react:s,events:{onOnChange:"onChange",onOnBlur:"onBlur"},defineCustomElement:ch}),Fs=f({tagName:"dga-second-nav-header",elementClass:wh,react:s,events:{},defineCustomElement:xh}),Us=f({tagName:"dga-second-nav-header-actions",elementClass:lh,react:s,events:{},defineCustomElement:dh}),Ws=f({tagName:"dga-second-nav-header-content",elementClass:bh,react:s,events:{},defineCustomElement:ph}),Vs=f({tagName:"dga-second-nav-header-item",elementClass:kh,react:s,events:{},defineCustomElement:mh}),Ks=f({tagName:"dga-slider",elementClass:_h,react:s,events:{},defineCustomElement:qh}),Ys=f({tagName:"dga-structured-list",elementClass:Sh,react:s,events:{},defineCustomElement:Mh}),Gs=f({tagName:"dga-suffix",elementClass:$h,react:s,events:{onOnSelect:"onSelect"},defineCustomElement:Ih}),Ns=f({tagName:"dga-switch",elementClass:Bh,react:s,events:{},defineCustomElement:Ph}),Xs=f({tagName:"dga-table",elementClass:Hh,react:s,events:{},defineCustomElement:Fh}),Zs=f({tagName:"dga-table-body",elementClass:Eh,react:s,events:{},defineCustomElement:jh}),Js=f({tagName:"dga-table-of-content",elementClass:Lh,react:s,events:{},defineCustomElement:Oh}),Qs=f({tagName:"dga-tabs",elementClass:Uh,react:s,events:{},defineCustomElement:Wh}),nl=f({tagName:"dga-tag",elementClass:Vh,react:s,events:{},defineCustomElement:Kh}),el=f({tagName:"dga-text-input",elementClass:Yh,react:s,events:{},defineCustomElement:Gh}),ol=f({tagName:"dga-textarea",elementClass:Xh,react:s,events:{},defineCustomElement:Zh}),tl=f({tagName:"dga-tooltip",elementClass:Jh,react:s,events:{},defineCustomElement:Qh}),il=f({tagName:"floating-button",elementClass:tc,react:s,events:{onButtonClick:"buttonClick"},defineCustomElement:ic}),rl=f({tagName:"reusable-chart",elementClass:ac,react:s,events:{},defineCustomElement:gc}),al=f({tagName:"side-panel-menu",elementClass:hc,react:s,events:{},defineCustomElement:cc}),gl=f({tagName:"slider-list",elementClass:lc,react:s,events:{},defineCustomElement:dc}),hl=f({tagName:"slider-track",elementClass:bc,react:s,events:{},defineCustomElement:pc}),cl=f({tagName:"slider-wrapper",elementClass:kc,react:s,events:{},defineCustomElement:mc}),sl=f({tagName:"submenu-component",elementClass:vc,react:s,events:{},defineCustomElement:wc}),ll=f({tagName:"tab-component",elementClass:xc,react:s,events:{},defineCustomElement:yc}),dl=f({tagName:"tab-link",elementClass:_c,react:s,events:{},defineCustomElement:qc});exports.CardWrapper=Mc;exports.DateCell=Cc;exports.DgaAccordion=$c;exports.DgaAvatar=Ic;exports.DgaBreadcrumbs=Ac;exports.DgaBreadcrumbsUsage=Bc;exports.DgaButton=Pc;exports.DgaCard=Dc;exports.DgaCarouselItemV2=Ec;exports.DgaCarouselSliderUsage=jc;exports.DgaCarouselV2=Tc;exports.DgaCarouselV2Usage=Lc;exports.DgaChart=Oc;exports.DgaCheckbox=Rc;exports.DgaChip=Hc;exports.DgaCircularProgressBar=Fc;exports.DgaCodesnippet=Uc;exports.DgaContentSwitcher=Wc;exports.DgaContentSwitcherItem=Vc;exports.DgaDataTable=Kc;exports.DgaDataTableUpdated=Yc;exports.DgaDatepicker=Gc;exports.DgaDivider=Nc;exports.DgaDrawer=Xc;exports.DgaDropdown=Zc;exports.DgaFeaturedIcon=Jc;exports.DgaFileUpload=Qc;exports.DgaFooter=ns;exports.DgaHeader=es;exports.DgaHeaderActionBtn=os;exports.DgaHelperText=ts;exports.DgaHtmlTag=is;exports.DgaIcon=rs;exports.DgaInlineAlert=as;exports.DgaLabel=gs;exports.DgaLink=hs;exports.DgaList=cs;exports.DgaListItem=ss;exports.DgaListUsage=ls;exports.DgaListV2=ds;exports.DgaLoading=fs;exports.DgaLocalIcon=bs;exports.DgaMenu=ps;exports.DgaMenuGroup=us;exports.DgaMenuItem=ks;exports.DgaMenuList=ms;exports.DgaMetric=vs;exports.DgaModal=ws;exports.DgaNavHeader=xs;exports.DgaNavHeaderActions=ys;exports.DgaNavHeaderLink=_s;exports.DgaNavHeaderLogos=qs;exports.DgaNavHeaderMain=zs;exports.DgaNavHeaderMenu=Ss;exports.DgaNavHeaderSubMenu=Ms;exports.DgaNavHeaderSubMenuColumn=Cs;exports.DgaNavHeaderSubMenuLink=$s;exports.DgaNotification=Is;exports.DgaNotificationToast=As;exports.DgaPagination=Bs;exports.DgaPrefix=Ps;exports.DgaProgressBar=Ds;exports.DgaProgressIndicator=Es;exports.DgaProgressIndicatorStep=js;exports.DgaProgressIndicatorV2=Ts;exports.DgaRadioButton=Ls;exports.DgaRadioButtonUsage=Os;exports.DgaRating=Rs;exports.DgaSearchBox=Hs;exports.DgaSecondNavHeader=Fs;exports.DgaSecondNavHeaderActions=Us;exports.DgaSecondNavHeaderContent=Ws;exports.DgaSecondNavHeaderItem=Vs;exports.DgaSlider=Ks;exports.DgaStructuredList=Ys;exports.DgaSuffix=Gs;exports.DgaSwitch=Ns;exports.DgaTable=Xs;exports.DgaTableBody=Zs;exports.DgaTableOfContent=Js;exports.DgaTabs=Qs;exports.DgaTag=nl;exports.DgaTextInput=el;exports.DgaTextarea=ol;exports.DgaTooltip=tl;exports.FloatingButton=il;exports.ReusableChart=rl;exports.SidePanelMenu=al;exports.SliderList=gl;exports.SliderTrack=hl;exports.SliderWrapper=cl;exports.SubmenuComponent=sl;exports.TabComponent=ll;exports.TabLink=dl;
244054
+ */const zc=new Set(["children","localName","ref","style","className"]),re=new WeakMap,ae=(o,n,t,i,r)=>{const a=r==null?void 0:r[n];a===void 0?(o[n]=t,t==null&&n in HTMLElement.prototype&&o.removeAttribute(n)):t!==i&&((g,h,c)=>{let k=re.get(g);k===void 0&&re.set(g,k=new Map);let b=k.get(h);c!==void 0?b===void 0?(k.set(h,b={handleEvent:c}),g.addEventListener(h,b)):b.handleEvent=c:b!==void 0&&(k.delete(h),g.removeEventListener(h,b))})(o,a,t)},Sc=({react:o,tagName:n,elementClass:t,events:i,displayName:r})=>{const a=new Set(Object.keys(i??{})),g=o.forwardRef((h,c)=>{const k=o.useRef(new Map),b=o.useRef(null),u={},p={};for(const[m,v]of Object.entries(h))zc.has(m)?u[m==="className"?"class":m]=v:a.has(m)||m in t.prototype?p[m]=v:u[m]=v;return o.useLayoutEffect(()=>{if(b.current===null)return;const m=new Map;for(const v in p)ae(b.current,v,h[v],k.current.get(v),i),k.current.delete(v),m.set(v,h[v]);for(const[v,_]of k.current)ae(b.current,v,void 0,_,i);k.current=m}),o.useLayoutEffect(()=>{var m;(m=b.current)==null||m.removeAttribute("defer-hydration")},[]),u.suppressHydrationWarning=!0,o.createElement(n,{...u,ref:o.useCallback(m=>{b.current=m,typeof c=="function"?c(m):c!==null&&(c.current=m)},[c])})});return g.displayName=r??t.name,g},f=({defineCustomElement:o,...n})=>(typeof o<"u"&&o(),Sc(n)),Mc=f({tagName:"card-wrapper",elementClass:di,react:s,events:{},defineCustomElement:fi}),Cc=f({tagName:"date-cell",elementClass:ui,react:s,events:{},defineCustomElement:ki}),$c=f({tagName:"dga-accordion",elementClass:vi,react:s,events:{},defineCustomElement:wi}),Ic=f({tagName:"dga-avatar",elementClass:yi,react:s,events:{},defineCustomElement:_i}),Ac=f({tagName:"dga-breadcrumbs",elementClass:Mi,react:s,events:{onBreadcrumbClick:"breadcrumbClick"},defineCustomElement:Ci}),Bc=f({tagName:"dga-breadcrumbs-usage",elementClass:zi,react:s,events:{},defineCustomElement:Si}),Pc=f({tagName:"dga-button",elementClass:$i,react:s,events:{onOnClick:"onClick"},defineCustomElement:Ii}),Dc=f({tagName:"dga-card",elementClass:Ai,react:s,events:{},defineCustomElement:Bi}),Ec=f({tagName:"dga-carousel-item-v2",elementClass:ji,react:s,events:{},defineCustomElement:Ti}),jc=f({tagName:"dga-carousel-slider-usage",elementClass:Ri,react:s,events:{},defineCustomElement:Oi}),Tc=f({tagName:"dga-carousel-v2",elementClass:Ki,react:s,events:{},defineCustomElement:Yi}),Lc=f({tagName:"dga-carousel-v2-usage",elementClass:Wi,react:s,events:{},defineCustomElement:Vi}),Rc=f({tagName:"dga-chart",elementClass:Gi,react:s,events:{},defineCustomElement:Ni}),Oc=f({tagName:"dga-checkbox",elementClass:Xi,react:s,events:{},defineCustomElement:Zi}),Hc=f({tagName:"dga-chip",elementClass:Qi,react:s,events:{},defineCustomElement:nr}),Fc=f({tagName:"dga-circular-progress-bar",elementClass:or,react:s,events:{},defineCustomElement:tr}),Uc=f({tagName:"dga-codesnippet",elementClass:gr,react:s,events:{},defineCustomElement:hr}),Wc=f({tagName:"dga-content-switcher",elementClass:fr,react:s,events:{},defineCustomElement:br}),Vc=f({tagName:"dga-content-switcher-item",elementClass:sr,react:s,events:{},defineCustomElement:lr}),Kc=f({tagName:"dga-data-table",elementClass:wr,react:s,events:{},defineCustomElement:xr}),Yc=f({tagName:"dga-data-table-updated",elementClass:ur,react:s,events:{},defineCustomElement:kr}),Gc=f({tagName:"dga-datepicker",elementClass:zr,react:s,events:{},defineCustomElement:Sr}),Nc=f({tagName:"dga-divider",elementClass:Cr,react:s,events:{},defineCustomElement:$r}),Xc=f({tagName:"dga-drawer",elementClass:Pr,react:s,events:{},defineCustomElement:Dr}),Zc=f({tagName:"dga-dropdown",elementClass:jr,react:s,events:{},defineCustomElement:Tr}),Jc=f({tagName:"dga-featured-icon",elementClass:Rr,react:s,events:{},defineCustomElement:Or}),Qc=f({tagName:"dga-file-upload",elementClass:Fr,react:s,events:{},defineCustomElement:Ur}),ns=f({tagName:"dga-footer",elementClass:Yr,react:s,events:{},defineCustomElement:Gr}),es=f({tagName:"dga-header",elementClass:ga,react:s,events:{},defineCustomElement:ha}),os=f({tagName:"dga-header-action-btn",elementClass:Xr,react:s,events:{},defineCustomElement:Zr}),ts=f({tagName:"dga-helper-text",elementClass:ca,react:s,events:{},defineCustomElement:sa}),is=f({tagName:"dga-html-tag",elementClass:da,react:s,events:{},defineCustomElement:fa}),rs=f({tagName:"dga-icon",elementClass:ba,react:s,events:{},defineCustomElement:pa}),as=f({tagName:"dga-inline-alert",elementClass:ka,react:s,events:{},defineCustomElement:ma}),gs=f({tagName:"dga-label",elementClass:va,react:s,events:{},defineCustomElement:wa}),hs=f({tagName:"dga-link",elementClass:ya,react:s,events:{onOnClick:"onClick"},defineCustomElement:_a}),cs=f({tagName:"dga-list",elementClass:ja,react:s,events:{},defineCustomElement:Ta}),ss=f({tagName:"dga-list-item",elementClass:Sa,react:s,events:{},defineCustomElement:Ma}),ls=f({tagName:"dga-list-usage",elementClass:Aa,react:s,events:{},defineCustomElement:Ba}),ds=f({tagName:"dga-list-v2",elementClass:Pa,react:s,events:{},defineCustomElement:Da}),fs=f({tagName:"dga-loading",elementClass:La,react:s,events:{},defineCustomElement:Ra}),bs=f({tagName:"dga-local-icon",elementClass:Ha,react:s,events:{},defineCustomElement:Fa}),ps=f({tagName:"dga-menu",elementClass:Qa,react:s,events:{},defineCustomElement:ng}),us=f({tagName:"dga-menu-group",elementClass:Wa,react:s,events:{},defineCustomElement:Va}),ks=f({tagName:"dga-menu-item",elementClass:Ya,react:s,events:{},defineCustomElement:Ga}),ms=f({tagName:"dga-menu-list",elementClass:Xa,react:s,events:{},defineCustomElement:Za}),vs=f({tagName:"dga-metric",elementClass:og,react:s,events:{},defineCustomElement:tg}),ws=f({tagName:"dga-modal",elementClass:rg,react:s,events:{},defineCustomElement:ag}),xs=f({tagName:"dga-nav-header",elementClass:_g,react:s,events:{},defineCustomElement:qg}),ys=f({tagName:"dga-nav-header-actions",elementClass:gg,react:s,events:{},defineCustomElement:hg}),_s=f({tagName:"dga-nav-header-link",elementClass:cg,react:s,events:{onLinkClicked:"linkClicked"},defineCustomElement:sg}),qs=f({tagName:"dga-nav-header-logos",elementClass:lg,react:s,events:{},defineCustomElement:dg}),zs=f({tagName:"dga-nav-header-main",elementClass:fg,react:s,events:{onToggleCollapsed:"toggleCollapsed"},defineCustomElement:bg}),Ss=f({tagName:"dga-nav-header-menu",elementClass:pg,react:s,events:{},defineCustomElement:ug}),Ms=f({tagName:"dga-nav-header-sub-menu",elementClass:xg,react:s,events:{},defineCustomElement:yg}),Cs=f({tagName:"dga-nav-header-sub-menu-column",elementClass:kg,react:s,events:{},defineCustomElement:mg}),$s=f({tagName:"dga-nav-header-sub-menu-link",elementClass:vg,react:s,events:{},defineCustomElement:wg}),Is=f({tagName:"dga-notification",elementClass:Ig,react:s,events:{},defineCustomElement:Ag}),As=f({tagName:"dga-notification-toast",elementClass:Mg,react:s,events:{},defineCustomElement:Cg}),Bs=f({tagName:"dga-pagination",elementClass:Pg,react:s,events:{},defineCustomElement:Dg}),Ps=f({tagName:"dga-prefix",elementClass:jg,react:s,events:{onOnSelect:"onSelect"},defineCustomElement:Tg}),Ds=f({tagName:"dga-progress-bar",elementClass:Hg,react:s,events:{},defineCustomElement:Fg}),Es=f({tagName:"dga-progress-indicator",elementClass:Ng,react:s,events:{},defineCustomElement:Xg}),js=f({tagName:"dga-progress-indicator-step",elementClass:Ug,react:s,events:{},defineCustomElement:Wg}),Ts=f({tagName:"dga-progress-indicator-v2",elementClass:Kg,react:s,events:{},defineCustomElement:Yg}),Ls=f({tagName:"dga-radio-button",elementClass:nh,react:s,events:{},defineCustomElement:eh}),Rs=f({tagName:"dga-radio-button-usage",elementClass:Jg,react:s,events:{},defineCustomElement:Qg}),Os=f({tagName:"dga-rating",elementClass:rh,react:s,events:{},defineCustomElement:ah}),Hs=f({tagName:"dga-search-box",elementClass:hh,react:s,events:{onOnChange:"onChange",onOnBlur:"onBlur"},defineCustomElement:ch}),Fs=f({tagName:"dga-second-nav-header",elementClass:wh,react:s,events:{},defineCustomElement:xh}),Us=f({tagName:"dga-second-nav-header-actions",elementClass:lh,react:s,events:{},defineCustomElement:dh}),Ws=f({tagName:"dga-second-nav-header-content",elementClass:bh,react:s,events:{},defineCustomElement:ph}),Vs=f({tagName:"dga-second-nav-header-item",elementClass:kh,react:s,events:{},defineCustomElement:mh}),Ks=f({tagName:"dga-slider",elementClass:_h,react:s,events:{},defineCustomElement:qh}),Ys=f({tagName:"dga-structured-list",elementClass:Sh,react:s,events:{},defineCustomElement:Mh}),Gs=f({tagName:"dga-suffix",elementClass:$h,react:s,events:{onOnSelect:"onSelect"},defineCustomElement:Ih}),Ns=f({tagName:"dga-switch",elementClass:Bh,react:s,events:{},defineCustomElement:Ph}),Xs=f({tagName:"dga-table",elementClass:Hh,react:s,events:{},defineCustomElement:Fh}),Zs=f({tagName:"dga-table-body",elementClass:Eh,react:s,events:{},defineCustomElement:jh}),Js=f({tagName:"dga-table-of-content",elementClass:Lh,react:s,events:{},defineCustomElement:Rh}),Qs=f({tagName:"dga-tabs",elementClass:Uh,react:s,events:{},defineCustomElement:Wh}),nl=f({tagName:"dga-tag",elementClass:Vh,react:s,events:{},defineCustomElement:Kh}),el=f({tagName:"dga-text-input",elementClass:Yh,react:s,events:{},defineCustomElement:Gh}),ol=f({tagName:"dga-textarea",elementClass:Xh,react:s,events:{},defineCustomElement:Zh}),tl=f({tagName:"dga-tooltip",elementClass:Jh,react:s,events:{},defineCustomElement:Qh}),il=f({tagName:"floating-button",elementClass:tc,react:s,events:{onButtonClick:"buttonClick"},defineCustomElement:ic}),rl=f({tagName:"reusable-chart",elementClass:ac,react:s,events:{},defineCustomElement:gc}),al=f({tagName:"side-panel-menu",elementClass:hc,react:s,events:{},defineCustomElement:cc}),gl=f({tagName:"slider-list",elementClass:lc,react:s,events:{},defineCustomElement:dc}),hl=f({tagName:"slider-track",elementClass:bc,react:s,events:{},defineCustomElement:pc}),cl=f({tagName:"slider-wrapper",elementClass:kc,react:s,events:{},defineCustomElement:mc}),sl=f({tagName:"submenu-component",elementClass:vc,react:s,events:{},defineCustomElement:wc}),ll=f({tagName:"tab-component",elementClass:xc,react:s,events:{},defineCustomElement:yc}),dl=f({tagName:"tab-link",elementClass:_c,react:s,events:{},defineCustomElement:qc});exports.CardWrapper=Mc;exports.DateCell=Cc;exports.DgaAccordion=$c;exports.DgaAvatar=Ic;exports.DgaBreadcrumbs=Ac;exports.DgaBreadcrumbsUsage=Bc;exports.DgaButton=Pc;exports.DgaCard=Dc;exports.DgaCarouselItemV2=Ec;exports.DgaCarouselSliderUsage=jc;exports.DgaCarouselV2=Tc;exports.DgaCarouselV2Usage=Lc;exports.DgaChart=Rc;exports.DgaCheckbox=Oc;exports.DgaChip=Hc;exports.DgaCircularProgressBar=Fc;exports.DgaCodesnippet=Uc;exports.DgaContentSwitcher=Wc;exports.DgaContentSwitcherItem=Vc;exports.DgaDataTable=Kc;exports.DgaDataTableUpdated=Yc;exports.DgaDatepicker=Gc;exports.DgaDivider=Nc;exports.DgaDrawer=Xc;exports.DgaDropdown=Zc;exports.DgaFeaturedIcon=Jc;exports.DgaFileUpload=Qc;exports.DgaFooter=ns;exports.DgaHeader=es;exports.DgaHeaderActionBtn=os;exports.DgaHelperText=ts;exports.DgaHtmlTag=is;exports.DgaIcon=rs;exports.DgaInlineAlert=as;exports.DgaLabel=gs;exports.DgaLink=hs;exports.DgaList=cs;exports.DgaListItem=ss;exports.DgaListUsage=ls;exports.DgaListV2=ds;exports.DgaLoading=fs;exports.DgaLocalIcon=bs;exports.DgaMenu=ps;exports.DgaMenuGroup=us;exports.DgaMenuItem=ks;exports.DgaMenuList=ms;exports.DgaMetric=vs;exports.DgaModal=ws;exports.DgaNavHeader=xs;exports.DgaNavHeaderActions=ys;exports.DgaNavHeaderLink=_s;exports.DgaNavHeaderLogos=qs;exports.DgaNavHeaderMain=zs;exports.DgaNavHeaderMenu=Ss;exports.DgaNavHeaderSubMenu=Ms;exports.DgaNavHeaderSubMenuColumn=Cs;exports.DgaNavHeaderSubMenuLink=$s;exports.DgaNotification=Is;exports.DgaNotificationToast=As;exports.DgaPagination=Bs;exports.DgaPrefix=Ps;exports.DgaProgressBar=Ds;exports.DgaProgressIndicator=Es;exports.DgaProgressIndicatorStep=js;exports.DgaProgressIndicatorV2=Ts;exports.DgaRadioButton=Ls;exports.DgaRadioButtonUsage=Rs;exports.DgaRating=Os;exports.DgaSearchBox=Hs;exports.DgaSecondNavHeader=Fs;exports.DgaSecondNavHeaderActions=Us;exports.DgaSecondNavHeaderContent=Ws;exports.DgaSecondNavHeaderItem=Vs;exports.DgaSlider=Ks;exports.DgaStructuredList=Ys;exports.DgaSuffix=Gs;exports.DgaSwitch=Ns;exports.DgaTable=Xs;exports.DgaTableBody=Zs;exports.DgaTableOfContent=Js;exports.DgaTabs=Qs;exports.DgaTag=nl;exports.DgaTextInput=el;exports.DgaTextarea=ol;exports.DgaTooltip=tl;exports.FloatingButton=il;exports.ReusableChart=rl;exports.SidePanelMenu=al;exports.SliderList=gl;exports.SliderTrack=hl;exports.SliderWrapper=cl;exports.SubmenuComponent=sl;exports.TabComponent=ll;exports.TabLink=dl;