proto-daisy-db 0.0.255 → 0.0.257
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/{index-b5e45d1a.js → index-3d89f5a8.js} +11 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/proto-daisy-db.cjs.js +2 -2
- package/dist/cjs/proto-daisy-db_5.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/{index-4dcb9412.js → index-e5be26d1.js} +11 -10
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-daisy-db.js +3 -3
- package/dist/esm/proto-daisy-db_5.entry.js +1 -1
- package/dist/proto-daisy-db/{p-84b89d15.entry.js → p-04a28c5f.entry.js} +1 -1
- package/dist/proto-daisy-db/p-cc784e73.js +2 -0
- package/dist/proto-daisy-db/proto-daisy-db.esm.js +1 -1
- package/package.json +5 -5
- package/dist/proto-daisy-db/p-c00bb3a7.js +0 -2
|
@@ -1328,7 +1328,8 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1328
1328
|
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
1329
1329
|
// Let the runtime know that the component has been initialized
|
|
1330
1330
|
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1331
|
-
|
|
1331
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1332
|
+
if (bundleId) {
|
|
1332
1333
|
// lazy loaded components
|
|
1333
1334
|
// request the component's implementation to be
|
|
1334
1335
|
// wired up with the host element
|
|
@@ -1365,6 +1366,14 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1365
1366
|
}
|
|
1366
1367
|
endNewInstance();
|
|
1367
1368
|
}
|
|
1369
|
+
else {
|
|
1370
|
+
// sync constructor component
|
|
1371
|
+
Cstr = elm.constructor;
|
|
1372
|
+
// wait for the CustomElementRegistry to mark the component as ready before setting `isWatchReady`. Otherwise,
|
|
1373
|
+
// watchers may fire prematurely if `customElements.get()`/`customElements.whenDefined()` resolves _before_
|
|
1374
|
+
// Stencil has completed instantiating the component.
|
|
1375
|
+
customElements.whenDefined(cmpMeta.$tagName$).then(() => (hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */));
|
|
1376
|
+
}
|
|
1368
1377
|
if (Cstr.style) {
|
|
1369
1378
|
// this component has styles but we haven't registered them yet
|
|
1370
1379
|
let style = Cstr.style;
|
|
@@ -1633,14 +1642,6 @@ const registerHost = (hostElement, cmpMeta) => {
|
|
|
1633
1642
|
const isMemberInElement = (elm, memberName) => memberName in elm;
|
|
1634
1643
|
const consoleError = (e, el) => (0, console.error)(e, el);
|
|
1635
1644
|
const cmpModules = /*@__PURE__*/ new Map();
|
|
1636
|
-
/**
|
|
1637
|
-
* We need to separate out this prefix so that Esbuild doesn't try to resolve
|
|
1638
|
-
* the below, but instead retains a dynamic `import()` statement in the
|
|
1639
|
-
* emitted code.
|
|
1640
|
-
*
|
|
1641
|
-
* See here for details https://esbuild.github.io/api/#glob
|
|
1642
|
-
*/
|
|
1643
|
-
const MODULE_IMPORT_PREFIX = './';
|
|
1644
1645
|
const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
1645
1646
|
// loadModuleImport
|
|
1646
1647
|
const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
|
|
@@ -1655,7 +1656,7 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1655
1656
|
/* webpackInclude: /\.entry\.js$/ */
|
|
1656
1657
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1657
1658
|
/* webpackMode: "lazy" */
|
|
1658
|
-
|
|
1659
|
+
`./${bundleId}.entry.js${''}`)); }).then((importedModule) => {
|
|
1659
1660
|
{
|
|
1660
1661
|
cmpModules.set(bundleId, importedModule);
|
|
1661
1662
|
}
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-3d89f5a8.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-3d89f5a8.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.12.
|
|
9
|
+
Stencil Client Patch Browser v4.12.5 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
const patchBrowser = () => {
|
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-daisy-db.cjs.js', document.baseURI).href));
|
|
@@ -1306,7 +1306,8 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1306
1306
|
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
1307
1307
|
// Let the runtime know that the component has been initialized
|
|
1308
1308
|
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1309
|
-
|
|
1309
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1310
|
+
if (bundleId) {
|
|
1310
1311
|
// lazy loaded components
|
|
1311
1312
|
// request the component's implementation to be
|
|
1312
1313
|
// wired up with the host element
|
|
@@ -1343,6 +1344,14 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1343
1344
|
}
|
|
1344
1345
|
endNewInstance();
|
|
1345
1346
|
}
|
|
1347
|
+
else {
|
|
1348
|
+
// sync constructor component
|
|
1349
|
+
Cstr = elm.constructor;
|
|
1350
|
+
// wait for the CustomElementRegistry to mark the component as ready before setting `isWatchReady`. Otherwise,
|
|
1351
|
+
// watchers may fire prematurely if `customElements.get()`/`customElements.whenDefined()` resolves _before_
|
|
1352
|
+
// Stencil has completed instantiating the component.
|
|
1353
|
+
customElements.whenDefined(cmpMeta.$tagName$).then(() => (hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */));
|
|
1354
|
+
}
|
|
1346
1355
|
if (Cstr.style) {
|
|
1347
1356
|
// this component has styles but we haven't registered them yet
|
|
1348
1357
|
let style = Cstr.style;
|
|
@@ -1611,14 +1620,6 @@ const registerHost = (hostElement, cmpMeta) => {
|
|
|
1611
1620
|
const isMemberInElement = (elm, memberName) => memberName in elm;
|
|
1612
1621
|
const consoleError = (e, el) => (0, console.error)(e, el);
|
|
1613
1622
|
const cmpModules = /*@__PURE__*/ new Map();
|
|
1614
|
-
/**
|
|
1615
|
-
* We need to separate out this prefix so that Esbuild doesn't try to resolve
|
|
1616
|
-
* the below, but instead retains a dynamic `import()` statement in the
|
|
1617
|
-
* emitted code.
|
|
1618
|
-
*
|
|
1619
|
-
* See here for details https://esbuild.github.io/api/#glob
|
|
1620
|
-
*/
|
|
1621
|
-
const MODULE_IMPORT_PREFIX = './';
|
|
1622
1623
|
const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
1623
1624
|
// loadModuleImport
|
|
1624
1625
|
const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
|
|
@@ -1633,7 +1634,7 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1633
1634
|
/* webpackInclude: /\.entry\.js$/ */
|
|
1634
1635
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1635
1636
|
/* webpackMode: "lazy" */
|
|
1636
|
-
|
|
1637
|
+
`./${bundleId}.entry.js${''}`).then((importedModule) => {
|
|
1637
1638
|
{
|
|
1638
1639
|
cmpModules.set(bundleId, importedModule);
|
|
1639
1640
|
}
|
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-e5be26d1.js';
|
|
2
|
+
export { s as setNonce } from './index-e5be26d1.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.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-e5be26d1.js';
|
|
2
|
+
export { s as setNonce } from './index-e5be26d1.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.12.
|
|
6
|
+
Stencil Client Patch Browser v4.12.5 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as a}from"./p-
|
|
1
|
+
import{r as t,h as a}from"./p-cc784e73.js";const s="proto-daisy-db:app-data",e=class{constructor(a){t(this,a),this.emitter=void 0}componentDidLoad(){if(this.emitter&&window[this.emitter]){const t=window[this.emitter];t.on("app-data:get",(()=>{var a;console.log("app-data:get"),(a=localStorage.getItem(s),new Promise(((t,s)=>{try{t(JSON.parse(a))}catch(t){s(t)}}))).then((a=>{t.emit("app-data:value",a)})).catch((t=>{console.log(t)}))})),t.on("app-data:store",(t=>{console.log("app-data:store",t),(t=>{const a=JSON.stringify(t);localStorage.setItem(s,a)})(t)})),t.emit("proto-daisy-db",{ready:!0})}}render(){return a("div",{key:"35e42fc3a7d518f3bc0211bc5f2c8221fd9bcc81"})}};e.style="";const o=class{constructor(a){t(this,a),this.data=void 0}render(){const t=this.data?Object.keys(this.data):[];return a("div",{key:"a423b82d951a69b266dd3d508a8dc11326a8008b",class:"flex flex-col"},t.map((t=>a("span",null,t))))}};o.style="";const r=class{constructor(a){t(this,a),this.data=void 0}render(){return a("div",{key:"f4837fa667d5d6e57086b09d1bc91719035442be",class:"flex"},a("span",{key:"a70fa27ba603ead243b5d262922082141420e0ac"},this.data?this.data.stamp:""))}};r.style="";const c=class{constructor(a){t(this,a),this.emitter=void 0,this.data=void 0}componentDidLoad(){this.emitter&&window[this.emitter]&&window[this.emitter].on("app-data:value",(t=>{this.data=t}))}emitData(){if(this.emitter&&window[this.emitter]){const t=window[this.emitter],a={login:!0,stamp:Date.now(),theme:"dark",dealers:[]};this.data=void 0,t.emit("app-data:store",a)}}fetchData(){this.emitter&&window[this.emitter]&&window[this.emitter].emit("app-data:get",42)}render(){return a("div",{key:"47a9f4c68160b18fceedba61f54a7be29c75325a",class:"flex flex-col font-sans"},a("div",{key:"334f34a36a896139cf4cc01f66bbf0d09bd89505",class:"flex flex-row content-center gap-2"},a("button",{key:"784f07b93d4cd4a0287e6dd172bc73ab8e3c49e5",class:"btn bg-clrs-navy text-clrs-white",onClick:()=>this.emitData()},"Save"),a("button",{key:"8526e3216eb0a725ea22b288ac0cb3c503405ee4",class:"btn bg-clrs-blue text-clrs-white",onClick:()=>this.fetchData()},"Fetch")),a("proto-faux-type",{key:"3033b83816b2997c790fb8df1e1d90f387f62afa",class:"mt-4",emitter:this.emitter}),a("proto-faux-stamp",{key:"811eef59cdcdfa2edb318ee5facf7ae0bc497c82",class:"mt-2 text-xs",data:this.data}),a("proto-faux-keys",{key:"ed39e233d92c46f801841240d32d783ee6b0f0fd",class:"mt-2",data:this.data}))}};c.style="*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.btn{border-radius:0.375rem;border-width:1px;border-style:solid;border-color:var(--clrs-aqua, #7fdbff);padding:0.5rem}.mt-2{margin-top:0.5rem}.mt-4{margin-top:1rem}.flex{display:flex}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.content-center{align-content:center}.gap-2{gap:0.5rem}.bg-clrs-blue{background-color:var(--clrs-blue, #0074d9)}.bg-clrs-navy{background-color:var(--clrs-navy, #001f3f)}.font-sans{font-family:ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',\n 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'}.text-xs{font-size:0.75rem;line-height:1rem}.italic{font-style:italic}.text-clrs-white{color:var(--clrs-white, #ffffff)}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),\n 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";const i=class{constructor(a){t(this,a),this.emitter=void 0,this.eventType=void 0}componentDidLoad(){this.emitter&&window[this.emitter]&&window[this.emitter].on("*",(t=>{this.eventType=t}))}render(){return a("div",{key:"d441f639241a54d1ef8ae9c26a4560b5266457df"},a("span",{key:"a192c0ce3af5f94d72856ca851300537fd00f31f",class:"text-xs italic"},this.eventType))}};i.style="proto-faux-type{}";export{e as proto_daisy_db,o as proto_faux_keys,r as proto_faux_stamp,c as proto_faux_trigger,i as proto_faux_type}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
let e,n,t=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",o={},s=e=>"object"==(e=typeof e)||"function"===e;function i(e){var n,t,l;return null!==(l=null===(t=null===(n=e.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const c=(e,n,...t)=>{let l=null,o=null,i=!1,c=!1;const u=[],f=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!s(l))&&(l+=""),i&&c?u[u.length-1].t+=l:u.push(i?r(null,l):l),c=i)};if(f(t),n){n.key&&(o=n.key);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}const a=r(e,null);return a.l=n,u.length>0&&(a.o=u),a.i=o,a},r=(e,n)=>({u:0,p:e,t:n,$:null,o:null,l:null,i:null}),u={},f=new WeakMap,a=e=>"sc-"+e.h,d=(e,n,t,l,o,i)=>{if(t!==l){let c=V(e,n),r=n.toLowerCase();if("class"===n){const n=e.classList,o=p(t),s=p(l);n.remove(...o.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===n);else if(c||"o"!==n[0]||"n"!==n[1]){const r=s(l);if((c||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[n]=l;else{const o=null==l?"":l;"list"===n?c=!1:null!=t&&e[n]==o||(e[n]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(n)||e.removeAttribute(n):(!c||4&i||o)&&!r&&e.setAttribute(n,l=!0===l?"":l)}else if(n="-"===n[2]?n.slice(3):V(I,r)?r.slice(2):r[2]+n.slice(3),t||l){const o=n.endsWith($);n=n.replace(h,""),t&&K.rel(e,n,t,o),l&&K.ael(e,n,l,o)}}},y=/\s/,p=e=>e?e.split(y):[],$="Capture",h=RegExp($+"$"),m=(e,n,t,l)=>{const s=11===n.$.nodeType&&n.$.host?n.$.host:n.$,i=e&&e.l||o,c=n.l||o;for(l in i)l in c||d(s,l,i[l],void 0,t,n.u);for(l in c)d(s,l,i[l],c[l],t,n.u)},v=(t,l,o)=>{const s=l.o[o];let i,c,r=0;if(null!==s.t)i=s.$=J.createTextNode(s.t);else if(i=s.$=J.createElement(s.p),m(null,s,!1),null!=e&&i["s-si"]!==e&&i.classList.add(i["s-si"]=e),s.o)for(r=0;r<s.o.length;++r)c=v(t,s,r),c&&i.appendChild(c);return i["s-hn"]=n,i},b=(e,t,l,o,s,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=v(null,l,s),c&&(o[s].$=c,r.insertBefore(c,t)))},w=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.$;e&&e.remove()}}},S=(e,n,t=!1)=>e.p===n.p&&(!!t||e.i===n.i),g=(e,n,t=!1)=>{const l=n.$=e.$,o=e.o,s=n.o,i=n.t;null===i?(m(e,n,!1),null!==o&&null!==s?((e,n,t,l,o=!1)=>{let s,i,c=0,r=0,u=0,f=0,a=n.length-1,d=n[0],y=n[a],p=l.length-1,$=l[0],h=l[p];for(;c<=a&&r<=p;)if(null==d)d=n[++c];else if(null==y)y=n[--a];else if(null==$)$=l[++r];else if(null==h)h=l[--p];else if(S(d,$,o))g(d,$,o),d=n[++c],$=l[++r];else if(S(y,h,o))g(y,h,o),y=n[--a],h=l[--p];else if(S(d,h,o))g(d,h,o),e.insertBefore(d.$,y.$.nextSibling),d=n[++c],h=l[--p];else if(S(y,$,o))g(y,$,o),e.insertBefore(y.$,d.$),y=n[--a],$=l[++r];else{for(u=-1,f=c;f<=a;++f)if(n[f]&&null!==n[f].i&&n[f].i===$.i){u=f;break}u>=0?(i=n[u],i.p!==$.p?s=v(n&&n[r],t,u):(g(i,$,o),n[u]=void 0,s=i.$),$=l[++r]):(s=v(n&&n[r],t,r),$=l[++r]),s&&d.$.parentNode.insertBefore(s,d.$)}c>a?b(e,null==l[p+1]?null:l[p+1].$,t,l,r,p):r>p&&w(n,c,a)})(l,o,n,s,t):null!==s?(null!==e.t&&(l.textContent=""),b(l,null,n,s,0,s.length-1)):null!==o&&w(o,0,o.length-1)):e.t!==i&&(l.data=i)},j=(e,n)=>{n&&!e.m&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.m=n)))},k=(e,n)=>{if(e.u|=16,!(4&e.u))return j(e,e.v),oe((()=>M(e,n)));e.u|=512},M=(e,n)=>{const t=e.S;return O(void 0,(()=>E(e,t,n)))},O=(e,n)=>C(e)?e.then(n):n(),C=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,E=async(e,n,t)=>{var o;const s=e.$hostElement$,c=s["s-rc"];t&&(e=>{const n=e.j,t=e.$hostElement$,o=n.u,s=((e,n)=>{var t;const o=a(n),s=G.get(o);if(e=11===e.nodeType?e:J,s)if("string"==typeof s){let c,r=f.get(e=e.head||e);if(r||f.set(e,r=new Set),!r.has(o)){{c=J.createElement("style"),c.innerHTML=s;const n=null!==(t=K.k)&&void 0!==t?t:i(J);null!=n&&c.setAttribute("nonce",n),e.insertBefore(c,e.querySelector("link"))}4&n.u&&(c.innerHTML+=l),r&&r.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return o})(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&o&&(t["s-sc"]=s,t.classList.add(s+"-h"))})(e);P(e,n,s,t),c&&(c.map((e=>e())),s["s-rc"]=void 0);{const n=null!==(o=s["s-p"])&&void 0!==o?o:[],t=()=>x(e);0===n.length?t():(Promise.all(n).then(t),e.u|=4,n.length=0)}},P=(t,l,o,s)=>{try{l=l.render(),t.u&=-17,t.u|=2,((t,l,o=!1)=>{const s=t.$hostElement$,i=t.M||r(null,null),f=(e=>e&&e.p===u)(l)?l:c(null,null,l);if(n=s.tagName,o&&f.l)for(const e of Object.keys(f.l))s.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(f.l[e]=s[e]);f.p=null,f.u|=4,t.M=f,f.$=i.$=s.shadowRoot||s,e=s["s-sc"],g(i,f,o)})(t,l,s)}catch(e){_(e,t.$hostElement$)}return null},x=e=>{const n=e.$hostElement$,t=e.S,l=e.v;64&e.u||(e.u|=64,N(n),L(t,"componentDidLoad"),e.O(n),l||A()),e.m&&(e.m(),e.m=void 0),512&e.u&&le((()=>k(e,!1))),e.u&=-517},A=()=>{N(J.documentElement),le((()=>(e=>{const n=K.ce("appload",{detail:{namespace:"proto-daisy-db"}});return e.dispatchEvent(n),n})(I)))},L=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){_(e)}},N=e=>e.classList.add("hydrated"),R=(e,n,t)=>{var l;const o=e.prototype;if(n.C){const i=Object.entries(n.C);if(i.map((([e,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(o,e,{get(){return((e,n)=>D(this).P.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=D(e),i=o.P.get(n),c=o.u,r=o.S;t=((e,n)=>null==e||s(e)?e:1&n?e+"":e)(t,l.C[n][0]),8&c&&void 0!==i||t===i||Number.isNaN(i)&&Number.isNaN(t)||(o.P.set(n,t),r&&2==(18&c)&&k(o,!1))})(this,e,t,n)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,l,s){K.jmp((()=>{var i;const c=t.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const t=D(this),o=null==t?void 0:t.u;if(o&&!(8&o)&&128&o&&s!==l){const o=t.S,c=null===(i=n.A)||void 0===i?void 0:i[e];null==c||c.forEach((n=>{null!=o[n]&&o[n].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=n.A)&&void 0!==l?l:{}),...i.filter((([e,n])=>15&n[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))]))}}return e},T=async(e,n,t)=>{let l;if(0==(32&n.u)){if(n.u|=32,t.L){if(l=B(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(R(l,t,2),l.isProxied=!0);const e=()=>{};n.u|=8;try{new l(n)}catch(e){_(e)}n.u&=-9,e()}else l=e.constructor,customElements.whenDefined(t.h).then((()=>n.u|=128));if(l.style){let e=l.style;const n=a(t);if(!G.has(n)){const l=()=>{};((e,n,t)=>{let l=G.get(e);X&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,G.set(e,l)})(n,e,!!(1&t.u)),l()}}}const o=n.v,s=()=>k(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()},U=(e,n={})=>{var t;const o=[],s=n.exclude||[],c=I.customElements,r=J.head,u=r.querySelector("meta[charset]"),f=J.createElement("style"),a=[];let d,y=!0;Object.assign(K,n),K.N=new URL(n.resourcesUrl||"./",J.baseURI).href;let p=!1;if(e.map((e=>{e[1].map((n=>{const t={u:n[0],h:n[1],C:n[2],R:n[3]};4&t.u&&(p=!0),t.C=n[2];const l=t.h,i=class extends HTMLElement{constructor(e){super(e),H(e=this,t),1&t.u&&e.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),y?a.push(this):K.jmp((()=>(e=>{if(0==(1&K.u)){const n=D(e),t=n.j,l=()=>{};if(1&n.u)(null==n?void 0:n.S)||(null==n?void 0:n.T)&&n.T.then((()=>{}));else{n.u|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){j(n,n.v=t);break}}t.C&&Object.entries(t.C).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),T(e,n,t)}l()}})(this)))}disconnectedCallback(){K.jmp((()=>(async()=>{if(0==(1&K.u)){const e=D(this);(null==e?void 0:e.S)||(null==e?void 0:e.T)&&e.T.then((()=>{}))}})()))}componentOnReady(){return D(this).T}};t.L=e[0],s.includes(l)||c.get(l)||(o.push(l),c.define(l,R(i,t,1)))}))})),o.length>0&&(p&&(f.textContent+=l),f.textContent+=o+"{visibility:hidden}.hydrated{visibility:inherit}",f.innerHTML.length)){f.setAttribute("data-styles","");const e=null!==(t=K.k)&&void 0!==t?t:i(J);null!=e&&f.setAttribute("nonce",e),r.insertBefore(f,u?u.nextSibling:r.firstChild)}y=!1,a.length?a.map((e=>e.connectedCallback())):K.jmp((()=>d=setTimeout(A,30)))},W=e=>K.k=e,q=new WeakMap,D=e=>q.get(e),F=(e,n)=>q.set(n.S=e,n),H=(e,n)=>{const t={u:0,$hostElement$:e,j:n,P:new Map};return t.T=new Promise((e=>t.O=e)),e["s-p"]=[],e["s-rc"]=[],q.set(e,t)},V=(e,n)=>n in e,_=(e,n)=>(0,console.error)(e,n),z=new Map,B=e=>{const n=e.h.replace(/-/g,"_"),t=e.L,l=z.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(z.set(t,e),e[n])),_)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},G=new Map,I="undefined"!=typeof window?window:{},J=I.document||{head:{}},K={u:0,N:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,n,t,l)=>e.addEventListener(n,t,l),rel:(e,n,t,l)=>e.removeEventListener(n,t,l),ce:(e,n)=>new CustomEvent(e,n)},Q=e=>Promise.resolve(e),X=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Y=[],Z=[],ee=(e,n)=>l=>{e.push(l),t||(t=!0,n&&4&K.u?le(te):K.raf(te))},ne=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){_(e)}e.length=0},te=()=>{ne(Y),ne(Z),(t=Y.length>0)&&K.raf(te)},le=e=>Q().then(e),oe=ee(Z,!0);export{U as b,c as h,Q as p,F as r,W as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,b as
|
|
1
|
+
import{p as t,b as e}from"./p-cc784e73.js";export{s as setNonce}from"./p-cc784e73.js";import{g as a}from"./p-e1255160.js";(()=>{const e=import.meta.url,a={};return""!==e&&(a.resourcesUrl=new URL(".",e).href),t(a)})().then((async t=>(await a(),e([["p-04a28c5f",[[0,"proto-faux-trigger",{emitter:[1],data:[1040]}],[1,"proto-daisy-db",{emitter:[1]}],[0,"proto-faux-keys",{data:[16]}],[0,"proto-faux-stamp",{data:[16]}],[0,"proto-faux-type",{emitter:[1],eventType:[1025,"event-type"]}]]]],t))));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proto-daisy-db",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.257",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"format": "prettier --write src"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@stencil/core": "4.12.
|
|
30
|
+
"@stencil/core": "4.12.5",
|
|
31
31
|
"mitt": "3.0.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"autoprefixer": "10.4.
|
|
34
|
+
"autoprefixer": "10.4.18",
|
|
35
35
|
"concurrently": "8.2.2",
|
|
36
|
-
"cspell": "8.
|
|
36
|
+
"cspell": "8.6.0",
|
|
37
37
|
"postcss": "8.4.35",
|
|
38
38
|
"prettier": "3.2.5",
|
|
39
39
|
"prettier-plugin-tailwindcss": "0.5.11",
|
|
40
|
-
"proto-tailwindcss-clrs": "0.0.
|
|
40
|
+
"proto-tailwindcss-clrs": "0.0.312",
|
|
41
41
|
"tailwindcss": "3.4.1"
|
|
42
42
|
},
|
|
43
43
|
"license": "MIT"
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
let e,n,t=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",o={},s=e=>"object"==(e=typeof e)||"function"===e;function i(e){var n,t,l;return null!==(l=null===(t=null===(n=e.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const c=(e,n,...t)=>{let l=null,o=null,i=!1,c=!1;const u=[],f=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!s(l))&&(l+=""),i&&c?u[u.length-1].t+=l:u.push(i?r(null,l):l),c=i)};if(f(t),n){n.key&&(o=n.key);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}const a=r(e,null);return a.l=n,u.length>0&&(a.o=u),a.i=o,a},r=(e,n)=>({u:0,p:e,t:n,$:null,o:null,l:null,i:null}),u={},f=new WeakMap,a=e=>"sc-"+e.h,d=(e,n,t,l,o,i)=>{if(t!==l){let c=H(e,n),r=n.toLowerCase();if("class"===n){const n=e.classList,o=p(t),s=p(l);n.remove(...o.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===n);else if(c||"o"!==n[0]||"n"!==n[1]){const r=s(l);if((c||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[n]=l;else{const o=null==l?"":l;"list"===n?c=!1:null!=t&&e[n]==o||(e[n]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(n)||e.removeAttribute(n):(!c||4&i||o)&&!r&&e.setAttribute(n,l=!0===l?"":l)}else if(n="-"===n[2]?n.slice(3):H(G,r)?r.slice(2):r[2]+n.slice(3),t||l){const o=n.endsWith($);n=n.replace(h,""),t&&J.rel(e,n,t,o),l&&J.ael(e,n,l,o)}}},y=/\s/,p=e=>e?e.split(y):[],$="Capture",h=RegExp($+"$"),v=(e,n,t,l)=>{const s=11===n.$.nodeType&&n.$.host?n.$.host:n.$,i=e&&e.l||o,c=n.l||o;for(l in i)l in c||d(s,l,i[l],void 0,t,n.u);for(l in c)d(s,l,i[l],c[l],t,n.u)},m=(t,l,o)=>{const s=l.o[o];let i,c,r=0;if(null!==s.t)i=s.$=I.createTextNode(s.t);else if(i=s.$=I.createElement(s.p),v(null,s,!1),null!=e&&i["s-si"]!==e&&i.classList.add(i["s-si"]=e),s.o)for(r=0;r<s.o.length;++r)c=m(t,s,r),c&&i.appendChild(c);return i["s-hn"]=n,i},b=(e,t,l,o,s,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=m(null,l,s),c&&(o[s].$=c,r.insertBefore(c,t)))},w=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.$;e&&e.remove()}}},S=(e,n,t=!1)=>e.p===n.p&&(!!t||e.i===n.i),g=(e,n,t=!1)=>{const l=n.$=e.$,o=e.o,s=n.o,i=n.t;null===i?(v(e,n,!1),null!==o&&null!==s?((e,n,t,l,o=!1)=>{let s,i,c=0,r=0,u=0,f=0,a=n.length-1,d=n[0],y=n[a],p=l.length-1,$=l[0],h=l[p];for(;c<=a&&r<=p;)if(null==d)d=n[++c];else if(null==y)y=n[--a];else if(null==$)$=l[++r];else if(null==h)h=l[--p];else if(S(d,$,o))g(d,$,o),d=n[++c],$=l[++r];else if(S(y,h,o))g(y,h,o),y=n[--a],h=l[--p];else if(S(d,h,o))g(d,h,o),e.insertBefore(d.$,y.$.nextSibling),d=n[++c],h=l[--p];else if(S(y,$,o))g(y,$,o),e.insertBefore(y.$,d.$),y=n[--a],$=l[++r];else{for(u=-1,f=c;f<=a;++f)if(n[f]&&null!==n[f].i&&n[f].i===$.i){u=f;break}u>=0?(i=n[u],i.p!==$.p?s=m(n&&n[r],t,u):(g(i,$,o),n[u]=void 0,s=i.$),$=l[++r]):(s=m(n&&n[r],t,r),$=l[++r]),s&&d.$.parentNode.insertBefore(s,d.$)}c>a?b(e,null==l[p+1]?null:l[p+1].$,t,l,r,p):r>p&&w(n,c,a)})(l,o,n,s,t):null!==s?(null!==e.t&&(l.textContent=""),b(l,null,n,s,0,s.length-1)):null!==o&&w(o,0,o.length-1)):e.t!==i&&(l.data=i)},j=(e,n)=>{n&&!e.v&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.v=n)))},k=(e,n)=>{if(e.u|=16,!(4&e.u))return j(e,e.m),le((()=>M(e,n)));e.u|=512},M=(e,n)=>{const t=e.S;return O(void 0,(()=>P(e,t,n)))},O=(e,n)=>C(e)?e.then(n):n(),C=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,P=async(e,n,t)=>{var o;const s=e.$hostElement$,c=s["s-rc"];t&&(e=>{const n=e.j,t=e.$hostElement$,o=n.u,s=((e,n)=>{var t;const o=a(n),s=B.get(o);if(e=11===e.nodeType?e:I,s)if("string"==typeof s){let c,r=f.get(e=e.head||e);if(r||f.set(e,r=new Set),!r.has(o)){{c=I.createElement("style"),c.innerHTML=s;const n=null!==(t=J.k)&&void 0!==t?t:i(I);null!=n&&c.setAttribute("nonce",n),e.insertBefore(c,e.querySelector("link"))}4&n.u&&(c.innerHTML+=l),r&&r.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return o})(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&o&&(t["s-sc"]=s,t.classList.add(s+"-h"))})(e);x(e,n,s,t),c&&(c.map((e=>e())),s["s-rc"]=void 0);{const n=null!==(o=s["s-p"])&&void 0!==o?o:[],t=()=>E(e);0===n.length?t():(Promise.all(n).then(t),e.u|=4,n.length=0)}},x=(t,l,o,s)=>{try{l=l.render(),t.u&=-17,t.u|=2,((t,l,o=!1)=>{const s=t.$hostElement$,i=t.M||r(null,null),f=(e=>e&&e.p===u)(l)?l:c(null,null,l);if(n=s.tagName,o&&f.l)for(const e of Object.keys(f.l))s.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(f.l[e]=s[e]);f.p=null,f.u|=4,t.M=f,f.$=i.$=s.shadowRoot||s,e=s["s-sc"],g(i,f,o)})(t,l,s)}catch(e){V(e,t.$hostElement$)}return null},E=e=>{const n=e.$hostElement$,t=e.S,l=e.m;64&e.u||(e.u|=64,N(n),L(t,"componentDidLoad"),e.O(n),l||A()),e.v&&(e.v(),e.v=void 0),512&e.u&&te((()=>k(e,!1))),e.u&=-517},A=()=>{N(I.documentElement),te((()=>(e=>{const n=J.ce("appload",{detail:{namespace:"proto-daisy-db"}});return e.dispatchEvent(n),n})(G)))},L=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){V(e)}},N=e=>e.classList.add("hydrated"),R=(e,n,t)=>{var l;const o=e.prototype;if(n.C){const i=Object.entries(n.C);if(i.map((([e,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(o,e,{get(){return((e,n)=>q(this).P.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=q(e),i=o.P.get(n),c=o.u,r=o.S;t=((e,n)=>null==e||s(e)?e:1&n?e+"":e)(t,l.C[n][0]),8&c&&void 0!==i||t===i||Number.isNaN(i)&&Number.isNaN(t)||(o.P.set(n,t),r&&2==(18&c)&&k(o,!1))})(this,e,t,n)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,l,s){J.jmp((()=>{var i;const c=t.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const t=q(this),o=null==t?void 0:t.u;if(o&&!(8&o)&&128&o&&s!==l){const o=t.S,c=null===(i=n.A)||void 0===i?void 0:i[e];null==c||c.forEach((n=>{null!=o[n]&&o[n].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=n.A)&&void 0!==l?l:{}),...i.filter((([e,n])=>15&n[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))]))}}return e},T=(e,n={})=>{var t;const o=[],s=n.exclude||[],c=G.customElements,r=I.head,u=r.querySelector("meta[charset]"),f=I.createElement("style"),d=[];let y,p=!0;Object.assign(J,n),J.L=new URL(n.resourcesUrl||"./",I.baseURI).href;let $=!1;if(e.map((e=>{e[1].map((n=>{const t={u:n[0],h:n[1],C:n[2],N:n[3]};4&t.u&&($=!0),t.C=n[2];const l=t.h,i=class extends HTMLElement{constructor(e){super(e),F(e=this,t),1&t.u&&e.attachShadow({mode:"open"})}connectedCallback(){y&&(clearTimeout(y),y=null),p?d.push(this):J.jmp((()=>(e=>{if(0==(1&J.u)){const n=q(e),t=n.j,l=()=>{};if(1&n.u)(null==n?void 0:n.S)||(null==n?void 0:n.R)&&n.R.then((()=>{}));else{n.u|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){j(n,n.m=t);break}}t.C&&Object.entries(t.C).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),(async(e,n,t)=>{let l;if(0==(32&n.u)){n.u|=32;{if(l=z(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(R(l,t,2),l.isProxied=!0);const e=()=>{};n.u|=8;try{new l(n)}catch(e){V(e)}n.u&=-9,e()}if(l.style){let e=l.style;const n=a(t);if(!B.has(n)){const l=()=>{};((e,n,t)=>{let l=B.get(e);Q&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,B.set(e,l)})(n,e,!!(1&t.u)),l()}}}const o=n.m,s=()=>k(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,n,t)}l()}})(this)))}disconnectedCallback(){J.jmp((()=>(async()=>{if(0==(1&J.u)){const e=q(this);(null==e?void 0:e.S)||(null==e?void 0:e.R)&&e.R.then((()=>{}))}})()))}componentOnReady(){return q(this).R}};t.T=e[0],s.includes(l)||c.get(l)||(o.push(l),c.define(l,R(i,t,1)))}))})),o.length>0&&($&&(f.textContent+=l),f.textContent+=o+"{visibility:hidden}.hydrated{visibility:inherit}",f.innerHTML.length)){f.setAttribute("data-styles","");const e=null!==(t=J.k)&&void 0!==t?t:i(I);null!=e&&f.setAttribute("nonce",e),r.insertBefore(f,u?u.nextSibling:r.firstChild)}p=!1,d.length?d.map((e=>e.connectedCallback())):J.jmp((()=>y=setTimeout(A,30)))},U=e=>J.k=e,W=new WeakMap,q=e=>W.get(e),D=(e,n)=>W.set(n.S=e,n),F=(e,n)=>{const t={u:0,$hostElement$:e,j:n,P:new Map};return t.R=new Promise((e=>t.O=e)),e["s-p"]=[],e["s-rc"]=[],W.set(e,t)},H=(e,n)=>n in e,V=(e,n)=>(0,console.error)(e,n),_=new Map,z=e=>{const n=e.h.replace(/-/g,"_"),t=e.T,l=_.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(_.set(t,e),e[n])),V)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},B=new Map,G="undefined"!=typeof window?window:{},I=G.document||{head:{}},J={u:0,L:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,n,t,l)=>e.addEventListener(n,t,l),rel:(e,n,t,l)=>e.removeEventListener(n,t,l),ce:(e,n)=>new CustomEvent(e,n)},K=e=>Promise.resolve(e),Q=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),X=[],Y=[],Z=(e,n)=>l=>{e.push(l),t||(t=!0,n&&4&J.u?te(ne):J.raf(ne))},ee=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){V(e)}e.length=0},ne=()=>{ee(X),ee(Y),(t=X.length>0)&&J.raf(ne)},te=e=>K().then(e),le=Z(Y,!0);export{T as b,c as h,K as p,D as r,U as s}
|