chore: format

This commit is contained in:
2025-10-10 16:43:21 +02:00
parent f0aabd63b6
commit 75c29e0ba4
551 changed files with 433948 additions and 94145 deletions

View File

@@ -1,26 +1,31 @@
import { fromEvent } from 'rxjs';
import { webComponentsReady, stylesheetReady } from './common.js';
import { fromEvent } from "rxjs";
import { webComponentsReady, stylesheetReady } from "./common.js";
(async () => {
await Promise.all([
...('customElements' in window
? []
: [
import(/* webpackChunkName: "webcomponents" */ './polyfills/webcomponents.js').then(() =>
import(/* webpackChunkName: "shadydom" */ './polyfills/shadydom.js'),
),
]),
]);
await Promise.all([
...("customElements" in window
? []
: [
import(
/* webpackChunkName: "webcomponents" */ "./polyfills/webcomponents.js"
).then(
() =>
import(
/* webpackChunkName: "shadydom" */ "./polyfills/shadydom.js"
),
),
]),
]);
await webComponentsReady;
await stylesheetReady;
await webComponentsReady;
await stylesheetReady;
await import(/* webpackMode: "eager" */ 'fslightbox');
await import(/* webpackMode: "eager" */ "fslightbox");
const pushStateEl = document.querySelector('hy-push-state');
const after$ = fromEvent(pushStateEl, 'hy-push-state-after');
const pushStateEl = document.querySelector("hy-push-state");
const after$ = fromEvent(pushStateEl, "hy-push-state-after");
after$.subscribe(() => {
refreshFsLightbox();
});
after$.subscribe(() => {
refreshFsLightbox();
});
})();