@ganpatiinfo/gids-core-web 10.3.0 → 13.0.0
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/css/index.css +374 -107
- package/dist/css/index.css.map +1 -1
- package/dist/gids-action-bar.js +1 -1
- package/dist/gids-activity-gauge.js +1 -1
- package/dist/gids-bar-chart.js +1 -1
- package/dist/gids-calendar-header-panel.js +1 -1
- package/dist/gids-calendar-month-list.js +1 -1
- package/dist/gids-calendar-year-list.js +1 -1
- package/dist/gids-calendar.js +1 -1
- package/dist/gids-chart-legend-item.js +1 -1
- package/dist/gids-chart-legend.js +1 -1
- package/dist/gids-chart.js +1 -1
- package/dist/gids-chevron-button.js +1 -1
- package/dist/gids-dot.js +1 -1
- package/dist/gids-dropdown-field.js +1 -1
- package/dist/gids-dropdown-picker.js +1 -1
- package/dist/gids-dropdown.js +1 -1
- package/dist/gids-expansion-body-list-item.js +1 -1
- package/dist/gids-expansion-body-list.js +1 -1
- package/dist/gids-expansion-group.js +1 -1
- package/dist/gids-expansion.js +1 -1
- package/dist/gids-field.js +1 -1
- package/dist/gids-filter.js +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.js +1 -1
- package/dist/gids-line-chart.js +1 -1
- package/dist/gids-md-table.d.ts +11 -0
- package/dist/gids-md-table.js +1 -0
- package/dist/gids-overflow-container.js +1 -1
- package/dist/gids-overlay-provider.js +1 -1
- package/dist/gids-password-field.js +1 -1
- package/dist/gids-pie-chart.js +1 -1
- package/dist/gids-popover.js +1 -1
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-tab-item.js +1 -1
- package/dist/gids-tab.js +1 -1
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/gids-tooltip.js +1 -1
- package/dist/p-4lN1OdcA.js +1 -0
- package/dist/{p-CD_BHkBE.js → p-6APCjBEI.js} +1 -1
- package/dist/p-BCVFQSjK.js +1 -0
- package/dist/{p-DfrYaprq.js → p-BSbOhfLZ.js} +1 -1
- package/dist/{p-DA_atCAU.js → p-BVAtja26.js} +1 -1
- package/dist/{p-BeP2XcqY.js → p-C2O_pGky.js} +1 -1
- package/dist/p-C2POfZhu.js +1 -0
- package/dist/{p-3Ni1-UuQ.js → p-C3We7Q8Q.js} +1 -1
- package/dist/{p-C4yEV6pT.js → p-C3w3wdCt.js} +1 -1
- package/dist/{p-BQCMjWpK.js → p-C3xv7tfs.js} +1 -1
- package/dist/{p-Ditd1zV7.js → p-C56G7JRy.js} +1 -1
- package/dist/p-CI-sN9Lr.js +1 -0
- package/dist/{p-WHI6NO_h.js → p-COHuQEfZ.js} +1 -1
- package/dist/{p-CkydANOS.js → p-Chqeexny.js} +1 -1
- package/dist/{p-C2PfO9h9.js → p-DO0MyFf4.js} +1 -1
- package/dist/p-DUojHltk.js +1 -0
- package/dist/p-_SIWct9h.js +1 -0
- package/dist/{p-qIkbfIF3.js → p-pSb81aE0.js} +1 -1
- package/dist/{p-BE2G21MT.js → p-ub0GuVHb.js} +1 -1
- package/dist/types/components/html/GidsBasicTableBody/GidsBasicTableBody.d.ts +7 -0
- package/dist/types/components/html/GidsBasicTableCell/GidsBasicTableCell.d.ts +5 -0
- package/dist/types/components/html/GidsBasicTableHead/GidsBasicTableHead.d.ts +11 -0
- package/dist/types/components/html/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +5 -0
- package/dist/types/components/html/GidsBasicTableRow/GidsBasicTableRow.d.ts +5 -0
- package/dist/types/components/html/GidsBsTable/GidsBsTable.d.ts +12 -0
- package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +15 -2
- package/dist/types/components/webComponents/GidsExpansionBodyList/GidsExpansionBodyList.d.ts +5 -4
- package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +5 -0
- package/dist/types/components/webComponents/GidsMdTable/GidsMdTable.d.ts +42 -0
- package/dist/types/components.d.ts +199 -12
- package/dist-bundled/es/gids-action-bar.js +168 -126
- package/dist-bundled/es/gids-activity-gauge.js +4 -4
- package/dist-bundled/es/gids-bar-chart.js +1 -1
- package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
- package/dist-bundled/es/gids-calendar-month-list.js +1 -1
- package/dist-bundled/es/gids-calendar-year-list.js +4 -4
- package/dist-bundled/es/gids-calendar.js +7 -7
- package/dist-bundled/es/gids-chart-legend-item.js +4 -4
- package/dist-bundled/es/gids-chart-legend.js +4 -4
- package/dist-bundled/es/gids-chart.js +18 -18
- package/dist-bundled/es/gids-chevron-button.js +2 -2
- package/dist-bundled/es/gids-dot.js +1 -1
- package/dist-bundled/es/gids-dropdown-field.js +5 -5
- package/dist-bundled/es/gids-dropdown-picker.js +2 -2
- package/dist-bundled/es/gids-dropdown.js +4 -4
- package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
- package/dist-bundled/es/gids-expansion-body-list.js +35 -35
- package/dist-bundled/es/gids-expansion-group.js +5 -5
- package/dist-bundled/es/gids-expansion.js +4 -4
- package/dist-bundled/es/gids-field.js +1 -1
- package/dist-bundled/es/gids-filter.js +2 -2
- package/dist-bundled/es/gids-icon.js +4 -4
- package/dist-bundled/es/gids-input.js +1 -1
- package/dist-bundled/es/gids-line-chart.js +4 -4
- package/dist-bundled/es/gids-md-table.js +170 -0
- package/dist-bundled/es/gids-overflow-container.js +1 -1
- package/dist-bundled/es/gids-overlay-provider.js +2 -2
- package/dist-bundled/es/gids-password-field.js +24 -24
- package/dist-bundled/es/gids-pie-chart.js +1 -1
- package/dist-bundled/es/gids-popover.js +1 -1
- package/dist-bundled/es/gids-scrim.js +6 -6
- package/dist-bundled/es/gids-tab-item.js +6 -6
- package/dist-bundled/es/gids-tab.js +4 -4
- package/dist-bundled/es/gids-text-field.js +16 -16
- package/dist-bundled/es/gids-toggle-button.js +1 -1
- package/dist-bundled/es/gids-tooltip.js +4 -4
- package/dist-bundled/es/{p-DlI2raNo-5V-p1A9Z.js → p-4lN1OdcA-xYP8gbDc.js} +17 -34
- package/dist-bundled/es/{p-CD_BHkBE-DX2546yK.js → p-6APCjBEI-BREg63Xr.js} +5 -5
- package/dist-bundled/es/{p-Cn-t3SGc-CwvvOdlK.js → p-BCVFQSjK-CKrYrI4b.js} +15 -15
- package/dist-bundled/es/{p-DfrYaprq-CeZqb0rn.js → p-BSbOhfLZ-BdEHhmFM.js} +3 -3
- package/dist-bundled/es/{p-DA_atCAU-KdxJYYDE.js → p-BVAtja26-C16IjShX.js} +8 -8
- package/dist-bundled/es/{p-BeP2XcqY-DMXmX4Mc.js → p-C2O_pGky-CP4PN55D.js} +10 -10
- package/dist-bundled/es/p-C2POfZhu-DzG_JxV6.js +24 -0
- package/dist-bundled/es/{p-3Ni1-UuQ-CPn15cat.js → p-C3We7Q8Q-2EoDLj5m.js} +2 -2
- package/dist-bundled/es/{p-C4yEV6pT-8IjLINXB.js → p-C3w3wdCt-BTH-jYlI.js} +6 -6
- package/dist-bundled/es/{p-BQCMjWpK-CLxPNItn.js → p-C3xv7tfs-DHsjc3Ns.js} +4 -4
- package/dist-bundled/es/{p-Ditd1zV7-DdQjXthS.js → p-C56G7JRy-BCGZG2-3.js} +2 -2
- package/dist-bundled/es/{p-DVVJrKxO-Bdl0HX_u.js → p-CI-sN9Lr-BvWzRJw-.js} +20 -19
- package/dist-bundled/es/{p-WHI6NO_h-DHNy0JzV.js → p-COHuQEfZ-DcUxD9TI.js} +11 -11
- package/dist-bundled/es/{p-CkydANOS-CzTX9wng.js → p-Chqeexny-BuJ-PhNi.js} +6 -6
- package/dist-bundled/es/{p-D4Pimu_8-DfEGRQGf.js → p-D4Pimu_8-ARSuGBs4.js} +0 -1
- package/dist-bundled/es/{p-D6lxqcxP-DWrZi1Xi.js → p-D6lxqcxP-C6BOC0kV.js} +1 -1
- package/dist-bundled/es/{p-C2PfO9h9-H_toZwKo.js → p-DO0MyFf4-Ddg5sVMx.js} +5 -5
- package/dist-bundled/es/p-DUojHltk-BQ0ryfLD.js +172 -0
- package/dist-bundled/es/{p-UxDcM-C5-Dr5d_WpJ.js → p-UxDcM-C5-BJO4X0jM.js} +1 -1
- package/dist-bundled/es/{p-KaaOtnwV-D7HTbhvI.js → p-_SIWct9h-jMYFZ-VO.js} +12 -12
- package/dist-bundled/es/{p-qIkbfIF3-B7NovGEi.js → p-pSb81aE0-WzAszFOQ.js} +2 -2
- package/dist-bundled/es/{p-BE2G21MT-WGW-ehxu.js → p-ub0GuVHb-C9vrhXyF.js} +2 -2
- package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
- package/dist-bundled/umd/gids-activity-gauge.umd.js +1 -1
- package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar.umd.js +1 -1
- package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
- package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
- package/dist-bundled/umd/gids-chart.umd.js +1 -1
- package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
- package/dist-bundled/umd/gids-dot.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
- package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-body-list.umd.js +2 -2
- package/dist-bundled/umd/gids-expansion-group.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion.umd.js +1 -1
- package/dist-bundled/umd/gids-field.umd.js +1 -1
- package/dist-bundled/umd/gids-filter.umd.js +3 -3
- package/dist-bundled/umd/gids-icon.umd.js +1 -1
- package/dist-bundled/umd/gids-input.umd.js +1 -1
- package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-md-table.umd.js +5 -0
- package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
- package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
- package/dist-bundled/umd/gids-password-field.umd.js +2 -2
- package/dist-bundled/umd/gids-pie-chart.umd.js +1 -1
- package/dist-bundled/umd/gids-popover.umd.js +1 -1
- package/dist-bundled/umd/gids-scrim.umd.js +1 -1
- package/dist-bundled/umd/gids-tab-item.umd.js +2 -2
- package/dist-bundled/umd/gids-tab.umd.js +1 -1
- package/dist-bundled/umd/gids-text-field.umd.js +1 -1
- package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
- package/dist-bundled/umd/gids-tooltip.umd.js +1 -1
- package/dist-bundled/umd-complete/gids-core-web.umd.js +8 -8
- package/package.json +17 -9
- package/dist/p-2wB6zkno.js +0 -1
- package/dist/p-Cn-t3SGc.js +0 -1
- package/dist/p-DVVJrKxO.js +0 -1
- package/dist/p-DlI2raNo.js +0 -1
- package/dist/p-KaaOtnwV.js +0 -1
- package/dist-bundled/es/p-2wB6zkno-57WAxATm.js +0 -152
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(j,D){typeof exports=="object"&&typeof module<"u"?D(exports):typeof define=="function"&&define.amd?define(["exports"],D):(j=typeof globalThis<"u"?globalThis:j||self,D(j.gidsCoreWebGidsExpansionBodyList={}))})(this,(function(j){"use strict";function D(e,t,i){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!i||n.get))return n;e=Object.getPrototypeOf(e)}}var R,Fe=(e,t)=>{var i;Object.entries((i=t.o.t)!=null?i:{}).map((([s,[n]])=>{if(31&n||32&n){const o=e[s],a=D(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);a&&Object.defineProperty(e,s,{get(){return a.get.call(this)},set(r){a.set.call(this,r)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):o!==void 0&&(e[s]=o)}}))},
|
|
1
|
+
(function(j,D){typeof exports=="object"&&typeof module<"u"?D(exports):typeof define=="function"&&define.amd?define(["exports"],D):(j=typeof globalThis<"u"?globalThis:j||self,D(j.gidsCoreWebGidsExpansionBodyList={}))})(this,(function(j){"use strict";function D(e,t,i){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!i||n.get))return n;e=Object.getPrototypeOf(e)}}var R,Fe=(e,t)=>{var i;Object.entries((i=t.o.t)!=null?i:{}).map((([s,[n]])=>{if(31&n||32&n){const o=e[s],a=D(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);a&&Object.defineProperty(e,s,{get(){return a.get.call(this)},set(r){a.set.call(this,r)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):o!==void 0&&(e[s]=o)}}))},k=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ue=(e,t)=>t in e,$=(e,t)=>(0,console.error)(e,t),U=new Map,he="http://www.w3.org/1999/xlink",Ue=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],v=typeof window<"u"?window:{},ge=v.HTMLElement||class{},T={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,i,s)=>e.addEventListener(t,i,s),rel:(e,t,i,s)=>e.removeEventListener(t,i,s),ce:(e,t)=>new CustomEvent(e,t)},We=(()=>{var e;let t=!1;try{(e=v.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),K=(()=>{try{return!!v.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Q=!!K&&!!v.document&&Object.getOwnPropertyDescriptor(v.document.adoptedStyleSheets,"length").writable,X=!1,fe=[],ye=[],Ge=(e,t)=>i=>{e.push(i),X||(X=!0,4&T.i?te(ee):T.raf(ee))},me=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(i){$(i)}e.length=0},ee=()=>{me(fe),me(ye),(X=fe.length>0)&&T.raf(ee)},te=e=>Promise.resolve(void 0).then(e),qe=Ge(ye);function Ye(){const e=this.attachShadow({mode:"open"});R===void 0&&(R=null),R&&(Q?e.adoptedStyleSheets.push(R):e.adoptedStyleSheets=[...e.adoptedStyleSheets,R])}var be=e=>{const t=ie(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&se(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!Ze(s,z(s),!1).length)}));let i=0;for(i=0;i<t.length;i++){const s=t[i];s.nodeType===1&&ie(s,"childNodes").length&&be(s)}};function se(e,t,i){let s,n=0,o=[];for(;n<e.length;n++){if(s=e[n],s["s-sr"]&&(!t||s["s-hn"]===t)&&(i===void 0||z(s)===i)&&(o.push(s),i!==void 0))return o;o=[...o,...se(s.childNodes,t,i)]}return o}var Ze=(e,t,i=!0)=>{const s=[];(i&&e["s-sr"]||!e["s-sr"])&&s.push(e);let n=e;for(;n=n.nextSibling;)z(n)!==t||!i&&n["s-sr"]||s.push(n);return s},xe=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",z=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function ie(e,t){if("__"+t in e){const i=e["__"+t];return typeof i!="function"?i:i.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var ne,A,P=new WeakMap,Se=e=>"sc-"+e.p,oe=e=>(e=typeof e)=="object"||e==="function",C=(e,t,...i)=>{let s=null,n=null,o=null,a=!1,r=!1;const l=[],p=d=>{for(let u=0;u<d.length;u++)s=d[u],Array.isArray(s)?p(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!oe(s))&&(s=String(s)),a&&r?l[l.length-1].h+=s:l.push(a?W(null,s):s),r=a)};if(p(i),t){t.key&&(n=t.key),t.name&&(o=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((u=>d[u])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,l,Je);const c=W(e,null);return c.v=t,l.length>0&&(c.m=l),c.$=n,c.j=o,c},W=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),le={},Je={forEach:(e,t)=>e.map(ve).forEach(t),map:(e,t)=>e.map(ve).map(t).map(Ke)},ve=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Ke=e=>{if(typeof e.vtag=="function"){const i={...e.vattrs};return e.vkey&&(i.key=e.vkey),e.vname&&(i.name=e.vname),C(e.vtag,i,...e.vchildren||[])}const t=W(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Le=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let i=!1;for(const n of t){if(i)break;for(const o of e[n])if(typeof o=="string"){i=!0;break}}if(!i)return e;const s={};for(const n of t)s[n]=e[n].map((o=>typeof o=="string"?{[o]:0}:o));return s},_e=(e,t,i)=>e==null||oe(e)?e:4&t?(i&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Qe=(e,t,i)=>{const s=T.ce(t,i);return e.dispatchEvent(s),s},Te=(e,t,i,s,n,o)=>{if(i===s)return;let a=ue(e,t),r=t.toLowerCase();if(t==="class"){const l=e.classList,p=Ee(i);let c=Ee(s);l.remove(...p.filter((d=>d&&!c.includes(d)))),l.add(...c.filter((d=>d&&!p.includes(d))))}else if(t==="style"){for(const l in i)s&&s[l]!=null||(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in s)i&&s[l]===i[l]||(l.includes("-")?e.style.setProperty(l,s[l]):e.style[l]=s[l])}else if(t!=="key"){if(t==="ref")s&&tt(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const l=t.slice(5);let p;{const c=k(e);if(c&&c.o&&c.o.t){const d=c.o.t[l];d&&d[1]&&(p=d[1])}}return p||(p=l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(p)!==""||e.removeAttribute(p):e.setAttribute(p,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const l=t.slice(5);try{e[l]=s}catch{}return}{const l=oe(s);if((a||l&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const c=s??"";t==="list"?a=!1:i!=null&&e[t]===c||(typeof e.__lookupSetter__(t)=="function"?e[t]=c:e.setAttribute(t,c))}}catch{}let p=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,p=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(p?e.removeAttributeNS(he,t):e.removeAttribute(t)):(!a||4&o||n)&&!l&&e.nodeType===1&&(s=s===!0?"":s,p?e.setAttributeNS(he,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):ue(v,r)?r.slice(2):r[2]+t.slice(3),i||s){const l=t.endsWith(we);t=t.replace(et,""),i&&T.rel(e,t,i,l),s&&T.ael(e,t,s,l)}}},Xe=/\s/,Ee=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Xe):[]),we="Capture",et=new RegExp(we+"$"),ae=(e,t,i)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},o=t.v||{};for(const a of Ce(Object.keys(n)))a in o||Te(s,a,n[a],void 0,i,t.i);for(const a of Ce(Object.keys(o)))Te(s,a,n[a],o[a],i,t.i)};function Ce(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var M=!1,G=!1,q=!1,E=!1,re=[],de=[],Y=(e,t,i)=>{var s;const n=t.m[i];let o,a,r,l=0;if(M||(q=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)o=n.S=v.document.createTextNode(n.h);else if(1&n.i)o=n.S=v.document.createTextNode(""),ae(null,n,E);else{if(E||(E=n.O==="svg"),!v.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(o=n.S=v.document.createElementNS(E?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!M&&2&n.i?"slot-fb":n.O),E&&n.O==="foreignObject"&&(E=!1),ae(null,n,E),n.m){const p=n.O==="template"?o.content:o;for(l=0;l<n.m.length;++l)a=Y(e,n,l),a&&p.appendChild(a)}n.O==="svg"?E=!1:o.tagName==="foreignObject"&&(E=!0)}return o["s-hn"]=A,3&n.i&&(o["s-sr"]=!0,o["s-cr"]=ne,o["s-sn"]=n.j||"",o["s-rf"]=(s=n.v)==null?void 0:s.ref,(function(p){if(p.assignedElements||p.assignedNodes||!p["s-sr"])return;const c=d=>(function(u){const f=[],h=this["s-sn"];u?.flatten&&console.error(`
|
|
2
2
|
Flattening is not supported for Stencil non-shadow slots.
|
|
3
3
|
You can use \`.childNodes\` to nested slot fallback content.
|
|
4
4
|
If you have a particular use case, please open an issue on the Stencil repo.
|
|
5
|
-
`);const x=this["s-cr"].parentElement;return(x.__childNodes?x.childNodes:(S=>{const m=[];for(let y=0;y<S.length;y++){const g=S[y]["s-nr"]||void 0;g&&g.isConnected&&m.push(g)}return m})(x.childNodes)).forEach((S=>{h===z(S)&&f.push(S)})),d?f.filter((S=>S.nodeType===1)):f}).bind(p);p.assignedElements=c(!0),p.assignedNodes=c(!1)})(o),r=e&&e.m&&e.m[i],r&&r.O===n.O&&e.S&&Ne(e.S)),o},Ne=e=>{L.i|=1;const t=e.closest(A.toLowerCase());if(t!=null){const i=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of i?s.reverse():s)n["s-sh"]!=null&&(k(t,n,i??null),n["s-sh"]=void 0,q=!0)}L.i&=-2},Z=(e,t)=>{L.i|=1;const i=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===A&&i.push(s)}for(let s=i.length-1;s>=0;s--){const n=i[s];n["s-hn"]!==A&&n["s-ol"]&&(k(H(n).parentNode,n,H(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,q=!0),t&&Z(n,t)}L.i&=-2},ke=(e,t,i,s,n,o)=>{let a,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===A&&(r=r.shadowRoot),i.O==="template"&&(r=r.content);n<=o;++n)s[n]&&(a=Y(null,i,n),a&&(s[n].S=a,k(r,a,H(t))))},Ie=(e,t,i)=>{for(let s=t;s<=i;++s){const n=e[s];if(n){const o=n.S;Be(n),o&&(G=!0,o["s-ol"]?o["s-ol"].remove():Z(o,!0),o.remove())}}},J=(e,t,i=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:i?(i&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),H=e=>e&&e["s-ol"]||e,V=(e,t,i=!1)=>{const s=t.S=e.S,n=e.m,o=t.m,a=t.O,r=t.h;let l;r==null?(E=a==="svg"||a!=="foreignObject"&&E,a!=="slot"||M||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ne(t.S.parentElement)),ae(e,t,E),n!==null&&o!==null?((p,c,d,u,f=!1)=>{let h,x,S=0,m=0,y=0,g=0,T=c.length-1,b=c[0],_=c[T],w=u.length-1,N=u[0],I=u[w];const He=d.O==="template"?p.content:p;for(;S<=T&&m<=w;)if(b==null)b=c[++S];else if(_==null)_=c[--T];else if(N==null)N=u[++m];else if(I==null)I=u[--w];else if(J(b,N,f))V(b,N,f),b=c[++S],N=u[++m];else if(J(_,I,f))V(_,I,f),_=c[--T],I=u[--w];else if(J(b,I,f))b.O!=="slot"&&I.O!=="slot"||Z(b.S.parentNode,!1),V(b,I,f),k(He,b.S,_.S.nextSibling),b=c[++S],I=u[--w];else if(J(_,N,f))b.O!=="slot"&&I.O!=="slot"||Z(_.S.parentNode,!1),V(_,N,f),k(He,_.S,b.S),_=c[--T],N=u[++m];else{for(y=-1,g=S;g<=T;++g)if(c[g]&&c[g].$!==null&&c[g].$===N.$){y=g;break}y>=0?(x=c[y],x.O!==N.O?h=Y(c&&c[m],d,y):(V(x,N,f),c[y]=void 0,h=x.S),N=u[++m]):(h=Y(c&&c[m],d,m),N=u[++m]),h&&k(H(b.S).parentNode,h,H(b.S))}S>T?ke(p,u[w+1]==null?null:u[w+1].S,d,u,m,w):m>w&&Ie(c,S,T)})(s,n,t,o,i):o!==null?(e.h!==null&&(s.textContent=""),ke(s,null,t,o,0,o.length-1)):!i&&n!==null&&Ie(n,0,n.length-1),E&&a==="svg"&&(E=!1)):(l=s["s-cr"])?l.parentNode.textContent=r:e.h!==r&&(s.data=r)},B=[],Oe=e=>{let t,i,s;const n=e.__childNodes||e.childNodes;for(const o of n){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){i=t.parentNode.__childNodes||t.parentNode.childNodes;const a=o["s-sn"];for(s=i.length-1;s>=0;s--)if(t=i[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===o["s-hn"]||t["s-sh"]&&t["s-sh"]===o["s-hn"]))if(Se(t,a)){let r=B.find((l=>l.k===t));G=!0,t["s-sn"]=t["s-sn"]||a,r?(r.k["s-sh"]=o["s-hn"],r.N=o):(t["s-sh"]=o["s-hn"],B.push({N:o,k:t})),t["s-sr"]&&B.map((l=>{Se(l.k,t["s-sn"])&&(r=B.find((p=>p.k===t)),r&&!l.N&&(l.N=r.N))}))}else B.some((r=>r.k===t))||B.push({k:t})}o.nodeType===1&&Oe(o)}},Be=e=>{e.v&&e.v.ref&&re.push((()=>e.v.ref(null))),e.m&&e.m.map(Be)},tt=(e,t)=>{de.push((()=>e(t)))},k=(e,t,i,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,i);const{slotNode:n}=(function(o,a){var r;if(!(a=a||((r=o["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const l=o["s-sn"]=z(o)||"";return{slotNode:se(ie(a,"childNodes"),a.tagName,l)[0],slotName:l}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,i):e?.insertBefore(t,i)},st=(e,t,i=!1)=>{var s,n,o,a,r;const l=e.$hostElement$,p=e.o,c=e.M||W(null,null);var d;const u=(d=t)&&d.O===le?t:C(null,null,t);if(A=l.tagName,p.C&&(u.v=u.v||{},p.C.forEach((([f,h])=>{u.v[h]=l[f]}))),i&&u.v)for(const f of Object.keys(u.v))l.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(u.v[f]=l[f]);if(u.O=null,u.i|=4,e.M=u,u.S=c.S=l.shadowRoot||l,M=!(!(1&p.i)||128&p.i),ne=l["s-cr"],G=!1,V(c,u,i),L.i|=1,q){Oe(u.S);for(const f of B){const h=f.k;if(!h["s-ol"]&&v.document){const x=v.document.createTextNode("");x["s-nr"]=h,k(h.parentNode,h["s-ol"]=x,h,i)}}for(const f of B){const h=f.k,x=f.N;if(h.nodeType===1&&i&&(h["s-ih"]=(s=h.hidden)!=null&&s),x){const S=x.parentNode;let m=x.nextSibling;if(m&&m.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let g=(o=y["s-nr"])!=null?o:null;if(g&&g["s-sn"]===h["s-sn"]&&S===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===h||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}y=y.previousSibling}}if((!m&&S!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(k(S,h,m,i),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=v.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,k(h.parentNode,y,h,i),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(a=h["s-ih"])!=null&&a)}h&&typeof x["s-rf"]=="function"&&x["s-rf"](x)}else h.nodeType===1&&(h.hidden=!0)}}if(G&&be(u.S),L.i&=-2,B.length=0,!M&&!(1&p.i)&&l["s-cr"]){const f=u.S.__childNodes||u.S.childNodes;for(const h of f)if(h["s-hn"]!==A&&!h["s-sh"]){if(i&&h["s-ih"]==null&&(h["s-ih"]=(r=h.hidden)!=null&&r),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const x=v.document.createComment("s-nt-"+h.nodeValue);x["s-sn"]=h["s-sn"],k(h.parentNode,x,h,i),h.parentNode.removeChild(h)}}}ne=void 0,re.forEach((f=>f())),re.length=0,de.forEach((f=>f())),de.length=0},Pe=(e,t)=>{if(t&&!e.A&&t["s-p"]){const i=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(i-1,1),s()})))}},pe=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Pe(e,e.R);const i=()=>it(e,t);if(!t)return qe(i);queueMicrotask((()=>{i()}))},it=(e,t)=>{const i=e.$hostElement$,s=i;if(!s)throw new Error(`Can't render component <${i.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 n;return n=F(s,t?"componentWillLoad":"componentWillUpdate",void 0,i),n=je(n,(()=>F(s,"componentWillRender",void 0,i))),je(n,(()=>ot(e,s,t)))},je=(e,t)=>nt(e)?e.then(t).catch((i=>{console.error(i),t()})):t(),nt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ot=async(e,t,i)=>{var s;const n=e.$hostElement$,o=n["s-rc"];i&&(a=>{const r=a.o,l=a.$hostElement$,p=r.i,c=((d,u)=>{var f,h,x;const S=xe(u),m=U.get(S);if(!v.document)return S;if(d=d.nodeType===11?d:v.document,m)if(typeof m=="string"){let y,g=P.get(d=d.head||d);if(g||P.set(d,g=new Set),!g.has(S)){y=v.document.createElement("style"),y.textContent=m;const T=(f=L._)!=null?f:(function(){var b,_,w;return(w=(_=(b=v.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:_.getAttribute("content"))!=null?w:void 0})();if(T!=null&&y.setAttribute("nonce",T),!(1&u.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),_=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,_?.parentNode===d?_:null)}else if("host"in d)if(K){const b=new((h=d.defaultView)!=null?h:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),Q?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=m+b.textContent:d.prepend(y)}else d.append(y);1&u.i&&d.insertBefore(y,null),4&u.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(S)}}else{let y=P.get(d);if(y||P.set(d,y=new Set),!y.has(S)){const g=(x=d.defaultView)!=null?x:d.ownerDocument.defaultView;let T;if(m.constructor===g.CSSStyleSheet)T=m;else{T=new g.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)T.insertRule(m.cssRules[b].cssText,b)}Q?d.adoptedStyleSheets.push(T):d.adoptedStyleSheets=[...d.adoptedStyleSheets,T],y.add(S)}}return S})(l.shadowRoot?l.shadowRoot:l.getRootNode(),r);10&p&&(l["s-sc"]=c,l.classList.add(c+"-h"))})(e),lt(e,t,n,i),o&&(o.map((a=>a())),n["s-rc"]=void 0);{const a=(s=n["s-p"])!=null?s:[],r=()=>at(e);a.length===0?r():(Promise.all(a).then(r).catch(r),e.i|=4,a.length=0)}},lt=(e,t,i,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,st(e,t,s)}catch(n){$(n,e.$hostElement$)}return null},at=e=>{const t=e.$hostElement$,i=t,s=e.R;F(i,"componentDidRender",void 0,t),64&e.i?F(i,"componentDidUpdate",void 0,t):(e.i|=64,dt(t),F(i,"componentDidLoad",void 0,t),e.L(t),s||rt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>pe(e,!1))),e.i&=-517},rt=()=>{te((()=>Qe(v,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,i,s)=>{if(e&&e[t])try{return e[t](i)}catch(n){$(n,s)}},dt=e=>e.classList.add("hydrated"),$e=(e,t,i,s)=>{const n=O(e);if(!n)return;const o=e,a=n.l.get(t),r=n.i,l=o;i=Te(i,s.t[t][0],!!(64&s.i));const p=Number.isNaN(a)&&Number.isNaN(i);if(i!==a&&!p){if(n.l.set(t,i),s.F){const c=s.F[t];c&&c.map((d=>{try{const[[u,f]]=Object.entries(d);(128&r||1&f)&&(l?l[u](i,a,t):n.T.push((()=>{n.D[u](i,a,t)})))}catch(u){$(u,o)}}))}if(2&r){if(l.componentShouldUpdate&&l.componentShouldUpdate(i,a,t)===!1&&!(16&r))return;16&r||pe(n,!1)}}},pt=(e,t,i)=>{var s,n;const o=e.prototype;64&t.i&&1&i&&Ue.forEach((a=>{const r=o[a];Object.defineProperty(o,a,{value(...l){var p;const c=O(this),d=this;d?typeof r=="function"&&r.call(d,...l):(p=c?.H)==null||p.then((u=>{const f=u[a];typeof f=="function"&&f.call(u,...l)}))}})}));{e.watchers&&!t.F&&(t.F=_e(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const a=Object.entries((s=t.t)!=null?s:{});a.map((([r,[l]])=>{if(31&l||32&l){const{get:p,set:c}=D(o,r)||{};p&&(t.t[r][0]|=2048),c&&(t.t[r][0]|=4096),Object.defineProperty(o,r,{get(){return p?p.apply(this):(d=r,O(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(o,r,{set(d){const u=O(this);if(u){if(c)return(32&l?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(d=u.l.get(r)),c.apply(this,[Te(d,l,!!(64&t.i))]),void $e(this,r,d=32&l?this[r]:u.$hostElement$[r],t);$e(this,r,d,t)}}})}}));{const r=new Map;o.attributeChangedCallback=function(l,p,c){L.jmp((()=>{var d;const u=r.get(l),f=O(this);if(this.hasOwnProperty(u),o.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const y=f?.i;if(f&&y&&!(8&y)&&c!==p){const g=this,T=(d=t.F)==null?void 0:d[l];T?.forEach((b=>{const[[_,w]]=Object.entries(b);g[_]!=null&&(128&y||1&w)&&g[_].call(g,c,p,l)}))}return}const h=a.find((([y])=>y===u)),x=h&&4&h[1][0],S=x&&c===null&&this[u]===void 0;x&&(c=c!==null&&c!=="false");const m=Object.getOwnPropertyDescriptor(o,u);S||c==this[u]||m.get&&!m.set||(this[u]=c)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...a.filter((([l,p])=>31&p[0])).map((([l,p])=>{var c;const d=p[1]||l;return r.set(d,l),512&p[0]&&((c=t.C)==null||c.push([l,d])),d}))]))}}return e},Ae=(e,t)=>{const i={i:t[0],p:t[1]};try{i.t=t[2],i.W=t[3],i.F=_e(e.F),i.P=e.P,i.U=e.U,i.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((o,a)=>{const r={i:0,$hostElement$:o,o:a,l:new Map,B:new Map};r.H=new Promise((p=>r.L=p)),o["s-p"]=[],o["s-rc"]=[];const l=r;o.__stencil__getHostRef=()=>l,512&a.i&&Fe(o,r)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=O(this);if(!o)return;De(this,o,i.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&L.i)){const a=O(o);if(!a)return;const r=a.o;if(1&a.i)De(o,a,r.W),a?.D||a?.H&&a.H.then((()=>{}));else{a.i|=1,12&r.i&&(l=>{if(!v.document)return;const p=l["s-cr"]=v.document.createComment("");p["s-cn"]=!0,k(l,p,l.firstChild)})(o);{let l=o;for(;l=l.parentNode||l.host;)if(l["s-p"]){Pe(a,a.R=l);break}}r.t&&Object.entries(r.t).map((([l,[p]])=>{if(31&p&&Object.prototype.hasOwnProperty.call(o,l)){const c=o[l];delete o[l],o[l]=c}})),(async(l,p,c)=>{let d;try{if(!(32&p.i)&&(p.i|=32,d=l.constructor,customElements.whenDefined(l.localName).then((()=>p.i|=128)),d&&d.style)){let h;typeof d.style=="string"&&(h=d.style);const x=xe(c);U.has(x)||((S,m,y)=>{let g=U.get(S);K&&y?(g=g||new CSSStyleSheet,typeof g=="string"?g=m:g.replaceSync(m)):g=m,U.set(S,g)})(x,h,!!(1&c.i))}const u=p.R,f=()=>pe(p,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(u){$(u,l),p.A&&(p.A(),p.A=void 0),p.L&&p.L(l)}})(o,a,r)}}})(this),s&&s.call(this)},disconnectedCallback(){(async o=>{if(!(1&L.i)){const a=O(o);a?.V&&(a.V.map((r=>r())),a.V=void 0)}P.has(o)&&P.delete(o),o.shadowRoot&&P.has(o.shadowRoot)&&P.delete(o.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${i.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ye.call(this,i)}}),Object.defineProperty(e,"is",{value:i.p,configurable:!0}),pt(e,i,3)}catch(s){return $(s),e}},De=(e,t,i)=>{i&&v.document&&i.map((([s,n,o])=>{const a=ut(v.document,e,s),r=ct(t,o),l=ht(s);L.ael(a,n,r,l),(t.V=t.V||[]).push((()=>L.rel(a,n,r,l)))}))},ct=(e,t)=>i=>{try{e.$hostElement$[t](i)}catch(s){$(s,e.$hostElement$)}},ut=(e,t,i)=>8&i?v:t,ht=e=>We?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Lt(e){return e}function Ve(e){var t,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(i=Ve(e[t]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function ce(){for(var e,t,i=0,s="",n=arguments.length;i<n;i++)(e=arguments[i])&&(t=Ve(e))&&(s&&(s+=" "),s+=t);return s}const gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDisplaTagClassNames:({size:e,appearance:t,color:i},s)=>ce("gids-display-tag",{"gids-display-tag--xsmall":e==="xs","gids-display-tag--small":e==="sm","gids-display-tag--large":e==="lg","gids-display-tag--accent-1":t==="subtle"&&i==="accent-1","gids-display-tag--accent-2":t==="subtle"&&i==="accent-2","gids-display-tag--accent-3":t==="subtle"&&i==="accent-3","gids-display-tag--accent-4":t==="subtle"&&i==="accent-4","gids-display-tag--accent-5":t==="subtle"&&i==="accent-5","gids-display-tag--bold-accent-1":t==="bold"&&i==="accent-1","gids-display-tag--bold-accent-2":t==="bold"&&i==="accent-2","gids-display-tag--bold-accent-3":t==="bold"&&i==="accent-3","gids-display-tag--bold-accent-4":t==="bold"&&i==="accent-4","gids-display-tag--bold-accent-5":t==="bold"&&i==="accent-5"},s)},Symbol.toStringTag,{value:"Module"})),ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionBodyListItemClassNames:e=>ce("gids-expansion-body-list-item",e)},Symbol.toStringTag,{value:"Module"})),yt=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionBodyListClassNames:e=>ce("gids-expansion-body-list",e)},Symbol.toStringTag,{value:"Module"})),{getGidsDisplaTagClassNames:mt}=gt,bt=({label:e,appearance:t="subtle",color:i,size:s="md",icon:n,class:o,...a})=>C("span",{class:mt({size:s,appearance:t,color:i},o),...a},n,e),{getGidsExpansionBodyListItemClassNames:St}=ft,xt=Ae(class extends ge{constructor(e){super(),e!==!1&&this.__registerHost(),this.displayTagVisible=!1,this.displayTagColor="accent-5",this.displayTagSize="xs",this.displayTagAppearance="subtle",this.hasSubtitleItemListener=!1,this.hasSupportingTextItemListener=!1,this.handleSubtitleClick=t=>{this.applySubtitleSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"subtitle",originalEvent:t})},this.handleSupportingTextClick=t=>{this.applySupportingTextSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"supporting-text",originalEvent:t})}}handleDisplayTagVisibilityChange(e){this.displayTagVisible=e}handleDisplayTagColorChange(e){this.displayTagColor=e}handleDisplayTagSizeChange(e){this.displayTagSize=e}handleDisplayTagAppearanceChange(e){this.displayTagAppearance=e}connectedCallback(){this.attachSubtitleItemListener(),this.attachSupportingTextItemListener()}disconnectedCallback(){this.detachSubtitleItemListener(),this.detachSupportingTextItemListener()}applySubtitleSelection(e){this.onSubtitlePress&&this.onSubtitlePress(e)}applySupportingTextSelection(e){this.onSupportingTextPress&&this.onSupportingTextPress(e)}attachSubtitleItemListener(){this.hasSubtitleItemListener||(this.hostElement.addEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!0)}attachSupportingTextItemListener(){this.hasSupportingTextItemListener||(this.hostElement.addEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!0)}detachSubtitleItemListener(){this.hasSubtitleItemListener&&(this.hostElement.removeEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!1)}detachSupportingTextItemListener(){this.hasSupportingTextItemListener&&(this.hostElement.removeEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!1)}isValidLabel(){return!(!this?.label||this.label==="")}isValidSubtitle(){return!(!this?.subtitle||this.subtitle==="")}isValidSupportingText(){return!(!this?.supportingText||this.supportingText==="")}isDisplayTagVisible(){return!(!this.displayTagVisible||!this?.displayTagLabel||this.displayTagLabel==="")}convertTextToUppercase(e){return e&&e!==""?e.toUpperCase():""}render(){const e=St(),t=this?.label,i=this?.subtitle,s=this?.supportingText,n=this.isValidLabel(),o=this.isValidSubtitle(),a=this.isValidSupportingText(),r=this.isDisplayTagVisible(),l=this?.displayTagLabel??"";return C(le,{key:"f8efd33b1166ad50320525759f55707077d46028",class:e},n||o||r?C("div",{class:"gids-expansion-body-list-item__primary-container"},n||r?C("div",{class:"gids-expansion-body-list-item__primary-content"},n?C("span",{class:"gids-expansion-body-list-item__label"},this.convertTextToUppercase(t)):void 0,r?C(bt,{color:this.displayTagColor||"accent-5",label:l,size:this.displayTagSize,appearance:this.displayTagAppearance}):void 0):void 0,o?C("button",{type:"button",class:"gids-expansion-body-list-item__subtitle",onClick:this.handleSubtitleClick},i):void 0):void 0,a?C("div",{class:"gids-expansion-body-list-item__secondary-container"},C("button",{type:"button",class:"gids-expansion-body-list-item__supporting-text",onClick:this.handleSupportingTextClick},this.convertTextToUppercase(s))):void 0)}get hostElement(){return this}static get watchers(){return{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}}static get style(){return'.gids-expansion-body-list-item{display:flex;flex:1;gap:var(--gids-gap-400);padding-bottom:var(--gids-padding-vertical-edge-to-element-300);position:relative;cursor:default}.gids-expansion-body-list-item::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--gids-color-border-default);transition:background 0.3s ease-in-out;z-index:1}.gids-expansion-body-list-item::before{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(to right, transparent 0%, transparent 25%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 55%, transparent 75%, transparent 100%);opacity:0;transition:opacity 0.3s ease-in-out;z-index:2}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::after{background:linear-gradient(to right, var(--gids-color-border-default) 0%, var(--gids-color-border-default) 15%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 70%, var(--gids-color-border-default) 90%, var(--gids-color-border-default) 100%)}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::before{opacity:1}.gids-expansion-body-list-item__primary-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:1 0;gap:var(--gids-gap-150)}.gids-expansion-body-list-item__primary-content{display:flex;align-items:center;justify-content:center;gap:var(--gids-gap-200)}.gids-expansion-body-list-item__secondary-container{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end}.gids-expansion-body-list-item__label{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);cursor:default}.gids-expansion-body-list-item__subtitle{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-medium__font-family);font-size:var(--gids-typography-label-medium__font-size);font-weight:var(--gids-typography-label-medium__font-weight);letter-spacing:var(--gids-typography-label-medium__letter-spacing);line-height:var(--gids-typography-label-medium__line-height);text-transform:var(--gids-typography-label-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-label-medium__font-variant-caps, inherit);color:var(--gids-color-text-default);cursor:pointer}.gids-expansion-body-list-item__supporting-text{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);padding:var(--gids-padding-vertical-edge-to-element-050) var(--gids-padding-horizontal-edge-to-element-100);border-radius:var(--gids-border-radius-sm);cursor:pointer;transition:background-color 0.3s ease-in-out, color 0.3s ease-in-out}.gids-expansion-body-list-item__supporting-text:hover{background-color:var(--gids-color-background-brand-bold-hovered);color:var(--gids-color-text-inverse)}.gids-expansion-body-list-item__supporting-text:active{background-color:var(--gids-color-background-brand-bold-pressed);color:var(--gids-color-text-inverse)}'}},[0,"gids-expansion-body-list-item",{listItemId:[1,"list-item-id"],label:[1],subtitle:[1],supportingText:[1,"supporting-text"],displayTagVisible:[4,"display-tag-visible"],displayTagColor:[1,"display-tag-color"],displayTagSize:[1,"display-tag-size"],displayTagAppearance:[1,"display-tag-appearance"],displayTagLabel:[1,"display-tag-label"],onSubtitlePress:[16],onSupportingTextPress:[16]},void 0,{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}]);function Re(){typeof customElements<"u"&&["gids-expansion-body-list-item"].forEach((e=>{e==="gids-expansion-body-list-item"&&(customElements.get(e)||customElements.define(e,xt))}))}Re();const{getGidsExpansionBodyListClassNames:vt}=yt,ze=Ae(class extends ge{constructor(e){super(),e!==!1&&this.__registerHost(),this.expansionBodyListItems=[],this.hasExpansionBodyListSubtitleItemListener=!1,this.hasExpansionBodyListSupportingTextItemListener=!1,this.handleExpansionBodyListSubtitleClick=t=>{this.applyExpansionBodyListSubtitleSelection(t)},this.handleExpansionBodyListSupportingTextClick=t=>{this.applyExpansionBodyListSupportingTextSelection(t)},this.handleExpansionBodyListSubtitleSelect=t=>{const{listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a}=t.detail;this.applyExpansionBodyListSubtitleSelection({listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a,originalEvent:t})},this.handleExpansionBodyListSupportingTextSelect=t=>{const{listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a}=t.detail;this.applyExpansionBodyListSupportingTextSelection({listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a,originalEvent:t})}}handleExpansionBodyListItemsChange(e){this.expansionBodyListItems=e}connectedCallback(){this.attachExpansionBodyListSubtitleItemListener(),this.attachExpansionBodyListSupportingTextItemListener()}disconnectedCallback(){this.detachExpansionBodyListSubtitleItemListener(),this.detachExpansionBodyListSupportingTextItemListener()}applyExpansionBodyListSubtitleSelection(e){this.onExpansionBodyListSubtitlePress&&this.onExpansionBodyListSubtitlePress(e)}applyExpansionBodyListSupportingTextSelection(e){this.onExpansionBodyListSupportingTextPress&&this.onExpansionBodyListSupportingTextPress(e)}attachExpansionBodyListSubtitleItemListener(){this.hasExpansionBodyListSubtitleItemListener||(this.hostElement.addEventListener("onExpansionBodyListSubtitlePress",this.handleExpansionBodyListSubtitleSelect),this.hasExpansionBodyListSubtitleItemListener=!0)}attachExpansionBodyListSupportingTextItemListener(){this.hasExpansionBodyListSupportingTextItemListener||(this.hostElement.addEventListener("onExpansionBodyListSupportingTextPress",this.handleExpansionBodyListSupportingTextSelect),this.hasExpansionBodyListSupportingTextItemListener=!0)}detachExpansionBodyListSubtitleItemListener(){this.hasExpansionBodyListSubtitleItemListener&&(this.hostElement.removeEventListener("onExpansionBodyListSubtitlePress",this.handleExpansionBodyListSubtitleSelect),this.hasExpansionBodyListSubtitleItemListener=!1)}detachExpansionBodyListSupportingTextItemListener(){this.hasExpansionBodyListSupportingTextItemListener&&(this.hostElement.removeEventListener("onExpansionBodyListSupportingTextPress",this.handleExpansionBodyListSupportingTextSelect),this.hasExpansionBodyListSupportingTextItemListener=!1)}render(){const e=vt();return C(le,{key:"15f3772895a64b74baab61c2e9067b1e9081b1aa",class:e},(this?.expansionBodyListItems??[]).map(((t,i)=>C("gids-expansion-body-list-item",{key:""+(i+1),...t,onSubtitlePress:this.handleExpansionBodyListSubtitleClick,onSupportingTextPress:this.handleExpansionBodyListSupportingTextClick}))))}get hostElement(){return this}static get watchers(){return{expansionBodyListItems:[{handleExpansionBodyListItemsChange:0}]}}static get style(){return".gids-expansion-body-list{display:flex;flex-direction:column;width:100%;gap:var(--gids-gap-400);overflow-y:scroll;overflow-x:hidden}"}},[0,"gids-expansion-body-list",{expansionBodyListItems:[16],onExpansionBodyListSubtitlePress:[16],onExpansionBodyListSupportingTextPress:[16]},void 0,{expansionBodyListItems:[{handleExpansionBodyListItemsChange:0}]}]);function Me(){typeof customElements<"u"&&["gids-expansion-body-list","gids-expansion-body-list-item"].forEach((e=>{switch(e){case"gids-expansion-body-list":customElements.get(e)||customElements.define(e,ze);break;case"gids-expansion-body-list-item":customElements.get(e)||Re()}}))}Me();const _t=ze,Tt=Me;j.GidsExpansionBodyList=_t,j.defineCustomElement=Tt,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})}));
|
|
5
|
+
`);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(x=>{const m=[];for(let y=0;y<x.length;y++){const g=x[y]["s-nr"]||void 0;g&&g.isConnected&&m.push(g)}return m})(S.childNodes)).forEach((x=>{h===z(x)&&f.push(x)})),d?f.filter((x=>x.nodeType===1)):f}).bind(p);p.assignedElements=c(!0),p.assignedNodes=c(!1)})(o),r=e&&e.m&&e.m[i],r&&r.O===n.O&&e.S&&Ne(e.S)),o},Ne=e=>{T.i|=1;const t=e.closest(A.toLowerCase());if(t!=null){const i=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of i?s.reverse():s)n["s-sh"]!=null&&(I(t,n,i??null),n["s-sh"]=void 0,q=!0)}T.i&=-2},Z=(e,t)=>{T.i|=1;const i=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===A&&i.push(s)}for(let s=i.length-1;s>=0;s--){const n=i[s];n["s-hn"]!==A&&n["s-ol"]&&(I(H(n).parentNode,n,H(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,q=!0),t&&Z(n,t)}T.i&=-2},Ie=(e,t,i,s,n,o)=>{let a,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===A&&(r=r.shadowRoot),i.O==="template"&&(r=r.content);n<=o;++n)s[n]&&(a=Y(null,i,n),a&&(s[n].S=a,I(r,a,H(t))))},Be=(e,t,i)=>{for(let s=t;s<=i;++s){const n=e[s];if(n){const o=n.S;Oe(n),o&&(G=!0,o["s-ol"]?o["s-ol"].remove():Z(o,!0),o.remove())}}},J=(e,t,i=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:i?(i&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),H=e=>e&&e["s-ol"]||e,V=(e,t,i=!1)=>{const s=t.S=e.S,n=e.m,o=t.m,a=t.O,r=t.h;let l;r==null?(E=a==="svg"||a!=="foreignObject"&&E,a!=="slot"||M||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ne(t.S.parentElement)),ae(e,t,E),n!==null&&o!==null?((p,c,d,u,f=!1)=>{let h,S,x=0,m=0,y=0,g=0,_=c.length-1,b=c[0],L=c[_],w=u.length-1,N=u[0],B=u[w];const He=d.O==="template"?p.content:p;for(;x<=_&&m<=w;)if(b==null)b=c[++x];else if(L==null)L=c[--_];else if(N==null)N=u[++m];else if(B==null)B=u[--w];else if(J(b,N,f))V(b,N,f),b=c[++x],N=u[++m];else if(J(L,B,f))V(L,B,f),L=c[--_],B=u[--w];else if(J(b,B,f))b.O!=="slot"&&B.O!=="slot"||Z(b.S.parentNode,!1),V(b,B,f),I(He,b.S,L.S.nextSibling),b=c[++x],B=u[--w];else if(J(L,N,f))b.O!=="slot"&&B.O!=="slot"||Z(L.S.parentNode,!1),V(L,N,f),I(He,L.S,b.S),L=c[--_],N=u[++m];else{for(y=-1,g=x;g<=_;++g)if(c[g]&&c[g].$!==null&&c[g].$===N.$){y=g;break}y>=0?(S=c[y],S.O!==N.O?h=Y(c&&c[m],d,y):(V(S,N,f),c[y]=void 0,h=S.S),N=u[++m]):(h=Y(c&&c[m],d,m),N=u[++m]),h&&I(H(b.S).parentNode,h,H(b.S))}x>_?Ie(p,u[w+1]==null?null:u[w+1].S,d,u,m,w):m>w&&Be(c,x,_)})(s,n,t,o,i):o!==null?(e.h!==null&&(s.textContent=""),Ie(s,null,t,o,0,o.length-1)):!i&&n!==null&&Be(n,0,n.length-1),E&&a==="svg"&&(E=!1)):(l=s["s-cr"])?l.parentNode.textContent=r:e.h!==r&&(s.data=r)},O=[],ke=e=>{let t,i,s;const n=e.__childNodes||e.childNodes;for(const o of n){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){i=t.parentNode.__childNodes||t.parentNode.childNodes;const a=o["s-sn"];for(s=i.length-1;s>=0;s--)if(t=i[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===o["s-hn"]||t["s-sh"]&&t["s-sh"]===o["s-hn"]))if(xe(t,a)){let r=O.find((l=>l.k===t));G=!0,t["s-sn"]=t["s-sn"]||a,r?(r.k["s-sh"]=o["s-hn"],r.N=o):(t["s-sh"]=o["s-hn"],O.push({N:o,k:t})),t["s-sr"]&&O.map((l=>{xe(l.k,t["s-sn"])&&(r=O.find((p=>p.k===t)),r&&!l.N&&(l.N=r.N))}))}else O.some((r=>r.k===t))||O.push({k:t})}o.nodeType===1&&ke(o)}},Oe=e=>{e.v&&e.v.ref&&re.push((()=>e.v.ref(null))),e.m&&e.m.map(Oe)},tt=(e,t)=>{de.push((()=>e(t)))},I=(e,t,i,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,i);const{slotNode:n}=(function(o,a){var r;if(!(a=a||((r=o["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const l=o["s-sn"]=z(o)||"";return{slotNode:se(ie(a,"childNodes"),a.tagName,l)[0],slotName:l}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,i):e?.insertBefore(t,i)},st=(e,t,i=!1)=>{var s,n,o,a,r;const l=e.$hostElement$,p=e.o,c=e.M||W(null,null);var d;const u=(d=t)&&d.O===le?t:C(null,null,t);if(A=l.tagName,p.C&&(u.v=u.v||{},p.C.forEach((([f,h])=>{u.v[h]=l[f]}))),i&&u.v)for(const f of Object.keys(u.v))l.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(u.v[f]=l[f]);if(u.O=null,u.i|=4,e.M=u,u.S=c.S=l.shadowRoot||l,M=!(!(1&p.i)||128&p.i),ne=l["s-cr"],G=!1,V(c,u,i),T.i|=1,q){ke(u.S);for(const f of O){const h=f.k;if(!h["s-ol"]&&v.document){const S=v.document.createTextNode("");S["s-nr"]=h,I(h.parentNode,h["s-ol"]=S,h,i)}}for(const f of O){const h=f.k,S=f.N;if(h.nodeType===1&&i&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const x=S.parentNode;let m=S.nextSibling;if(m&&m.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let g=(o=y["s-nr"])!=null?o:null;if(g&&g["s-sn"]===h["s-sn"]&&x===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===h||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}y=y.previousSibling}}if((!m&&x!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(I(x,h,m,i),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=v.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,I(h.parentNode,y,h,i),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(a=h["s-ih"])!=null&&a)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(G&&be(u.S),T.i&=-2,O.length=0,!M&&!(1&p.i)&&l["s-cr"]){const f=u.S.__childNodes||u.S.childNodes;for(const h of f)if(h["s-hn"]!==A&&!h["s-sh"]){if(i&&h["s-ih"]==null&&(h["s-ih"]=(r=h.hidden)!=null&&r),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=v.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],I(h.parentNode,S,h,i),h.parentNode.removeChild(h)}}}ne=void 0,re.forEach((f=>f())),re.length=0,de.forEach((f=>f())),de.length=0},Pe=(e,t)=>{if(t&&!e.A&&t["s-p"]){const i=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(i-1,1),s()})))}},pe=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Pe(e,e.R);const i=()=>it(e,t);if(!t)return qe(i);queueMicrotask((()=>{i()}))},it=(e,t)=>{const i=e.$hostElement$,s=i;if(!s)throw new Error(`Can't render component <${i.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 n;return n=F(s,t?"componentWillLoad":"componentWillUpdate",void 0,i),n=je(n,(()=>F(s,"componentWillRender",void 0,i))),je(n,(()=>ot(e,s,t)))},je=(e,t)=>nt(e)?e.then(t).catch((i=>{console.error(i),t()})):t(),nt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ot=async(e,t,i)=>{var s;const n=e.$hostElement$,o=n["s-rc"];i&&(a=>{const r=a.o,l=a.$hostElement$,p=r.i,c=((d,u)=>{var f,h,S;const x=Se(u),m=U.get(x);if(!v.document)return x;if(d=d.nodeType===11?d:v.document,m)if(typeof m=="string"){let y,g=P.get(d=d.head||d);if(g||P.set(d,g=new Set),!g.has(x)){y=v.document.createElement("style"),y.textContent=m;const _=(f=T._)!=null?f:(function(){var b,L,w;return(w=(L=(b=v.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:L.getAttribute("content"))!=null?w:void 0})();if(_!=null&&y.setAttribute("nonce",_),!(1&u.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),L=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,L?.parentNode===d?L:null)}else if("host"in d)if(K){const b=new((h=d.defaultView)!=null?h:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),Q?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=m+b.textContent:d.prepend(y)}else d.append(y);1&u.i&&d.insertBefore(y,null),4&u.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(x)}}else{let y=P.get(d);if(y||P.set(d,y=new Set),!y.has(x)){const g=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let _;if(m.constructor===g.CSSStyleSheet)_=m;else{_=new g.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)_.insertRule(m.cssRules[b].cssText,b)}Q?d.adoptedStyleSheets.push(_):d.adoptedStyleSheets=[...d.adoptedStyleSheets,_],y.add(x)}}return x})(l.shadowRoot?l.shadowRoot:l.getRootNode(),r);10&p&&(l["s-sc"]=c,l.classList.add(c+"-h"))})(e),lt(e,t,n,i),o&&(o.map((a=>a())),n["s-rc"]=void 0);{const a=(s=n["s-p"])!=null?s:[],r=()=>at(e);a.length===0?r():(Promise.all(a).then(r).catch(r),e.i|=4,a.length=0)}},lt=(e,t,i,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,st(e,t,s)}catch(n){$(n,e.$hostElement$)}return null},at=e=>{const t=e.$hostElement$,i=t,s=e.R;F(i,"componentDidRender",void 0,t),64&e.i?F(i,"componentDidUpdate",void 0,t):(e.i|=64,dt(t),F(i,"componentDidLoad",void 0,t),e.L(t),s||rt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>pe(e,!1))),e.i&=-517},rt=()=>{te((()=>Qe(v,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,i,s)=>{if(e&&e[t])try{return e[t](i)}catch(n){$(n,s)}},dt=e=>e.classList.add("hydrated"),$e=(e,t,i,s)=>{const n=k(e);if(!n)return;const o=e,a=n.l.get(t),r=n.i,l=o;i=_e(i,s.t[t][0],!!(64&s.i));const p=Number.isNaN(a)&&Number.isNaN(i);if(i!==a&&!p){if(n.l.set(t,i),s.F){const c=s.F[t];c&&c.map((d=>{try{const[[u,f]]=Object.entries(d);(128&r||1&f)&&(l?l[u](i,a,t):n.T.push((()=>{n.D[u](i,a,t)})))}catch(u){$(u,o)}}))}if(2&r){if(l.componentShouldUpdate&&l.componentShouldUpdate(i,a,t)===!1&&!(16&r))return;16&r||pe(n,!1)}}},pt=(e,t,i)=>{var s,n;const o=e.prototype;64&t.i&&1&i&&Ue.forEach((a=>{const r=o[a];Object.defineProperty(o,a,{value(...l){var p;const c=k(this),d=this;d?typeof r=="function"&&r.call(d,...l):(p=c?.H)==null||p.then((u=>{const f=u[a];typeof f=="function"&&f.call(u,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Le(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const a=Object.entries((s=t.t)!=null?s:{});a.map((([r,[l]])=>{if(31&l||32&l){const{get:p,set:c}=D(o,r)||{};p&&(t.t[r][0]|=2048),c&&(t.t[r][0]|=4096),Object.defineProperty(o,r,{get(){return p?p.apply(this):(d=r,k(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(o,r,{set(d){const u=k(this);if(u){if(c)return(32&l?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(d=u.l.get(r)),c.apply(this,[_e(d,l,!!(64&t.i))]),void $e(this,r,d=32&l?this[r]:u.$hostElement$[r],t);$e(this,r,d,t)}}})}}));{const r=new Map;o.attributeChangedCallback=function(l,p,c){T.jmp((()=>{var d;const u=r.get(l),f=k(this);if(this.hasOwnProperty(u),o.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const y=f?.i;if(f&&y&&!(8&y)&&c!==p){const g=this,_=(d=t.F)==null?void 0:d[l];_?.forEach((b=>{const[[L,w]]=Object.entries(b);g[L]!=null&&(128&y||1&w)&&g[L].call(g,c,p,l)}))}return}const h=a.find((([y])=>y===u)),S=h&&4&h[1][0],x=S&&c===null&&this[u]===void 0;S&&(c=c!==null&&c!=="false");const m=Object.getOwnPropertyDescriptor(o,u);x||c==this[u]||m.get&&!m.set||(this[u]=c)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...a.filter((([l,p])=>31&p[0])).map((([l,p])=>{var c;const d=p[1]||l;return r.set(d,l),512&p[0]&&((c=t.C)==null||c.push([l,d])),d}))]))}}return e},Ae=(e,t)=>{const i={i:t[0],p:t[1]};try{i.t=t[2],i.W=t[3],i.F=Le(e.F),i.P=e.P,i.U=e.U,i.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((o,a)=>{const r={i:0,$hostElement$:o,o:a,l:new Map,B:new Map};r.H=new Promise((p=>r.L=p)),o["s-p"]=[],o["s-rc"]=[];const l=r;o.__stencil__getHostRef=()=>l,512&a.i&&Fe(o,r)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=k(this);if(!o)return;De(this,o,i.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&T.i)){const a=k(o);if(!a)return;const r=a.o;if(1&a.i)De(o,a,r.W),a?.D||a?.H&&a.H.then((()=>{}));else{a.i|=1,12&r.i&&(l=>{if(!v.document)return;const p=l["s-cr"]=v.document.createComment("");p["s-cn"]=!0,I(l,p,l.firstChild)})(o);{let l=o;for(;l=l.parentNode||l.host;)if(l["s-p"]){Pe(a,a.R=l);break}}r.t&&Object.entries(r.t).map((([l,[p]])=>{if(31&p&&Object.prototype.hasOwnProperty.call(o,l)){const c=o[l];delete o[l],o[l]=c}})),(async(l,p,c)=>{let d;try{if(!(32&p.i)&&(p.i|=32,d=l.constructor,customElements.whenDefined(l.localName).then((()=>p.i|=128)),d&&d.style)){let h;typeof d.style=="string"&&(h=d.style);const S=Se(c);U.has(S)||((x,m,y)=>{let g=U.get(x);K&&y?(g=g||new CSSStyleSheet,typeof g=="string"?g=m:g.replaceSync(m)):g=m,U.set(x,g)})(S,h,!!(1&c.i))}const u=p.R,f=()=>pe(p,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(u){$(u,l),p.A&&(p.A(),p.A=void 0),p.L&&p.L(l)}})(o,a,r)}}})(this),s&&s.call(this)},disconnectedCallback(){(async o=>{if(!(1&T.i)){const a=k(o);a?.V&&(a.V.map((r=>r())),a.V=void 0)}P.has(o)&&P.delete(o),o.shadowRoot&&P.has(o.shadowRoot)&&P.delete(o.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${i.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ye.call(this,i)}}),Object.defineProperty(e,"is",{value:i.p,configurable:!0}),pt(e,i,3)}catch(s){return $(s),e}},De=(e,t,i)=>{i&&v.document&&i.map((([s,n,o])=>{const a=ut(v.document,e,s),r=ct(t,o),l=ht(s);T.ael(a,n,r,l),(t.V=t.V||[]).push((()=>T.rel(a,n,r,l)))}))},ct=(e,t)=>i=>{try{e.$hostElement$[t](i)}catch(s){$(s,e.$hostElement$)}},ut=(e,t,i)=>8&i?v:t,ht=e=>We?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Tt(e){return e}function Ve(e){var t,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(i=Ve(e[t]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function ce(){for(var e,t,i=0,s="",n=arguments.length;i<n;i++)(e=arguments[i])&&(t=Ve(e))&&(s&&(s+=" "),s+=t);return s}const gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDisplaTagClassNames:({size:e,appearance:t,color:i},s)=>ce("gids-display-tag",{"gids-display-tag--xsmall":e==="xs","gids-display-tag--small":e==="sm","gids-display-tag--large":e==="lg","gids-display-tag--accent-1":t==="subtle"&&i==="accent-1","gids-display-tag--accent-2":t==="subtle"&&i==="accent-2","gids-display-tag--accent-3":t==="subtle"&&i==="accent-3","gids-display-tag--accent-4":t==="subtle"&&i==="accent-4","gids-display-tag--accent-5":t==="subtle"&&i==="accent-5","gids-display-tag--bold-accent-1":t==="bold"&&i==="accent-1","gids-display-tag--bold-accent-2":t==="bold"&&i==="accent-2","gids-display-tag--bold-accent-3":t==="bold"&&i==="accent-3","gids-display-tag--bold-accent-4":t==="bold"&&i==="accent-4","gids-display-tag--bold-accent-5":t==="bold"&&i==="accent-5"},s)},Symbol.toStringTag,{value:"Module"})),ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionBodyListItemClassNames:e=>ce("gids-expansion-body-list-item",e)},Symbol.toStringTag,{value:"Module"})),yt=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionBodyListClassNames:e=>ce("gids-expansion-body-list",e)},Symbol.toStringTag,{value:"Module"})),{getGidsDisplaTagClassNames:mt}=gt,bt=({label:e,appearance:t="subtle",color:i,size:s="md",icon:n,class:o,...a})=>C("span",{class:mt({size:s,appearance:t,color:i},o),...a},n,e),{getGidsExpansionBodyListItemClassNames:xt}=ft,St=Ae(class extends ge{constructor(e){super(),e!==!1&&this.__registerHost(),this.displayTagVisible=!1,this.displayTagColor="accent-5",this.displayTagSize="xs",this.displayTagAppearance="subtle",this.hasSubtitleItemListener=!1,this.hasSupportingTextItemListener=!1,this.handleSubtitleClick=t=>{this.applySubtitleSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"subtitle",originalEvent:t})},this.handleSupportingTextClick=t=>{this.applySupportingTextSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"supporting-text",originalEvent:t})}}handleDisplayTagVisibilityChange(e){this.displayTagVisible=e}handleDisplayTagColorChange(e){this.displayTagColor=e}handleDisplayTagSizeChange(e){this.displayTagSize=e}handleDisplayTagAppearanceChange(e){this.displayTagAppearance=e}connectedCallback(){this.attachSubtitleItemListener(),this.attachSupportingTextItemListener()}disconnectedCallback(){this.detachSubtitleItemListener(),this.detachSupportingTextItemListener()}applySubtitleSelection(e){this.onSubtitlePress&&this.onSubtitlePress(e)}applySupportingTextSelection(e){this.onSupportingTextPress&&this.onSupportingTextPress(e)}attachSubtitleItemListener(){this.hasSubtitleItemListener||(this.hostElement.addEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!0)}attachSupportingTextItemListener(){this.hasSupportingTextItemListener||(this.hostElement.addEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!0)}detachSubtitleItemListener(){this.hasSubtitleItemListener&&(this.hostElement.removeEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!1)}detachSupportingTextItemListener(){this.hasSupportingTextItemListener&&(this.hostElement.removeEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!1)}isValidLabel(){return!(!this?.label||this.label==="")}isValidSubtitle(){return!(!this?.subtitle||this.subtitle==="")}isValidSupportingText(){return!(!this?.supportingText||this.supportingText==="")}isDisplayTagVisible(){return!(!this.displayTagVisible||!this?.displayTagLabel||this.displayTagLabel==="")}convertTextToUppercase(e){return e&&e!==""?e.toUpperCase():""}render(){const e=xt(),t=this?.label,i=this?.subtitle,s=this?.supportingText,n=this.isValidLabel(),o=this.isValidSubtitle(),a=this.isValidSupportingText(),r=this.isDisplayTagVisible(),l=this?.displayTagLabel??"";return C(le,{key:"f70f03c864cc5d3fe92f7f22a1772054636c1e9c",class:e},n||o||r?C("div",{class:"gids-expansion-body-list-item__primary-container"},n||r?C("div",{class:"gids-expansion-body-list-item__primary-content"},n?C("span",{class:"gids-expansion-body-list-item__label"},this.convertTextToUppercase(t)):void 0,r?C(bt,{color:this.displayTagColor||"accent-5",label:l,size:this.displayTagSize,appearance:this.displayTagAppearance}):void 0):void 0,o?C("button",{type:"button",class:"gids-expansion-body-list-item__subtitle",onClick:this.handleSubtitleClick},i):void 0):void 0,a?C("div",{class:"gids-expansion-body-list-item__secondary-container"},C("button",{type:"button",class:"gids-expansion-body-list-item__supporting-text",onClick:this.handleSupportingTextClick},this.convertTextToUppercase(s))):void 0)}get hostElement(){return this}static get watchers(){return{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}}static get style(){return'.gids-expansion-body-list-item{display:flex;flex:1;gap:var(--gids-gap-400);padding-bottom:var(--gids-padding-vertical-edge-to-element-300);position:relative;cursor:default}.gids-expansion-body-list-item::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--gids-color-border-default);transition:background 0.3s ease-in-out;z-index:1}.gids-expansion-body-list-item::before{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(to right, transparent 0%, transparent 25%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 55%, transparent 75%, transparent 100%);opacity:0;transition:opacity 0.3s ease-in-out;z-index:2}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::after{background:linear-gradient(to right, var(--gids-color-border-default) 0%, var(--gids-color-border-default) 15%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 70%, var(--gids-color-border-default) 90%, var(--gids-color-border-default) 100%)}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::before{opacity:1}.gids-expansion-body-list-item__primary-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:1 0;gap:var(--gids-gap-150)}.gids-expansion-body-list-item__primary-content{display:flex;align-items:center;justify-content:center;gap:var(--gids-gap-200)}.gids-expansion-body-list-item__secondary-container{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end}.gids-expansion-body-list-item__label{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);cursor:default}.gids-expansion-body-list-item__subtitle{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-medium__font-family);font-size:var(--gids-typography-label-medium__font-size);font-weight:var(--gids-typography-label-medium__font-weight);letter-spacing:var(--gids-typography-label-medium__letter-spacing);line-height:var(--gids-typography-label-medium__line-height);text-transform:var(--gids-typography-label-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-label-medium__font-variant-caps, inherit);color:var(--gids-color-text-default);cursor:pointer}.gids-expansion-body-list-item__supporting-text{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);padding:var(--gids-padding-vertical-edge-to-element-050) var(--gids-padding-horizontal-edge-to-element-100);border-radius:var(--gids-border-radius-sm);cursor:pointer;transition:background-color 0.3s ease-in-out, color 0.3s ease-in-out}.gids-expansion-body-list-item__supporting-text:hover{background-color:var(--gids-color-background-brand-bold-hovered);color:var(--gids-color-text-inverse)}.gids-expansion-body-list-item__supporting-text:active{background-color:var(--gids-color-background-brand-bold-pressed);color:var(--gids-color-text-inverse)}'}},[0,"gids-expansion-body-list-item",{listItemId:[1,"list-item-id"],label:[1],subtitle:[1],supportingText:[1,"supporting-text"],displayTagVisible:[4,"display-tag-visible"],displayTagColor:[1,"display-tag-color"],displayTagSize:[1,"display-tag-size"],displayTagAppearance:[1,"display-tag-appearance"],displayTagLabel:[1,"display-tag-label"],onSubtitlePress:[16],onSupportingTextPress:[16]},void 0,{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}]);function Re(){typeof customElements<"u"&&["gids-expansion-body-list-item"].forEach((e=>{e==="gids-expansion-body-list-item"&&(customElements.get(e)||customElements.define(e,St))}))}Re();const{getGidsExpansionBodyListClassNames:vt}=yt,ze=Ae(class extends ge{constructor(e){super(),e!==!1&&this.__registerHost(),this.expansionBodyListItems=[],this.hasExpansionBodyListSubtitleItemListener=!1,this.hasExpansionBodyListSupportingTextItemListener=!1,this.handleExpansionBodyListSubtitleClick=({detail:t,expansionBodyListItem:i})=>{this.selectedExpansionListItem={detail:t,expansionBodyListItem:i},this.applyExpansionBodyListSubtitleSelection({detail:t,expansionBodyListItem:i})},this.handleExpansionBodyListSupportingTextClick=({detail:t,expansionBodyListItem:i})=>{this.selectedExpansionListItem={detail:t,expansionBodyListItem:i},this.applyExpansionBodyListSupportingTextSelection({detail:t,expansionBodyListItem:i})},this.handleExpansionBodyListSubtitleSelect=t=>{const{listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a}=t.detail;this.applyExpansionBodyListSubtitleSelection({detail:{listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a,originalEvent:t},expansionBodyListItem:this.selectedExpansionListItem?.expansionBodyListItem})},this.handleExpansionBodyListSupportingTextSelect=t=>{const{listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a}=t.detail;this.applyExpansionBodyListSupportingTextSelection({detail:{listItemId:i,label:s,subtitle:n,supportingText:o,listItemPressedType:a,originalEvent:t},expansionBodyListItem:this.selectedExpansionListItem?.expansionBodyListItem})}}handleExpansionBodyListItemsChange(e){this.expansionBodyListItems=e}connectedCallback(){this.attachExpansionBodyListSubtitleItemListener(),this.attachExpansionBodyListSupportingTextItemListener()}disconnectedCallback(){this.detachExpansionBodyListSubtitleItemListener(),this.detachExpansionBodyListSupportingTextItemListener()}applyExpansionBodyListSubtitleSelection({detail:e,expansionBodyListItem:t}){this.onExpansionBodyListSubtitlePress&&this.onExpansionBodyListSubtitlePress({...e,selectedExpansionBodyListItem:t})}applyExpansionBodyListSupportingTextSelection({detail:e,expansionBodyListItem:t}){this.onExpansionBodyListSupportingTextPress&&this.onExpansionBodyListSupportingTextPress({...e,selectedExpansionBodyListItem:t})}attachExpansionBodyListSubtitleItemListener(){this.hasExpansionBodyListSubtitleItemListener||(this.hostElement.addEventListener("onExpansionBodyListSubtitlePress",this.handleExpansionBodyListSubtitleSelect),this.hasExpansionBodyListSubtitleItemListener=!0)}attachExpansionBodyListSupportingTextItemListener(){this.hasExpansionBodyListSupportingTextItemListener||(this.hostElement.addEventListener("onExpansionBodyListSupportingTextPress",this.handleExpansionBodyListSupportingTextSelect),this.hasExpansionBodyListSupportingTextItemListener=!0)}detachExpansionBodyListSubtitleItemListener(){this.hasExpansionBodyListSubtitleItemListener&&(this.hostElement.removeEventListener("onExpansionBodyListSubtitlePress",this.handleExpansionBodyListSubtitleSelect),this.hasExpansionBodyListSubtitleItemListener=!1)}detachExpansionBodyListSupportingTextItemListener(){this.hasExpansionBodyListSupportingTextItemListener&&(this.hostElement.removeEventListener("onExpansionBodyListSupportingTextPress",this.handleExpansionBodyListSupportingTextSelect),this.hasExpansionBodyListSupportingTextItemListener=!1)}render(){const e=vt();return C(le,{key:"1a5870a9022eaac94b1dc42c81a661d78cffbe15",class:e},(this?.expansionBodyListItems??[]).map(((t,i)=>C("gids-expansion-body-list-item",{key:""+(i+1),...t,onSubtitlePress:s=>this.handleExpansionBodyListSubtitleClick({detail:s,expansionBodyListItem:t}),onSupportingTextPress:s=>this.handleExpansionBodyListSupportingTextClick({detail:s,expansionBodyListItem:t})}))))}get hostElement(){return this}static get watchers(){return{expansionBodyListItems:[{handleExpansionBodyListItemsChange:0}]}}static get style(){return".gids-expansion-body-list{display:flex;flex-direction:column;width:100%;gap:var(--gids-gap-400);overflow-y:scroll;overflow-x:hidden}"}},[0,"gids-expansion-body-list",{expansionBodyListItems:[16],onExpansionBodyListSubtitlePress:[16],onExpansionBodyListSupportingTextPress:[16],selectedExpansionListItem:[32]},void 0,{expansionBodyListItems:[{handleExpansionBodyListItemsChange:0}]}]);function Me(){typeof customElements<"u"&&["gids-expansion-body-list","gids-expansion-body-list-item"].forEach((e=>{switch(e){case"gids-expansion-body-list":customElements.get(e)||customElements.define(e,ze);break;case"gids-expansion-body-list-item":customElements.get(e)||Re()}}))}Me();const Lt=ze,_t=Me;j.GidsExpansionBodyList=Lt,j.defineCustomElement=_t,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Flattening is not supported for Stencil non-shadow slots.
|
|
3
3
|
You can use \`.childNodes\` to nested slot fallback content.
|
|
4
4
|
If you have a particular use case, please open an issue on the Stencil repo.
|
|
5
|
-
`);const b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(S=>{const g=[];for(let y=0;y<S.length;y++){const p=S[y]["s-nr"]||void 0;p&&p.isConnected&&g.push(p)}return g})(b.childNodes)).forEach((S=>{h===F(S)&&m.push(S)})),a?m.filter((S=>S.nodeType===1)):m}).bind(u);u.assignedElements=d(!0),u.assignedNodes=d(!1)})(l),c=e&&e.m&&e.m[o],c&&c.O===n.O&&e.S&&je(e.S)),l},je=e=>{_.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&($(t,n,o??null),n["s-sh"]=void 0,Y=!0)}_.i&=-2},Z=(e,t)=>{_.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===L&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==L&&n["s-ol"]&&($(W(n).parentNode,n,W(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&Z(n,t)}_.i&=-2},ke=(e,t,o,s,n,l)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===L&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);n<=l;++n)s[n]&&(i=I(null,o,n),i&&(s[n].S=i,$(c,i,W(t))))},$e=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;xe(n),l&&(z=!0,l["s-ol"]?l["s-ol"].remove():Z(l,!0),l.remove())}}},J=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),W=e=>e&&e["s-ol"]||e,M=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,c=t.h;let r;c==null?(E=i==="svg"||i!=="foreignObject"&&E,i!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",je(t.S.parentElement)),re(e,t,E),n!==null&&l!==null?((u,d,a,f,m=!1)=>{let h,b,S=0,g=0,y=0,p=0,O=d.length-1,v=d[0],w=d[O],j=f.length-1,k=f[0],C=f[j];const De=a.O==="template"?u.content:u;for(;S<=O&&g<=j;)if(v==null)v=d[++S];else if(w==null)w=d[--O];else if(k==null)k=f[++g];else if(C==null)C=f[--j];else if(J(v,k,m))M(v,k,m),v=d[++S],k=f[++g];else if(J(w,C,m))M(w,C,m),w=d[--O],C=f[--j];else if(J(v,C,m))v.O!=="slot"&&C.O!=="slot"||Z(v.S.parentNode,!1),M(v,C,m),$(De,v.S,w.S.nextSibling),v=d[++S],C=f[--j];else if(J(w,k,m))v.O!=="slot"&&C.O!=="slot"||Z(w.S.parentNode,!1),M(w,k,m),$(De,w.S,v.S),w=d[--O],k=f[++g];else{for(y=-1,p=S;p<=O;++p)if(d[p]&&d[p].$!==null&&d[p].$===k.$){y=p;break}y>=0?(b=d[y],b.O!==k.O?h=I(d&&d[g],a,y):(M(b,k,m),d[y]=void 0,h=b.S),k=f[++g]):(h=I(d&&d[g],a,g),k=f[++g]),h&&$(W(v.S).parentNode,h,W(v.S))}S>O?ke(u,f[j+1]==null?null:f[j+1].S,a,f,g,j):g>j&&$e(d,S,O)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),ke(s,null,t,l,0,l.length-1)):!o&&n!==null&&$e(n,0,n.length-1),E&&i==="svg"&&(E=!1)):(r=s["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(s.data=c)},A=[],Ce=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(ye(t,i)){let c=A.find((r=>r.k===t));z=!0,t["s-sn"]=t["s-sn"]||i,c?(c.k["s-sh"]=l["s-hn"],c.N=l):(t["s-sh"]=l["s-hn"],A.push({N:l,k:t})),t["s-sr"]&&A.map((r=>{ye(r.k,t["s-sn"])&&(c=A.find((u=>u.k===t)),c&&!r.N&&(r.N=c.N))}))}else A.some((c=>c.k===t))||A.push({k:t})}l.nodeType===1&&Ce(l)}},xe=e=>{e.v&&e.v.ref&&ie.push((()=>e.v.ref(null))),e.m&&e.m.map(xe)},Qe=(e,t)=>{ce.push((()=>e(t)))},$=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var c;if(!(i=i||((c=l["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=F(l)||"";return{slotNode:se(oe(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Xe=(e,t,o=!1)=>{var s,n,l,i,c;const r=e.$hostElement$,u=e.o,d=e.M||q(null,null);var a;const f=(a=t)&&a.O===ve?t:U(null,null,t);if(L=r.tagName,u.C&&(f.v=f.v||{},u.C.forEach((([m,h])=>{f.v[h]=r[m]}))),o&&f.v)for(const m of Object.keys(f.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=r[m]);if(f.O=null,f.i|=4,e.M=f,f.S=d.S=r.shadowRoot||r,V=!(!(1&u.i)||128&u.i),ne=r["s-cr"],z=!1,M(d,f,o),_.i|=1,Y){Ce(f.S);for(const m of A){const h=m.k;if(!h["s-ol"]&&N.document){const b=N.document.createTextNode("");b["s-nr"]=h,$(h.parentNode,h["s-ol"]=b,h,o)}}for(const m of A){const h=m.k,b=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),b){const S=b.parentNode;let g=b.nextSibling;if(g&&g.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let p=(l=y["s-nr"])!=null?l:null;if(p&&p["s-sn"]===h["s-sn"]&&S===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){g=p;break}}y=y.previousSibling}}if((!g&&S!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if($(S,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=N.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,$(h.parentNode,y,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else h.nodeType===1&&(h.hidden=!0)}}if(z&&me(f.S),_.i&=-2,A.length=0,!V&&!(1&u.i)&&r["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const b=N.document.createComment("s-nt-"+h.nodeValue);b["s-sn"]=h["s-sn"],$(h.parentNode,b,h,o),h.parentNode.removeChild(h)}}}ne=void 0,ie.forEach((m=>m())),ie.length=0,ce.forEach((m=>m())),ce.length=0},Ae=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},ae=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ae(e,e.R);const o=()=>et(e,t);if(!t)return Ue(o);queueMicrotask((()=>{o()}))},et=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.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 n;return n=B(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Te(n,(()=>B(s,"componentWillRender",void 0,o))),Te(n,(()=>st(e,s,t)))},Te=(e,t)=>tt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),tt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",st=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const c=i.o,r=i.$hostElement$,u=c.i,d=((a,f)=>{var m,h,b;const S=ge(f),g=G.get(S);if(!N.document)return S;if(a=a.nodeType===11?a:N.document,g)if(typeof g=="string"){let y,p=T.get(a=a.head||a);if(p||T.set(a,p=new Set),!p.has(S)){y=N.document.createElement("style"),y.textContent=g;const O=(m=_._)!=null?m:(function(){var v,w,j;return(j=(w=(v=N.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?j:void 0})();if(O!=null&&y.setAttribute("nonce",O),!(1&f.i))if(a.nodeName==="HEAD"){const v=a.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,w?.parentNode===a?w:null)}else if("host"in a)if(K){const v=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(g),Q?a.adoptedStyleSheets.unshift(v):a.adoptedStyleSheets=[v,...a.adoptedStyleSheets]}else{const v=a.querySelector("style");v?v.textContent=g+v.textContent:a.prepend(y)}else a.append(y);1&f.i&&a.insertBefore(y,null),4&f.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(S)}}else{let y=T.get(a);if(y||T.set(a,y=new Set),!y.has(S)){const p=(b=a.defaultView)!=null?b:a.ownerDocument.defaultView;let O;if(g.constructor===p.CSSStyleSheet)O=g;else{O=new p.CSSStyleSheet;for(let v=0;v<g.cssRules.length;v++)O.insertRule(g.cssRules[v].cssText,v)}Q?a.adoptedStyleSheets.push(O):a.adoptedStyleSheets=[...a.adoptedStyleSheets,O],y.add(S)}}return S})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&u&&(r["s-sc"]=d,r.classList.add(d+"-h"))})(e),ot(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],c=()=>nt(e);i.length===0?c():(Promise.all(i).then(c).catch(c),e.i|=4,i.length=0)}},ot=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,Xe(e,t,s)}catch(n){R(n,e.$hostElement$)}return null},nt=e=>{const t=e.$hostElement$,o=t,s=e.R;B(o,"componentDidRender",void 0,t),64&e.i?B(o,"componentDidUpdate",void 0,t):(e.i|=64,rt(t),B(o,"componentDidLoad",void 0,t),e.L(t),s||lt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>ae(e,!1))),e.i&=-517},lt=()=>{te((()=>Ze(N,"appload",{detail:{namespace:"gids-core-web"}})))},B=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){R(n,s)}},rt=e=>e.classList.add("hydrated"),Pe=(e,t,o,s)=>{const n=x(e);if(!n)return;const l=e,i=n.l.get(t),c=n.i,r=l;o=Ne(o,s.t[t][0],!!(64&s.i));const u=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!u){if(n.l.set(t,o),s.F){const d=s.F[t];d&&d.map((a=>{try{const[[f,m]]=Object.entries(a);(128&c||1&m)&&(r?r[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){R(f,l)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&c))return;16&c||ae(n,!1)}}},it=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&Ve.forEach((i=>{const c=l[i];Object.defineProperty(l,i,{value(...r){var u;const d=x(this),a=this;a?typeof c=="function"&&c.call(a,...r):(u=d?.H)==null||u.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...r)}))}})}));{e.watchers&&!t.F&&(t.F=be(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([c,[r]])=>{if(31&r||32&r){const{get:u,set:d}=H(l,c)||{};u&&(t.t[c][0]|=2048),d&&(t.t[c][0]|=4096),Object.defineProperty(l,c,{get(){return u?u.apply(this):(a=c,x(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(l,c,{set(a){const f=x(this);if(f){if(d)return(32&r?this[c]:f.$hostElement$[c])===void 0&&f.l.get(c)&&(a=f.l.get(c)),d.apply(this,[Ne(a,r,!!(64&t.i))]),void Pe(this,c,a=32&r?this[c]:f.$hostElement$[c],t);Pe(this,c,a,t)}}})}}));{const c=new Map;l.attributeChangedCallback=function(r,u,d){_.jmp((()=>{var a;const f=c.get(r),m=x(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==d)return;if(f==null){const y=m?.i;if(m&&y&&!(8&y)&&d!==u){const p=this,O=(a=t.F)==null?void 0:a[r];O?.forEach((v=>{const[[w,j]]=Object.entries(v);p[w]!=null&&(128&y||1&j)&&p[w].call(p,d,u,r)}))}return}const h=i.find((([y])=>y===f)),b=h&&4&h[1][0],S=b&&d===null&&this[f]===void 0;b&&(d=d!==null&&d!=="false");const g=Object.getOwnPropertyDescriptor(l,f);S||d==this[f]||g.get&&!g.set||(this[f]=d)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,u])=>31&u[0])).map((([r,u])=>{var d;const a=u[1]||r;return c.set(a,r),512&u[0]&&((d=t.C)==null||d.push([r,a])),a}))]))}}return e},ct=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=be(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const c={i:0,$hostElement$:l,o:i,l:new Map,B:new Map};c.H=new Promise((u=>c.L=u)),l["s-p"]=[],l["s-rc"]=[];const r=c;l.__stencil__getHostRef=()=>r,512&i.i&&Fe(l,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=x(this);if(!l)return;Re(this,l,o.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&_.i)){const i=x(l);if(!i)return;const c=i.o;if(1&i.i)Re(l,i,c.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&c.i&&(r=>{if(!N.document)return;const u=r["s-cr"]=N.document.createComment("");u["s-cn"]=!0,$(r,u,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){Ae(i,i.R=r);break}}c.t&&Object.entries(c.t).map((([r,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(l,r)){const d=l[r];delete l[r],l[r]=d}})),(async(r,u,d)=>{let a;try{if(!(32&u.i)&&(u.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>u.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const b=ge(d);G.has(b)||((S,g,y)=>{let p=G.get(S);K&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=g:p.replaceSync(g)):p=g,G.set(S,p)})(b,h,!!(1&d.i))}const f=u.R,m=()=>ae(u,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){R(f,r),u.A&&(u.A(),u.A=void 0),u.L&&u.L(r)}})(l,i,c)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&_.i)){const i=x(l);i?.V&&(i.V.map((c=>c())),i.V=void 0)}T.has(l)&&T.delete(l),l.shadowRoot&&T.has(l.shadowRoot)&&T.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else qe.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),it(e,o,3)}catch(s){return R(s),e}},Re=(e,t,o)=>{o&&N.document&&o.map((([s,n,l])=>{const i=ut(N.document,e,s),c=at(t,l),r=dt(s);_.ael(i,n,c,r),(t.V=t.V||[]).push((()=>_.rel(i,n,c,r)))}))},at=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){R(s,e.$hostElement$)}},ut=(e,t,o)=>8&o?N:t,dt=e=>Be?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function gt(e){return e}function Le(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Le(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function ft(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Le(e))&&(s&&(s+=" "),s+=t);return s}const ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionGroupClassNames:e=>ft("gids-expansion-group",e)},Symbol.toStringTag,{value:"Module"})),{getGidsExpansionGroupClassNames:pt}=ht,He=ct(class extends We{constructor(e){super(),e!==!1&&this.__registerHost()}render(){const e=pt();return U(ve,{key:"ee7546a3490605f3d1ae5a7ffaf2bdacb4dd4541",class:e},U("slot",{key:"dbb9e5f1c031fb05ef01c6bb5ceccf422f3b2325"}))}static get style(){return".gids-expansion-group{display:flex;flex-direction:column;width:100%}"}},[260,"gids-expansion-group"]);function Me(){typeof customElements<"u"&&["gids-expansion-group"].forEach((e=>{e==="gids-expansion-group"&&(customElements.get(e)||customElements.define(e,He))}))}Me();const mt=He,yt=Me;P.GidsExpansionGroup=mt,P.defineCustomElement=yt,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
|
|
5
|
+
`);const b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(S=>{const g=[];for(let y=0;y<S.length;y++){const p=S[y]["s-nr"]||void 0;p&&p.isConnected&&g.push(p)}return g})(b.childNodes)).forEach((S=>{h===F(S)&&m.push(S)})),a?m.filter((S=>S.nodeType===1)):m}).bind(u);u.assignedElements=d(!0),u.assignedNodes=d(!1)})(l),c=e&&e.m&&e.m[o],c&&c.O===n.O&&e.S&&je(e.S)),l},je=e=>{_.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&($(t,n,o??null),n["s-sh"]=void 0,Y=!0)}_.i&=-2},Z=(e,t)=>{_.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===L&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==L&&n["s-ol"]&&($(W(n).parentNode,n,W(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&Z(n,t)}_.i&=-2},ke=(e,t,o,s,n,l)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===L&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);n<=l;++n)s[n]&&(i=I(null,o,n),i&&(s[n].S=i,$(c,i,W(t))))},$e=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;xe(n),l&&(z=!0,l["s-ol"]?l["s-ol"].remove():Z(l,!0),l.remove())}}},J=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),W=e=>e&&e["s-ol"]||e,M=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,c=t.h;let r;c==null?(E=i==="svg"||i!=="foreignObject"&&E,i!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",je(t.S.parentElement)),re(e,t,E),n!==null&&l!==null?((u,d,a,f,m=!1)=>{let h,b,S=0,g=0,y=0,p=0,O=d.length-1,v=d[0],w=d[O],j=f.length-1,k=f[0],C=f[j];const De=a.O==="template"?u.content:u;for(;S<=O&&g<=j;)if(v==null)v=d[++S];else if(w==null)w=d[--O];else if(k==null)k=f[++g];else if(C==null)C=f[--j];else if(J(v,k,m))M(v,k,m),v=d[++S],k=f[++g];else if(J(w,C,m))M(w,C,m),w=d[--O],C=f[--j];else if(J(v,C,m))v.O!=="slot"&&C.O!=="slot"||Z(v.S.parentNode,!1),M(v,C,m),$(De,v.S,w.S.nextSibling),v=d[++S],C=f[--j];else if(J(w,k,m))v.O!=="slot"&&C.O!=="slot"||Z(w.S.parentNode,!1),M(w,k,m),$(De,w.S,v.S),w=d[--O],k=f[++g];else{for(y=-1,p=S;p<=O;++p)if(d[p]&&d[p].$!==null&&d[p].$===k.$){y=p;break}y>=0?(b=d[y],b.O!==k.O?h=I(d&&d[g],a,y):(M(b,k,m),d[y]=void 0,h=b.S),k=f[++g]):(h=I(d&&d[g],a,g),k=f[++g]),h&&$(W(v.S).parentNode,h,W(v.S))}S>O?ke(u,f[j+1]==null?null:f[j+1].S,a,f,g,j):g>j&&$e(d,S,O)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),ke(s,null,t,l,0,l.length-1)):!o&&n!==null&&$e(n,0,n.length-1),E&&i==="svg"&&(E=!1)):(r=s["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(s.data=c)},A=[],Ce=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(ye(t,i)){let c=A.find((r=>r.k===t));z=!0,t["s-sn"]=t["s-sn"]||i,c?(c.k["s-sh"]=l["s-hn"],c.N=l):(t["s-sh"]=l["s-hn"],A.push({N:l,k:t})),t["s-sr"]&&A.map((r=>{ye(r.k,t["s-sn"])&&(c=A.find((u=>u.k===t)),c&&!r.N&&(r.N=c.N))}))}else A.some((c=>c.k===t))||A.push({k:t})}l.nodeType===1&&Ce(l)}},xe=e=>{e.v&&e.v.ref&&ie.push((()=>e.v.ref(null))),e.m&&e.m.map(xe)},Qe=(e,t)=>{ce.push((()=>e(t)))},$=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var c;if(!(i=i||((c=l["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=F(l)||"";return{slotNode:se(oe(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Xe=(e,t,o=!1)=>{var s,n,l,i,c;const r=e.$hostElement$,u=e.o,d=e.M||q(null,null);var a;const f=(a=t)&&a.O===ve?t:U(null,null,t);if(L=r.tagName,u.C&&(f.v=f.v||{},u.C.forEach((([m,h])=>{f.v[h]=r[m]}))),o&&f.v)for(const m of Object.keys(f.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=r[m]);if(f.O=null,f.i|=4,e.M=f,f.S=d.S=r.shadowRoot||r,V=!(!(1&u.i)||128&u.i),ne=r["s-cr"],z=!1,M(d,f,o),_.i|=1,Y){Ce(f.S);for(const m of A){const h=m.k;if(!h["s-ol"]&&N.document){const b=N.document.createTextNode("");b["s-nr"]=h,$(h.parentNode,h["s-ol"]=b,h,o)}}for(const m of A){const h=m.k,b=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),b){const S=b.parentNode;let g=b.nextSibling;if(g&&g.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let p=(l=y["s-nr"])!=null?l:null;if(p&&p["s-sn"]===h["s-sn"]&&S===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){g=p;break}}y=y.previousSibling}}if((!g&&S!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if($(S,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=N.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,$(h.parentNode,y,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else h.nodeType===1&&(h.hidden=!0)}}if(z&&me(f.S),_.i&=-2,A.length=0,!V&&!(1&u.i)&&r["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const b=N.document.createComment("s-nt-"+h.nodeValue);b["s-sn"]=h["s-sn"],$(h.parentNode,b,h,o),h.parentNode.removeChild(h)}}}ne=void 0,ie.forEach((m=>m())),ie.length=0,ce.forEach((m=>m())),ce.length=0},Ae=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},ae=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ae(e,e.R);const o=()=>et(e,t);if(!t)return Ue(o);queueMicrotask((()=>{o()}))},et=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.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 n;return n=B(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Te(n,(()=>B(s,"componentWillRender",void 0,o))),Te(n,(()=>st(e,s,t)))},Te=(e,t)=>tt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),tt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",st=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const c=i.o,r=i.$hostElement$,u=c.i,d=((a,f)=>{var m,h,b;const S=ge(f),g=G.get(S);if(!N.document)return S;if(a=a.nodeType===11?a:N.document,g)if(typeof g=="string"){let y,p=T.get(a=a.head||a);if(p||T.set(a,p=new Set),!p.has(S)){y=N.document.createElement("style"),y.textContent=g;const O=(m=_._)!=null?m:(function(){var v,w,j;return(j=(w=(v=N.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?j:void 0})();if(O!=null&&y.setAttribute("nonce",O),!(1&f.i))if(a.nodeName==="HEAD"){const v=a.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,w?.parentNode===a?w:null)}else if("host"in a)if(K){const v=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(g),Q?a.adoptedStyleSheets.unshift(v):a.adoptedStyleSheets=[v,...a.adoptedStyleSheets]}else{const v=a.querySelector("style");v?v.textContent=g+v.textContent:a.prepend(y)}else a.append(y);1&f.i&&a.insertBefore(y,null),4&f.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(S)}}else{let y=T.get(a);if(y||T.set(a,y=new Set),!y.has(S)){const p=(b=a.defaultView)!=null?b:a.ownerDocument.defaultView;let O;if(g.constructor===p.CSSStyleSheet)O=g;else{O=new p.CSSStyleSheet;for(let v=0;v<g.cssRules.length;v++)O.insertRule(g.cssRules[v].cssText,v)}Q?a.adoptedStyleSheets.push(O):a.adoptedStyleSheets=[...a.adoptedStyleSheets,O],y.add(S)}}return S})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&u&&(r["s-sc"]=d,r.classList.add(d+"-h"))})(e),ot(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],c=()=>nt(e);i.length===0?c():(Promise.all(i).then(c).catch(c),e.i|=4,i.length=0)}},ot=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,Xe(e,t,s)}catch(n){R(n,e.$hostElement$)}return null},nt=e=>{const t=e.$hostElement$,o=t,s=e.R;B(o,"componentDidRender",void 0,t),64&e.i?B(o,"componentDidUpdate",void 0,t):(e.i|=64,rt(t),B(o,"componentDidLoad",void 0,t),e.L(t),s||lt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>ae(e,!1))),e.i&=-517},lt=()=>{te((()=>Ze(N,"appload",{detail:{namespace:"gids-core-web"}})))},B=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){R(n,s)}},rt=e=>e.classList.add("hydrated"),Pe=(e,t,o,s)=>{const n=x(e);if(!n)return;const l=e,i=n.l.get(t),c=n.i,r=l;o=Ne(o,s.t[t][0],!!(64&s.i));const u=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!u){if(n.l.set(t,o),s.F){const d=s.F[t];d&&d.map((a=>{try{const[[f,m]]=Object.entries(a);(128&c||1&m)&&(r?r[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){R(f,l)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&c))return;16&c||ae(n,!1)}}},it=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&Ve.forEach((i=>{const c=l[i];Object.defineProperty(l,i,{value(...r){var u;const d=x(this),a=this;a?typeof c=="function"&&c.call(a,...r):(u=d?.H)==null||u.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...r)}))}})}));{e.watchers&&!t.F&&(t.F=be(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([c,[r]])=>{if(31&r||32&r){const{get:u,set:d}=H(l,c)||{};u&&(t.t[c][0]|=2048),d&&(t.t[c][0]|=4096),Object.defineProperty(l,c,{get(){return u?u.apply(this):(a=c,x(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(l,c,{set(a){const f=x(this);if(f){if(d)return(32&r?this[c]:f.$hostElement$[c])===void 0&&f.l.get(c)&&(a=f.l.get(c)),d.apply(this,[Ne(a,r,!!(64&t.i))]),void Pe(this,c,a=32&r?this[c]:f.$hostElement$[c],t);Pe(this,c,a,t)}}})}}));{const c=new Map;l.attributeChangedCallback=function(r,u,d){_.jmp((()=>{var a;const f=c.get(r),m=x(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==d)return;if(f==null){const y=m?.i;if(m&&y&&!(8&y)&&d!==u){const p=this,O=(a=t.F)==null?void 0:a[r];O?.forEach((v=>{const[[w,j]]=Object.entries(v);p[w]!=null&&(128&y||1&j)&&p[w].call(p,d,u,r)}))}return}const h=i.find((([y])=>y===f)),b=h&&4&h[1][0],S=b&&d===null&&this[f]===void 0;b&&(d=d!==null&&d!=="false");const g=Object.getOwnPropertyDescriptor(l,f);S||d==this[f]||g.get&&!g.set||(this[f]=d)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,u])=>31&u[0])).map((([r,u])=>{var d;const a=u[1]||r;return c.set(a,r),512&u[0]&&((d=t.C)==null||d.push([r,a])),a}))]))}}return e},ct=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=be(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const c={i:0,$hostElement$:l,o:i,l:new Map,B:new Map};c.H=new Promise((u=>c.L=u)),l["s-p"]=[],l["s-rc"]=[];const r=c;l.__stencil__getHostRef=()=>r,512&i.i&&Fe(l,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=x(this);if(!l)return;Re(this,l,o.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&_.i)){const i=x(l);if(!i)return;const c=i.o;if(1&i.i)Re(l,i,c.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&c.i&&(r=>{if(!N.document)return;const u=r["s-cr"]=N.document.createComment("");u["s-cn"]=!0,$(r,u,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){Ae(i,i.R=r);break}}c.t&&Object.entries(c.t).map((([r,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(l,r)){const d=l[r];delete l[r],l[r]=d}})),(async(r,u,d)=>{let a;try{if(!(32&u.i)&&(u.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>u.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const b=ge(d);G.has(b)||((S,g,y)=>{let p=G.get(S);K&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=g:p.replaceSync(g)):p=g,G.set(S,p)})(b,h,!!(1&d.i))}const f=u.R,m=()=>ae(u,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){R(f,r),u.A&&(u.A(),u.A=void 0),u.L&&u.L(r)}})(l,i,c)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&_.i)){const i=x(l);i?.V&&(i.V.map((c=>c())),i.V=void 0)}T.has(l)&&T.delete(l),l.shadowRoot&&T.has(l.shadowRoot)&&T.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else qe.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),it(e,o,3)}catch(s){return R(s),e}},Re=(e,t,o)=>{o&&N.document&&o.map((([s,n,l])=>{const i=ut(N.document,e,s),c=at(t,l),r=dt(s);_.ael(i,n,c,r),(t.V=t.V||[]).push((()=>_.rel(i,n,c,r)))}))},at=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){R(s,e.$hostElement$)}},ut=(e,t,o)=>8&o?N:t,dt=e=>Be?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function gt(e){return e}function Le(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Le(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function ft(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Le(e))&&(s&&(s+=" "),s+=t);return s}const ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionGroupClassNames:e=>ft("gids-expansion-group",e)},Symbol.toStringTag,{value:"Module"})),{getGidsExpansionGroupClassNames:pt}=ht,He=ct(class extends We{constructor(e){super(),e!==!1&&this.__registerHost()}render(){const e=pt();return U(ve,{key:"15cd9ad12d4c3af9ba224728362eb41530aa3cae",class:e},U("slot",{key:"b6b2831de1ec6ad5ef92afc564b9cc749927d8da"}))}static get style(){return".gids-expansion-group{display:flex;flex-direction:column;width:100%}"}},[260,"gids-expansion-group"]);function Me(){typeof customElements<"u"&&["gids-expansion-group"].forEach((e=>{e==="gids-expansion-group"&&(customElements.get(e)||customElements.define(e,He))}))}Me();const mt=He,yt=Me;P.GidsExpansionGroup=mt,P.defineCustomElement=yt,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Flattening is not supported for Stencil non-shadow slots.
|
|
3
3
|
You can use \`.childNodes\` to nested slot fallback content.
|
|
4
4
|
If you have a particular use case, please open an issue on the Stencil repo.
|
|
5
|
-
`);const _=this["s-cr"].parentElement;return(_.__childNodes?_.childNodes:(y=>{const v=[];for(let m=0;m<y.length;m++){const g=y[m]["s-nr"]||void 0;g&&g.isConnected&&v.push(g)}return v})(_.childNodes)).forEach((y=>{u===G(y)&&f.push(y)})),d?f.filter((y=>y.nodeType===1)):f}).bind(c);c.assignedElements=h(!0),c.assignedNodes=h(!1)})(a),l=e&&e.m&&e.m[s],l&&l.O===o.O&&e.S&&$e(e.S)),a},$e=e=>{N.i|=1;const t=e.closest(I.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const o of s?n.reverse():n)o["s-sh"]!=null&&(A(t,o,s??null),o["s-sh"]=void 0,U=!0)}N.i&=-2},Y=(e,t)=>{N.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===I&&s.push(n)}for(let n=s.length-1;n>=0;n--){const o=s[n];o["s-hn"]!==I&&o["s-ol"]&&(A(V(o).parentNode,o,V(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,U=!0),t&&Y(o,t)}N.i&=-2},je=(e,t,s,n,o,a)=>{let r,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===I&&(l=l.shadowRoot),s.O==="template"&&(l=l.content);o<=a;++o)n[o]&&(r=K(null,s,o),r&&(n[o].S=r,A(l,r,V(t))))},Pe=(e,t,s)=>{for(let n=t;n<=s;++n){const o=e[n];if(o){const a=o.S;Te(o),a&&(q=!0,a["s-ol"]?a["s-ol"].remove():Y(a,!0),a.remove())}}},Z=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),V=e=>e&&e["s-ol"]||e,D=(e,t,s=!1)=>{const n=t.S=e.S,o=e.m,a=t.m,r=t.O,l=t.h;let i;l==null?(k=r==="svg"||r!=="foreignObject"&&k,r!=="slot"||H||e.j!==t.j&&(t.S["s-sn"]=t.j||"",$e(t.S.parentElement)),ae(e,t,k),o!==null&&a!==null?((c,h,d,p,f=!1)=>{let u,_,y=0,v=0,m=0,g=0,w=h.length-1,b=h[0],S=h[w],E=p.length-1,C=p[0],$=p[E];const Ye=d.O==="template"?c.content:c;for(;y<=w&&v<=E;)if(b==null)b=h[++y];else if(S==null)S=h[--w];else if(C==null)C=p[++v];else if($==null)$=p[--E];else if(Z(b,C,f))D(b,C,f),b=h[++y],C=p[++v];else if(Z(S,$,f))D(S,$,f),S=h[--w],$=p[--E];else if(Z(b,$,f))b.O!=="slot"&&$.O!=="slot"||Y(b.S.parentNode,!1),D(b,$,f),A(Ye,b.S,S.S.nextSibling),b=h[++y],$=p[--E];else if(Z(S,C,f))b.O!=="slot"&&$.O!=="slot"||Y(S.S.parentNode,!1),D(S,C,f),A(Ye,S.S,b.S),S=h[--w],C=p[++v];else{for(m=-1,g=y;g<=w;++g)if(h[g]&&h[g].$!==null&&h[g].$===C.$){m=g;break}m>=0?(_=h[m],_.O!==C.O?u=K(h&&h[v],d,m):(D(_,C,f),h[m]=void 0,u=_.S),C=p[++v]):(u=K(h&&h[v],d,v),C=p[++v]),u&&A(V(b.S).parentNode,u,V(b.S))}y>w?je(c,p[E+1]==null?null:p[E+1].S,d,p,v,E):v>E&&Pe(h,y,w)})(n,o,t,a,s):a!==null?(e.h!==null&&(n.textContent=""),je(n,null,t,a,0,a.length-1)):!s&&o!==null&&Pe(o,0,o.length-1),k&&r==="svg"&&(k=!1)):(i=n["s-cr"])?i.parentNode.textContent=l:e.h!==l&&(n.data=l)},P=[],Le=e=>{let t,s,n;const o=e.__childNodes||e.childNodes;for(const a of o){if(a["s-sr"]&&(t=a["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const r=a["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===a["s-hn"]||t["s-sh"]&&t["s-sh"]===a["s-hn"]))if(_e(t,r)){let l=P.find((i=>i.k===t));q=!0,t["s-sn"]=t["s-sn"]||r,l?(l.k["s-sh"]=a["s-hn"],l.N=a):(t["s-sh"]=a["s-hn"],P.push({N:a,k:t})),t["s-sr"]&&P.map((i=>{_e(i.k,t["s-sn"])&&(l=P.find((c=>c.k===t)),l&&!i.N&&(i.N=l.N))}))}else P.some((l=>l.k===t))||P.push({k:t})}a.nodeType===1&&Le(a)}},Te=e=>{e.v&&e.v.ref&&re.push((()=>e.v.ref(null))),e.m&&e.m.map(Te)},dt=(e,t)=>{le.push((()=>e(t)))},A=(e,t,s,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:o}=(function(a,r){var l;if(!(r=r||((l=a["s-ol"])==null?void 0:l.parentElement)))return{slotNode:null,slotName:""};const i=a["s-sn"]=G(a)||"";return{slotNode:ne(se(r,"childNodes"),r.tagName,i)[0],slotName:i}})(t);return o&&!n&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},ct=(e,t,s=!1)=>{var n,o,a,r,l;const i=e.$hostElement$,c=e.o,h=e.M||W(null,null);var d;const p=(d=t)&&d.O===Se?t:O(null,null,t);if(I=i.tagName,c.C&&(p.v=p.v||{},c.C.forEach((([f,u])=>{p.v[u]=i[f]}))),s&&p.v)for(const f of Object.keys(p.v))i.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(p.v[f]=i[f]);if(p.O=null,p.i|=4,e.M=p,p.S=h.S=i.shadowRoot||i,H=!(!(1&c.i)||128&c.i),oe=i["s-cr"],q=!1,D(h,p,s),N.i|=1,U){Le(p.S);for(const f of P){const u=f.k;if(!u["s-ol"]&&x.document){const _=x.document.createTextNode("");_["s-nr"]=u,A(u.parentNode,u["s-ol"]=_,u,s)}}for(const f of P){const u=f.k,_=f.N;if(u.nodeType===1&&s&&(u["s-ih"]=(n=u.hidden)!=null&&n),_){const y=_.parentNode;let v=_.nextSibling;if(v&&v.nodeType===1){let m=(o=u["s-ol"])==null?void 0:o.previousSibling;for(;m;){let g=(a=m["s-nr"])!=null?a:null;if(g&&g["s-sn"]===u["s-sn"]&&y===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===u||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){v=g;break}}m=m.previousSibling}}if((!v&&y!==(u.__parentNode||u.parentNode)||(u.__nextSibling||u.nextSibling)!==v)&&u!==v){if(A(y,u,v,s),u.nodeType===8&&u.nodeValue.startsWith("s-nt-")){const m=x.document.createTextNode(u.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=u["s-hn"],m["s-sn"]=u["s-sn"],m["s-sh"]=u["s-sh"],m["s-sr"]=u["s-sr"],m["s-ol"]=u["s-ol"],m["s-ol"]["s-nr"]=m,A(u.parentNode,m,u,s),u.parentNode.removeChild(u)}u.nodeType===1&&u.tagName!=="SLOT-FB"&&(u.hidden=(r=u["s-ih"])!=null&&r)}u&&typeof _["s-rf"]=="function"&&_["s-rf"](_)}else u.nodeType===1&&(u.hidden=!0)}}if(q&&ye(p.S),N.i&=-2,P.length=0,!H&&!(1&c.i)&&i["s-cr"]){const f=p.S.__childNodes||p.S.childNodes;for(const u of f)if(u["s-hn"]!==I&&!u["s-sh"]){if(s&&u["s-ih"]==null&&(u["s-ih"]=(l=u.hidden)!=null&&l),u.nodeType===1)u.hidden=!0;else if(u.nodeType===3&&u.nodeValue.trim()){const _=x.document.createComment("s-nt-"+u.nodeValue);_["s-sn"]=u["s-sn"],A(u.parentNode,_,u,s),u.parentNode.removeChild(u)}}}oe=void 0,re.forEach((f=>f())),re.length=0,le.forEach((f=>f())),le.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(s-1,1),n()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const s=()=>ht(e,t);if(!t)return tt(s);queueMicrotask((()=>{s()}))},ht=(e,t)=>{const s=e.$hostElement$,n=s;if(!n)throw new Error(`Can't render component <${s.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 o;return o=F(n,t?"componentWillLoad":"componentWillUpdate",void 0,s),o=Ie(o,(()=>F(n,"componentWillRender",void 0,s))),Ie(o,(()=>ut(e,n,t)))},Ie=(e,t)=>pt(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),pt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ut=async(e,t,s)=>{var n;const o=e.$hostElement$,a=o["s-rc"];s&&(r=>{const l=r.o,i=r.$hostElement$,c=l.i,h=((d,p)=>{var f,u,_;const y=xe(p),v=B.get(y);if(!x.document)return y;if(d=d.nodeType===11?d:x.document,v)if(typeof v=="string"){let m,g=L.get(d=d.head||d);if(g||L.set(d,g=new Set),!g.has(y)){m=x.document.createElement("style"),m.textContent=v;const w=(f=N._)!=null?f:(function(){var b,S,E;return(E=(S=(b=x.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?E:void 0})();if(w!=null&&m.setAttribute("nonce",w),!(1&p.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),S=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(m,S?.parentNode===d?S:null)}else if("host"in d)if(J){const b=new((u=d.defaultView)!=null?u:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(v),Q?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=v+b.textContent:d.prepend(m)}else d.append(m);1&p.i&&d.insertBefore(m,null),4&p.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(y)}}else{let m=L.get(d);if(m||L.set(d,m=new Set),!m.has(y)){const g=(_=d.defaultView)!=null?_:d.ownerDocument.defaultView;let w;if(v.constructor===g.CSSStyleSheet)w=v;else{w=new g.CSSStyleSheet;for(let b=0;b<v.cssRules.length;b++)w.insertRule(v.cssRules[b].cssText,b)}Q?d.adoptedStyleSheets.push(w):d.adoptedStyleSheets=[...d.adoptedStyleSheets,w],m.add(y)}}return y})(i.shadowRoot?i.shadowRoot:i.getRootNode(),l);10&c&&(i["s-sc"]=h,i.classList.add(h+"-h"))})(e),ft(e,t,o,s),a&&(a.map((r=>r())),o["s-rc"]=void 0);{const r=(n=o["s-p"])!=null?n:[],l=()=>gt(e);r.length===0?l():(Promise.all(r).then(l).catch(l),e.i|=4,r.length=0)}},ft=(e,t,s,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,ct(e,t,n)}catch(o){R(o,e.$hostElement$)}return null},gt=e=>{const t=e.$hostElement$,s=t,n=e.R;F(s,"componentDidRender",void 0,t),64&e.i?F(s,"componentDidUpdate",void 0,t):(e.i|=64,vt(t),F(s,"componentDidLoad",void 0,t),e.L(t),n||mt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>de(e,!1))),e.i&=-517},mt=()=>{te((()=>at(x,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,s,n)=>{if(e&&e[t])try{return e[t](s)}catch(o){R(o,n)}},vt=e=>e.classList.add("hydrated"),ze=(e,t,s,n)=>{const o=j(e);if(!o)return;const a=e,r=o.l.get(t),l=o.i,i=a;s=ke(s,n.t[t][0],!!(64&n.i));const c=Number.isNaN(r)&&Number.isNaN(s);if(s!==r&&!c){if(o.l.set(t,s),n.F){const h=n.F[t];h&&h.map((d=>{try{const[[p,f]]=Object.entries(d);(128&l||1&f)&&(i?i[p](s,r,t):o.T.push((()=>{o.D[p](s,r,t)})))}catch(p){R(p,a)}}))}if(2&l){if(i.componentShouldUpdate&&i.componentShouldUpdate(s,r,t)===!1&&!(16&l))return;16&l||de(o,!1)}}},bt=(e,t,s)=>{var n,o;const a=e.prototype;64&t.i&&1&s&&Je.forEach((r=>{const l=a[r];Object.defineProperty(a,r,{value(...i){var c;const h=j(this),d=this;d?typeof l=="function"&&l.call(d,...i):(c=h?.H)==null||c.then((p=>{const f=p[r];typeof f=="function"&&f.call(p,...i)}))}})}));{e.watchers&&!t.F&&(t.F=Ne(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((n=t.t)!=null?n:{});r.map((([l,[i]])=>{if(31&i||32&i){const{get:c,set:h}=z(a,l)||{};c&&(t.t[l][0]|=2048),h&&(t.t[l][0]|=4096),Object.defineProperty(a,l,{get(){return c?c.apply(this):(d=l,j(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(a,l,{set(d){const p=j(this);if(p){if(h)return(32&i?this[l]:p.$hostElement$[l])===void 0&&p.l.get(l)&&(d=p.l.get(l)),h.apply(this,[ke(d,i,!!(64&t.i))]),void ze(this,l,d=32&i?this[l]:p.$hostElement$[l],t);ze(this,l,d,t)}}})}}));{const l=new Map;a.attributeChangedCallback=function(i,c,h){N.jmp((()=>{var d;const p=l.get(i),f=j(this);if(this.hasOwnProperty(p),a.hasOwnProperty(p)&&typeof this[p]=="number"&&this[p]==h)return;if(p==null){const m=f?.i;if(f&&m&&!(8&m)&&h!==c){const g=this,w=(d=t.F)==null?void 0:d[i];w?.forEach((b=>{const[[S,E]]=Object.entries(b);g[S]!=null&&(128&m||1&E)&&g[S].call(g,h,c,i)}))}return}const u=r.find((([m])=>m===p)),_=u&&4&u[1][0],y=_&&h===null&&this[p]===void 0;_&&(h=h!==null&&h!=="false");const v=Object.getOwnPropertyDescriptor(a,p);y||h==this[p]||v.get&&!v.set||(this[p]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...r.filter((([i,c])=>31&c[0])).map((([i,c])=>{var h;const d=c[1]||i;return l.set(d,i),512&c[0]&&((h=t.C)==null||h.push([i,d])),d}))]))}}return e},yt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=Ne(e.F),s.P=e.P,s.U=e.U,s.C=[];const n=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((a,r)=>{const l={i:0,$hostElement$:a,o:r,l:new Map,B:new Map};l.H=new Promise((c=>l.L=c)),a["s-p"]=[],a["s-rc"]=[];const i=l;a.__stencil__getHostRef=()=>i,512&r.i&&Ze(a,l)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const a=j(this);if(!a)return;De(this,a,s.W),this.__hasHostListenerAttached=!0}(a=>{if(!(1&N.i)){const r=j(a);if(!r)return;const l=r.o;if(1&r.i)De(a,r,l.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&l.i&&(i=>{if(!x.document)return;const c=i["s-cr"]=x.document.createComment("");c["s-cn"]=!0,A(i,c,i.firstChild)})(a);{let i=a;for(;i=i.parentNode||i.host;)if(i["s-p"]){Re(r,r.R=i);break}}l.t&&Object.entries(l.t).map((([i,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(a,i)){const h=a[i];delete a[i],a[i]=h}})),(async(i,c,h)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=i.constructor,customElements.whenDefined(i.localName).then((()=>c.i|=128)),d&&d.style)){let u;typeof d.style=="string"&&(u=d.style);const _=xe(h);B.has(_)||((y,v,m)=>{let g=B.get(y);J&&m?(g=g||new CSSStyleSheet,typeof g=="string"?g=v:g.replaceSync(v)):g=v,B.set(y,g)})(_,u,!!(1&h.i))}const p=c.R,f=()=>de(c,!0);p&&p["s-rc"]?p["s-rc"].push(f):f()}catch(p){R(p,i),c.A&&(c.A(),c.A=void 0),c.L&&c.L(i)}})(a,r,l)}}})(this),n&&n.call(this)},disconnectedCallback(){(async a=>{if(!(1&N.i)){const r=j(a);r?.V&&(r.V.map((l=>l())),r.V=void 0)}L.has(a)&&L.delete(a),a.shadowRoot&&L.has(a.shadowRoot)&&L.delete(a.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else nt.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),bt(e,s,3)}catch(n){return R(n),e}},De=(e,t,s)=>{s&&x.document&&s.map((([n,o,a])=>{const r=xt(x.document,e,n),l=_t(t,a),i=St(n);N.ael(r,o,l,i),(t.V=t.V||[]).push((()=>N.rel(r,o,l,i)))}))},_t=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(n){R(n,e.$hostElement$)}},xt=(e,t,s)=>8&s?x:t,St=e=>Xe?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Mt(e){return e}function Me(e){var t,s,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(s=Me(e[t]))&&(n&&(n+=" "),n+=s)}else for(s in e)e[s]&&(n&&(n+=" "),n+=s);return n}function Ge(){for(var e,t,s=0,n="",o=arguments.length;s<o;s++)(e=arguments[s])&&(t=Me(e))&&(n&&(n+=" "),n+=t);return n}const wt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Ge("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Nt=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionClassNames:({expanded:e},t)=>Ge("gids-expansion",{"gids-expansion--expanded":e},t)},Symbol.toStringTag,{value:"Module"})),ce=Symbol("defaultPath"),He=Symbol("pathSet"),he="gids-asset-paths-set";class kt extends EventTarget{#n=new Map;constructor(){super()}#e(t,s){this.#n.set(t,s)}#t(t){return this.#n.get(t)??null}#s=()=>{this.dispatchEvent(new Event(he))};haveAssetPathsBeenSet(){return this.#t(He)!==null}setAssetPaths(t,s){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(ce,t);else{for(const n in t)this.#e(n,t[n]);s&&this.#e(ce,s)}this.#e(He,"true"),setTimeout(this.#s,0)}}getAssetFilePath(t){const s=this.#t(t);if(s===null){const n=this.#t(ce);if(n!==null)return`${n}${n.endsWith("/")?"":"/"}${t}`}return s}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(he,t,{once:!0}),()=>{this.removeEventListener(he,t)}}}const pe=Symbol.for("GIDS"),Et=()=>(globalThis[pe]===void 0&&(globalThis[pe]={assetPaths:{}}),globalThis[pe]),Ct=e=>{const t=Et().assetPaths;return t[e]===void 0&&(t[e]=new kt),t[e]};function ue(){return Ct("@ganpatiinfo/gids-web-shared")}function Ot(){return ue().haveAssetPathsBeenSet()}function Ve(e){return ue().getAssetFilePath(e)}function At(e){return ue().onAssetPathsSet(e)}let $t=0;const jt=(e,t="gids")=>e||`${t}-${$t++}`,Fe={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","syncing","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Be=new Map;for(const e in Fe)for(const t of Fe[e])Be.set(t,e);function Pt(e){return Be.get(e)}function We(e,t="regular",s){const n=Pt(e);let o=n??"";return s&&n&&(o=s(n)??n),`${o}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Lt}=wt,Tt=({name:e,size:t,appearance:s,alt:n,class:o,titleId:a,src:r,...l})=>{const i=jt(a);let c=r;return c===void 0&&Ot()&&(c=We(e,s,Ve)),O("svg",{ref:h=>{c===void 0&&At((()=>{(function(d,p,f){if(!d)return;const u=document.createElementNS("http://www.w3.org/2000/svg","use");u.setAttribute("href",We(p,f,Ve)),d.appendChild(u)})(h,e,s)}))},width:"16",height:"16",class:Lt({size:t},o),role:"img","aria-hidden":n===""?"true":void 0,"aria-labelledby":n===""?void 0:i,...l},n!==""&&O("title",{id:i},n||e),c!==void 0?O("use",{href:c}):null)};function qe(e){var t,s,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(s=qe(e[t]))&&(n&&(n+=" "),n+=s)}else for(s in e)e[s]&&(n&&(n+=" "),n+=s);return n}function Rt(){for(var e,t,s=0,n="",o=arguments.length;s<o;s++)(e=arguments[s])&&(t=qe(e))&&(n&&(n+=" "),n+=t);return n}const{getGidsExpansionClassNames:It}=Nt,Ue=yt(class extends Qe{constructor(e){super(),e!==!1&&this.__registerHost(),this.labelLevel="h1",this.hasContent=!1,this.handleExpansionClick=()=>{if(this.isInteractive()){const t=!this.isExpanded();this.expanded=t,this.onExpand&&this.onExpand({expansionId:this.expansionId,expanded:t,label:this?.label,labelLevel:this?.labelLevel,disabled:this?.disabled})}}}handleDisabledChange(e){this.disabled=e}handleExpandedChange(e){this.expanded=e}handleLabelLevelChange(e){this.labelLevel=e}componentDidLoad(){this.checkSlotContent()}checkSlotContent(){const e=this.hostElement.querySelector(".gids-expansion__content");if(e){const t=e.children.length>0,s=!!e.textContent&&e.textContent.trim().length>0;this.hasContent=t||s}}isInteractive(){return!this.disabled&&this.hasContent}isExpanded(){return!!this.expanded&&this.isInteractive()}isHavingLabelValue(){return!(!this.label||this.label==="")}getIconSize(){switch(this.labelLevel){case"h2":case"h3":return"md";default:return"lg"}}getLabelClass(){switch(this.labelLevel){case"h2":return"gids-expansion__level-h2";case"h3":return"gids-expansion__level-h3";default:return"gids-expansion__level-h1"}}render(){const e=It({expanded:this.isExpanded()&&this.isInteractive()}),t=this.label;return O(Se,{key:"61ba4970c6dba5eb82d52ee61398bff60238e295",class:e},O("button",{key:"6cda4b165bd27dc0fb7727c6ee15393c21c33a0e",onClick:this.handleExpansionClick,class:Rt("gids-expansion__container",{"gids-expansion__disabled":this.disabled}),disabled:this.disabled,type:"button"},this.isHavingLabelValue()?O("span",{class:this.getLabelClass()},t):void 0,this.isInteractive()?O(Tt,{name:"chevron-down",size:this.getIconSize(),appearance:"filled"}):void 0),O("div",{key:"3720c533ad28b3d66ea2898e85ef7afd8065a3d7",class:"gids-expansion__body","aria-hidden":this.isExpanded()?"false":"true"},O("div",{key:"c59bbeb5fc5574dde1bbe2cfd97b4f713afbfd03",class:"gids-expansion__content"},O("slot",{key:"f1f85de8407c8fd992cd47c95076c955835174c4"}))))}get hostElement(){return this}static get watchers(){return{disabled:[{handleDisabledChange:0}],expanded:[{handleExpandedChange:0}],labelLevel:[{handleLabelLevelChange:0}]}}static get style(){return'.gids-expansion{display:flex;align-items:center;position:relative;padding:var(--gids-padding-vertical-edge-to-element-300) 0}.gids-expansion:not(.gids-expansion--expanded):not([expanded])::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--gids-color-border-default);transition:background 0.3s ease-in-out;z-index:1}.gids-expansion:not(.gids-expansion--expanded):not([expanded])::before{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(to right, transparent 0%, transparent 25%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 55%, transparent 75%, transparent 100%);opacity:0;transition:opacity 0.3s ease-in-out;z-index:2}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled)::after{background:linear-gradient(to right, var(--gids-color-border-default) 0%, var(--gids-color-border-default) 15%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 70%, var(--gids-color-border-default) 90%, var(--gids-color-border-default) 100%)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled)::before{opacity:1}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-expansion__level-h1{color:var(--gids-color-background-brand-bold-default)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-expansion__level-h2{color:var(--gids-color-background-brand-bold-default)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-expansion__level-h3{color:var(--gids-color-background-brand-bold-default)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-icon{--gidsIcon-color:var(--gids-color-background-brand-bold-default)}.gids-expansion__container{margin:0;padding:0;appearance:none;border:none;background:none;cursor:pointer;display:flex;align-items:center;gap:var(--gids-gap-050);white-space:nowrap;color:var(--gids-color-text-default)}.gids-expansion__container gids-icon,.gids-expansion__container .gids-icon,.gids-expansion__container GidsIcon,.gids-expansion__container svg{display:inline-block;transform:rotate3d(0, 0, 1, 0deg);transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);transform-origin:center center;backface-visibility:hidden}.gids-expansion__level-h1{font-family:var(--gids-typography-heading-medium__font-family);font-size:var(--gids-typography-heading-medium__font-size);font-weight:var(--gids-typography-heading-medium__font-weight);letter-spacing:var(--gids-typography-heading-medium__letter-spacing);line-height:var(--gids-typography-heading-medium__line-height);text-transform:var(--gids-typography-heading-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-medium__font-variant-caps, inherit)}.gids-expansion__level-h2{font-family:var(--gids-typography-heading-small__font-family);font-size:var(--gids-typography-heading-small__font-size);font-weight:var(--gids-typography-heading-small__font-weight);letter-spacing:var(--gids-typography-heading-small__letter-spacing);line-height:var(--gids-typography-heading-small__line-height);text-transform:var(--gids-typography-heading-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-small__font-variant-caps, inherit)}.gids-expansion__level-h3{font-family:var(--gids-typography-heading-x-small__font-family);font-size:var(--gids-typography-heading-x-small__font-size);font-weight:var(--gids-typography-heading-x-small__font-weight);letter-spacing:var(--gids-typography-heading-x-small__letter-spacing);line-height:var(--gids-typography-heading-x-small__line-height);text-transform:var(--gids-typography-heading-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-x-small__font-variant-caps, inherit)}.gids-expansion__body{position:absolute;top:100%;left:0;width:100%;z-index:10;transform:scaleY(0);transform-origin:top center;opacity:0;visibility:hidden;transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s;overflow:hidden}.gids-expansion--expanded{position:relative;display:block}.gids-expansion--expanded .gids-expansion__container gids-icon,.gids-expansion--expanded .gids-expansion__container .gids-icon,.gids-expansion--expanded .gids-expansion__container GidsIcon,.gids-expansion--expanded .gids-expansion__container svg{transform:rotate3d(0, 0, 1, -180deg)}.gids-expansion--expanded .gids-expansion__body{position:relative;top:auto;transform:scaleY(1);opacity:1;visibility:visible}.gids-expansion__content{min-height:0;padding:var(--gids-padding-vertical-edge-to-element-500) 0 var(--gids-padding-horizontal-edge-to-element-500)}.gids-expansion__disabled{color:var(--gids-color-text-disabled);cursor:not-allowed}.gids-expansion__disabled .gids-icon{--gidsIcon-color:var(--gids-color-icon-disabled)}'}},[260,"gids-expansion",{expansionId:[1,"expansion-id"],label:[1],labelLevel:[1,"label-level"],expanded:[516],disabled:[516],onExpand:[16],hasContent:[32]},void 0,{disabled:[{handleDisabledChange:0}],expanded:[{handleExpandedChange:0}],labelLevel:[{handleLabelLevelChange:0}]}]);function Ke(){typeof customElements<"u"&&["gids-expansion"].forEach((e=>{e==="gids-expansion"&&(customElements.get(e)||customElements.define(e,Ue))}))}Ke();const zt=Ue,Dt=Ke;T.GidsExpansion=zt,T.defineCustomElement=Dt,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})}));
|
|
5
|
+
`);const _=this["s-cr"].parentElement;return(_.__childNodes?_.childNodes:(y=>{const v=[];for(let m=0;m<y.length;m++){const g=y[m]["s-nr"]||void 0;g&&g.isConnected&&v.push(g)}return v})(_.childNodes)).forEach((y=>{u===G(y)&&f.push(y)})),d?f.filter((y=>y.nodeType===1)):f}).bind(c);c.assignedElements=h(!0),c.assignedNodes=h(!1)})(a),l=e&&e.m&&e.m[s],l&&l.O===o.O&&e.S&&$e(e.S)),a},$e=e=>{N.i|=1;const t=e.closest(I.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const o of s?n.reverse():n)o["s-sh"]!=null&&(A(t,o,s??null),o["s-sh"]=void 0,U=!0)}N.i&=-2},Y=(e,t)=>{N.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===I&&s.push(n)}for(let n=s.length-1;n>=0;n--){const o=s[n];o["s-hn"]!==I&&o["s-ol"]&&(A(V(o).parentNode,o,V(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,U=!0),t&&Y(o,t)}N.i&=-2},je=(e,t,s,n,o,a)=>{let r,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===I&&(l=l.shadowRoot),s.O==="template"&&(l=l.content);o<=a;++o)n[o]&&(r=K(null,s,o),r&&(n[o].S=r,A(l,r,V(t))))},Pe=(e,t,s)=>{for(let n=t;n<=s;++n){const o=e[n];if(o){const a=o.S;Te(o),a&&(q=!0,a["s-ol"]?a["s-ol"].remove():Y(a,!0),a.remove())}}},Z=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),V=e=>e&&e["s-ol"]||e,D=(e,t,s=!1)=>{const n=t.S=e.S,o=e.m,a=t.m,r=t.O,l=t.h;let i;l==null?(k=r==="svg"||r!=="foreignObject"&&k,r!=="slot"||H||e.j!==t.j&&(t.S["s-sn"]=t.j||"",$e(t.S.parentElement)),ae(e,t,k),o!==null&&a!==null?((c,h,d,p,f=!1)=>{let u,_,y=0,v=0,m=0,g=0,w=h.length-1,b=h[0],S=h[w],E=p.length-1,C=p[0],$=p[E];const Ye=d.O==="template"?c.content:c;for(;y<=w&&v<=E;)if(b==null)b=h[++y];else if(S==null)S=h[--w];else if(C==null)C=p[++v];else if($==null)$=p[--E];else if(Z(b,C,f))D(b,C,f),b=h[++y],C=p[++v];else if(Z(S,$,f))D(S,$,f),S=h[--w],$=p[--E];else if(Z(b,$,f))b.O!=="slot"&&$.O!=="slot"||Y(b.S.parentNode,!1),D(b,$,f),A(Ye,b.S,S.S.nextSibling),b=h[++y],$=p[--E];else if(Z(S,C,f))b.O!=="slot"&&$.O!=="slot"||Y(S.S.parentNode,!1),D(S,C,f),A(Ye,S.S,b.S),S=h[--w],C=p[++v];else{for(m=-1,g=y;g<=w;++g)if(h[g]&&h[g].$!==null&&h[g].$===C.$){m=g;break}m>=0?(_=h[m],_.O!==C.O?u=K(h&&h[v],d,m):(D(_,C,f),h[m]=void 0,u=_.S),C=p[++v]):(u=K(h&&h[v],d,v),C=p[++v]),u&&A(V(b.S).parentNode,u,V(b.S))}y>w?je(c,p[E+1]==null?null:p[E+1].S,d,p,v,E):v>E&&Pe(h,y,w)})(n,o,t,a,s):a!==null?(e.h!==null&&(n.textContent=""),je(n,null,t,a,0,a.length-1)):!s&&o!==null&&Pe(o,0,o.length-1),k&&r==="svg"&&(k=!1)):(i=n["s-cr"])?i.parentNode.textContent=l:e.h!==l&&(n.data=l)},P=[],Le=e=>{let t,s,n;const o=e.__childNodes||e.childNodes;for(const a of o){if(a["s-sr"]&&(t=a["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const r=a["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===a["s-hn"]||t["s-sh"]&&t["s-sh"]===a["s-hn"]))if(_e(t,r)){let l=P.find((i=>i.k===t));q=!0,t["s-sn"]=t["s-sn"]||r,l?(l.k["s-sh"]=a["s-hn"],l.N=a):(t["s-sh"]=a["s-hn"],P.push({N:a,k:t})),t["s-sr"]&&P.map((i=>{_e(i.k,t["s-sn"])&&(l=P.find((c=>c.k===t)),l&&!i.N&&(i.N=l.N))}))}else P.some((l=>l.k===t))||P.push({k:t})}a.nodeType===1&&Le(a)}},Te=e=>{e.v&&e.v.ref&&re.push((()=>e.v.ref(null))),e.m&&e.m.map(Te)},dt=(e,t)=>{le.push((()=>e(t)))},A=(e,t,s,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:o}=(function(a,r){var l;if(!(r=r||((l=a["s-ol"])==null?void 0:l.parentElement)))return{slotNode:null,slotName:""};const i=a["s-sn"]=G(a)||"";return{slotNode:ne(se(r,"childNodes"),r.tagName,i)[0],slotName:i}})(t);return o&&!n&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},ct=(e,t,s=!1)=>{var n,o,a,r,l;const i=e.$hostElement$,c=e.o,h=e.M||W(null,null);var d;const p=(d=t)&&d.O===Se?t:O(null,null,t);if(I=i.tagName,c.C&&(p.v=p.v||{},c.C.forEach((([f,u])=>{p.v[u]=i[f]}))),s&&p.v)for(const f of Object.keys(p.v))i.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(p.v[f]=i[f]);if(p.O=null,p.i|=4,e.M=p,p.S=h.S=i.shadowRoot||i,H=!(!(1&c.i)||128&c.i),oe=i["s-cr"],q=!1,D(h,p,s),N.i|=1,U){Le(p.S);for(const f of P){const u=f.k;if(!u["s-ol"]&&x.document){const _=x.document.createTextNode("");_["s-nr"]=u,A(u.parentNode,u["s-ol"]=_,u,s)}}for(const f of P){const u=f.k,_=f.N;if(u.nodeType===1&&s&&(u["s-ih"]=(n=u.hidden)!=null&&n),_){const y=_.parentNode;let v=_.nextSibling;if(v&&v.nodeType===1){let m=(o=u["s-ol"])==null?void 0:o.previousSibling;for(;m;){let g=(a=m["s-nr"])!=null?a:null;if(g&&g["s-sn"]===u["s-sn"]&&y===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===u||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){v=g;break}}m=m.previousSibling}}if((!v&&y!==(u.__parentNode||u.parentNode)||(u.__nextSibling||u.nextSibling)!==v)&&u!==v){if(A(y,u,v,s),u.nodeType===8&&u.nodeValue.startsWith("s-nt-")){const m=x.document.createTextNode(u.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=u["s-hn"],m["s-sn"]=u["s-sn"],m["s-sh"]=u["s-sh"],m["s-sr"]=u["s-sr"],m["s-ol"]=u["s-ol"],m["s-ol"]["s-nr"]=m,A(u.parentNode,m,u,s),u.parentNode.removeChild(u)}u.nodeType===1&&u.tagName!=="SLOT-FB"&&(u.hidden=(r=u["s-ih"])!=null&&r)}u&&typeof _["s-rf"]=="function"&&_["s-rf"](_)}else u.nodeType===1&&(u.hidden=!0)}}if(q&&ye(p.S),N.i&=-2,P.length=0,!H&&!(1&c.i)&&i["s-cr"]){const f=p.S.__childNodes||p.S.childNodes;for(const u of f)if(u["s-hn"]!==I&&!u["s-sh"]){if(s&&u["s-ih"]==null&&(u["s-ih"]=(l=u.hidden)!=null&&l),u.nodeType===1)u.hidden=!0;else if(u.nodeType===3&&u.nodeValue.trim()){const _=x.document.createComment("s-nt-"+u.nodeValue);_["s-sn"]=u["s-sn"],A(u.parentNode,_,u,s),u.parentNode.removeChild(u)}}}oe=void 0,re.forEach((f=>f())),re.length=0,le.forEach((f=>f())),le.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(s-1,1),n()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const s=()=>ht(e,t);if(!t)return tt(s);queueMicrotask((()=>{s()}))},ht=(e,t)=>{const s=e.$hostElement$,n=s;if(!n)throw new Error(`Can't render component <${s.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 o;return o=F(n,t?"componentWillLoad":"componentWillUpdate",void 0,s),o=Ie(o,(()=>F(n,"componentWillRender",void 0,s))),Ie(o,(()=>ut(e,n,t)))},Ie=(e,t)=>pt(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),pt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ut=async(e,t,s)=>{var n;const o=e.$hostElement$,a=o["s-rc"];s&&(r=>{const l=r.o,i=r.$hostElement$,c=l.i,h=((d,p)=>{var f,u,_;const y=xe(p),v=B.get(y);if(!x.document)return y;if(d=d.nodeType===11?d:x.document,v)if(typeof v=="string"){let m,g=L.get(d=d.head||d);if(g||L.set(d,g=new Set),!g.has(y)){m=x.document.createElement("style"),m.textContent=v;const w=(f=N._)!=null?f:(function(){var b,S,E;return(E=(S=(b=x.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?E:void 0})();if(w!=null&&m.setAttribute("nonce",w),!(1&p.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),S=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(m,S?.parentNode===d?S:null)}else if("host"in d)if(J){const b=new((u=d.defaultView)!=null?u:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(v),Q?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=v+b.textContent:d.prepend(m)}else d.append(m);1&p.i&&d.insertBefore(m,null),4&p.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(y)}}else{let m=L.get(d);if(m||L.set(d,m=new Set),!m.has(y)){const g=(_=d.defaultView)!=null?_:d.ownerDocument.defaultView;let w;if(v.constructor===g.CSSStyleSheet)w=v;else{w=new g.CSSStyleSheet;for(let b=0;b<v.cssRules.length;b++)w.insertRule(v.cssRules[b].cssText,b)}Q?d.adoptedStyleSheets.push(w):d.adoptedStyleSheets=[...d.adoptedStyleSheets,w],m.add(y)}}return y})(i.shadowRoot?i.shadowRoot:i.getRootNode(),l);10&c&&(i["s-sc"]=h,i.classList.add(h+"-h"))})(e),ft(e,t,o,s),a&&(a.map((r=>r())),o["s-rc"]=void 0);{const r=(n=o["s-p"])!=null?n:[],l=()=>gt(e);r.length===0?l():(Promise.all(r).then(l).catch(l),e.i|=4,r.length=0)}},ft=(e,t,s,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,ct(e,t,n)}catch(o){R(o,e.$hostElement$)}return null},gt=e=>{const t=e.$hostElement$,s=t,n=e.R;F(s,"componentDidRender",void 0,t),64&e.i?F(s,"componentDidUpdate",void 0,t):(e.i|=64,vt(t),F(s,"componentDidLoad",void 0,t),e.L(t),n||mt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>de(e,!1))),e.i&=-517},mt=()=>{te((()=>at(x,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,s,n)=>{if(e&&e[t])try{return e[t](s)}catch(o){R(o,n)}},vt=e=>e.classList.add("hydrated"),ze=(e,t,s,n)=>{const o=j(e);if(!o)return;const a=e,r=o.l.get(t),l=o.i,i=a;s=ke(s,n.t[t][0],!!(64&n.i));const c=Number.isNaN(r)&&Number.isNaN(s);if(s!==r&&!c){if(o.l.set(t,s),n.F){const h=n.F[t];h&&h.map((d=>{try{const[[p,f]]=Object.entries(d);(128&l||1&f)&&(i?i[p](s,r,t):o.T.push((()=>{o.D[p](s,r,t)})))}catch(p){R(p,a)}}))}if(2&l){if(i.componentShouldUpdate&&i.componentShouldUpdate(s,r,t)===!1&&!(16&l))return;16&l||de(o,!1)}}},bt=(e,t,s)=>{var n,o;const a=e.prototype;64&t.i&&1&s&&Je.forEach((r=>{const l=a[r];Object.defineProperty(a,r,{value(...i){var c;const h=j(this),d=this;d?typeof l=="function"&&l.call(d,...i):(c=h?.H)==null||c.then((p=>{const f=p[r];typeof f=="function"&&f.call(p,...i)}))}})}));{e.watchers&&!t.F&&(t.F=Ne(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((n=t.t)!=null?n:{});r.map((([l,[i]])=>{if(31&i||32&i){const{get:c,set:h}=z(a,l)||{};c&&(t.t[l][0]|=2048),h&&(t.t[l][0]|=4096),Object.defineProperty(a,l,{get(){return c?c.apply(this):(d=l,j(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(a,l,{set(d){const p=j(this);if(p){if(h)return(32&i?this[l]:p.$hostElement$[l])===void 0&&p.l.get(l)&&(d=p.l.get(l)),h.apply(this,[ke(d,i,!!(64&t.i))]),void ze(this,l,d=32&i?this[l]:p.$hostElement$[l],t);ze(this,l,d,t)}}})}}));{const l=new Map;a.attributeChangedCallback=function(i,c,h){N.jmp((()=>{var d;const p=l.get(i),f=j(this);if(this.hasOwnProperty(p),a.hasOwnProperty(p)&&typeof this[p]=="number"&&this[p]==h)return;if(p==null){const m=f?.i;if(f&&m&&!(8&m)&&h!==c){const g=this,w=(d=t.F)==null?void 0:d[i];w?.forEach((b=>{const[[S,E]]=Object.entries(b);g[S]!=null&&(128&m||1&E)&&g[S].call(g,h,c,i)}))}return}const u=r.find((([m])=>m===p)),_=u&&4&u[1][0],y=_&&h===null&&this[p]===void 0;_&&(h=h!==null&&h!=="false");const v=Object.getOwnPropertyDescriptor(a,p);y||h==this[p]||v.get&&!v.set||(this[p]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...r.filter((([i,c])=>31&c[0])).map((([i,c])=>{var h;const d=c[1]||i;return l.set(d,i),512&c[0]&&((h=t.C)==null||h.push([i,d])),d}))]))}}return e},yt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=Ne(e.F),s.P=e.P,s.U=e.U,s.C=[];const n=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((a,r)=>{const l={i:0,$hostElement$:a,o:r,l:new Map,B:new Map};l.H=new Promise((c=>l.L=c)),a["s-p"]=[],a["s-rc"]=[];const i=l;a.__stencil__getHostRef=()=>i,512&r.i&&Ze(a,l)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const a=j(this);if(!a)return;De(this,a,s.W),this.__hasHostListenerAttached=!0}(a=>{if(!(1&N.i)){const r=j(a);if(!r)return;const l=r.o;if(1&r.i)De(a,r,l.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&l.i&&(i=>{if(!x.document)return;const c=i["s-cr"]=x.document.createComment("");c["s-cn"]=!0,A(i,c,i.firstChild)})(a);{let i=a;for(;i=i.parentNode||i.host;)if(i["s-p"]){Re(r,r.R=i);break}}l.t&&Object.entries(l.t).map((([i,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(a,i)){const h=a[i];delete a[i],a[i]=h}})),(async(i,c,h)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=i.constructor,customElements.whenDefined(i.localName).then((()=>c.i|=128)),d&&d.style)){let u;typeof d.style=="string"&&(u=d.style);const _=xe(h);B.has(_)||((y,v,m)=>{let g=B.get(y);J&&m?(g=g||new CSSStyleSheet,typeof g=="string"?g=v:g.replaceSync(v)):g=v,B.set(y,g)})(_,u,!!(1&h.i))}const p=c.R,f=()=>de(c,!0);p&&p["s-rc"]?p["s-rc"].push(f):f()}catch(p){R(p,i),c.A&&(c.A(),c.A=void 0),c.L&&c.L(i)}})(a,r,l)}}})(this),n&&n.call(this)},disconnectedCallback(){(async a=>{if(!(1&N.i)){const r=j(a);r?.V&&(r.V.map((l=>l())),r.V=void 0)}L.has(a)&&L.delete(a),a.shadowRoot&&L.has(a.shadowRoot)&&L.delete(a.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else nt.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),bt(e,s,3)}catch(n){return R(n),e}},De=(e,t,s)=>{s&&x.document&&s.map((([n,o,a])=>{const r=xt(x.document,e,n),l=_t(t,a),i=St(n);N.ael(r,o,l,i),(t.V=t.V||[]).push((()=>N.rel(r,o,l,i)))}))},_t=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(n){R(n,e.$hostElement$)}},xt=(e,t,s)=>8&s?x:t,St=e=>Xe?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Mt(e){return e}function Me(e){var t,s,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(s=Me(e[t]))&&(n&&(n+=" "),n+=s)}else for(s in e)e[s]&&(n&&(n+=" "),n+=s);return n}function Ge(){for(var e,t,s=0,n="",o=arguments.length;s<o;s++)(e=arguments[s])&&(t=Me(e))&&(n&&(n+=" "),n+=t);return n}const wt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Ge("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Nt=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionClassNames:({expanded:e},t)=>Ge("gids-expansion",{"gids-expansion--expanded":e},t)},Symbol.toStringTag,{value:"Module"})),ce=Symbol("defaultPath"),He=Symbol("pathSet"),he="gids-asset-paths-set";class kt extends EventTarget{#n=new Map;constructor(){super()}#e(t,s){this.#n.set(t,s)}#t(t){return this.#n.get(t)??null}#s=()=>{this.dispatchEvent(new Event(he))};haveAssetPathsBeenSet(){return this.#t(He)!==null}setAssetPaths(t,s){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(ce,t);else{for(const n in t)this.#e(n,t[n]);s&&this.#e(ce,s)}this.#e(He,"true"),setTimeout(this.#s,0)}}getAssetFilePath(t){const s=this.#t(t);if(s===null){const n=this.#t(ce);if(n!==null)return`${n}${n.endsWith("/")?"":"/"}${t}`}return s}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(he,t,{once:!0}),()=>{this.removeEventListener(he,t)}}}const pe=Symbol.for("GIDS"),Et=()=>(globalThis[pe]===void 0&&(globalThis[pe]={assetPaths:{}}),globalThis[pe]),Ct=e=>{const t=Et().assetPaths;return t[e]===void 0&&(t[e]=new kt),t[e]};function ue(){return Ct("@ganpatiinfo/gids-web-shared")}function Ot(){return ue().haveAssetPathsBeenSet()}function Ve(e){return ue().getAssetFilePath(e)}function At(e){return ue().onAssetPathsSet(e)}let $t=0;const jt=(e,t="gids")=>e||`${t}-${$t++}`,Fe={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Be=new Map;for(const e in Fe)for(const t of Fe[e])Be.set(t,e);function Pt(e){return Be.get(e)}function We(e,t="regular",s){const n=Pt(e);let o=n??"";return s&&n&&(o=s(n)??n),`${o}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Lt}=wt,Tt=({name:e,size:t,appearance:s,alt:n,class:o,titleId:a,src:r,...l})=>{const i=jt(a);let c=r;return c===void 0&&Ot()&&(c=We(e,s,Ve)),O("svg",{ref:h=>{c===void 0&&At((()=>{(function(d,p,f){if(!d)return;const u=document.createElementNS("http://www.w3.org/2000/svg","use");u.setAttribute("href",We(p,f,Ve)),d.appendChild(u)})(h,e,s)}))},width:"16",height:"16",class:Lt({size:t},o),role:"img","aria-hidden":n===""?"true":void 0,"aria-labelledby":n===""?void 0:i,...l},n!==""&&O("title",{id:i},n||e),c!==void 0?O("use",{href:c}):null)};function qe(e){var t,s,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(s=qe(e[t]))&&(n&&(n+=" "),n+=s)}else for(s in e)e[s]&&(n&&(n+=" "),n+=s);return n}function Rt(){for(var e,t,s=0,n="",o=arguments.length;s<o;s++)(e=arguments[s])&&(t=qe(e))&&(n&&(n+=" "),n+=t);return n}const{getGidsExpansionClassNames:It}=Nt,Ue=yt(class extends Qe{constructor(e){super(),e!==!1&&this.__registerHost(),this.labelLevel="h1",this.hasContent=!1,this.handleExpansionClick=()=>{if(this.isInteractive()){const t=!this.isExpanded();this.expanded=t,this.onExpand&&this.onExpand({expansionId:this.expansionId,expanded:t,label:this?.label,labelLevel:this?.labelLevel,disabled:this?.disabled})}}}handleDisabledChange(e){this.disabled=e}handleExpandedChange(e){this.expanded=e}handleLabelLevelChange(e){this.labelLevel=e}componentDidLoad(){this.checkSlotContent()}checkSlotContent(){const e=this.hostElement.querySelector(".gids-expansion__content");if(e){const t=e.children.length>0,s=!!e.textContent&&e.textContent.trim().length>0;this.hasContent=t||s}}isInteractive(){return!this.disabled&&this.hasContent}isExpanded(){return!!this.expanded&&this.isInteractive()}isHavingLabelValue(){return!(!this.label||this.label==="")}getIconSize(){switch(this.labelLevel){case"h2":case"h3":return"md";default:return"lg"}}getLabelClass(){switch(this.labelLevel){case"h2":return"gids-expansion__level-h2";case"h3":return"gids-expansion__level-h3";default:return"gids-expansion__level-h1"}}render(){const e=It({expanded:this.isExpanded()&&this.isInteractive()}),t=this.label;return O(Se,{key:"548d1a5398ae9800ad1cf8b24d7d02a6e4111649",class:e},O("button",{key:"31618853bbaf5b6389fbaaf008972fef5c70e6ed",onClick:this.handleExpansionClick,class:Rt("gids-expansion__container",{"gids-expansion__disabled":this.disabled}),disabled:this.disabled,type:"button"},this.isHavingLabelValue()?O("span",{class:this.getLabelClass()},t):void 0,this.isInteractive()?O(Tt,{name:"chevron-down",size:this.getIconSize(),appearance:"filled"}):void 0),O("div",{key:"2a62873503236e8f8c5f7739e5d562083ef33765",class:"gids-expansion__body","aria-hidden":this.isExpanded()?"false":"true"},O("div",{key:"52c4912088ee65ba0a4caa60c9a20f012fc85fa6",class:"gids-expansion__content"},O("slot",{key:"4d72d3b46fba3becd23d1511b941b038b9a8ee04"}))))}get hostElement(){return this}static get watchers(){return{disabled:[{handleDisabledChange:0}],expanded:[{handleExpandedChange:0}],labelLevel:[{handleLabelLevelChange:0}]}}static get style(){return'.gids-expansion{display:flex;align-items:center;position:relative;padding:var(--gids-padding-vertical-edge-to-element-300) 0}.gids-expansion:not(.gids-expansion--expanded):not([expanded])::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--gids-color-border-default);transition:background 0.3s ease-in-out;z-index:1}.gids-expansion:not(.gids-expansion--expanded):not([expanded])::before{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(to right, transparent 0%, transparent 25%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 55%, transparent 75%, transparent 100%);opacity:0;transition:opacity 0.3s ease-in-out;z-index:2}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled)::after{background:linear-gradient(to right, var(--gids-color-border-default) 0%, var(--gids-color-border-default) 15%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 70%, var(--gids-color-border-default) 90%, var(--gids-color-border-default) 100%)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled)::before{opacity:1}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-expansion__level-h1{color:var(--gids-color-background-brand-bold-default)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-expansion__level-h2{color:var(--gids-color-background-brand-bold-default)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-expansion__level-h3{color:var(--gids-color-background-brand-bold-default)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-icon{--gidsIcon-color:var(--gids-color-background-brand-bold-default)}.gids-expansion__container{margin:0;padding:0;appearance:none;border:none;background:none;cursor:pointer;display:flex;align-items:center;gap:var(--gids-gap-050);white-space:nowrap;color:var(--gids-color-text-default)}.gids-expansion__container gids-icon,.gids-expansion__container .gids-icon,.gids-expansion__container GidsIcon,.gids-expansion__container svg{display:inline-block;transform:rotate3d(0, 0, 1, 0deg);transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);transform-origin:center center;backface-visibility:hidden}.gids-expansion__level-h1{font-family:var(--gids-typography-heading-medium__font-family);font-size:var(--gids-typography-heading-medium__font-size);font-weight:var(--gids-typography-heading-medium__font-weight);letter-spacing:var(--gids-typography-heading-medium__letter-spacing);line-height:var(--gids-typography-heading-medium__line-height);text-transform:var(--gids-typography-heading-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-medium__font-variant-caps, inherit)}.gids-expansion__level-h2{font-family:var(--gids-typography-heading-small__font-family);font-size:var(--gids-typography-heading-small__font-size);font-weight:var(--gids-typography-heading-small__font-weight);letter-spacing:var(--gids-typography-heading-small__letter-spacing);line-height:var(--gids-typography-heading-small__line-height);text-transform:var(--gids-typography-heading-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-small__font-variant-caps, inherit)}.gids-expansion__level-h3{font-family:var(--gids-typography-heading-x-small__font-family);font-size:var(--gids-typography-heading-x-small__font-size);font-weight:var(--gids-typography-heading-x-small__font-weight);letter-spacing:var(--gids-typography-heading-x-small__letter-spacing);line-height:var(--gids-typography-heading-x-small__line-height);text-transform:var(--gids-typography-heading-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-x-small__font-variant-caps, inherit)}.gids-expansion__body{position:absolute;top:100%;left:0;width:100%;z-index:10;transform:scaleY(0);transform-origin:top center;opacity:0;visibility:hidden;transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s;overflow:hidden}.gids-expansion--expanded{position:relative;display:block}.gids-expansion--expanded .gids-expansion__container gids-icon,.gids-expansion--expanded .gids-expansion__container .gids-icon,.gids-expansion--expanded .gids-expansion__container GidsIcon,.gids-expansion--expanded .gids-expansion__container svg{transform:rotate3d(0, 0, 1, -180deg)}.gids-expansion--expanded .gids-expansion__body{position:relative;top:auto;transform:scaleY(1);opacity:1;visibility:visible}.gids-expansion__content{min-height:0;padding:var(--gids-padding-vertical-edge-to-element-500) 0 var(--gids-padding-horizontal-edge-to-element-500)}.gids-expansion__disabled{color:var(--gids-color-text-disabled);cursor:not-allowed}.gids-expansion__disabled .gids-icon{--gidsIcon-color:var(--gids-color-icon-disabled)}'}},[260,"gids-expansion",{expansionId:[1,"expansion-id"],label:[1],labelLevel:[1,"label-level"],expanded:[516],disabled:[516],onExpand:[16],hasContent:[32]},void 0,{disabled:[{handleDisabledChange:0}],expanded:[{handleExpandedChange:0}],labelLevel:[{handleLabelLevelChange:0}]}]);function Ke(){typeof customElements<"u"&&["gids-expansion"].forEach((e=>{e==="gids-expansion"&&(customElements.get(e)||customElements.define(e,Ue))}))}Ke();const zt=Ue,Dt=Ke;T.GidsExpansion=zt,T.defineCustomElement=Dt,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})}));
|