proto-ikons-wc 0.1.89 → 0.1.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/acura-ikon_119.cjs.entry.js +1 -1
- package/dist/cjs/{index-C8_uMREB.js → index-C7Z2vWEf.js} +35 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/proto-ikons-wc.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/acura-ikon_119.entry.js +1 -1
- package/dist/esm/{index-CKbcLfXh.js → index-UEzmC9ci.js} +35 -6
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-ikons-wc.js +3 -3
- package/dist/proto-ikons-wc/p-UEzmC9ci.js +3 -0
- package/dist/proto-ikons-wc/{p-f90db34e.entry.js → p-c3699fb3.entry.js} +1 -1
- package/dist/proto-ikons-wc/proto-ikons-wc.esm.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +11 -0
- package/package.json +2 -2
- package/dist/proto-ikons-wc/p-CKbcLfXh.js +0 -2
|
@@ -4,7 +4,7 @@ const NAMESPACE = 'proto-ikons-wc';
|
|
|
4
4
|
const BUILD = /* proto-ikons-wc */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, prop: true, propChangeCallback: false, updatable: true};
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
|
-
Stencil Client Platform v4.
|
|
7
|
+
Stencil Client Platform v4.44.0 | MIT Licensed | https://stenciljs.com
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
|
|
@@ -93,7 +93,9 @@ var consoleError = (e, el) => (0, console.error)(e, el);
|
|
|
93
93
|
|
|
94
94
|
// src/client/client-load-module.ts
|
|
95
95
|
var cmpModules = /* @__PURE__ */ new Map();
|
|
96
|
+
var failedLoadAttempts = /* @__PURE__ */ new Map();
|
|
96
97
|
var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
98
|
+
var _a;
|
|
97
99
|
const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
|
|
98
100
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
99
101
|
if (!bundleId) {
|
|
@@ -103,21 +105,28 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
103
105
|
if (module) {
|
|
104
106
|
return module[exportName];
|
|
105
107
|
}
|
|
108
|
+
const retryCount = (_a = failedLoadAttempts.get(bundleId)) != null ? _a : 0;
|
|
109
|
+
const cacheBustParams = [
|
|
110
|
+
retryCount > 0 ? `s-retry=${retryCount}` : "",
|
|
111
|
+
""
|
|
112
|
+
].filter(Boolean).join("&");
|
|
106
113
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
107
114
|
return import(
|
|
108
115
|
/* @vite-ignore */
|
|
109
116
|
/* webpackInclude: /\.entry\.js$/ */
|
|
110
117
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
111
118
|
/* webpackMode: "lazy" */
|
|
112
|
-
`./${bundleId}.entry.js${""}`
|
|
119
|
+
`./${bundleId}.entry.js${cacheBustParams ? "?" + cacheBustParams : ""}`
|
|
113
120
|
).then(
|
|
114
121
|
(importedModule) => {
|
|
115
122
|
{
|
|
123
|
+
failedLoadAttempts.delete(bundleId);
|
|
116
124
|
cmpModules.set(bundleId, importedModule);
|
|
117
125
|
}
|
|
118
126
|
return importedModule[exportName];
|
|
119
127
|
},
|
|
120
128
|
(e) => {
|
|
129
|
+
failedLoadAttempts.set(bundleId, retryCount + 1);
|
|
121
130
|
consoleError(e, hostRef.$hostElement$);
|
|
122
131
|
}
|
|
123
132
|
);
|
|
@@ -128,6 +137,8 @@ var styles = /* @__PURE__ */ new Map();
|
|
|
128
137
|
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
129
138
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
130
139
|
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
140
|
+
var MAX_LAZY_LOAD_RETRIES = 3;
|
|
141
|
+
var LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
|
|
131
142
|
var win = typeof window !== "undefined" ? window : {};
|
|
132
143
|
var plt = {
|
|
133
144
|
$flags$: 0,
|
|
@@ -154,6 +165,10 @@ var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @_
|
|
|
154
165
|
var queuePending = false;
|
|
155
166
|
var queueDomReads = [];
|
|
156
167
|
var queueDomWrites = [];
|
|
168
|
+
var scheduleFlush = () => {
|
|
169
|
+
var _a;
|
|
170
|
+
return ((_a = win.document) == null ? void 0 : _a.hidden) ? nextTick(flush) : plt.raf(flush);
|
|
171
|
+
};
|
|
157
172
|
var queueTask = (queue, write) => (cb) => {
|
|
158
173
|
queue.push(cb);
|
|
159
174
|
if (!queuePending) {
|
|
@@ -161,7 +176,7 @@ var queueTask = (queue, write) => (cb) => {
|
|
|
161
176
|
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
162
177
|
nextTick(flush);
|
|
163
178
|
} else {
|
|
164
|
-
|
|
179
|
+
scheduleFlush();
|
|
165
180
|
}
|
|
166
181
|
}
|
|
167
182
|
};
|
|
@@ -180,7 +195,7 @@ var flush = () => {
|
|
|
180
195
|
{
|
|
181
196
|
consume(queueDomWrites);
|
|
182
197
|
if (queuePending = queueDomReads.length > 0) {
|
|
183
|
-
|
|
198
|
+
scheduleFlush();
|
|
184
199
|
}
|
|
185
200
|
}
|
|
186
201
|
};
|
|
@@ -346,6 +361,11 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
346
361
|
} else if (child != null && typeof child !== "boolean") {
|
|
347
362
|
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
|
348
363
|
child = String(child);
|
|
364
|
+
} else if (typeof nodeName !== "function" && child.$flags$ === void 0) {
|
|
365
|
+
{
|
|
366
|
+
consoleError("Invalid vNode child");
|
|
367
|
+
}
|
|
368
|
+
continue;
|
|
349
369
|
}
|
|
350
370
|
if (simple && lastSimple) {
|
|
351
371
|
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
|
@@ -1128,10 +1148,12 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1128
1148
|
|
|
1129
1149
|
// src/runtime/initialize-component.ts
|
|
1130
1150
|
var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
1151
|
+
var _a;
|
|
1131
1152
|
let Cstr;
|
|
1132
1153
|
try {
|
|
1133
1154
|
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1134
1155
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1156
|
+
hostRef.$flags$ &= -1025 /* hasFailedLoad */;
|
|
1135
1157
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1136
1158
|
if (bundleId) {
|
|
1137
1159
|
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
@@ -1143,6 +1165,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1143
1165
|
Cstr = CstrImport;
|
|
1144
1166
|
}
|
|
1145
1167
|
if (!Cstr) {
|
|
1168
|
+
hostRef.$flags$ &= -33 /* hasInitializedComponent */;
|
|
1169
|
+
hostRef.$loadRetryCount$ = ((_a = hostRef.$loadRetryCount$) != null ? _a : 0) + 1;
|
|
1170
|
+
if (hostRef.$loadRetryCount$ < MAX_LAZY_LOAD_RETRIES) {
|
|
1171
|
+
hostRef.$flags$ |= 1024 /* hasFailedLoad */;
|
|
1172
|
+
}
|
|
1146
1173
|
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
1147
1174
|
}
|
|
1148
1175
|
if (!Cstr.isProxied) {
|
|
@@ -1196,7 +1223,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1196
1223
|
hostRef.$onRenderResolve$();
|
|
1197
1224
|
hostRef.$onRenderResolve$ = void 0;
|
|
1198
1225
|
}
|
|
1199
|
-
if (hostRef.$onReadyResolve$) {
|
|
1226
|
+
if (hostRef.$onReadyResolve$ && !(hostRef.$flags$ & 1024 /* hasFailedLoad */)) {
|
|
1200
1227
|
hostRef.$onReadyResolve$(elm);
|
|
1201
1228
|
}
|
|
1202
1229
|
}
|
|
@@ -1242,6 +1269,8 @@ var connectedCallback = (elm) => {
|
|
|
1242
1269
|
} else {
|
|
1243
1270
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1244
1271
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1272
|
+
} else if (hostRef.$flags$ & 1024 /* hasFailedLoad */) {
|
|
1273
|
+
setTimeout(() => initializeComponent(elm, hostRef, cmpMeta), LAZY_LOAD_RETRY_INTERVAL_MS);
|
|
1245
1274
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1246
1275
|
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
1247
1276
|
}
|
|
@@ -1332,7 +1361,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1332
1361
|
}
|
|
1333
1362
|
disconnectedCallback() {
|
|
1334
1363
|
plt.jmp(() => disconnectedCallback(this));
|
|
1335
|
-
|
|
1364
|
+
nextTick(() => {
|
|
1336
1365
|
var _a3;
|
|
1337
1366
|
const hostRef = getHostRef(this);
|
|
1338
1367
|
if (!hostRef) {
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-C7Z2vWEf.js');
|
|
4
4
|
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
5
5
|
|
|
6
6
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.
|
|
8
|
+
Stencil Client Patch Browser v4.44.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
var patchBrowser = () => {
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'proto-ikons-wc';
|
|
|
2
2
|
const BUILD = /* proto-ikons-wc */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, prop: true, propChangeCallback: false, updatable: true};
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.44.0 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
|
|
@@ -91,7 +91,9 @@ var consoleError = (e, el) => (0, console.error)(e, el);
|
|
|
91
91
|
|
|
92
92
|
// src/client/client-load-module.ts
|
|
93
93
|
var cmpModules = /* @__PURE__ */ new Map();
|
|
94
|
+
var failedLoadAttempts = /* @__PURE__ */ new Map();
|
|
94
95
|
var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
96
|
+
var _a;
|
|
95
97
|
const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
|
|
96
98
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
97
99
|
if (!bundleId) {
|
|
@@ -101,21 +103,28 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
101
103
|
if (module) {
|
|
102
104
|
return module[exportName];
|
|
103
105
|
}
|
|
106
|
+
const retryCount = (_a = failedLoadAttempts.get(bundleId)) != null ? _a : 0;
|
|
107
|
+
const cacheBustParams = [
|
|
108
|
+
retryCount > 0 ? `s-retry=${retryCount}` : "",
|
|
109
|
+
""
|
|
110
|
+
].filter(Boolean).join("&");
|
|
104
111
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
105
112
|
return import(
|
|
106
113
|
/* @vite-ignore */
|
|
107
114
|
/* webpackInclude: /\.entry\.js$/ */
|
|
108
115
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
109
116
|
/* webpackMode: "lazy" */
|
|
110
|
-
`./${bundleId}.entry.js${""}`
|
|
117
|
+
`./${bundleId}.entry.js${cacheBustParams ? "?" + cacheBustParams : ""}`
|
|
111
118
|
).then(
|
|
112
119
|
(importedModule) => {
|
|
113
120
|
{
|
|
121
|
+
failedLoadAttempts.delete(bundleId);
|
|
114
122
|
cmpModules.set(bundleId, importedModule);
|
|
115
123
|
}
|
|
116
124
|
return importedModule[exportName];
|
|
117
125
|
},
|
|
118
126
|
(e) => {
|
|
127
|
+
failedLoadAttempts.set(bundleId, retryCount + 1);
|
|
119
128
|
consoleError(e, hostRef.$hostElement$);
|
|
120
129
|
}
|
|
121
130
|
);
|
|
@@ -126,6 +135,8 @@ var styles = /* @__PURE__ */ new Map();
|
|
|
126
135
|
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
127
136
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
128
137
|
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
138
|
+
var MAX_LAZY_LOAD_RETRIES = 3;
|
|
139
|
+
var LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
|
|
129
140
|
var win = typeof window !== "undefined" ? window : {};
|
|
130
141
|
var plt = {
|
|
131
142
|
$flags$: 0,
|
|
@@ -152,6 +163,10 @@ var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @_
|
|
|
152
163
|
var queuePending = false;
|
|
153
164
|
var queueDomReads = [];
|
|
154
165
|
var queueDomWrites = [];
|
|
166
|
+
var scheduleFlush = () => {
|
|
167
|
+
var _a;
|
|
168
|
+
return ((_a = win.document) == null ? void 0 : _a.hidden) ? nextTick(flush) : plt.raf(flush);
|
|
169
|
+
};
|
|
155
170
|
var queueTask = (queue, write) => (cb) => {
|
|
156
171
|
queue.push(cb);
|
|
157
172
|
if (!queuePending) {
|
|
@@ -159,7 +174,7 @@ var queueTask = (queue, write) => (cb) => {
|
|
|
159
174
|
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
160
175
|
nextTick(flush);
|
|
161
176
|
} else {
|
|
162
|
-
|
|
177
|
+
scheduleFlush();
|
|
163
178
|
}
|
|
164
179
|
}
|
|
165
180
|
};
|
|
@@ -178,7 +193,7 @@ var flush = () => {
|
|
|
178
193
|
{
|
|
179
194
|
consume(queueDomWrites);
|
|
180
195
|
if (queuePending = queueDomReads.length > 0) {
|
|
181
|
-
|
|
196
|
+
scheduleFlush();
|
|
182
197
|
}
|
|
183
198
|
}
|
|
184
199
|
};
|
|
@@ -344,6 +359,11 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
344
359
|
} else if (child != null && typeof child !== "boolean") {
|
|
345
360
|
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
|
346
361
|
child = String(child);
|
|
362
|
+
} else if (typeof nodeName !== "function" && child.$flags$ === void 0) {
|
|
363
|
+
{
|
|
364
|
+
consoleError("Invalid vNode child");
|
|
365
|
+
}
|
|
366
|
+
continue;
|
|
347
367
|
}
|
|
348
368
|
if (simple && lastSimple) {
|
|
349
369
|
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
|
@@ -1126,10 +1146,12 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1126
1146
|
|
|
1127
1147
|
// src/runtime/initialize-component.ts
|
|
1128
1148
|
var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
1149
|
+
var _a;
|
|
1129
1150
|
let Cstr;
|
|
1130
1151
|
try {
|
|
1131
1152
|
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1132
1153
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1154
|
+
hostRef.$flags$ &= -1025 /* hasFailedLoad */;
|
|
1133
1155
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1134
1156
|
if (bundleId) {
|
|
1135
1157
|
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
@@ -1141,6 +1163,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1141
1163
|
Cstr = CstrImport;
|
|
1142
1164
|
}
|
|
1143
1165
|
if (!Cstr) {
|
|
1166
|
+
hostRef.$flags$ &= -33 /* hasInitializedComponent */;
|
|
1167
|
+
hostRef.$loadRetryCount$ = ((_a = hostRef.$loadRetryCount$) != null ? _a : 0) + 1;
|
|
1168
|
+
if (hostRef.$loadRetryCount$ < MAX_LAZY_LOAD_RETRIES) {
|
|
1169
|
+
hostRef.$flags$ |= 1024 /* hasFailedLoad */;
|
|
1170
|
+
}
|
|
1144
1171
|
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
1145
1172
|
}
|
|
1146
1173
|
if (!Cstr.isProxied) {
|
|
@@ -1194,7 +1221,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1194
1221
|
hostRef.$onRenderResolve$();
|
|
1195
1222
|
hostRef.$onRenderResolve$ = void 0;
|
|
1196
1223
|
}
|
|
1197
|
-
if (hostRef.$onReadyResolve$) {
|
|
1224
|
+
if (hostRef.$onReadyResolve$ && !(hostRef.$flags$ & 1024 /* hasFailedLoad */)) {
|
|
1198
1225
|
hostRef.$onReadyResolve$(elm);
|
|
1199
1226
|
}
|
|
1200
1227
|
}
|
|
@@ -1240,6 +1267,8 @@ var connectedCallback = (elm) => {
|
|
|
1240
1267
|
} else {
|
|
1241
1268
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1242
1269
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1270
|
+
} else if (hostRef.$flags$ & 1024 /* hasFailedLoad */) {
|
|
1271
|
+
setTimeout(() => initializeComponent(elm, hostRef, cmpMeta), LAZY_LOAD_RETRY_INTERVAL_MS);
|
|
1243
1272
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1244
1273
|
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
1245
1274
|
}
|
|
@@ -1330,7 +1359,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1330
1359
|
}
|
|
1331
1360
|
disconnectedCallback() {
|
|
1332
1361
|
plt.jmp(() => disconnectedCallback(this));
|
|
1333
|
-
|
|
1362
|
+
nextTick(() => {
|
|
1334
1363
|
var _a3;
|
|
1335
1364
|
const hostRef = getHostRef(this);
|
|
1336
1365
|
if (!hostRef) {
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-UEzmC9ci.js';
|
|
2
|
+
export { s as setNonce } from './index-UEzmC9ci.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-UEzmC9ci.js';
|
|
2
|
+
export { s as setNonce } from './index-UEzmC9ci.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.44.0 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
var patchBrowser = () => {
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
function t(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var e=(e,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=e[o],i=t(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);i&&Object.defineProperty(e,o,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(o)?e[o]=n.l.get(o):void 0!==l&&(e[o]=l)}}))},n=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},o=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.i=t,512&n.o.u&&e(t,n))},l=(t,e)=>(0,console.error)(t,e),i=new Map,s=new Map,r=new Map,c="http://www.w3.org/1999/xlink",u="undefined"!=typeof window?window:{},f={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},a=t=>Promise.resolve(t),d=(()=>{try{return!!u.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),p=!!d&&(()=>!!u.document&&Object.getOwnPropertyDescriptor(u.document.adoptedStyleSheets,"length").writable)(),h=!1,m=[],v=[],y=()=>{var t;return(null==(t=u.document)?void 0:t.hidden)?g($):f.raf($)},b=(t,e)=>n=>{t.push(n),h||(h=!0,e&&4&f.u?g($):y())},w=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){l(t)}t.length=0},$=()=>{w(m),w(v),(h=m.length>0)&&y()},g=t=>a().then(t),j=b(v,!0);function O(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var S,k=new WeakMap,M=t=>"sc-"+t.h,E=t=>"object"==(t=typeof t)||"function"===t,C=(t,e,...n)=>{let o=null,i=null,s=!1,r=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)if(o=e[n],Array.isArray(o))u(o);else if(null!=o&&"boolean"!=typeof o){if(s="function"!=typeof t&&!E(o))o+="";else if("function"!=typeof t&&void 0===o.u){l("Invalid vNode child");continue}s&&r?c[c.length-1].m+=o:c.push(s?x(null,o):o),r=s}};if(u(n),e){e.key&&(i=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const f=x(t,null);return f.v=e,c.length>0&&(f.$=c),f.j=i,f},x=(t,e)=>({u:0,O:t,m:null!=e?e:null,S:null,$:null,v:null,j:null}),N={},L=(t,e)=>null==t||E(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,T=(t,e,o,l,i,s)=>{if(o===l)return;let r=((t,e)=>e in t)(t,e),u=e.toLowerCase();if("class"===e){const e=t.classList,n=P(o);let i=P(l);e.remove(...n.filter((t=>t&&!i.includes(t)))),e.add(...i.filter((t=>t&&!n.includes(t))))}else if("key"===e);else{if("a"===e[0]&&e.startsWith("attr:")){const o=e.slice(5);let i;{const e=n(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(i=t[1])}}return i||(i=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==l||!1===l?!1===l&&""!==t.getAttribute(i)||t.removeAttribute(i):t.setAttribute(i,!0===l?"":l))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=l}catch(t){}return}{const n=E(l);if((r||n&&null!==l)&&!i)try{if(t.tagName.includes("-"))t[e]!==l&&(t[e]=l);else{const n=null==l?"":l;"list"===e?r=!1:null!=o&&t[e]===n||("function"==typeof t.__lookupSetter__(e)?t[e]=n:t.setAttribute(e,n))}}catch(t){}let f=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(e=u,f=!0),null==l||!1===l?!1===l&&""!==t.getAttribute(e)||(f?t.removeAttributeNS(c,e):t.removeAttribute(e)):(!r||4&s||i)&&!n&&1===t.nodeType&&(l=!0===l?"":l,f?t.setAttributeNS(c,e,l):t.setAttribute(e,l))}}},D=/\s/,P=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(D):[]),R=(t,e,n)=>{const o=11===e.S.nodeType&&e.S.host?e.S.host:e.S,l=t&&t.v||{},i=e.v||{};for(const t of A(Object.keys(l)))t in i||T(o,t,l[t],void 0,n,e.u);for(const t of A(Object.keys(i)))T(o,t,l[t],i[t],n,e.u)};function A(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var H=!1,U=(t,e,n)=>{const o=e.$[n];let l,i,s=0;if(null!=o.m)l=o.S=u.document.createTextNode(o.m);else{if(H||(H="svg"===o.O),!u.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.S=u.document.createElementNS(H?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.O),H&&"foreignObject"===o.O&&(H=!1),R(null,o,H),o.$){const e="template"===o.O?l.content:l;for(s=0;s<o.$.length;++s)i=U(t,o,s),i&&e.appendChild(i)}"svg"===o.O?H=!1:"foreignObject"===l.tagName&&(H=!0)}return l["s-hn"]=S,l},W=(t,e,n,o,l,i)=>{let s,r=t;for("template"===n.O&&(r=r.content);l<=i;++l)o[l]&&(s=U(null,n,l),s&&(o[l].S=s,q(r,s,e)))},z=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.S;t&&t.remove()}}},F=(t,e,n=!1)=>t.O===e.O&&(n?(n&&!t.j&&e.j&&(t.j=e.j),!0):t.j===e.j),V=(t,e,n=!1)=>{const o=e.S=t.S,l=t.$,i=e.$,s=e.O,r=e.m;null==r?(R(t,e,H="svg"===s||"foreignObject"!==s&&H),null!==l&&null!==i?((t,e,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,f=0,a=e.length-1,d=e[0],p=e[a],h=o.length-1,m=o[0],v=o[h];const y="template"===n.O?t.content:t;for(;r<=a&&c<=h;)if(null==d)d=e[++r];else if(null==p)p=e[--a];else if(null==m)m=o[++c];else if(null==v)v=o[--h];else if(F(d,m,l))V(d,m,l),d=e[++r],m=o[++c];else if(F(p,v,l))V(p,v,l),p=e[--a],v=o[--h];else if(F(d,v,l))V(d,v,l),q(y,d.S,p.S.nextSibling),d=e[++r],v=o[--h];else if(F(p,m,l))V(p,m,l),q(y,p.S,d.S),p=e[--a],m=o[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].j&&e[f].j===m.j){u=f;break}u>=0?(s=e[u],s.O!==m.O?i=U(e&&e[c],n,u):(V(s,m,l),e[u]=void 0,i=s.S),m=o[++c]):(i=U(e&&e[c],n,c),m=o[++c]),i&&q(d.S.parentNode,i,d.S)}r>a?W(t,null==o[h+1]?null:o[h+1].S,n,o,c,h):c>h&&z(e,r,a)})(o,l,e,i,n):null!==i?(null!==t.m&&(o.textContent=""),W(o,null,e,i,0,i.length-1)):!n&&null!==l&&z(l,0,l.length-1),H&&"svg"===s&&(H=!1)):t.m!==r&&(o.data=r)},q=(t,e,n)=>t.__insertBefore?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n),B=(t,e)=>{if(e&&!t.k&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.k=()=>{e["s-p"].splice(n-1,1),o()})))}},G=(t,e)=>{if(t.u|=16,4&t.u)return void(t.u|=512);B(t,t.M);const n=()=>I(t,e);if(!e)return j(n);queueMicrotask((()=>{n()}))},I=(t,e)=>{const n=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e?(t.C.length&&t.C.forEach((t=>t(n))),l=X(o,"componentWillLoad",void 0,n)):l=X(o,"componentWillUpdate",void 0,n),l=Y(l,(()=>X(o,"componentWillRender",void 0,n))),Y(l,(()=>_(t,o,e)))},Y=(t,e)=>Z(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Z=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,_=async(t,e,n)=>{var o;const l=t.$hostElement$,i=l["s-rc"];n&&(t=>{const e=t.o;((t,e)=>{var n,o,l;const i=M(e),s=r.get(i);if(!u.document)return i;if(t=11===t.nodeType?t:u.document,s)if("string"==typeof s){let l,r=k.get(t=t.head||t);if(r||k.set(t,r=new Set),!r.has(i)){l=u.document.createElement("style"),l.textContent=s;const c=null!=(n=f.N)?n:O(u.document);if(null!=c&&l.setAttribute("nonce",c),!(1&e.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(s),p?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=s+e.textContent:t.prepend(l)}else t.append(l);1&e.u&&t.insertBefore(l,null),4&e.u&&(l.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(i)}}else{let e=k.get(t);if(e||k.set(t,e=new Set),!e.has(i)){const n=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(s.constructor===n.CSSStyleSheet)o=s;else{o=new n.CSSStyleSheet;for(let t=0;t<s.cssRules.length;t++)o.insertRule(s.cssRules[t].cssText,t)}p?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],e.add(i)}}})(t.$hostElement$.getRootNode(),e)})(t);J(t,e,l,n),i&&(i.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>K(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}},J=(t,e,n,o)=>{try{e=e.render(),t.u&=-17,t.u|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.L||x(null,null),i=(t=>t&&t.O===N)(e)?e:C(null,null,e);if(S=o.tagName,n&&i.v)for(const t of Object.keys(i.v))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.v[t]=o[t]);i.O=null,i.u|=4,t.L=i,i.S=l.S=o,V(l,i,n)})(t,e,o)}catch(e){l(e,t.$hostElement$)}return null},K=t=>{const e=t.$hostElement$,n=t.i,o=t.M;X(n,"componentDidRender",void 0,e),64&t.u?X(n,"componentDidUpdate",void 0,e):(t.u|=64,tt(e),X(n,"componentDidLoad",void 0,e),t.T(e),o||Q()),t.k&&(t.k(),t.k=void 0),512&t.u&&g((()=>G(t,!1))),t.u&=-517},Q=()=>{g((()=>(t=>{const e=f.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return t.dispatchEvent(e),e})(u)))},X=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){l(t,o)}},tt=t=>t.classList.add("hydrated"),et=(t,e,o,l)=>{const i=n(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.h}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const s=i.l.get(e),r=i.u,c=i.i;if(o=L(o,l.t[e][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.l.set(e,o),2&r)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,e)&&!(16&r))return;16&r||G(i,!1)}},nt=(e,o,l)=>{var i,s;const r=e.prototype;if(o.t){const c=Object.entries(null!=(i=o.t)?i:{});if(c.map((([e,[i]])=>{if(31&i||2&l&&32&i){const{get:s,set:c}=t(r,e)||{};s&&(o.t[e][0]|=2048),c&&(o.t[e][0]|=4096),(1&l||!s)&&Object.defineProperty(r,e,{get(){{if(!(2048&o.t[e][0]))return((t,e)=>n(this).l.get(e))(0,e);const t=n(this),l=t?t.i:r;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(t){const s=n(this);if(s){if(c)return void 0===(32&i?this[e]:s.$hostElement$[e])&&s.l.get(e)&&(t=s.l.get(e)),c.call(this,L(t,i)),void et(this,e,t=32&i?this[e]:s.$hostElement$[e],o);{if(!(1&l&&4096&o.t[e][0]))return et(this,e,t,o),void(1&l&&!s.i&&s.C.push((()=>{4096&o.t[e][0]&&s.i[e]!==s.l.get(e)&&(s.i[e]=t)})));const n=()=>{const n=s.i[e];!s.l.get(e)&&n&&s.l.set(e,n),s.i[e]=L(t,i),et(this,e,s.i[e],o)};s.i?n():s.C.push((()=>{n()}))}}}})}})),1&l){const t=new Map;r.attributeChangedCallback=function(e,l,i){f.jmp((()=>{var s;const u=t.get(e),f=n(this);if(this.hasOwnProperty(u)&&(i=this[u],delete this[u]),r.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==i)return;if(null==u){const t=null==f?void 0:f.u;if(f&&t&&!(8&t)&&i!==l){const n=f.i,r=null==(s=o.D)?void 0:s[e];null==r||r.forEach((o=>{const[[s,r]]=Object.entries(o);null!=n[s]&&(128&t||1&r)&&n[s].call(n,i,l,e)}))}return}const a=c.find((([t])=>t===u)),d=a&&4&a[1][0],p=d&&null===i&&void 0===this[u];d&&(i=null!==i&&"false"!==i);const h=Object.getOwnPropertyDescriptor(r,u);p||i==this[u]||h.get&&!h.set||(this[u]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=o.D)?s:{}),...c.filter((([t,e])=>31&e[0])).map((([e,n])=>{const o=n[1]||e;return t.set(o,e),o}))]))}}return e},ot=async(t,e,n)=>{var o;let c;try{if(!(32&e.u)){if(e.u|=32,e.u&=-1025,n.P){const r=((t,e)=>{var n;const o=t.h.replace(/-/g,"_"),r=t.P;if(!r)return;const c=i.get(r);if(c)return c[o];const u=null!=(n=s.get(r))?n:0,f=[u>0?"s-retry="+u:"",""].filter(Boolean).join("&");
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
3
|
+
return import(`./${r}.entry.js${f?"?"+f:""}`).then((t=>(s.delete(r),i.set(r,t),t[o])),(t=>{s.set(r,u+1),l(t,e.$hostElement$)}))})(n,e);if(r&&"then"in r){const t=()=>{};c=await r,t()}else c=r;if(!c)throw e.u&=-33,e.R=(null!=(o=e.R)?o:0)+1,e.R<3&&(e.u|=1024),Error(`Constructor for "${n.h}#${e.A}" was not found`);c.isProxied||(nt(c,n,2),c.isProxied=!0);const u=()=>{};e.u|=8;try{new c(e)}catch(e){l(e,t)}e.u&=-9,u(),lt(e.i,t)}else c=t.constructor,customElements.whenDefined(t.localName).then((()=>e.u|=128));if(c&&c.style){let t;"string"==typeof c.style&&(t=c.style);const e=M(n);if(!r.has(e)){const o=()=>{};((t,e,n)=>{let o=r.get(t);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,r.set(t,o)})(e,t,!!(1&n.u)),o()}}}const u=e.M,f=()=>G(e,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(n){l(n,t),e.k&&(e.k(),e.k=void 0),!e.T||1024&e.u||e.T(t)}},lt=(t,e)=>{X(t,"connectedCallback",void 0,e)},it=(t,e)=>{X(t,"disconnectedCallback",void 0,e||t)},st=(t,e={})=>{var o;if(!u.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const l=[],i=e.exclude||[],s=u.customElements,r=u.document.head,c=r.querySelector("meta[charset]"),a=u.document.createElement("style"),d=[];let p,h=!0;if(Object.assign(f,e),f.p=new URL(e.resourcesUrl||"./",u.document.baseURI).href,t.map((t=>{t[1].map((e=>{const o={u:e[0],h:e[1],t:e[2],H:e[3]};o.t=e[2];const r=o.h,c=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){super(t),((t,e)=>{const n={u:0,$hostElement$:t,o:e,l:new Map,U:new Map};n.W=new Promise((t=>n.T=t)),t["s-p"]=[],t["s-rc"]=[],n.C=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,o)}connectedCallback(){n(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),p&&(clearTimeout(p),p=null),h?d.push(this):f.jmp((()=>(t=>{if(!(1&f.u)){const e=n(t);if(!e)return;const o=e.o,l=()=>{};if(1&e.u)(null==e?void 0:e.i)?lt(e.i,t):1024&e.u?setTimeout((()=>ot(t,e,o)),1e3):(null==e?void 0:e.W)&&e.W.then((()=>lt(e.i,t)));else{e.u|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){B(e,e.M=n);break}}o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),ot(t,e,o)}l()}})(this))))}disconnectedCallback(){f.jmp((()=>(async t=>{if(!(1&f.u)){const e=n(t);(null==e?void 0:e.i)?it(e.i,t):(null==e?void 0:e.W)&&e.W.then((()=>it(e.i,t)))}k.has(t)&&k.delete(t),t.shadowRoot&&k.has(t.shadowRoot)&&k.delete(t.shadowRoot)})(this))),g((()=>{var t;const e=n(this);if(!e)return;const o=d.findIndex((t=>t===this));o>-1&&d.splice(o,1),(null==(t=null==e?void 0:e.L)?void 0:t.S)instanceof Node&&!e.L.S.isConnected&&delete e.L.S}))}componentOnReady(){var t;return null==(t=n(this))?void 0:t.W}};o.P=t[0],i.includes(r)||s.get(r)||(l.push(r),s.define(r,nt(c,o,1)))}))})),l.length>0&&(a.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",a.innerHTML.length)){a.setAttribute("data-styles","");const t=null!=(o=f.N)?o:O(u.document);null!=t&&a.setAttribute("nonce",t),r.insertBefore(a,c?c.nextSibling:r.firstChild)}h=!1,d.length?d.map((t=>t.connectedCallback())):f.jmp((()=>p=setTimeout(Q,30)))},rt=t=>f.N=t;export{st as b,C as h,a as p,o as r,rt as s}
|