@utrecht/web-component-library-vue 1.0.0-alpha.21 → 1.0.0-alpha.212

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 (174) hide show
  1. package/README.md +4 -2
  2. package/dist/clsx.m-0f299411.c819525e.mjs +21 -0
  3. package/dist/components.d.ts +163 -773
  4. package/dist/core-js.e87058ae.mjs +3297 -0
  5. package/dist/dom.867dd471.mjs +643 -0
  6. package/dist/index.9b6bfabe.mjs +797 -0
  7. package/dist/index.d.ts +2 -0
  8. package/dist/plugin.d.ts +2 -0
  9. package/dist/utrecht-article.entry.3a26df53.mjs +14 -0
  10. package/dist/utrecht-backdrop.entry.a8df44b1.mjs +16 -0
  11. package/dist/utrecht-badge-counter.entry.8a135c10.mjs +15 -0
  12. package/dist/utrecht-badge-data.entry.7e86e93d.mjs +14 -0
  13. package/dist/utrecht-badge-status.entry.457b33a3.mjs +14 -0
  14. package/dist/utrecht-breadcrumb.entry.8e9b03b2.mjs +18 -0
  15. package/dist/utrecht-button_2.entry.2685748b.mjs +58 -0
  16. package/dist/utrecht-checkbox.entry.9651facc.mjs +18 -0
  17. package/dist/utrecht-contact-card-template.entry.515e88fe.mjs +14 -0
  18. package/dist/utrecht-custom-checkbox.entry.7889742a.mjs +24 -0
  19. package/dist/utrecht-digid-button.entry.b0ec5435.mjs +14 -0
  20. package/dist/utrecht-document.entry.928a6c77.mjs +14 -0
  21. package/dist/utrecht-eherkenning-logo.entry.35eabbaa.mjs +14 -0
  22. package/dist/utrecht-eidas-logo.entry.b60bdea6.mjs +14 -0
  23. package/dist/utrecht-form-field-checkbox.entry.058532af.mjs +18 -0
  24. package/dist/utrecht-form-field-description.entry.e0fde7d4.mjs +16 -0
  25. package/dist/utrecht-form-field-textarea.entry.6c15993b.mjs +18 -0
  26. package/dist/utrecht-form-field-textbox.entry.57d3c16f.mjs +18 -0
  27. package/dist/utrecht-form-toggle.entry.f3b778f5.mjs +24 -0
  28. package/dist/utrecht-heading-1.entry.203060e4.mjs +14 -0
  29. package/dist/utrecht-heading-2_3.entry.d9ec2b18.mjs +35 -0
  30. package/dist/utrecht-heading-4.entry.793e86a6.mjs +14 -0
  31. package/dist/utrecht-heading-5.entry.ac038304.mjs +14 -0
  32. package/dist/utrecht-heading-6.entry.c722370e.mjs +14 -0
  33. package/dist/utrecht-heading.entry.12a1d6b6.mjs +14 -0
  34. package/dist/utrecht-html-content.entry.d0a27c0d.mjs +35 -0
  35. package/dist/utrecht-icon-afspraak-maken.entry.3399ae81.mjs +13 -0
  36. package/dist/utrecht-icon-afval-container.entry.fe20314c.mjs +13 -0
  37. package/dist/utrecht-icon-afval-containerpas.entry.4bf01e24.mjs +13 -0
  38. package/dist/utrecht-icon-afval-kalender.entry.96a149b1.mjs +13 -0
  39. package/dist/utrecht-icon-afval-scheiden.entry.7b04e6b3.mjs +13 -0
  40. package/dist/utrecht-icon-afval.entry.6ae54ac9.mjs +13 -0
  41. package/dist/utrecht-icon-afvalkalender.entry.3d66a79f.mjs +13 -0
  42. package/dist/utrecht-icon-alleen.entry.c42253f3.mjs +13 -0
  43. package/dist/utrecht-icon-arrow.entry.28d61f85.mjs +13 -0
  44. package/dist/utrecht-icon-bestemmingsplan.entry.477195ca.mjs +13 -0
  45. package/dist/utrecht-icon-betaaldatum.entry.801a89ea.mjs +13 -0
  46. package/dist/utrecht-icon-bewijsstukken.entry.df1c052b.mjs +13 -0
  47. package/dist/utrecht-icon-bijstand.entry.66cf4b52.mjs +13 -0
  48. package/dist/utrecht-icon-blad.entry.71807093.mjs +13 -0
  49. package/dist/utrecht-icon-bouwproject.entry.f0608d00.mjs +13 -0
  50. package/dist/utrecht-icon-brandgevaar.entry.bc83b4a9.mjs +13 -0
  51. package/dist/utrecht-icon-checkmark.entry.03965aa7.mjs +13 -0
  52. package/dist/utrecht-icon-college-b-w.entry.87e0c6bb.mjs +13 -0
  53. package/dist/utrecht-icon-container-bio.entry.ff8ef1ab.mjs +13 -0
  54. package/dist/utrecht-icon-container.entry.30be9d3a.mjs +14 -0
  55. package/dist/utrecht-icon-cross.entry.4935d220.mjs +13 -0
  56. package/dist/utrecht-icon-dakloos.entry.0a89a494.mjs +13 -0
  57. package/dist/utrecht-icon-dementie.entry.dd3966c3.mjs +13 -0
  58. package/dist/utrecht-icon-duurzaam.entry.932f7276.mjs +13 -0
  59. package/dist/utrecht-icon-eenzaamheid.entry.623aaa80.mjs +13 -0
  60. package/dist/utrecht-icon-eikenprocessie.entry.ac11ebe0.mjs +13 -0
  61. package/dist/utrecht-icon-energie-vergoeding.entry.2e96e2d3.mjs +13 -0
  62. package/dist/utrecht-icon-energietransitie.entry.3f2ff78e.mjs +13 -0
  63. package/dist/utrecht-icon-error.entry.5ac3ebfb.mjs +13 -0
  64. package/dist/utrecht-icon-evenementen.entry.efc4f28b.mjs +13 -0
  65. package/dist/utrecht-icon-facebook.entry.c7088cd5.mjs +13 -0
  66. package/dist/utrecht-icon-fiets.entry.1584e8db.mjs +13 -0
  67. package/dist/utrecht-icon-filter.entry.e7e7f3fa.mjs +13 -0
  68. package/dist/utrecht-icon-gebruiker-centraal.entry.6db03fbd.mjs +13 -0
  69. package/dist/utrecht-icon-gegevenswoordenboek.entry.1b48ba7e.mjs +13 -0
  70. package/dist/utrecht-icon-gemeenteraad.entry.c5cd33f2.mjs +13 -0
  71. package/dist/utrecht-icon-grofvuil.entry.6d42c7ee.mjs +13 -0
  72. package/dist/utrecht-icon-horeca.entry.78b7ac43.mjs +13 -0
  73. package/dist/utrecht-icon-huishoudelijk-geweld.entry.9e534526.mjs +13 -0
  74. package/dist/utrecht-icon-hulp-huishouden.entry.9adbd575.mjs +13 -0
  75. package/dist/utrecht-icon-hulp-vervoer.entry.22b30afa.mjs +13 -0
  76. package/dist/utrecht-icon-hulp-zorg.entry.7252bb18.mjs +13 -0
  77. package/dist/utrecht-icon-hulpverlening.entry.e224e39e.mjs +13 -0
  78. package/dist/utrecht-icon-information.entry.e730f247.mjs +13 -0
  79. package/dist/utrecht-icon-innovatie.entry.92621544.mjs +13 -0
  80. package/dist/utrecht-icon-instagram.entry.00f4af20.mjs +13 -0
  81. package/dist/utrecht-icon-kalender.entry.fd8a6840.mjs +13 -0
  82. package/dist/utrecht-icon-kerstbomen.entry.b474353e.mjs +13 -0
  83. package/dist/utrecht-icon-klachten.entry.58292f8c.mjs +13 -0
  84. package/dist/utrecht-icon-kroon.entry.b9751115.mjs +13 -0
  85. package/dist/utrecht-icon-laadpaal.entry.344c5157.mjs +13 -0
  86. package/dist/utrecht-icon-lantaarnpaal.entry.538e9526.mjs +13 -0
  87. package/dist/utrecht-icon-leren.entry.555570c6.mjs +13 -0
  88. package/dist/utrecht-icon-let-op.entry.6b1fda86.mjs +13 -0
  89. package/dist/utrecht-icon-linkedin.entry.fbc13416.mjs +13 -0
  90. package/dist/utrecht-icon-list.entry.61bf224f.mjs +13 -0
  91. package/dist/utrecht-icon-loupe.entry.7428760d.mjs +13 -0
  92. package/dist/utrecht-icon-markt.entry.7cbad2b6.mjs +13 -0
  93. package/dist/utrecht-icon-melding-klacht.entry.baf5fe00.mjs +13 -0
  94. package/dist/utrecht-icon-melding.entry.1c3a8171.mjs +13 -0
  95. package/dist/utrecht-icon-menselijk.entry.f675757d.mjs +13 -0
  96. package/dist/utrecht-icon-milieu-ontheffing.entry.c53138a2.mjs +13 -0
  97. package/dist/utrecht-icon-natuur.entry.ddb4817a.mjs +13 -0
  98. package/dist/utrecht-icon-nieuw-huis.entry.a53fc424.mjs +13 -0
  99. package/dist/utrecht-icon-nummerbord.entry.1a928c58.mjs +13 -0
  100. package/dist/utrecht-icon-omgeving.entry.53c4ec69.mjs +13 -0
  101. package/dist/utrecht-icon-omgevingsvisie.entry.acefad7e.mjs +13 -0
  102. package/dist/utrecht-icon-omgevingswet.entry.59f2cdd0.mjs +13 -0
  103. package/dist/utrecht-icon-onderhoud.entry.51f9b646.mjs +13 -0
  104. package/dist/utrecht-icon-openingstijden.entry.0c6ee99e.mjs +13 -0
  105. package/dist/utrecht-icon-panden.entry.dca28137.mjs +13 -0
  106. package/dist/utrecht-icon-park.entry.928b4ee4.mjs +13 -0
  107. package/dist/utrecht-icon-parkeerkaart.entry.bccc5fcc.mjs +13 -0
  108. package/dist/utrecht-icon-parkeervergunning.entry.7b78c4b8.mjs +13 -0
  109. package/dist/utrecht-icon-parken.entry.9906a180.mjs +13 -0
  110. package/dist/utrecht-icon-parkeren-bedrijven.entry.4aab16a3.mjs +13 -0
  111. package/dist/utrecht-icon-parkeren-betalen.entry.7d2f428d.mjs +13 -0
  112. package/dist/utrecht-icon-participatie-campagne.entry.ca854b2a.mjs +13 -0
  113. package/dist/utrecht-icon-paspoort.entry.41b858ed.mjs +13 -0
  114. package/dist/utrecht-icon-rijbewijs.entry.e30495a3.mjs +13 -0
  115. package/dist/utrecht-icon-rolstoel.entry.bb0147dc.mjs +13 -0
  116. package/dist/utrecht-icon-shoppen.entry.d6354820.mjs +13 -0
  117. package/dist/utrecht-icon-sinterklaas.entry.3c2e88e2.mjs +13 -0
  118. package/dist/utrecht-icon-sport.entry.aa9d01e6.mjs +13 -0
  119. package/dist/utrecht-icon-stookverbod.entry.d2e9ec4f.mjs +13 -0
  120. package/dist/utrecht-icon-strooien.entry.d4654a27.mjs +13 -0
  121. package/dist/utrecht-icon-subsidie-gezin.entry.1b710ece.mjs +13 -0
  122. package/dist/utrecht-icon-toeslag.entry.3f4ddc4e.mjs +13 -0
  123. package/dist/utrecht-icon-trein.entry.87eb8f35.mjs +13 -0
  124. package/dist/utrecht-icon-trouwen.entry.64fbd745.mjs +13 -0
  125. package/dist/utrecht-icon-twitter.entry.a4800a70.mjs +13 -0
  126. package/dist/utrecht-icon-vaccinatie.entry.96544587.mjs +13 -0
  127. package/dist/utrecht-icon-veilige-wijk.entry.b9e20ea8.mjs +13 -0
  128. package/dist/utrecht-icon-vergoeding.entry.f01b33f8.mjs +13 -0
  129. package/dist/utrecht-icon-verhuizen.entry.061db5b6.mjs +13 -0
  130. package/dist/utrecht-icon-verkiezingen.entry.4ff655bb.mjs +13 -0
  131. package/dist/utrecht-icon-verslaving.entry.de71f567.mjs +13 -0
  132. package/dist/utrecht-icon-vervoersvoorziening.entry.59eff3dc.mjs +13 -0
  133. package/dist/utrecht-icon-virus.entry.e86cd483.mjs +13 -0
  134. package/dist/utrecht-icon-vluchtelingen.entry.9ff5e7d2.mjs +13 -0
  135. package/dist/utrecht-icon-voorzieningen-vervoer.entry.f233f266.mjs +13 -0
  136. package/dist/utrecht-icon-vrijwilligerswerk.entry.61ff86ca.mjs +13 -0
  137. package/dist/utrecht-icon-vuurwerk.entry.0a7d3ede.mjs +13 -0
  138. package/dist/utrecht-icon-wandelstok.entry.6d9dc01f.mjs +13 -0
  139. package/dist/utrecht-icon-warm.entry.2b5b3651.mjs +13 -0
  140. package/dist/utrecht-icon-warning.entry.b7e6b625.mjs +13 -0
  141. package/dist/utrecht-icon-werken.entry.88106e3c.mjs +13 -0
  142. package/dist/utrecht-icon-werkzaamheden.entry.7b2a0761.mjs +13 -0
  143. package/dist/utrecht-icon-whatsapp.entry.8053baa3.mjs +13 -0
  144. package/dist/utrecht-icon-wonen-kosten.entry.3edcf9e3.mjs +13 -0
  145. package/dist/utrecht-icon-woning-zoeken.entry.2dfd0fc0.mjs +13 -0
  146. package/dist/utrecht-icon-zelfstandig-wonen.entry.19635033.mjs +13 -0
  147. package/dist/utrecht-icon-zoomin.entry.fe455bcb.mjs +13 -0
  148. package/dist/utrecht-icon-zoomout.entry.4e5361a8.mjs +13 -0
  149. package/dist/utrecht-icon-zorg-huis.entry.78dcc5b4.mjs +13 -0
  150. package/dist/utrecht-icon-zwemmen.entry.adc313f0.mjs +13 -0
  151. package/dist/utrecht-logo-button.entry.702c2ff6.mjs +14 -0
  152. package/dist/utrecht-logo.entry.13c7240b.mjs +14 -0
  153. package/dist/utrecht-page-content.entry.2415bc72.mjs +14 -0
  154. package/dist/utrecht-page-footer.entry.2c2ade07.mjs +14 -0
  155. package/dist/utrecht-page-header.entry.8fec8d63.mjs +14 -0
  156. package/dist/utrecht-page.entry.25d4cd34.mjs +14 -0
  157. package/dist/utrecht-pagination.entry.d55ad5b3.mjs +19 -0
  158. package/dist/utrecht-separator.entry.89cc2688.mjs +14 -0
  159. package/dist/utrecht-sidenav.entry.ea6e8264.mjs +16 -0
  160. package/dist/utrecht-table-body.entry.620f697f.mjs +14 -0
  161. package/dist/utrecht-table-caption.entry.a4d60ba0.mjs +14 -0
  162. package/dist/utrecht-table-cell.entry.9f8bcbec.mjs +14 -0
  163. package/dist/utrecht-table-footer.entry.a52667ff.mjs +14 -0
  164. package/dist/utrecht-table-header-cell.entry.9351e619.mjs +14 -0
  165. package/dist/utrecht-table-header.entry.a9aec751.mjs +14 -0
  166. package/dist/utrecht-table-row.entry.bed87526.mjs +14 -0
  167. package/dist/utrecht-table.entry.acfe995b.mjs +14 -0
  168. package/dist/utrecht-textbox.entry.8f4618ea.mjs +18 -0
  169. package/dist/vue-component-lib/utils.d.ts +7 -3
  170. package/dist/web-component-library-vue.es.js +168 -0
  171. package/dist/web-component-library-vue.umd.js +60 -0
  172. package/package.json +25 -10
  173. package/dist/components.js +0 -124
  174. package/dist/vue-component-lib/utils.js +0 -162
@@ -0,0 +1,643 @@
1
+ (function() {
2
+ var f = new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));
3
+ function h(e) {
4
+ var t = f.has(e);
5
+ return e = /^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e), !t && e;
6
+ }
7
+ function s(e) {
8
+ var t = e.isConnected;
9
+ if (t !== void 0)
10
+ return t;
11
+ for (; e && !(e.__CE_isImportDocument || e instanceof Document); )
12
+ e = e.parentNode || (window.ShadowRoot && e instanceof ShadowRoot ? e.host : void 0);
13
+ return !(!e || !(e.__CE_isImportDocument || e instanceof Document));
14
+ }
15
+ function m(e, t) {
16
+ for (; t && t !== e && !t.nextSibling; )
17
+ t = t.parentNode;
18
+ return t && t !== e ? t.nextSibling : null;
19
+ }
20
+ function p(e, t, n) {
21
+ n = n === void 0 ? /* @__PURE__ */ new Set() : n;
22
+ for (var r = e; r; ) {
23
+ if (r.nodeType === Node.ELEMENT_NODE) {
24
+ var o = r;
25
+ t(o);
26
+ var i = o.localName;
27
+ if (i === "link" && o.getAttribute("rel") === "import") {
28
+ if (r = o.import, r instanceof Node && !n.has(r))
29
+ for (n.add(r), r = r.firstChild; r; r = r.nextSibling)
30
+ p(r, t, n);
31
+ r = m(e, o);
32
+ continue;
33
+ } else if (i === "template") {
34
+ r = m(e, o);
35
+ continue;
36
+ }
37
+ if (o = o.__CE_shadowRoot)
38
+ for (o = o.firstChild; o; o = o.nextSibling)
39
+ p(o, t, n);
40
+ }
41
+ r = r.firstChild ? r.firstChild : m(e, r);
42
+ }
43
+ }
44
+ function d(e, t, n) {
45
+ e[t] = n;
46
+ }
47
+ function _() {
48
+ this.a = /* @__PURE__ */ new Map(), this.g = /* @__PURE__ */ new Map(), this.c = [], this.f = [], this.b = !1;
49
+ }
50
+ function ot(e, t, n) {
51
+ e.a.set(t, n), e.g.set(n.constructorFunction, n);
52
+ }
53
+ function rt(e, t) {
54
+ e.b = !0, e.c.push(t);
55
+ }
56
+ function it(e, t) {
57
+ e.b = !0, e.f.push(t);
58
+ }
59
+ function O(e, t) {
60
+ e.b && p(t, function(n) {
61
+ return C(e, n);
62
+ });
63
+ }
64
+ function C(e, t) {
65
+ if (e.b && !t.__CE_patched) {
66
+ t.__CE_patched = !0;
67
+ for (var n = 0; n < e.c.length; n++)
68
+ e.c[n](t);
69
+ for (n = 0; n < e.f.length; n++)
70
+ e.f[n](t);
71
+ }
72
+ }
73
+ function w(e, t) {
74
+ var n = [];
75
+ for (p(t, function(o) {
76
+ return n.push(o);
77
+ }), t = 0; t < n.length; t++) {
78
+ var r = n[t];
79
+ r.__CE_state === 1 ? e.connectedCallback(r) : S(e, r);
80
+ }
81
+ }
82
+ function v(e, t) {
83
+ var n = [];
84
+ for (p(t, function(o) {
85
+ return n.push(o);
86
+ }), t = 0; t < n.length; t++) {
87
+ var r = n[t];
88
+ r.__CE_state === 1 && e.disconnectedCallback(r);
89
+ }
90
+ }
91
+ function E(e, t, n) {
92
+ n = n === void 0 ? {} : n;
93
+ var r = n.u || /* @__PURE__ */ new Set(), o = n.i || function(l) {
94
+ return S(e, l);
95
+ }, i = [];
96
+ if (p(t, function(l) {
97
+ if (l.localName === "link" && l.getAttribute("rel") === "import") {
98
+ var c = l.import;
99
+ c instanceof Node && (c.__CE_isImportDocument = !0, c.__CE_hasRegistry = !0), c && c.readyState === "complete" ? c.__CE_documentLoadHandled = !0 : l.addEventListener("load", function() {
100
+ var a = l.import;
101
+ if (!a.__CE_documentLoadHandled) {
102
+ a.__CE_documentLoadHandled = !0;
103
+ var u = new Set(r);
104
+ u.delete(a), E(e, a, { u, i: o });
105
+ }
106
+ });
107
+ } else
108
+ i.push(l);
109
+ }, r), e.b)
110
+ for (t = 0; t < i.length; t++)
111
+ C(e, i[t]);
112
+ for (t = 0; t < i.length; t++)
113
+ o(i[t]);
114
+ }
115
+ function S(e, t) {
116
+ if (t.__CE_state === void 0) {
117
+ var n = t.ownerDocument;
118
+ if ((n.defaultView || n.__CE_isImportDocument && n.__CE_hasRegistry) && (n = e.a.get(t.localName))) {
119
+ n.constructionStack.push(t);
120
+ var r = n.constructorFunction;
121
+ try {
122
+ try {
123
+ if (new r() !== t)
124
+ throw Error("The custom element constructor did not produce the element being upgraded.");
125
+ } finally {
126
+ n.constructionStack.pop();
127
+ }
128
+ } catch (l) {
129
+ throw t.__CE_state = 2, l;
130
+ }
131
+ if (t.__CE_state = 1, t.__CE_definition = n, n.attributeChangedCallback)
132
+ for (n = n.observedAttributes, r = 0; r < n.length; r++) {
133
+ var o = n[r], i = t.getAttribute(o);
134
+ i !== null && e.attributeChangedCallback(t, o, null, i, null);
135
+ }
136
+ s(t) && e.connectedCallback(t);
137
+ }
138
+ }
139
+ }
140
+ _.prototype.connectedCallback = function(e) {
141
+ var t = e.__CE_definition;
142
+ t.connectedCallback && t.connectedCallback.call(e);
143
+ }, _.prototype.disconnectedCallback = function(e) {
144
+ var t = e.__CE_definition;
145
+ t.disconnectedCallback && t.disconnectedCallback.call(e);
146
+ }, _.prototype.attributeChangedCallback = function(e, t, n, r, o) {
147
+ var i = e.__CE_definition;
148
+ i.attributeChangedCallback && -1 < i.observedAttributes.indexOf(t) && i.attributeChangedCallback.call(e, t, n, r, o);
149
+ };
150
+ function P(e) {
151
+ var t = document;
152
+ this.c = e, this.a = t, this.b = void 0, E(this.c, this.a), this.a.readyState === "loading" && (this.b = new MutationObserver(this.f.bind(this)), this.b.observe(this.a, { childList: !0, subtree: !0 }));
153
+ }
154
+ function F(e) {
155
+ e.b && e.b.disconnect();
156
+ }
157
+ P.prototype.f = function(e) {
158
+ var t = this.a.readyState;
159
+ for (t !== "interactive" && t !== "complete" || F(this), t = 0; t < e.length; t++)
160
+ for (var n = e[t].addedNodes, r = 0; r < n.length; r++)
161
+ E(this.c, n[r]);
162
+ };
163
+ function lt() {
164
+ var e = this;
165
+ this.b = this.a = void 0, this.c = new Promise(function(t) {
166
+ e.b = t, e.a && t(e.a);
167
+ });
168
+ }
169
+ function I(e) {
170
+ if (e.a)
171
+ throw Error("Already resolved.");
172
+ e.a = void 0, e.b && e.b(void 0);
173
+ }
174
+ function y(e) {
175
+ this.c = !1, this.a = e, this.j = /* @__PURE__ */ new Map(), this.f = function(t) {
176
+ return t();
177
+ }, this.b = !1, this.g = [], this.o = new P(e);
178
+ }
179
+ y.prototype.l = function(e, t) {
180
+ var n = this;
181
+ if (!(t instanceof Function))
182
+ throw new TypeError("Custom element constructors must be functions.");
183
+ if (!h(e))
184
+ throw new SyntaxError("The element name '" + e + "' is not valid.");
185
+ if (this.a.a.get(e))
186
+ throw Error("A custom element with name '" + e + "' has already been defined.");
187
+ if (this.c)
188
+ throw Error("A custom element is already being defined.");
189
+ this.c = !0;
190
+ try {
191
+ var r = function(g) {
192
+ var N = o[g];
193
+ if (N !== void 0 && !(N instanceof Function))
194
+ throw Error("The '" + g + "' callback must be a function.");
195
+ return N;
196
+ }, o = t.prototype;
197
+ if (!(o instanceof Object))
198
+ throw new TypeError("The custom element constructor's prototype is not an object.");
199
+ var i = r("connectedCallback"), l = r("disconnectedCallback"), c = r("adoptedCallback"), a = r("attributeChangedCallback"), u = t.observedAttributes || [];
200
+ } catch {
201
+ return;
202
+ } finally {
203
+ this.c = !1;
204
+ }
205
+ t = { localName: e, constructorFunction: t, connectedCallback: i, disconnectedCallback: l, adoptedCallback: c, attributeChangedCallback: a, observedAttributes: u, constructionStack: [] }, ot(this.a, e, t), this.g.push(t), this.b || (this.b = !0, this.f(function() {
206
+ return st(n);
207
+ }));
208
+ }, y.prototype.i = function(e) {
209
+ E(this.a, e);
210
+ };
211
+ function st(e) {
212
+ if (e.b !== !1) {
213
+ e.b = !1;
214
+ for (var t = e.g, n = [], r = /* @__PURE__ */ new Map(), o = 0; o < t.length; o++)
215
+ r.set(t[o].localName, []);
216
+ for (E(e.a, document, { i: function(c) {
217
+ if (c.__CE_state === void 0) {
218
+ var a = c.localName, u = r.get(a);
219
+ u ? u.push(c) : e.a.a.get(a) && n.push(c);
220
+ }
221
+ } }), o = 0; o < n.length; o++)
222
+ S(e.a, n[o]);
223
+ for (; 0 < t.length; ) {
224
+ var i = t.shift();
225
+ o = i.localName, i = r.get(i.localName);
226
+ for (var l = 0; l < i.length; l++)
227
+ S(e.a, i[l]);
228
+ (o = e.j.get(o)) && I(o);
229
+ }
230
+ }
231
+ }
232
+ y.prototype.get = function(e) {
233
+ if (e = this.a.a.get(e))
234
+ return e.constructorFunction;
235
+ }, y.prototype.m = function(e) {
236
+ if (!h(e))
237
+ return Promise.reject(new SyntaxError("'" + e + "' is not a valid custom element name."));
238
+ var t = this.j.get(e);
239
+ return t || (t = new lt(), this.j.set(e, t), this.a.a.get(e) && !this.g.some(function(n) {
240
+ return n.localName === e;
241
+ }) && I(t)), t.c;
242
+ }, y.prototype.s = function(e) {
243
+ F(this.o);
244
+ var t = this.f;
245
+ this.f = function(n) {
246
+ return e(function() {
247
+ return t(n);
248
+ });
249
+ };
250
+ }, window.CustomElementRegistry = y, y.prototype.define = y.prototype.l, y.prototype.upgrade = y.prototype.i, y.prototype.get = y.prototype.get, y.prototype.whenDefined = y.prototype.m, y.prototype.polyfillWrapFlushCallback = y.prototype.s;
251
+ var z = window.Document.prototype.createElement, U = window.Document.prototype.createElementNS, ct = window.Document.prototype.importNode, at = window.Document.prototype.prepend, ut = window.Document.prototype.append, pt = window.DocumentFragment.prototype.prepend, ft = window.DocumentFragment.prototype.append, B = window.Node.prototype.cloneNode, T = window.Node.prototype.appendChild, W = window.Node.prototype.insertBefore, j = window.Node.prototype.removeChild, V = window.Node.prototype.replaceChild, L = Object.getOwnPropertyDescriptor(window.Node.prototype, "textContent"), $ = window.Element.prototype.attachShadow, M = Object.getOwnPropertyDescriptor(window.Element.prototype, "innerHTML"), x = window.Element.prototype.getAttribute, G = window.Element.prototype.setAttribute, J = window.Element.prototype.removeAttribute, D = window.Element.prototype.getAttributeNS, K = window.Element.prototype.setAttributeNS, Q = window.Element.prototype.removeAttributeNS, Y = window.Element.prototype.insertAdjacentElement, Z = window.Element.prototype.insertAdjacentHTML, ht = window.Element.prototype.prepend, dt = window.Element.prototype.append, k = window.Element.prototype.before, mt = window.Element.prototype.after, X = window.Element.prototype.replaceWith, q = window.Element.prototype.remove, gt = window.HTMLElement, H = Object.getOwnPropertyDescriptor(window.HTMLElement.prototype, "innerHTML"), tt = window.HTMLElement.prototype.insertAdjacentElement, et = window.HTMLElement.prototype.insertAdjacentHTML, nt = new function() {
252
+ }();
253
+ function yt() {
254
+ var e = b;
255
+ window.HTMLElement = function() {
256
+ function t() {
257
+ var n = this.constructor, r = e.g.get(n);
258
+ if (!r)
259
+ throw Error("The custom element being constructed was not registered with `customElements`.");
260
+ var o = r.constructionStack;
261
+ if (o.length === 0)
262
+ return o = z.call(document, r.localName), Object.setPrototypeOf(o, n.prototype), o.__CE_state = 1, o.__CE_definition = r, C(e, o), o;
263
+ r = o.length - 1;
264
+ var i = o[r];
265
+ if (i === nt)
266
+ throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");
267
+ return o[r] = nt, Object.setPrototypeOf(i, n.prototype), C(e, i), i;
268
+ }
269
+ return t.prototype = gt.prototype, Object.defineProperty(t.prototype, "constructor", { writable: !0, configurable: !0, enumerable: !1, value: t }), t;
270
+ }();
271
+ }
272
+ function R(e, t, n) {
273
+ function r(o) {
274
+ return function(i) {
275
+ for (var l = [], c = 0; c < arguments.length; ++c)
276
+ l[c] = arguments[c];
277
+ c = [];
278
+ for (var a = [], u = 0; u < l.length; u++) {
279
+ var g = l[u];
280
+ if (g instanceof Element && s(g) && a.push(g), g instanceof DocumentFragment)
281
+ for (g = g.firstChild; g; g = g.nextSibling)
282
+ c.push(g);
283
+ else
284
+ c.push(g);
285
+ }
286
+ for (o.apply(this, l), l = 0; l < a.length; l++)
287
+ v(e, a[l]);
288
+ if (s(this))
289
+ for (l = 0; l < c.length; l++)
290
+ a = c[l], a instanceof Element && w(e, a);
291
+ };
292
+ }
293
+ n.h !== void 0 && (t.prepend = r(n.h)), n.append !== void 0 && (t.append = r(n.append));
294
+ }
295
+ function vt() {
296
+ var e = b;
297
+ d(Document.prototype, "createElement", function(t) {
298
+ if (this.__CE_hasRegistry) {
299
+ var n = e.a.get(t);
300
+ if (n)
301
+ return new n.constructorFunction();
302
+ }
303
+ return t = z.call(this, t), C(e, t), t;
304
+ }), d(Document.prototype, "importNode", function(t, n) {
305
+ return t = ct.call(this, t, !!n), this.__CE_hasRegistry ? E(e, t) : O(e, t), t;
306
+ }), d(Document.prototype, "createElementNS", function(t, n) {
307
+ if (this.__CE_hasRegistry && (t === null || t === "http://www.w3.org/1999/xhtml")) {
308
+ var r = e.a.get(n);
309
+ if (r)
310
+ return new r.constructorFunction();
311
+ }
312
+ return t = U.call(this, t, n), C(e, t), t;
313
+ }), R(e, Document.prototype, { h: at, append: ut });
314
+ }
315
+ function wt() {
316
+ function e(n, r) {
317
+ Object.defineProperty(n, "textContent", { enumerable: r.enumerable, configurable: !0, get: r.get, set: function(o) {
318
+ if (this.nodeType === Node.TEXT_NODE)
319
+ r.set.call(this, o);
320
+ else {
321
+ var i = void 0;
322
+ if (this.firstChild) {
323
+ var l = this.childNodes, c = l.length;
324
+ if (0 < c && s(this)) {
325
+ i = Array(c);
326
+ for (var a = 0; a < c; a++)
327
+ i[a] = l[a];
328
+ }
329
+ }
330
+ if (r.set.call(this, o), i)
331
+ for (o = 0; o < i.length; o++)
332
+ v(t, i[o]);
333
+ }
334
+ } });
335
+ }
336
+ var t = b;
337
+ d(Node.prototype, "insertBefore", function(n, r) {
338
+ if (n instanceof DocumentFragment) {
339
+ var o = Array.prototype.slice.apply(n.childNodes);
340
+ if (n = W.call(this, n, r), s(this))
341
+ for (r = 0; r < o.length; r++)
342
+ w(t, o[r]);
343
+ return n;
344
+ }
345
+ return o = s(n), r = W.call(this, n, r), o && v(t, n), s(this) && w(t, n), r;
346
+ }), d(Node.prototype, "appendChild", function(n) {
347
+ if (n instanceof DocumentFragment) {
348
+ var r = Array.prototype.slice.apply(n.childNodes);
349
+ if (n = T.call(this, n), s(this))
350
+ for (var o = 0; o < r.length; o++)
351
+ w(t, r[o]);
352
+ return n;
353
+ }
354
+ return r = s(n), o = T.call(this, n), r && v(t, n), s(this) && w(t, n), o;
355
+ }), d(Node.prototype, "cloneNode", function(n) {
356
+ return n = B.call(this, !!n), this.ownerDocument.__CE_hasRegistry ? E(t, n) : O(t, n), n;
357
+ }), d(Node.prototype, "removeChild", function(n) {
358
+ var r = s(n), o = j.call(this, n);
359
+ return r && v(t, n), o;
360
+ }), d(Node.prototype, "replaceChild", function(n, r) {
361
+ if (n instanceof DocumentFragment) {
362
+ var o = Array.prototype.slice.apply(n.childNodes);
363
+ if (n = V.call(this, n, r), s(this))
364
+ for (v(t, r), r = 0; r < o.length; r++)
365
+ w(t, o[r]);
366
+ return n;
367
+ }
368
+ o = s(n);
369
+ var i = V.call(this, n, r), l = s(this);
370
+ return l && v(t, r), o && v(t, n), l && w(t, n), i;
371
+ }), L && L.get ? e(Node.prototype, L) : rt(t, function(n) {
372
+ e(n, { enumerable: !0, configurable: !0, get: function() {
373
+ for (var r = [], o = 0; o < this.childNodes.length; o++) {
374
+ var i = this.childNodes[o];
375
+ i.nodeType !== Node.COMMENT_NODE && r.push(i.textContent);
376
+ }
377
+ return r.join("");
378
+ }, set: function(r) {
379
+ for (; this.firstChild; )
380
+ j.call(this, this.firstChild);
381
+ r != null && r !== "" && T.call(this, document.createTextNode(r));
382
+ } });
383
+ });
384
+ }
385
+ function Et(e) {
386
+ function t(r) {
387
+ return function(o) {
388
+ for (var i = [], l = 0; l < arguments.length; ++l)
389
+ i[l] = arguments[l];
390
+ l = [];
391
+ for (var c = [], a = 0; a < i.length; a++) {
392
+ var u = i[a];
393
+ if (u instanceof Element && s(u) && c.push(u), u instanceof DocumentFragment)
394
+ for (u = u.firstChild; u; u = u.nextSibling)
395
+ l.push(u);
396
+ else
397
+ l.push(u);
398
+ }
399
+ for (r.apply(this, i), i = 0; i < c.length; i++)
400
+ v(e, c[i]);
401
+ if (s(this))
402
+ for (i = 0; i < l.length; i++)
403
+ c = l[i], c instanceof Element && w(e, c);
404
+ };
405
+ }
406
+ var n = Element.prototype;
407
+ k !== void 0 && (n.before = t(k)), k !== void 0 && (n.after = t(mt)), X !== void 0 && d(n, "replaceWith", function(r) {
408
+ for (var o = [], i = 0; i < arguments.length; ++i)
409
+ o[i] = arguments[i];
410
+ i = [];
411
+ for (var l = [], c = 0; c < o.length; c++) {
412
+ var a = o[c];
413
+ if (a instanceof Element && s(a) && l.push(a), a instanceof DocumentFragment)
414
+ for (a = a.firstChild; a; a = a.nextSibling)
415
+ i.push(a);
416
+ else
417
+ i.push(a);
418
+ }
419
+ for (c = s(this), X.apply(this, o), o = 0; o < l.length; o++)
420
+ v(e, l[o]);
421
+ if (c)
422
+ for (v(e, this), o = 0; o < i.length; o++)
423
+ l = i[o], l instanceof Element && w(e, l);
424
+ }), q !== void 0 && d(n, "remove", function() {
425
+ var r = s(this);
426
+ q.call(this), r && v(e, this);
427
+ });
428
+ }
429
+ function _t() {
430
+ function e(o, i) {
431
+ Object.defineProperty(o, "innerHTML", { enumerable: i.enumerable, configurable: !0, get: i.get, set: function(l) {
432
+ var c = this, a = void 0;
433
+ if (s(this) && (a = [], p(this, function(N) {
434
+ N !== c && a.push(N);
435
+ })), i.set.call(this, l), a)
436
+ for (var u = 0; u < a.length; u++) {
437
+ var g = a[u];
438
+ g.__CE_state === 1 && r.disconnectedCallback(g);
439
+ }
440
+ return this.ownerDocument.__CE_hasRegistry ? E(r, this) : O(r, this), l;
441
+ } });
442
+ }
443
+ function t(o, i) {
444
+ d(o, "insertAdjacentElement", function(l, c) {
445
+ var a = s(c);
446
+ return l = i.call(this, l, c), a && v(r, c), s(l) && w(r, c), l;
447
+ });
448
+ }
449
+ function n(o, i) {
450
+ function l(c, a) {
451
+ for (var u = []; c !== a; c = c.nextSibling)
452
+ u.push(c);
453
+ for (a = 0; a < u.length; a++)
454
+ E(r, u[a]);
455
+ }
456
+ d(o, "insertAdjacentHTML", function(c, a) {
457
+ if (c = c.toLowerCase(), c === "beforebegin") {
458
+ var u = this.previousSibling;
459
+ i.call(this, c, a), l(u || this.parentNode.firstChild, this);
460
+ } else if (c === "afterbegin")
461
+ u = this.firstChild, i.call(this, c, a), l(this.firstChild, u);
462
+ else if (c === "beforeend")
463
+ u = this.lastChild, i.call(this, c, a), l(u || this.firstChild, null);
464
+ else if (c === "afterend")
465
+ u = this.nextSibling, i.call(this, c, a), l(this.nextSibling, u);
466
+ else
467
+ throw new SyntaxError("The value provided (" + String(c) + ") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");
468
+ });
469
+ }
470
+ var r = b;
471
+ $ && d(Element.prototype, "attachShadow", function(o) {
472
+ o = $.call(this, o);
473
+ var i = r;
474
+ if (i.b && !o.__CE_patched) {
475
+ o.__CE_patched = !0;
476
+ for (var l = 0; l < i.c.length; l++)
477
+ i.c[l](o);
478
+ }
479
+ return this.__CE_shadowRoot = o;
480
+ }), M && M.get ? e(Element.prototype, M) : H && H.get ? e(HTMLElement.prototype, H) : it(r, function(o) {
481
+ e(o, {
482
+ enumerable: !0,
483
+ configurable: !0,
484
+ get: function() {
485
+ return B.call(this, !0).innerHTML;
486
+ },
487
+ set: function(i) {
488
+ var l = this.localName === "template", c = l ? this.content : this, a = U.call(document, this.namespaceURI, this.localName);
489
+ for (a.innerHTML = i; 0 < c.childNodes.length; )
490
+ j.call(c, c.childNodes[0]);
491
+ for (i = l ? a.content : a; 0 < i.childNodes.length; )
492
+ T.call(c, i.childNodes[0]);
493
+ }
494
+ });
495
+ }), d(Element.prototype, "setAttribute", function(o, i) {
496
+ if (this.__CE_state !== 1)
497
+ return G.call(this, o, i);
498
+ var l = x.call(this, o);
499
+ G.call(this, o, i), i = x.call(this, o), r.attributeChangedCallback(this, o, l, i, null);
500
+ }), d(Element.prototype, "setAttributeNS", function(o, i, l) {
501
+ if (this.__CE_state !== 1)
502
+ return K.call(this, o, i, l);
503
+ var c = D.call(this, o, i);
504
+ K.call(this, o, i, l), l = D.call(this, o, i), r.attributeChangedCallback(this, i, c, l, o);
505
+ }), d(Element.prototype, "removeAttribute", function(o) {
506
+ if (this.__CE_state !== 1)
507
+ return J.call(this, o);
508
+ var i = x.call(this, o);
509
+ J.call(this, o), i !== null && r.attributeChangedCallback(this, o, i, null, null);
510
+ }), d(Element.prototype, "removeAttributeNS", function(o, i) {
511
+ if (this.__CE_state !== 1)
512
+ return Q.call(this, o, i);
513
+ var l = D.call(this, o, i);
514
+ Q.call(this, o, i);
515
+ var c = D.call(this, o, i);
516
+ l !== c && r.attributeChangedCallback(this, i, l, c, o);
517
+ }), tt ? t(HTMLElement.prototype, tt) : Y ? t(Element.prototype, Y) : console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."), et ? n(HTMLElement.prototype, et) : Z ? n(Element.prototype, Z) : console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."), R(r, Element.prototype, { h: ht, append: dt }), Et(r);
518
+ }
519
+ var A = window.customElements;
520
+ if (!A || A.forcePolyfill || typeof A.define != "function" || typeof A.get != "function") {
521
+ var b = new _();
522
+ yt(), vt(), R(b, DocumentFragment.prototype, { h: pt, append: ft }), wt(), _t(), document.__CE_hasRegistry = !0;
523
+ var Ct = new y(b);
524
+ Object.defineProperty(window, "customElements", { configurable: !0, enumerable: !0, value: Ct });
525
+ }
526
+ }).call(self);
527
+ typeof document.baseURI != "string" && Object.defineProperty(Document.prototype, "baseURI", { enumerable: !0, configurable: !0, get: function() {
528
+ var f = document.querySelector("base");
529
+ return f && f.href ? f.href : document.URL;
530
+ } });
531
+ typeof window.CustomEvent != "function" && (window.CustomEvent = function(f, h) {
532
+ h = h || { bubbles: !1, cancelable: !1, detail: void 0 };
533
+ var s = document.createEvent("CustomEvent");
534
+ return s.initCustomEvent(f, h.bubbles, h.cancelable, h.detail), s;
535
+ }, window.CustomEvent.prototype = window.Event.prototype);
536
+ (function(f, h, s) {
537
+ f.composedPath || (f.composedPath = function() {
538
+ if (this.path)
539
+ return this.path;
540
+ var m = this.target;
541
+ for (this.path = []; m.parentNode !== null; )
542
+ this.path.push(m), m = m.parentNode;
543
+ return this.path.push(h, s), this.path;
544
+ });
545
+ })(Event.prototype, document, window);
546
+ /*!
547
+ Element.closest and Element.matches
548
+ https://github.com/jonathantneal/closest
549
+ Creative Commons Zero v1.0 Universal
550
+ */
551
+ (function(f) {
552
+ typeof f.matches != "function" && (f.matches = f.msMatchesSelector || f.mozMatchesSelector || f.webkitMatchesSelector || function(h) {
553
+ h = (this.document || this.ownerDocument).querySelectorAll(h);
554
+ for (var s = 0; h[s] && h[s] !== this; )
555
+ ++s;
556
+ return !!h[s];
557
+ }), typeof f.closest != "function" && (f.closest = function(h) {
558
+ for (var s = this; s && s.nodeType === 1; ) {
559
+ if (s.matches(h))
560
+ return s;
561
+ s = s.parentNode;
562
+ }
563
+ return null;
564
+ });
565
+ })(window.Element.prototype);
566
+ /*!
567
+ Element.getRootNode()
568
+ */
569
+ (function(f) {
570
+ function h(m) {
571
+ return m = s(m), m && m.nodeType === 11 ? h(m.host) : m;
572
+ }
573
+ function s(m) {
574
+ return m && m.parentNode ? s(m.parentNode) : m;
575
+ }
576
+ typeof f.getRootNode != "function" && (f.getRootNode = function(m) {
577
+ return m && m.composed ? h(this) : s(this);
578
+ });
579
+ })(Element.prototype);
580
+ /*!
581
+ Element.isConnected()
582
+ */
583
+ (function(f) {
584
+ "isConnected" in f || Object.defineProperty(f, "isConnected", { configurable: !0, enumerable: !0, get: function() {
585
+ var h = this.getRootNode({ composed: !0 });
586
+ return h && h.nodeType === 9;
587
+ } });
588
+ })(Element.prototype);
589
+ /*!
590
+ Element.remove()
591
+ */
592
+ (function(f) {
593
+ f.forEach(function(h) {
594
+ h.hasOwnProperty("remove") || Object.defineProperty(h, "remove", { configurable: !0, enumerable: !0, writable: !0, value: function() {
595
+ this.parentNode !== null && this.parentNode.removeChild(this);
596
+ } });
597
+ });
598
+ })([Element.prototype, CharacterData.prototype, DocumentType.prototype]);
599
+ /*!
600
+ Element.classList
601
+ */
602
+ (function(f) {
603
+ "classList" in f || Object.defineProperty(f, "classList", { get: function() {
604
+ var h = this, s = (h.getAttribute("class") || "").replace(/^\s+|\s$/g, "").split(/\s+/g);
605
+ function m() {
606
+ s.length > 0 ? h.setAttribute("class", s.join(" ")) : h.removeAttribute("class");
607
+ }
608
+ return s[0] === "" && s.splice(0, 1), s.toggle = function(p, d) {
609
+ d !== void 0 ? d ? s.add(p) : s.remove(p) : s.indexOf(p) !== -1 ? s.splice(s.indexOf(p), 1) : s.push(p), m();
610
+ }, s.add = function() {
611
+ for (var p = [].slice.call(arguments), d = 0, _ = p.length; d < _; d++)
612
+ s.indexOf(p[d]) === -1 && s.push(p[d]);
613
+ m();
614
+ }, s.remove = function() {
615
+ for (var p = [].slice.call(arguments), d = 0, _ = p.length; d < _; d++)
616
+ s.indexOf(p[d]) !== -1 && s.splice(s.indexOf(p[d]), 1);
617
+ m();
618
+ }, s.item = function(p) {
619
+ return s[p];
620
+ }, s.contains = function(p) {
621
+ return s.indexOf(p) !== -1;
622
+ }, s.replace = function(p, d) {
623
+ s.indexOf(p) !== -1 && s.splice(s.indexOf(p), 1, d), m();
624
+ }, s.value = h.getAttribute("class") || "", s;
625
+ } });
626
+ })(Element.prototype);
627
+ /*!
628
+ DOMTokenList
629
+ */
630
+ (function(f) {
631
+ try {
632
+ document.body.classList.add();
633
+ } catch {
634
+ var h = f.add, s = f.remove;
635
+ f.add = function() {
636
+ for (var p = 0; p < arguments.length; p++)
637
+ h.call(this, arguments[p]);
638
+ }, f.remove = function() {
639
+ for (var p = 0; p < arguments.length; p++)
640
+ s.call(this, arguments[p]);
641
+ };
642
+ }
643
+ })(DOMTokenList.prototype);