@biggive/components 202403181322.0.0 → 202403211223.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.
Files changed (74) hide show
  1. package/dist/biggive/biggive.esm.js +1 -1
  2. package/dist/biggive/biggive.esm.js.map +1 -1
  3. package/dist/biggive/p-1c505900.js +3 -0
  4. package/dist/biggive/p-1c505900.js.map +1 -0
  5. package/dist/biggive/{p-f2455a75.entry.js → p-23ea426d.entry.js} +2 -2
  6. package/dist/biggive/{p-3a04341f.entry.js → p-50c65d29.entry.js} +2 -2
  7. package/dist/biggive/{p-7adf37e0.entry.js → p-670ba331.entry.js} +2 -2
  8. package/dist/biggive/{p-6e54e04f.entry.js → p-6733c4d1.entry.js} +2 -2
  9. package/dist/biggive/{p-96094f9f.entry.js → p-864287fe.entry.js} +2 -2
  10. package/dist/biggive/p-939c4fc3.entry.js +2 -0
  11. package/dist/biggive/{p-0844b4fd.entry.js → p-a6a421b0.entry.js} +2 -2
  12. package/dist/biggive/{p-fda6869f.entry.js → p-b5e68f9f.entry.js} +2 -2
  13. package/dist/biggive/{p-b550c568.entry.js → p-c655e5e1.entry.js} +2 -2
  14. package/dist/biggive/{p-7819d4b7.entry.js → p-c9096ebc.entry.js} +2 -2
  15. package/dist/biggive/{p-2f5acd82.entry.js → p-e4c2fafe.entry.js} +2 -2
  16. package/dist/biggive/{p-abd6eca0.entry.js → p-e4c95b1e.entry.js} +2 -2
  17. package/dist/biggive/{p-c5f886b9.entry.js → p-feeaa073.entry.js} +2 -2
  18. package/dist/cjs/biggive-accordion_42.cjs.entry.js +1 -1
  19. package/dist/cjs/biggive-basic-card.cjs.entry.js +1 -1
  20. package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +1 -1
  21. package/dist/cjs/biggive-boxed-content.cjs.entry.js +1 -1
  22. package/dist/cjs/biggive-category-icon.cjs.entry.js +1 -1
  23. package/dist/cjs/biggive-cookie-banner.cjs.entry.js +1 -1
  24. package/dist/cjs/biggive-form.cjs.entry.js +1 -1
  25. package/dist/cjs/biggive-icon-group.cjs.entry.js +1 -1
  26. package/dist/cjs/biggive-image-card.cjs.entry.js +1 -1
  27. package/dist/cjs/biggive-nav-group.cjs.entry.js +1 -1
  28. package/dist/cjs/biggive-nav-item.cjs.entry.js +1 -1
  29. package/dist/cjs/biggive-table.cjs.entry.js +1 -1
  30. package/dist/cjs/biggive-video.cjs.entry.js +1 -1
  31. package/dist/cjs/biggive.cjs.js +2 -2
  32. package/dist/cjs/biggive.cjs.js.map +1 -1
  33. package/dist/cjs/{index-900fdf5f.js → index-e7c1f2ef.js} +16 -3
  34. package/dist/cjs/index-e7c1f2ef.js.map +1 -0
  35. package/dist/cjs/loader.cjs.js +1 -1
  36. package/dist/collection/collection-manifest.json +2 -2
  37. package/dist/esm/biggive-accordion_42.entry.js +1 -1
  38. package/dist/esm/biggive-basic-card.entry.js +1 -1
  39. package/dist/esm/biggive-beneficiary-icon.entry.js +1 -1
  40. package/dist/esm/biggive-boxed-content.entry.js +1 -1
  41. package/dist/esm/biggive-category-icon.entry.js +1 -1
  42. package/dist/esm/biggive-cookie-banner.entry.js +1 -1
  43. package/dist/esm/biggive-form.entry.js +1 -1
  44. package/dist/esm/biggive-icon-group.entry.js +1 -1
  45. package/dist/esm/biggive-image-card.entry.js +1 -1
  46. package/dist/esm/biggive-nav-group.entry.js +1 -1
  47. package/dist/esm/biggive-nav-item.entry.js +1 -1
  48. package/dist/esm/biggive-table.entry.js +1 -1
  49. package/dist/esm/biggive-video.entry.js +1 -1
  50. package/dist/esm/biggive.js +3 -3
  51. package/dist/esm/biggive.js.map +1 -1
  52. package/dist/esm/{index-be3d357e.js → index-2f57ddab.js} +16 -3
  53. package/dist/esm/index-2f57ddab.js.map +1 -0
  54. package/dist/esm/loader.js +2 -2
  55. package/hydrate/index.js +31 -17
  56. package/package.json +2 -2
  57. package/dist/biggive/p-dfb7a9f4.js +0 -3
  58. package/dist/biggive/p-dfb7a9f4.js.map +0 -1
  59. package/dist/biggive/p-e6502b82.entry.js +0 -2
  60. package/dist/cjs/index-900fdf5f.js.map +0 -1
  61. package/dist/esm/index-be3d357e.js.map +0 -1
  62. /package/dist/biggive/{p-f2455a75.entry.js.map → p-23ea426d.entry.js.map} +0 -0
  63. /package/dist/biggive/{p-3a04341f.entry.js.map → p-50c65d29.entry.js.map} +0 -0
  64. /package/dist/biggive/{p-7adf37e0.entry.js.map → p-670ba331.entry.js.map} +0 -0
  65. /package/dist/biggive/{p-6e54e04f.entry.js.map → p-6733c4d1.entry.js.map} +0 -0
  66. /package/dist/biggive/{p-96094f9f.entry.js.map → p-864287fe.entry.js.map} +0 -0
  67. /package/dist/biggive/{p-e6502b82.entry.js.map → p-939c4fc3.entry.js.map} +0 -0
  68. /package/dist/biggive/{p-0844b4fd.entry.js.map → p-a6a421b0.entry.js.map} +0 -0
  69. /package/dist/biggive/{p-fda6869f.entry.js.map → p-b5e68f9f.entry.js.map} +0 -0
  70. /package/dist/biggive/{p-b550c568.entry.js.map → p-c655e5e1.entry.js.map} +0 -0
  71. /package/dist/biggive/{p-7819d4b7.entry.js.map → p-c9096ebc.entry.js.map} +0 -0
  72. /package/dist/biggive/{p-2f5acd82.entry.js.map → p-e4c2fafe.entry.js.map} +0 -0
  73. /package/dist/biggive/{p-abd6eca0.entry.js.map → p-e4c95b1e.entry.js.map} +0 -0
  74. /package/dist/biggive/{p-c5f886b9.entry.js.map → p-feeaa073.entry.js.map} +0 -0
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-be3d357e.js';
2
- export { s as setNonce } from './index-be3d357e.js';
1
+ import { b as bootstrapLazy } from './index-2f57ddab.js';
2
+ export { s as setNonce } from './index-2f57ddab.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
package/hydrate/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  /*!
6
- Stencil Mock Doc v4.12.6 | MIT Licensed | https://stenciljs.com
6
+ Stencil Mock Doc v4.13.0 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  const CONTENT_REF_ID = 'r';
9
9
  const ORG_LOCATION_ID = 'o';
@@ -382,6 +382,14 @@ class MockCustomElementRegistry {
382
382
  }
383
383
  return undefined;
384
384
  }
385
+ getName(cstr) {
386
+ for (const [tagName, def] of this.__registry.entries()) {
387
+ if (def.cstr === cstr) {
388
+ return tagName;
389
+ }
390
+ }
391
+ return undefined;
392
+ }
385
393
  upgrade(_rootNode) {
386
394
  //
387
395
  }
@@ -7161,24 +7169,29 @@ const createTime = (e, t = "") => {
7161
7169
  let scopeId, contentRef, hostTagName, useNativeShadowDom = !1, checkSlotFallbackVisibility = !1, checkSlotRelocate = !1, isSvgMode = !1;
7162
7170
 
7163
7171
  const createElm = (e, t, o, n) => {
7164
- const s = t.$children$[o];
7165
- let l, a, r, i = 0;
7166
- if (!useNativeShadowDom && (checkSlotRelocate = !0, "slot" === s.$tag$ && (scopeId && n.classList.add(scopeId + "-s"),
7167
- s.$flags$ |= s.$children$ ? 2 : 1)), null !== s.$text$) l = s.$elm$ = doc.createTextNode(s.$text$); else if (1 & s.$flags$) l = s.$elm$ = slotReferenceDebugNode(s) ; else {
7168
- if (!isSvgMode && (isSvgMode = "svg" === s.$tag$), l = s.$elm$ = doc.createElementNS(isSvgMode ? "http://www.w3.org/2000/svg" : "http://www.w3.org/1999/xhtml", 2 & s.$flags$ ? "slot-fb" : s.$tag$) ,
7169
- isSvgMode && "foreignObject" === s.$tag$ && (isSvgMode = !1), updateElement(null, s, isSvgMode),
7170
- null != scopeId && l["s-si"] !== scopeId && l.classList.add(l["s-si"] = scopeId),
7171
- s.$children$) for (i = 0; i < s.$children$.length; ++i) a = createElm(e, s, i, l),
7172
- a && l.appendChild(a);
7173
- ("svg" === s.$tag$ ? isSvgMode = !1 : "foreignObject" === l.tagName && (isSvgMode = !0));
7172
+ var s;
7173
+ const l = t.$children$[o];
7174
+ let a, r, i, d = 0;
7175
+ if (!useNativeShadowDom && (checkSlotRelocate = !0, "slot" === l.$tag$ && (scopeId && n.classList.add(scopeId + "-s"),
7176
+ l.$flags$ |= l.$children$ ? 2 : 1)), null !== l.$text$) a = l.$elm$ = doc.createTextNode(l.$text$); else if (1 & l.$flags$) a = l.$elm$ = slotReferenceDebugNode(l) ; else {
7177
+ if (!isSvgMode && (isSvgMode = "svg" === l.$tag$), a = l.$elm$ = doc.createElementNS(isSvgMode ? "http://www.w3.org/2000/svg" : "http://www.w3.org/1999/xhtml", 2 & l.$flags$ ? "slot-fb" : l.$tag$) ,
7178
+ isSvgMode && "foreignObject" === l.$tag$ && (isSvgMode = !1), updateElement(null, l, isSvgMode),
7179
+ null != scopeId && a["s-si"] !== scopeId && a.classList.add(a["s-si"] = scopeId),
7180
+ l.$children$) for (d = 0; d < l.$children$.length; ++d) r = createElm(e, l, d, a),
7181
+ r && a.appendChild(r);
7182
+ ("svg" === l.$tag$ ? isSvgMode = !1 : "foreignObject" === a.tagName && (isSvgMode = !0));
7174
7183
  }
7175
- return l["s-hn"] = hostTagName, 3 & s.$flags$ && (l["s-sr"] = !0,
7176
- l["s-cr"] = contentRef, l["s-sn"] = s.$name$ || "", r = e && e.$children$ && e.$children$[o],
7177
- r && r.$tag$ === s.$tag$ && e.$elm$ && (putBackInOriginalLocation(e.$elm$, !1))),
7178
- l;
7184
+ return a["s-hn"] = hostTagName, 3 & l.$flags$ && (a["s-sr"] = !0,
7185
+ a["s-cr"] = contentRef, a["s-sn"] = l.$name$ || "", a["s-rf"] = null === (s = l.$attrs$) || void 0 === s ? void 0 : s.ref,
7186
+ i = e && e.$children$ && e.$children$[o], i && i.$tag$ === l.$tag$ && e.$elm$ && (putBackInOriginalLocation(e.$elm$, !1))),
7187
+ a;
7179
7188
  }, putBackInOriginalLocation = (e, t) => {
7180
7189
  plt.$flags$ |= 1;
7181
- const o = e.childNodes;
7190
+ const o = Array.from(e.childNodes);
7191
+ if (e["s-sr"] && BUILD.experimentalSlotFixes) {
7192
+ let t = e;
7193
+ for (;t = t.nextSibling; ) t && t["s-sn"] === e["s-sn"] && t["s-sh"] === hostTagName && o.push(t);
7194
+ }
7182
7195
  for (let e = o.length - 1; e >= 0; e--) {
7183
7196
  const n = o[e];
7184
7197
  n["s-hn"] !== hostTagName && n["s-ol"] && (parentReferenceNode(n).insertBefore(n, referenceNode(n)),
@@ -7299,7 +7312,8 @@ const createElm = (e, t, o, n) => {
7299
7312
  }
7300
7313
  }
7301
7314
  (!o && e !== t.parentNode || t.nextSibling !== o) && t !== o && (t["s-hn"] || !t["s-ol"] || (t["s-hn"] = t["s-ol"].parentNode.nodeName),
7302
- e.insertBefore(t, o), 1 === t.nodeType && (t.hidden = null !== (l = t["s-ih"]) && void 0 !== l && l));
7315
+ e.insertBefore(t, o), 1 === t.nodeType && (t.hidden = null !== (l = t["s-ih"]) && void 0 !== l && l)),
7316
+ t && "function" == typeof r["s-rf"] && r["s-rf"](t);
7303
7317
  } else 1 === t.nodeType && (o && (t["s-ih"] = null !== (a = t.hidden) && void 0 !== a && a),
7304
7318
  t.hidden = !0);
7305
7319
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@biggive/components",
3
3
  "_comment": "Version number below is automatically replaced during CircleCI build.",
4
- "version": "202403181322.0.0",
4
+ "version": "202403211223.0.0",
5
5
  "description": "Big Give Components",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.js",
@@ -67,7 +67,7 @@
67
67
  "jest-cli": "^29.7.0",
68
68
  "lint-staged": "^15.2.0",
69
69
  "prettier": "^3.1.1",
70
- "puppeteer": "22.5.*",
70
+ "puppeteer": "22.6.*",
71
71
  "react": "^18.2.0",
72
72
  "react-dom": "^18.2.0",
73
73
  "storybook": "^8.0.0"
@@ -1,3 +0,0 @@
1
- const t="biggive";let e;let n;let s;let l=false;let o=false;let i=false;let f=false;let c=false;const r=t=>{const e=new URL(t,Qt.t);return e.origin!==Gt.location.origin?e.href:e.pathname};const u=(t,e="")=>{{return()=>{}}};const a=(t,e)=>{{return()=>{}}};const d="r";const $="o";const v="s";const h="t";const p="s-id";const y="sty-id";const m="c-id";const b="{visibility:hidden}.hydrated{visibility:inherit}";const w="slot-fb{display:contents}slot-fb[hidden]{display:none}";const g=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];const k={};const S="http://www.w3.org/2000/svg";const j="http://www.w3.org/1999/xhtml";const O=t=>t!=null;const C=t=>{t=typeof t;return t==="object"||t==="function"};function R(t){var e,n,s;return(s=(n=(e=t.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const x=(t,e,...n)=>{let s=null;let l=null;let o=null;let i=false;let f=false;const c=[];const r=e=>{for(let n=0;n<e.length;n++){s=e[n];if(Array.isArray(s)){r(s)}else if(s!=null&&typeof s!=="boolean"){if(i=typeof t!=="function"&&!C(s)){s=String(s)}if(i&&f){c[c.length-1].l+=s}else{c.push(i?M(null,s):s)}f=i}}};r(n);if(e){if(e.key){l=e.key}if(e.name){o=e.name}{const t=e.className||e.class;if(t){e.class=typeof t!=="object"?t:Object.keys(t).filter((e=>t[e])).join(" ")}}}if(typeof t==="function"){return t(e===null?{}:e,c,P)}const u=M(t,null);u.o=e;if(c.length>0){u.i=c}{u.u=l}{u.$=o}return u};const M=(t,e)=>{const n={v:0,h:t,l:e,p:null,i:null};{n.o=null}{n.u=null}{n.$=null}return n};const A={};const E=t=>t&&t.h===A;const P={forEach:(t,e)=>t.map(I).forEach(e),map:(t,e)=>t.map(I).map(e).map(L)};const I=t=>({vattrs:t.o,vchildren:t.i,vkey:t.u,vname:t.$,vtag:t.h,vtext:t.l});const L=t=>{if(typeof t.vtag==="function"){const e=Object.assign({},t.vattrs);if(t.vkey){e.key=t.vkey}if(t.vname){e.name=t.vname}return x(t.vtag,e,...t.vchildren||[])}const e=M(t.vtag,t.vtext);e.o=t.vattrs;e.i=t.vchildren;e.u=t.vkey;e.$=t.vname;return e};const T=(t,e,n,s)=>{const l=u("hydrateClient",e);const o=t.shadowRoot;const i=[];const f=[];const c=o?[]:null;const r=s.m=M(e,null);if(!Qt.k){N(Jt.body,Qt.k=new Map)}t[p]=n;t.removeAttribute(p);U(r,i,f,c,t,t,n);i.map((t=>{const n=t.S+"."+t.j;const s=Qt.k.get(n);const l=t.p;if(s&&Xt&&s["s-en"]===""){s.parentNode.insertBefore(l,s.nextSibling)}if(!o){l["s-hn"]=e;if(s){l["s-ol"]=s;l["s-ol"]["s-nr"]=l}}Qt.k.delete(n)}));if(o){c.map((t=>{if(t){o.appendChild(t)}}))}l()};const U=(t,e,n,s,l,o,i)=>{let f;let c;let r;let u;if(o.nodeType===1){f=o.getAttribute(m);if(f){c=f.split(".");if(c[0]===i||c[0]==="0"){r={v:0,S:c[0],j:c[1],O:c[2],C:c[3],h:o.tagName.toLowerCase(),p:o,o:null,i:null,u:null,$:null,l:null};e.push(r);o.removeAttribute(m);if(!t.i){t.i=[]}t.i[r.C]=r;t=r;if(s&&r.O==="0"){s[r.C]=r.p}}}for(u=o.childNodes.length-1;u>=0;u--){U(t,e,n,s,l,o.childNodes[u],i)}if(o.shadowRoot){for(u=o.shadowRoot.childNodes.length-1;u>=0;u--){U(t,e,n,s,l,o.shadowRoot.childNodes[u],i)}}}else if(o.nodeType===8){c=o.nodeValue.split(".");if(c[1]===i||c[1]==="0"){f=c[0];r={v:0,S:c[1],j:c[2],O:c[3],C:c[4],p:o,o:null,i:null,u:null,$:null,h:null,l:null};if(f===h){r.p=o.nextSibling;if(r.p&&r.p.nodeType===3){r.l=r.p.textContent;e.push(r);o.remove();if(!t.i){t.i=[]}t.i[r.C]=r;if(s&&r.O==="0"){s[r.C]=r.p}}}else if(r.S===i){if(f===v){r.h="slot";if(c[5]){o["s-sn"]=r.$=c[5]}else{o["s-sn"]=""}o["s-sr"]=true;if(s){r.p=Jt.createElement(r.h);if(r.$){r.p.setAttribute("name",r.$)}o.parentNode.insertBefore(r.p,o);o.remove();if(r.O==="0"){s[r.C]=r.p}}n.push(r);if(!t.i){t.i=[]}t.i[r.C]=r}else if(f===d){if(s){o.remove()}else{l["s-cr"]=o;o["s-cn"]=true}}}}}else if(t&&t.h==="style"){const e=M(null,o.textContent);e.p=o;e.C="0";t.i=[e]}};const N=(t,e)=>{if(t.nodeType===1){let n=0;for(;n<t.childNodes.length;n++){N(t.childNodes[n],e)}if(t.shadowRoot){for(n=0;n<t.shadowRoot.childNodes.length;n++){N(t.shadowRoot.childNodes[n],e)}}}else if(t.nodeType===8){const n=t.nodeValue.split(".");if(n[0]===$){e.set(n[1]+"."+n[2],t);t.nodeValue="";t["s-en"]=n[3]}}};const W=(t,e)=>{if(t!=null&&!C(t)){if(e&4){return t==="false"?false:t===""||!!t}if(e&2){return parseFloat(t)}if(e&1){return String(t)}return t}return t};const D=t=>Dt(t).$hostElement$;const F=(t,e,n)=>{const s=D(t);return{emit:t=>q(s,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:t})}};const q=(t,e,n)=>{const s=Qt.ce(e,n);t.dispatchEvent(s);return s};const H=new WeakMap;const V=(t,e,n)=>{let s=Bt.get(t);if(Zt&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=e}else{s.replaceSync(e)}}else{s=e}Bt.set(t,s)};const _=(t,e,n)=>{var s;const l=B(e);const o=Bt.get(l);t=t.nodeType===11?t:Jt;if(o){if(typeof o==="string"){t=t.head||t;let n=H.get(t);let i;if(!n){H.set(t,n=new Set)}if(!n.has(l)){if(t.host&&(i=t.querySelector(`[${y}="${l}"]`))){i.innerHTML=o}else{i=Jt.createElement("style");i.innerHTML=o;const e=(s=Qt.R)!==null&&s!==void 0?s:R(Jt);if(e!=null){i.setAttribute("nonce",e)}t.insertBefore(i,t.querySelector("link"))}if(e.v&4){i.innerHTML+=w}if(n){n.add(l)}}}else if(!t.adoptedStyleSheets.includes(o)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]}}return l};const z=t=>{const e=t.M;const n=t.$hostElement$;const s=e.v;const l=u("attachStyles",e.A);const o=_(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(s&10){n["s-sc"]=o;n.classList.add(o+"-h")}l()};const B=(t,e)=>"sc-"+t.A;const G=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{");const J=(t,e,n,s,l,o)=>{if(n!==s){let i=Ht(t,e);let f=e.toLowerCase();if(e==="class"){const e=t.classList;const l=Q(n);const o=Q(s);e.remove(...l.filter((t=>t&&!o.includes(t))));e.add(...o.filter((t=>t&&!l.includes(t))))}else if(e==="style"){{for(const e in n){if(!s||s[e]==null){if(e.includes("-")){t.style.removeProperty(e)}else{t.style[e]=""}}}}for(const e in s){if(!n||s[e]!==n[e]){if(e.includes("-")){t.style.setProperty(e,s[e])}else{t.style[e]=s[e]}}}}else if(e==="key");else if(e==="ref"){if(s){s(t)}}else if(!i&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(Ht(Gt,f)){e=f.slice(2)}else{e=f[2]+e.slice(3)}if(n||s){const l=e.endsWith(X);e=e.replace(Y,"");if(n){Qt.rel(t,e,n,l)}if(s){Qt.ael(t,e,s,l)}}}else{const f=C(s);if((i||f&&s!==null)&&!l){try{if(!t.tagName.includes("-")){const l=s==null?"":s;if(e==="list"){i=false}else if(n==null||t[e]!=l){t[e]=l}}else{t[e]=s}}catch(t){}}if(s==null||s===false){if(s!==false||t.getAttribute(e)===""){{t.removeAttribute(e)}}}else if((!i||o&4||l)&&!f){s=s===true?"":s;{t.setAttribute(e,s)}}}}};const K=/\s/;const Q=t=>!t?[]:t.split(K);const X="Capture";const Y=new RegExp(X+"$");const Z=(t,e,n,s)=>{const l=e.p.nodeType===11&&e.p.host?e.p.host:e.p;const o=t&&t.o||k;const i=e.o||k;{for(s in o){if(!(s in i)){J(l,s,o[s],undefined,n,e.v)}}}for(s in i){J(l,s,o[s],i[s],n,e.v)}};const tt=(t,o,c,r)=>{const u=o.i[c];let a=0;let d;let $;let v;if(!l){i=true;if(u.h==="slot"){if(e){r.classList.add(e+"-s")}u.v|=u.i?2:1}}if(u.l!==null){d=u.p=Jt.createTextNode(u.l)}else if(u.v&1){d=u.p=Jt.createTextNode("")}else{if(!f){f=u.h==="svg"}d=u.p=Jt.createElementNS(f?S:j,u.v&2?"slot-fb":u.h);if(f&&u.h==="foreignObject"){f=false}{Z(null,u,f)}if(O(e)&&d["s-si"]!==e){d.classList.add(d["s-si"]=e)}if(u.i){for(a=0;a<u.i.length;++a){$=tt(t,u,a,d);if($){d.appendChild($)}}}{if(u.h==="svg"){f=false}else if(d.tagName==="foreignObject"){f=true}}}d["s-hn"]=s;{if(u.v&(2|1)){d["s-sr"]=true;d["s-cr"]=n;d["s-sn"]=u.$||"";v=t&&t.i&&t.i[c];if(v&&v.h===u.h&&t.p){{et(t.p)}}}}return d};const et=t=>{Qt.v|=1;const e=t.closest(s.toLowerCase());if(e!=null){const n=Array.from(e.childNodes).find((t=>t["s-cr"]));const s=Array.from(t.childNodes);for(const t of n?s.reverse():s){if(t["s-sh"]!=null){e.insertBefore(t,n!==null&&n!==void 0?n:null);t["s-sh"]=undefined;i=true}}}Qt.v&=~1};const nt=(t,e)=>{Qt.v|=1;const n=t.childNodes;for(let t=n.length-1;t>=0;t--){const l=n[t];if(l["s-hn"]!==s&&l["s-ol"]){ct(l).insertBefore(l,ft(l));l["s-ol"].remove();l["s-ol"]=undefined;l["s-sh"]=undefined;i=true}if(e){nt(l,e)}}Qt.v&=~1};const st=(t,e,n,l,o,i)=>{let f=t["s-cr"]&&t["s-cr"].parentNode||t;let c;if(f.shadowRoot&&f.tagName===s){f=f.shadowRoot}for(;o<=i;++o){if(l[o]){c=tt(null,n,o,t);if(c){l[o].p=c;f.insertBefore(c,ft(e))}}}};const lt=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.p;vt(e);if(t){{o=true;if(t["s-ol"]){t["s-ol"].remove()}else{nt(t,true)}}t.remove()}}}};const ot=(t,e,n,s,l=false)=>{let o=0;let i=0;let f=0;let c=0;let r=e.length-1;let u=e[0];let a=e[r];let d=s.length-1;let $=s[0];let v=s[d];let h;let p;while(o<=r&&i<=d){if(u==null){u=e[++o]}else if(a==null){a=e[--r]}else if($==null){$=s[++i]}else if(v==null){v=s[--d]}else if(it(u,$,l)){rt(u,$,l);u=e[++o];$=s[++i]}else if(it(a,v,l)){rt(a,v,l);a=e[--r];v=s[--d]}else if(it(u,v,l)){if(u.h==="slot"||v.h==="slot"){nt(u.p.parentNode,false)}rt(u,v,l);t.insertBefore(u.p,a.p.nextSibling);u=e[++o];v=s[--d]}else if(it(a,$,l)){if(u.h==="slot"||v.h==="slot"){nt(a.p.parentNode,false)}rt(a,$,l);t.insertBefore(a.p,u.p);a=e[--r];$=s[++i]}else{f=-1;{for(c=o;c<=r;++c){if(e[c]&&e[c].u!==null&&e[c].u===$.u){f=c;break}}}if(f>=0){p=e[f];if(p.h!==$.h){h=tt(e&&e[i],n,f,t)}else{rt(p,$,l);e[f]=undefined;h=p.p}$=s[++i]}else{h=tt(e&&e[i],n,i,t);$=s[++i]}if(h){{ct(u.p).insertBefore(h,ft(u.p))}}}}if(o>r){st(t,s[d+1]==null?null:s[d+1].p,n,s,i,d)}else if(i>d){lt(e,o,r)}};const it=(t,e,n=false)=>{if(t.h===e.h){if(t.h==="slot"){return t.$===e.$}if(!n){return t.u===e.u}return true}return false};const ft=t=>t&&t["s-ol"]||t;const ct=t=>(t["s-ol"]?t["s-ol"]:t).parentNode;const rt=(t,e,n=false)=>{const s=e.p=t.p;const o=t.i;const i=e.i;const c=e.h;const r=e.l;let u;if(r===null){{f=c==="svg"?true:c==="foreignObject"?false:f}{if(c==="slot"&&!l){if(t.$!==e.$){e.p["s-sn"]=e.$||"";et(e.p.parentElement)}}else{Z(t,e,f)}}if(o!==null&&i!==null){ot(s,o,e,i,n)}else if(i!==null){if(t.l!==null){s.textContent=""}st(s,null,e,i,0,i.length-1)}else if(o!==null){lt(o,0,o.length-1)}if(f&&c==="svg"){f=false}}else if(u=s["s-cr"]){u.parentNode.textContent=r}else if(t.l!==r){s.data=r}};const ut=t=>{const e=t.childNodes;for(const t of e){if(t.nodeType===1){if(t["s-sr"]){const n=t["s-sn"];t.hidden=false;for(const s of e){if(s!==t){if(s["s-hn"]!==t["s-hn"]||n!==""){if(s.nodeType===1&&(n===s.getAttribute("slot")||n===s["s-sn"])){t.hidden=true;break}}else{if(s.nodeType===1||s.nodeType===3&&s.textContent.trim()!==""){t.hidden=true;break}}}}}ut(t)}}};const at=[];const dt=t=>{let e;let n;let s;for(const l of t.childNodes){if(l["s-sr"]&&(e=l["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;const t=l["s-sn"];for(s=n.length-1;s>=0;s--){e=n[s];if(!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==l["s-hn"]&&(!e["s-sh"]||e["s-sh"]!==l["s-hn"])){if($t(e,t)){let n=at.find((t=>t.P===e));o=true;e["s-sn"]=e["s-sn"]||t;if(n){n.P["s-sh"]=l["s-hn"];n.I=l}else{e["s-sh"]=l["s-hn"];at.push({I:l,P:e})}if(e["s-sr"]){at.map((t=>{if($t(t.P,e["s-sn"])){n=at.find((t=>t.P===e));if(n&&!t.I){t.I=n.I}}}))}}else if(!at.some((t=>t.P===e))){at.push({P:e})}}}}if(l.nodeType===1){dt(l)}}};const $t=(t,e)=>{if(t.nodeType===1){if(t.getAttribute("slot")===null&&e===""){return true}if(t.getAttribute("slot")===e){return true}return false}if(t["s-sn"]===e){return true}return e===""};const vt=t=>{{t.o&&t.o.ref&&t.o.ref(null);t.i&&t.i.map(vt)}};const ht=(t,f,c=false)=>{var r,u,a,d;const $=t.$hostElement$;const v=t.M;const h=t.m||M(null,null);const p=E(f)?f:x(null,null,f);s=$.tagName;if(c&&p.o){for(const t of Object.keys(p.o)){if($.hasAttribute(t)&&!["key","ref","style","class"].includes(t)){p.o[t]=$[t]}}}p.h=null;p.v|=4;t.m=p;p.p=h.p=$.shadowRoot||$;{e=$["s-sc"]}l=(v.v&1)!==0;{n=$["s-cr"];o=false}rt(h,p,c);{Qt.v|=1;if(i){dt(p.p);for(const t of at){const e=t.P;if(!e["s-ol"]){const t=Jt.createTextNode("");t["s-nr"]=e;e.parentNode.insertBefore(e["s-ol"]=t,e)}}for(const t of at){const e=t.P;const n=t.I;if(n){const t=n.parentNode;let s=n.nextSibling;if(s&&s.nodeType===1){let n=(r=e["s-ol"])===null||r===void 0?void 0:r.previousSibling;while(n){let l=(u=n["s-nr"])!==null&&u!==void 0?u:null;if(l&&l["s-sn"]===e["s-sn"]&&t===l.parentNode){l=l.nextSibling;if(!l||!l["s-nr"]){s=l;break}}n=n.previousSibling}}if(!s&&t!==e.parentNode||e.nextSibling!==s){if(e!==s){t.insertBefore(e,s);if(e.nodeType===1){e.hidden=(a=e["s-ih"])!==null&&a!==void 0?a:false}}}}else{if(e.nodeType===1){if(c){e["s-ih"]=(d=e.hidden)!==null&&d!==void 0?d:false}e.hidden=true}}}}if(o){ut(p.p)}Qt.v&=~1;at.length=0}n=undefined};const pt=(t,e)=>{if(e&&!t.L&&e["s-p"]){e["s-p"].push(new Promise((e=>t.L=e)))}};const yt=(t,e)=>{{t.v|=16}if(t.v&4){t.v|=512;return}pt(t,t.T);const n=()=>mt(t,e);return ie(n)};const mt=(t,e)=>{const n=u("scheduleUpdate",t.M.A);const s=t.U;let l;if(e){{l=Ot(s,"componentWillLoad")}}{l=bt(l,(()=>Ot(s,"componentWillRender")))}n();return bt(l,(()=>gt(t,s,e)))};const bt=(t,e)=>wt(t)?t.then(e):e();const wt=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const gt=async(t,e,n)=>{var s;const l=t.$hostElement$;const o=u("update",t.M.A);const i=l["s-rc"];if(n){z(t)}const f=u("render",t.M.A);{kt(t,e,l,n)}if(i){i.map((t=>t()));l["s-rc"]=undefined}f();o();{const e=(s=l["s-p"])!==null&&s!==void 0?s:[];const n=()=>St(t);if(e.length===0){n()}else{Promise.all(e).then(n);t.v|=4;e.length=0}}};const kt=(t,e,n,s)=>{try{e=e.render();{t.v&=~16}{t.v|=2}{{{ht(t,e,s)}}}}catch(e){Vt(e,t.$hostElement$)}return null};const St=t=>{const e=t.M.A;const n=t.$hostElement$;const s=u("postUpdate",e);const l=t.U;const o=t.T;{Ot(l,"componentDidRender")}if(!(t.v&64)){t.v|=64;{Ct(n)}{Ot(l,"componentDidLoad")}s();{t.N(n);if(!o){jt()}}}else{s()}{t.W(n)}{if(t.L){t.L();t.L=undefined}if(t.v&512){oe((()=>yt(t,false)))}t.v&=~(4|512)}};const jt=e=>{{Ct(Jt.documentElement)}oe((()=>q(Gt,"appload",{detail:{namespace:t}})))};const Ot=(t,e,n)=>{if(t&&t[e]){try{return t[e](n)}catch(t){Vt(t)}}return undefined};const Ct=t=>t.classList.add("hydrated");const Rt=(t,e)=>Dt(t).D.get(e);const xt=(t,e,n,s)=>{const l=Dt(t);const o=l.D.get(e);const i=l.v;const f=l.U;n=W(n,s.F[e][0]);const c=Number.isNaN(o)&&Number.isNaN(n);const r=n!==o&&!c;if((!(i&8)||o===undefined)&&r){l.D.set(e,n);if(f){if((i&(2|16))===2){yt(l,false)}}}};const Mt=(t,e,n)=>{var s;const l=t.prototype;if(e.v&64&&n&1){g.forEach((t=>Object.defineProperty(l,t,{value(...e){const n=Dt(this);const s=n.U;if(!s){n.q.then((n=>{const s=n[t];typeof s==="function"&&s.call(n,...e)}))}else{const n=s[t];typeof n==="function"&&n.call(s,...e)}}})))}if(e.F){const o=Object.entries(e.F);o.map((([t,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(l,t,{get(){return Rt(this,t)},set(n){xt(this,t,n,e)},configurable:true,enumerable:true})}else if(n&1&&s&64){Object.defineProperty(l,t,{value(...e){var n;const s=Dt(this);return(n=s===null||s===void 0?void 0:s.H)===null||n===void 0?void 0:n.then((()=>{var n;return(n=s.U)===null||n===void 0?void 0:n[t](...e)}))}})}}));if(n&1){const n=new Map;l.attributeChangedCallback=function(t,s,o){Qt.jmp((()=>{var i;const f=n.get(t);if(this.hasOwnProperty(f)){o=this[f];delete this[f]}else if(l.hasOwnProperty(f)&&typeof this[f]==="number"&&this[f]==o){return}else if(f==null){const n=Dt(this);const l=n===null||n===void 0?void 0:n.v;if(l&&!(l&8)&&l&128&&o!==s){const l=n.U;const f=(i=e.V)===null||i===void 0?void 0:i[t];f===null||f===void 0?void 0:f.forEach((e=>{if(l[e]!=null){l[e].call(l,o,s,t)}}))}return}this[f]=o===null&&typeof this[f]==="boolean"?false:o}))};t.observedAttributes=Array.from(new Set([...Object.keys((s=e.V)!==null&&s!==void 0?s:{}),...o.filter((([t,e])=>e[0]&15)).map((([t,e])=>{const s=e[1]||t;n.set(s,t);return s}))]))}}return t};const At=async(t,e,n,s)=>{let l;if((e.v&32)===0){e.v|=32;const s=n._;if(s){l=zt(n);if(l.then){const t=a();l=await l;t()}if(!l.isProxied){Mt(l,n,2);l.isProxied=true}const t=u("createInstance",n.A);{e.v|=8}try{new l(e)}catch(t){Vt(t)}{e.v&=~8}t()}else{l=t.constructor;customElements.whenDefined(n.A).then((()=>e.v|=128))}if(l.style){let t=l.style;const e=B(n);if(!Bt.has(e)){const s=u("registerStyles",n.A);V(e,t,!!(n.v&1));s()}}}const o=e.T;const i=()=>yt(e,true);if(o&&o["s-rc"]){o["s-rc"].push(i)}else{i()}};const Et=t=>{};const Pt=t=>{if((Qt.v&1)===0){const e=Dt(t);const n=e.M;const s=u("connectedCallback",n.A);if(!(e.v&1)){e.v|=1;let s;{s=t.getAttribute(p);if(s){if(n.v&1){const e=_(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}T(t,n.A,s,e)}}if(!s){if(n.v&(4|8)){It(t)}}{let n=t;while(n=n.parentNode||n.host){if(n.nodeType===1&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){pt(e,e.T=n);break}}}if(n.F){Object.entries(n.F).map((([e,[n]])=>{if(n&31&&t.hasOwnProperty(e)){const n=t[e];delete t[e];t[e]=n}}))}{At(t,e,n)}}else{if(e===null||e===void 0?void 0:e.U);else if(e===null||e===void 0?void 0:e.q){e.q.then((()=>Et()))}}s()}};const It=t=>{const e=t["s-cr"]=Jt.createComment("");e["s-cn"]=true;t.insertBefore(e,t.firstChild)};const Lt=t=>{};const Tt=async t=>{if((Qt.v&1)===0){const e=Dt(t);if(e===null||e===void 0?void 0:e.U);else if(e===null||e===void 0?void 0:e.q){e.q.then((()=>Lt()))}}};const Ut=(t,e={})=>{var n;const s=u();const l=[];const o=e.exclude||[];const i=Gt.customElements;const f=Jt.head;const c=f.querySelector("meta[charset]");const r=Jt.createElement("style");const a=[];const d=Jt.querySelectorAll(`[${y}]`);let $;let v=true;let h=0;Object.assign(Qt,e);Qt.t=new URL(e.resourcesUrl||"./",Jt.baseURI).href;{Qt.v|=2}{for(;h<d.length;h++){V(d[h].getAttribute(y),G(d[h].innerHTML),true)}}let p=false;t.map((t=>{t[1].map((e=>{const n={v:e[0],A:e[1],F:e[2],B:e[3]};if(n.v&4){p=true}{n.F=e[2]}const s=n.A;const f=class extends HTMLElement{constructor(t){super(t);t=this;qt(t,n);if(n.v&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if($){clearTimeout($);$=null}if(v){a.push(this)}else{Qt.jmp((()=>Pt(this)))}}disconnectedCallback(){Qt.jmp((()=>Tt(this)))}componentOnReady(){return Dt(this).q}};if(n.v&64){f.formAssociated=true}n._=t[0];if(!o.includes(s)&&!i.get(s)){l.push(s);i.define(s,Mt(f,n,1))}}))}));if(l.length>0){if(p){r.textContent+=w}{r.textContent+=l+b}if(r.innerHTML.length){r.setAttribute("data-styles","");const t=(n=Qt.R)!==null&&n!==void 0?n:R(Jt);if(t!=null){r.setAttribute("nonce",t)}f.insertBefore(r,c?c.nextSibling:f.firstChild)}}v=false;if(a.length){a.map((t=>t.connectedCallback()))}else{{Qt.jmp((()=>$=setTimeout(jt,30)))}}s()};const Nt=t=>Qt.R=t;const Wt=new WeakMap;const Dt=t=>Wt.get(t);const Ft=(t,e)=>Wt.set(e.U=t,e);const qt=(t,e)=>{const n={v:0,$hostElement$:t,M:e,D:new Map};{n.H=new Promise((t=>n.W=t))}{n.q=new Promise((t=>n.N=t));t["s-p"]=[];t["s-rc"]=[]}return Wt.set(t,n)};const Ht=(t,e)=>e in t;const Vt=(t,e)=>(0,console.error)(t,e);const _t=new Map;const zt=(t,e,n)=>{const s=t.A.replace(/-/g,"_");const l=t._;const o=_t.get(l);if(o){return o[s]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${l}.entry.js${""}`).then((t=>{{_t.set(l,t)}return t[s]}),Vt)};const Bt=new Map;const Gt=typeof window!=="undefined"?window:{};const Jt=Gt.document||{head:{}};const Kt=Gt.HTMLElement||class{};const Qt={v:0,t:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)};const Xt=true;const Yt=t=>Promise.resolve(t);const Zt=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const te=[];const ee=[];const ne=(t,e)=>n=>{t.push(n);if(!c){c=true;if(e&&Qt.v&4){oe(le)}else{Qt.raf(le)}}};const se=t=>{for(let e=0;e<t.length;e++){try{t[e](performance.now())}catch(t){Vt(t)}}t.length=0};const le=()=>{se(te);{se(ee);if(c=te.length>0){Qt.raf(le)}}};const oe=t=>Yt().then(t);const ie=ne(ee,true);export{Kt as H,r as a,Ut as b,F as c,A as d,D as g,x as h,Yt as p,Ft as r,Nt as s};
3
- //# sourceMappingURL=p-dfb7a9f4.js.map