@biggive/components 202302161725.0.0 → 202303021718.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 (85) hide show
  1. package/dist/biggive/biggive.esm.js +1 -1
  2. package/dist/biggive/{p-517cb7f7.entry.js → p-08fc4499.entry.js} +1 -1
  3. package/dist/biggive/{p-722c8c52.entry.js → p-0f38685b.entry.js} +1 -1
  4. package/dist/biggive/{p-f6ddbee5.entry.js → p-13f4a2c4.entry.js} +1 -1
  5. package/dist/biggive/{p-57cd992c.entry.js → p-223759f6.entry.js} +1 -1
  6. package/dist/biggive/{p-9350e5e9.entry.js → p-34cfc5da.entry.js} +1 -1
  7. package/dist/biggive/{p-c75752fd.entry.js → p-3b378f79.entry.js} +1 -1
  8. package/dist/biggive/{p-9dc67a33.entry.js → p-52bb0267.entry.js} +1 -1
  9. package/dist/biggive/{p-35200669.entry.js → p-53189bc6.entry.js} +1 -1
  10. package/dist/biggive/{p-1a8cc3db.entry.js → p-5a38b219.entry.js} +1 -1
  11. package/dist/biggive/{p-c128620b.entry.js → p-71054cf6.entry.js} +1 -1
  12. package/dist/biggive/p-780650cc.entry.js +1 -0
  13. package/dist/biggive/{p-a0f7c83c.entry.js → p-8876011d.entry.js} +1 -1
  14. package/dist/biggive/{p-441bc7d1.entry.js → p-95bd7f7a.entry.js} +1 -1
  15. package/dist/biggive/{p-f0e1930b.entry.js → p-99f18976.entry.js} +1 -1
  16. package/dist/biggive/p-a0941518.entry.js +1 -0
  17. package/dist/biggive/p-acf3bcd9.js +2 -0
  18. package/dist/biggive/{p-a546f541.entry.js → p-d7f8a6fd.entry.js} +1 -1
  19. package/dist/biggive/{p-a35c092d.entry.js → p-d8432f12.entry.js} +1 -1
  20. package/dist/biggive/{p-2afc20c1.entry.js → p-eb6aecf0.entry.js} +1 -1
  21. package/dist/biggive/{p-056f9d01.entry.js → p-f8e38bb9.entry.js} +1 -1
  22. package/dist/biggive/{p-9e11b9fe.entry.js → p-fe9f3e72.entry.js} +1 -1
  23. package/dist/cjs/biggive-article-card.cjs.entry.js +1 -1
  24. package/dist/cjs/biggive-back-to-top_27.cjs.entry.js +1 -1
  25. package/dist/cjs/biggive-basic-card.cjs.entry.js +1 -1
  26. package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +1 -1
  27. package/dist/cjs/biggive-biography-card.cjs.entry.js +1 -1
  28. package/dist/cjs/biggive-boxed-content.cjs.entry.js +1 -1
  29. package/dist/cjs/biggive-category-icon.cjs.entry.js +1 -1
  30. package/dist/cjs/biggive-form.cjs.entry.js +1 -1
  31. package/dist/cjs/biggive-formatted-text.cjs.entry.js +1 -1
  32. package/dist/cjs/biggive-header.cjs.entry.js +1 -1
  33. package/dist/cjs/biggive-icon-group.cjs.entry.js +1 -1
  34. package/dist/cjs/biggive-nav-group.cjs.entry.js +1 -1
  35. package/dist/cjs/biggive-nav-item.cjs.entry.js +1 -1
  36. package/dist/cjs/biggive-popup-standalone.cjs.entry.js +1 -1
  37. package/dist/cjs/biggive-search.cjs.entry.js +1 -1
  38. package/dist/cjs/biggive-tab.cjs.entry.js +1 -1
  39. package/dist/cjs/biggive-tabbed-content.cjs.entry.js +1 -1
  40. package/dist/cjs/biggive-table.cjs.entry.js +33 -0
  41. package/dist/cjs/biggive-text-input.cjs.entry.js +1 -1
  42. package/dist/cjs/biggive-video.cjs.entry.js +1 -1
  43. package/dist/cjs/biggive.cjs.js +2 -2
  44. package/dist/cjs/{index-562d2f5c.js → index-4ae5dbd7.js} +389 -7
  45. package/dist/cjs/loader.cjs.js +2 -2
  46. package/dist/collection/collection-manifest.json +1 -0
  47. package/dist/collection/components/biggive-table/biggive-table.css +324 -0
  48. package/dist/collection/components/biggive-table/biggive-table.js +147 -0
  49. package/dist/collection/components/biggive-table/biggive-table.stories.js +76 -0
  50. package/dist/collection/globals/brand-colour.js +1 -0
  51. package/dist/components/biggive-table.d.ts +11 -0
  52. package/dist/components/biggive-table.js +52 -0
  53. package/dist/components/index.d.ts +1 -0
  54. package/dist/components/index.js +1 -0
  55. package/dist/esm/biggive-article-card.entry.js +1 -1
  56. package/dist/esm/biggive-back-to-top_27.entry.js +1 -1
  57. package/dist/esm/biggive-basic-card.entry.js +1 -1
  58. package/dist/esm/biggive-beneficiary-icon.entry.js +1 -1
  59. package/dist/esm/biggive-biography-card.entry.js +1 -1
  60. package/dist/esm/biggive-boxed-content.entry.js +1 -1
  61. package/dist/esm/biggive-category-icon.entry.js +1 -1
  62. package/dist/esm/biggive-form.entry.js +1 -1
  63. package/dist/esm/biggive-formatted-text.entry.js +1 -1
  64. package/dist/esm/biggive-header.entry.js +1 -1
  65. package/dist/esm/biggive-icon-group.entry.js +1 -1
  66. package/dist/esm/biggive-nav-group.entry.js +1 -1
  67. package/dist/esm/biggive-nav-item.entry.js +1 -1
  68. package/dist/esm/biggive-popup-standalone.entry.js +1 -1
  69. package/dist/esm/biggive-search.entry.js +1 -1
  70. package/dist/esm/biggive-tab.entry.js +1 -1
  71. package/dist/esm/biggive-tabbed-content.entry.js +1 -1
  72. package/dist/esm/biggive-table.entry.js +29 -0
  73. package/dist/esm/biggive-text-input.entry.js +1 -1
  74. package/dist/esm/biggive-video.entry.js +1 -1
  75. package/dist/esm/biggive.js +2 -2
  76. package/dist/esm/{index-5ca4e7a1.js → index-43541c5f.js} +389 -7
  77. package/dist/esm/loader.js +2 -2
  78. package/dist/types/components/biggive-table/biggive-table.d.ts +9 -0
  79. package/dist/types/components/biggive-table/biggive-table.stories.d.ts +42 -0
  80. package/dist/types/components.d.ts +24 -0
  81. package/dist/types/globals/brand-colour.d.ts +1 -0
  82. package/hydrate/index.js +41 -0
  83. package/package.json +1 -1
  84. package/dist/biggive/p-c0aadf86.entry.js +0 -1
  85. package/dist/biggive/p-d49d5f66.js +0 -2
@@ -0,0 +1,42 @@
1
+ declare const _default: {
2
+ title: string;
3
+ argTypes: {
4
+ spaceBelow: {
5
+ name: string;
6
+ control: {
7
+ type: string;
8
+ options: number[];
9
+ };
10
+ };
11
+ headerTextColour: {
12
+ name: string;
13
+ control: {
14
+ type: string;
15
+ options: string[];
16
+ };
17
+ };
18
+ headerBackgroundColour: {
19
+ name: string;
20
+ control: {
21
+ type: string;
22
+ options: string[];
23
+ };
24
+ };
25
+ bodyTextColour: {
26
+ name: string;
27
+ control: {
28
+ type: string;
29
+ options: string[];
30
+ };
31
+ };
32
+ bodyBackgroundColour: {
33
+ name: string;
34
+ control: {
35
+ type: string;
36
+ options: string[];
37
+ };
38
+ };
39
+ };
40
+ };
41
+ export default _default;
42
+ export declare const TableComponent: any;
@@ -5,6 +5,7 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
+ import { brandColour } from "./globals/brand-colour";
8
9
  export namespace Components {
9
10
  interface BiggiveArticleCard {
10
11
  /**
@@ -985,6 +986,13 @@ export namespace Components {
985
986
  */
986
987
  "spaceBelow": number;
987
988
  }
989
+ interface BiggiveTable {
990
+ "bodyBackgroundColour": brandColour;
991
+ "bodyTextColour": brandColour;
992
+ "headerBackgroundColour": brandColour;
993
+ "headerTextColour": brandColour;
994
+ "spaceBelow": number;
995
+ }
988
996
  interface BiggiveTextInput {
989
997
  }
990
998
  interface BiggiveTotalizer {
@@ -1365,6 +1373,12 @@ declare global {
1365
1373
  prototype: HTMLBiggiveTabbedContentElement;
1366
1374
  new (): HTMLBiggiveTabbedContentElement;
1367
1375
  };
1376
+ interface HTMLBiggiveTableElement extends Components.BiggiveTable, HTMLStencilElement {
1377
+ }
1378
+ var HTMLBiggiveTableElement: {
1379
+ prototype: HTMLBiggiveTableElement;
1380
+ new (): HTMLBiggiveTableElement;
1381
+ };
1368
1382
  interface HTMLBiggiveTextInputElement extends Components.BiggiveTextInput, HTMLStencilElement {
1369
1383
  }
1370
1384
  var HTMLBiggiveTextInputElement: {
@@ -1436,6 +1450,7 @@ declare global {
1436
1450
  "biggive-social-icon": HTMLBiggiveSocialIconElement;
1437
1451
  "biggive-tab": HTMLBiggiveTabElement;
1438
1452
  "biggive-tabbed-content": HTMLBiggiveTabbedContentElement;
1453
+ "biggive-table": HTMLBiggiveTableElement;
1439
1454
  "biggive-text-input": HTMLBiggiveTextInputElement;
1440
1455
  "biggive-totalizer": HTMLBiggiveTotalizerElement;
1441
1456
  "biggive-totalizer-ticker-item": HTMLBiggiveTotalizerTickerItemElement;
@@ -2444,6 +2459,13 @@ declare namespace LocalJSX {
2444
2459
  */
2445
2460
  "spaceBelow"?: number;
2446
2461
  }
2462
+ interface BiggiveTable {
2463
+ "bodyBackgroundColour"?: brandColour;
2464
+ "bodyTextColour"?: brandColour;
2465
+ "headerBackgroundColour"?: brandColour;
2466
+ "headerTextColour"?: brandColour;
2467
+ "spaceBelow"?: number;
2468
+ }
2447
2469
  interface BiggiveTextInput {
2448
2470
  }
2449
2471
  interface BiggiveTotalizer {
@@ -2591,6 +2613,7 @@ declare namespace LocalJSX {
2591
2613
  "biggive-social-icon": BiggiveSocialIcon;
2592
2614
  "biggive-tab": BiggiveTab;
2593
2615
  "biggive-tabbed-content": BiggiveTabbedContent;
2616
+ "biggive-table": BiggiveTable;
2594
2617
  "biggive-text-input": BiggiveTextInput;
2595
2618
  "biggive-totalizer": BiggiveTotalizer;
2596
2619
  "biggive-totalizer-ticker-item": BiggiveTotalizerTickerItem;
@@ -2650,6 +2673,7 @@ declare module "@stencil/core" {
2650
2673
  "biggive-social-icon": LocalJSX.BiggiveSocialIcon & JSXBase.HTMLAttributes<HTMLBiggiveSocialIconElement>;
2651
2674
  "biggive-tab": LocalJSX.BiggiveTab & JSXBase.HTMLAttributes<HTMLBiggiveTabElement>;
2652
2675
  "biggive-tabbed-content": LocalJSX.BiggiveTabbedContent & JSXBase.HTMLAttributes<HTMLBiggiveTabbedContentElement>;
2676
+ "biggive-table": LocalJSX.BiggiveTable & JSXBase.HTMLAttributes<HTMLBiggiveTableElement>;
2653
2677
  "biggive-text-input": LocalJSX.BiggiveTextInput & JSXBase.HTMLAttributes<HTMLBiggiveTextInputElement>;
2654
2678
  "biggive-totalizer": LocalJSX.BiggiveTotalizer & JSXBase.HTMLAttributes<HTMLBiggiveTotalizerElement>;
2655
2679
  "biggive-totalizer-ticker-item": LocalJSX.BiggiveTotalizerTickerItem & JSXBase.HTMLAttributes<HTMLBiggiveTotalizerTickerItemElement>;
@@ -0,0 +1 @@
1
+ export type brandColour = 'primary' | 'secondary' | 'tertiary' | 'brand-1' | 'brand-2' | 'brand-3' | 'brand-4' | 'brand-5' | 'brand-6' | 'black' | 'white' | 'grey-light' | 'grey-dark';
package/hydrate/index.js CHANGED
@@ -7823,6 +7823,46 @@ class BiggiveTabbedContent {
7823
7823
  }; }
7824
7824
  }
7825
7825
 
7826
+ const biggiveTableCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-brand-mhf-turquoise{fill:#62CFC9}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-red{fill:red}:host{display:contents;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px}.container.header-text-colour-primary thead{color:#2C089B}.container.header-background-colour-primary thead{background-color:#2C089B}.container.body-text-colour-primary tbody{color:#2C089B}.container.body-background-colour-primary tbody{background-color:#2C089B}.container.header-text-colour-secondary thead{color:#2AF135}.container.header-background-colour-secondary thead{background-color:#2AF135}.container.body-text-colour-secondary tbody{color:#2AF135}.container.body-background-colour-secondary tbody{background-color:#2AF135}.container.header-text-colour-tertiary thead{color:#FF7272}.container.header-background-colour-tertiary thead{background-color:#FF7272}.container.body-text-colour-tertiary tbody{color:#FF7272}.container.body-background-colour-tertiary tbody{background-color:#FF7272}.container.header-text-colour-brand-1 thead{color:#62CFC9}.container.header-background-colour-brand-1 thead{background-color:#62CFC9}.container.body-text-colour-brand-1 tbody{color:#62CFC9}.container.body-background-colour-brand-1 tbody{background-color:#62CFC9}.container.header-text-colour-brand-2 thead{color:#B30510}.container.header-background-colour-brand-2 thead{background-color:#B30510}.container.body-text-colour-brand-2 tbody{color:#B30510}.container.body-background-colour-brand-2 tbody{background-color:#B30510}.container.header-text-colour-brand-3 thead{color:#6E0887}.container.header-background-colour-brand-3 thead{background-color:#6E0887}.container.body-text-colour-brand-3 tbody{color:#6E0887}.container.body-background-colour-brand-3 tbody{background-color:#6E0887}.container.header-text-colour-brand-4 thead{color:#50B400}.container.header-background-colour-brand-4 thead{background-color:#50B400}.container.body-text-colour-brand-4 tbody{color:#50B400}.container.body-background-colour-brand-4 tbody{background-color:#50B400}.container.header-text-colour-brand-5 thead{color:#FFE500}.container.header-background-colour-brand-5 thead{background-color:#FFE500}.container.body-text-colour-brand-5 tbody{color:#FFE500}.container.body-background-colour-brand-5 tbody{background-color:#FFE500}.container.header-text-colour-brand-6 thead{color:#F07D00}.container.header-background-colour-brand-6 thead{background-color:#F07D00}.container.body-text-colour-brand-6 tbody{color:#F07D00}.container.body-background-colour-brand-6 tbody{background-color:#F07D00}.container.header-text-colour-white thead{color:#FFFFFF}.container.header-background-colour-white thead{background-color:#FFFFFF}.container.body-text-colour-white tbody{color:#FFFFFF}.container.body-background-colour-white tbody{background-color:#FFFFFF}.container.header-text-colour-black thead{color:#000000}.container.header-background-colour-black thead{background-color:#000000}.container.body-text-colour-black tbody{color:#000000}.container.body-background-colour-black tbody{background-color:#000000}.container.header-text-colour-grey-extra-light thead{color:#D7D7D7}.container.header-background-colour-grey-extra-light thead{background-color:#D7D7D7}.container.body-text-colour-grey-extra-light tbody{color:#D7D7D7}.container.body-background-colour-grey-extra-light tbody{background-color:#D7D7D7}.container.header-text-colour-grey-light thead{color:#E8E8E8}.container.header-background-colour-grey-light thead{background-color:#E8E8E8}.container.body-text-colour-grey-light tbody{color:#E8E8E8}.container.body-background-colour-grey-light tbody{background-color:#E8E8E8}.container.header-text-colour-grey-medium thead{color:#8A8A8A}.container.header-background-colour-grey-medium thead{background-color:#8A8A8A}.container.body-text-colour-grey-medium tbody{color:#8A8A8A}.container.body-background-colour-grey-medium tbody{background-color:#8A8A8A}.container.header-text-colour-grey-dark thead{color:#4A4A4A}.container.header-background-colour-grey-dark thead{background-color:#4A4A4A}.container.body-text-colour-grey-dark tbody{color:#4A4A4A}.container.body-background-colour-grey-dark tbody{background-color:#4A4A4A}.container table{width:100%;border-collapse:collapse;border:0}.container table td,.container table th{padding:10px 20px;border:0;font-size:inherit}.container table thead{filter:drop-shadow(-1px 3px 12px rgba(0, 0, 0, 0.15))}.container table thead td,.container table thead th{font-weight:bold}.container table tbody tr.odd{background-color:rgba(255, 255, 255, 0.3)}.container table tbody td,.container table tbody th{font-size:80%}";
7827
+
7828
+ class BiggiveTable {
7829
+ constructor(hostRef) {
7830
+ registerInstance(this, hostRef);
7831
+ this.spaceBelow = 0;
7832
+ this.headerTextColour = 'primary';
7833
+ this.headerBackgroundColour = 'white';
7834
+ this.bodyTextColour = 'black';
7835
+ this.bodyBackgroundColour = 'grey-light';
7836
+ }
7837
+ render() {
7838
+ return (hAsync("div", { class: 'container header-text-colour-' +
7839
+ this.headerTextColour +
7840
+ ' header-background-colour-' +
7841
+ this.headerBackgroundColour +
7842
+ ' body-text-colour-' +
7843
+ this.bodyTextColour +
7844
+ ' body-background-colour-' +
7845
+ this.bodyBackgroundColour +
7846
+ ' space-below-' +
7847
+ this.spaceBelow }, hAsync("slot", null)));
7848
+ }
7849
+ static get style() { return biggiveTableCss; }
7850
+ static get cmpMeta() { return {
7851
+ "$flags$": 4,
7852
+ "$tagName$": "biggive-table",
7853
+ "$members$": {
7854
+ "spaceBelow": [2, "space-below"],
7855
+ "headerTextColour": [1, "header-text-colour"],
7856
+ "headerBackgroundColour": [1, "header-background-colour"],
7857
+ "bodyTextColour": [1, "body-text-colour"],
7858
+ "bodyBackgroundColour": [1, "body-background-colour"]
7859
+ },
7860
+ "$listeners$": undefined,
7861
+ "$lazyBundleId$": "-",
7862
+ "$attrsToReflect$": []
7863
+ }; }
7864
+ }
7865
+
7826
7866
  const biggiveTextInputCss = "/*!@:host*/.sc-biggive-text-input-h{display:block}";
7827
7867
 
7828
7868
  class BiggiveTextInput {
@@ -8042,6 +8082,7 @@ registerComponents([
8042
8082
  BiggiveSocialIcon,
8043
8083
  BiggiveTab,
8044
8084
  BiggiveTabbedContent,
8085
+ BiggiveTable,
8045
8086
  BiggiveTextInput,
8046
8087
  BiggiveTotalizer,
8047
8088
  BiggiveTotalizerTickerItem,
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": "202302161725.0.0",
4
+ "version": "202303021718.0.0",
5
5
  "description": "Big Give Components",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- import{r as s,h as r,H as o}from"./p-d49d5f66.js";const t=class{constructor(r){s(this,r)}render(){return r(o,null,r("slot",null))}};t.style=":host{display:block}";export{t as biggive_form}
@@ -1,2 +0,0 @@
1
- let e,t,n=!1,l=!1;const s=e=>{const t=new URL(e,ce.t);return t.origin!==re.location.origin?t.href:t.pathname},o="s-id",r="sty-id",i="c-id",c={},u=e=>"object"==(e=typeof e)||"function"===e,a=(e,t,...n)=>{let l=null,s=!1,o=!1;const r=[],i=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?i(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!u(l))&&(l+=""),s&&o?r[r.length-1].l+=l:r.push(s?f(null,l):l),o=s)};if(i(n),t){const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}if("function"==typeof e)return e(null===t?{}:t,r,d);const c=f(e,null);return c.o=t,r.length>0&&(c.i=r),c},f=(e,t)=>({u:0,$:e,l:t,h:null,i:null,o:null}),$={},d={forEach:(e,t)=>e.map(h).forEach(t),map:(e,t)=>e.map(h).map(t).map(m)},h=e=>({vattrs:e.o,vchildren:e.i,vkey:e.m,vname:e.p,vtag:e.$,vtext:e.l}),m=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),a(e.vtag,t,...e.vchildren||[])}const t=f(e.vtag,e.vtext);return t.o=e.vattrs,t.i=e.vchildren,t.m=e.vkey,t.p=e.vname,t},p=(e,t,n,l,s,o,r)=>{let c,u,a,$;if(1===o.nodeType){for(c=o.getAttribute(i),c&&(u=c.split("."),u[0]!==r&&"0"!==u[0]||(a={u:0,g:u[0],v:u[1],j:u[2],S:u[3],$:o.tagName.toLowerCase(),h:o,o:null,i:null,m:null,p:null,l:null},t.push(a),o.removeAttribute(i),e.i||(e.i=[]),e.i[a.S]=a,e=a,l&&"0"===a.j&&(l[a.S]=a.h))),$=o.childNodes.length-1;$>=0;$--)p(e,t,n,l,s,o.childNodes[$],r);if(o.shadowRoot)for($=o.shadowRoot.childNodes.length-1;$>=0;$--)p(e,t,n,l,s,o.shadowRoot.childNodes[$],r)}else if(8===o.nodeType)u=o.nodeValue.split("."),u[1]!==r&&"0"!==u[1]||(c=u[0],a={u:0,g:u[1],v:u[2],j:u[3],S:u[4],h:o,o:null,i:null,m:null,p:null,$:null,l:null},"t"===c?(a.h=o.nextSibling,a.h&&3===a.h.nodeType&&(a.l=a.h.textContent,t.push(a),o.remove(),e.i||(e.i=[]),e.i[a.S]=a,l&&"0"===a.j&&(l[a.S]=a.h))):a.g===r&&("s"===c?(a.$="slot",o["s-sn"]=u[5]?a.p=u[5]:"",o["s-sr"]=!0,l&&(a.h=ie.createElement(a.$),a.p&&a.h.setAttribute("name",a.p),o.parentNode.insertBefore(a.h,o),o.remove(),"0"===a.j&&(l[a.S]=a.h)),n.push(a),e.i||(e.i=[]),e.i[a.S]=a):"r"===c&&l&&o.remove()));else if(e&&"style"===e.$){const t=f(null,o.textContent);t.h=o,t.S="0",e.i=[t]}},y=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)y(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)y(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},b=e=>Y(e).O,w=(e,t,n)=>{const l=b(e);return{emit:e=>g(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},g=(e,t,n)=>{const l=ce.ce(t,n);return e.dispatchEvent(l),l},v=new WeakMap,j=(e,t,n)=>{let l=oe.get(e);fe&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,oe.set(e,l)},S=(e,t)=>{let n=O(t);const l=oe.get(n);if(e=11===e.nodeType?e:ie,l)if("string"==typeof l){let t,s=v.get(e=e.head||e);s||v.set(e,s=new Set),s.has(n)||(e.host&&(t=e.querySelector(`[${r}="${n}"]`))?t.innerHTML=l:(t=ie.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link"))),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n},O=e=>"sc-"+e.k,k=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),x=(e,t,n,l,s,o)=>{if(n!==l){let r=te(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,s=C(n),o=C(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if(r||"o"!==t[0]||"n"!==t[1]){const i=u(l);if((r||i&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&o||s)&&!i&&e.setAttribute(t,l=!0===l?"":l)}else t="-"===t[2]?t.slice(3):te(re,i)?i.slice(2):i[2]+t.slice(3),n&&ce.rel(e,t,n,!1),l&&ce.ael(e,t,l,!1)}},M=/\s/,C=e=>e?e.split(M):[],P=(e,t,n,l)=>{const s=11===t.h.nodeType&&t.h.host?t.h.host:t.h,o=e&&e.o||c,r=t.o||c;for(l in o)l in r||x(s,l,o[l],void 0,n,t.u);for(l in r)x(s,l,o[l],r[l],n,t.u)},R=(t,l,s)=>{const o=l.i[s];let r,i,c=0;if(null!==o.l)r=o.h=ie.createTextNode(o.l);else{if(n||(n="svg"===o.$),r=o.h=ie.createElementNS(n?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.$),n&&"foreignObject"===o.$&&(n=!1),P(null,o,n),null!=e&&r["s-si"]!==e&&r.classList.add(r["s-si"]=e),o.i)for(c=0;c<o.i.length;++c)i=R(t,o,c),i&&r.appendChild(i);"svg"===o.$?n=!1:"foreignObject"===r.tagName&&(n=!0)}return r},E=(e,n,l,s,o,r)=>{let i,c=e;for(c.shadowRoot&&c.tagName===t&&(c=c.shadowRoot);o<=r;++o)s[o]&&(i=R(null,l,o),i&&(s[o].h=i,c.insertBefore(i,n)))},I=(e,t,n,l)=>{for(;t<=n;++t)(l=e[t])&&l.h.remove()},L=(e,t)=>e.$===t.$,N=(e,t)=>{const l=t.h=e.h,s=e.i,o=t.i,r=t.$,i=t.l;null===i?(n="svg"===r||"foreignObject"!==r&&n,"slot"===r||P(e,t,n),null!==s&&null!==o?((e,t,n,l)=>{let s,o=0,r=0,i=t.length-1,c=t[0],u=t[i],a=l.length-1,f=l[0],$=l[a];for(;o<=i&&r<=a;)null==c?c=t[++o]:null==u?u=t[--i]:null==f?f=l[++r]:null==$?$=l[--a]:L(c,f)?(N(c,f),c=t[++o],f=l[++r]):L(u,$)?(N(u,$),u=t[--i],$=l[--a]):L(c,$)?(N(c,$),e.insertBefore(c.h,u.h.nextSibling),c=t[++o],$=l[--a]):L(u,f)?(N(u,f),e.insertBefore(u.h,c.h),u=t[--i],f=l[++r]):(s=R(t&&t[r],n,r),f=l[++r],s&&c.h.parentNode.insertBefore(s,c.h));o>i?E(e,null==l[a+1]?null:l[a+1].h,n,l,r,a):r>a&&I(t,o,i)})(l,s,t,o):null!==o?(null!==e.l&&(l.textContent=""),E(l,null,t,o,0,o.length-1)):null!==s&&I(s,0,s.length-1),n&&"svg"===r&&(n=!1)):e.l!==i&&(l.data=i)},T=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},U=(e,t)=>{if(e.u|=16,!(4&e.u))return T(e,e.C),be((()=>W(e,t)));e.u|=512},W=(e,t)=>{const n=e.P;let l;return t&&(e.u|=256,e.R&&(e.R.map((([e,t])=>D(n,e,t))),e.R=null)),l=V(l,(()=>D(n,"componentWillRender"))),V(l,(()=>A(e,n,t)))},A=async(e,t,n)=>{const l=e.O,s=l["s-rc"];n&&(e=>{const t=e.I,n=e.O,l=t.u,s=S(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);F(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>H(e);0===t.length?n():(Promise.all(t).then(n),e.u|=4,t.length=0)}},F=(n,l)=>{try{l=l.render(),n.u&=-17,n.u|=2,((n,l)=>{const s=n.O,o=n.L||f(null,null),r=(e=>e&&e.$===$)(l)?l:a(null,null,l);t=s.tagName,r.$=null,r.u|=4,n.L=r,r.h=o.h=s.shadowRoot||s,e=s["s-sc"],N(o,r)})(n,l)}catch(e){ne(e,n.O)}return null},H=e=>{const t=e.O,n=e.C;D(e.P,"componentDidRender"),64&e.u||(e.u|=64,_(t),e.N(t),n||q()),e.T(t),e.M&&(e.M(),e.M=void 0),512&e.u&&ye((()=>U(e,!1))),e.u&=-517},q=()=>{_(ie.documentElement),ye((()=>g(re,"appload",{detail:{namespace:"biggive"}})))},D=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){ne(e)}},V=(e,t)=>e&&e.then?e.then(t):t(),_=e=>e.classList.add("hydrated"),z=(e,t,n)=>{if(t.U){const l=Object.entries(t.U),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>Y(this).W.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=Y(e),o=s.W.get(t),r=s.u,i=s.P;n=((e,t)=>null==e||u(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.U[t][0]),8&r&&void 0!==o||n===o||Number.isNaN(o)&&Number.isNaN(n)||(s.W.set(t,n),i&&2==(18&r)&&U(s,!1))})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=Y(this);return n.A.then((()=>n.P[e](...t)))}})})),1&n){const t=new Map;s.attributeChangedCallback=function(e,n,l){ce.jmp((()=>{const n=t.get(e);if(this.hasOwnProperty(n))l=this[n],delete this[n];else if(s.hasOwnProperty(n)&&"number"==typeof this[n]&&this[n]==l)return;this[n]=(null!==l||"boolean"!=typeof this[n])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))}}return e},B=e=>{if(0==(1&ce.u)){const t=Y(e),n=t.I,l=()=>{};if(1&t.u)J(e,t,n.F);else{let l;if(t.u|=1,l=e.getAttribute(o),l){if(1&n.u){const t=S(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,r=[],i=s?[]:null,c=l.L=f(t,null);ce.H||y(ie.body,ce.H=new Map),e[o]=n,e.removeAttribute(o),p(c,r,[],i,e,e,n),r.map((e=>{const n=e.g+"."+e.v,l=ce.H.get(n),o=e.h;l&&ue&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),ce.H.delete(n)})),s&&i.map((e=>{e&&s.appendChild(e)}))})(e,n.k,l,t)}{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){T(t,t.C=n);break}}n.U&&Object.entries(n.U).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.u)){{if(t.u|=32,(s=se(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(z(s,n,2),s.isProxied=!0);const e=()=>{};t.u|=8;try{new s(t)}catch(e){ne(e)}t.u&=-9,e()}if(s.style){let e=s.style;const t=O(n);if(!oe.has(t)){const l=()=>{};j(t,e,!!(1&n.u)),l()}}}const o=t.C,r=()=>U(t,!0);o&&o["s-rc"]?o["s-rc"].push(r):r()})(0,t,n)}l()}},G=(e,t={})=>{const n=[],l=t.exclude||[],s=re.customElements,o=ie.head,i=o.querySelector("meta[charset]"),c=ie.createElement("style"),u=[],a=ie.querySelectorAll(`[${r}]`);let f,$=!0,d=0;for(Object.assign(ce,t),ce.t=new URL(t.resourcesUrl||"./",ie.baseURI).href,ce.u|=2;d<a.length;d++)j(a[d].getAttribute(r),k(a[d].innerHTML),!0);e.map((e=>{e[1].map((t=>{const o={u:t[0],k:t[1],U:t[2],F:t[3]};o.U=t[2],o.F=t[3];const r=o.k,i=class extends HTMLElement{constructor(e){super(e),ee(e=this,o),1&o.u&&e.attachShadow({mode:"open"})}connectedCallback(){f&&(clearTimeout(f),f=null),$?u.push(this):ce.jmp((()=>B(this)))}disconnectedCallback(){ce.jmp((()=>(()=>{if(0==(1&ce.u)){const e=Y(this);e.q&&(e.q.map((e=>e())),e.q=void 0)}})()))}componentOnReady(){return Y(this).D}};o.V=e[0],l.includes(r)||s.get(r)||(n.push(r),s.define(r,z(i,o,1)))}))})),c.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",c.setAttribute("data-styles",""),o.insertBefore(c,i?i.nextSibling:o.firstChild),$=!1,u.length?u.map((e=>e.connectedCallback())):ce.jmp((()=>f=setTimeout(q,30)))},J=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=e,r=K(t,s),i=Q(n);ce.ael(o,l,r,i),(t.q=t.q||[]).push((()=>ce.rel(o,l,r,i)))}))},K=(e,t)=>n=>{try{256&e.u?e.P[t](n):(e.R=e.R||[]).push([t,n])}catch(e){ne(e)}},Q=e=>0!=(2&e),X=new WeakMap,Y=e=>X.get(e),Z=(e,t)=>X.set(t.P=e,t),ee=(e,t)=>{const n={u:0,O:e,I:t,W:new Map};return n.A=new Promise((e=>n.T=e)),n.D=new Promise((e=>n.N=e)),e["s-p"]=[],e["s-rc"]=[],J(e,n,t.F),X.set(e,n)},te=(e,t)=>t in e,ne=(e,t)=>(0,console.error)(e,t),le=new Map,se=e=>{const t=e.k.replace(/-/g,"_"),n=e.V,l=le.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(le.set(n,e),e[t])),ne)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},oe=new Map,re="undefined"!=typeof window?window:{},ie=re.document||{head:{}},ce={u:0,t:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},ue=!0,ae=e=>Promise.resolve(e),fe=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),$e=[],de=[],he=(e,t)=>n=>{e.push(n),l||(l=!0,t&&4&ce.u?ye(pe):ce.raf(pe))},me=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ne(e)}e.length=0},pe=()=>{me($e),me(de),(l=$e.length>0)&&ce.raf(pe)},ye=e=>ae().then(e),be=he(de,!0);export{$ as H,b as a,G as b,w as c,s as g,a as h,ae as p,Z as r}