@vanelsas/baredom 4.12.0 → 4.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +11 -5
- package/dist/baremirror-alpha.js +41 -40
- package/dist/base.js +532 -537
- package/dist/integrity.json +112 -112
- package/dist/x-alert.js +17 -17
- package/dist/x-avatar-group.js +10 -10
- package/dist/x-avatar.js +11 -11
- package/dist/x-badge.js +9 -9
- package/dist/x-bento-grid.js +6 -6
- package/dist/x-bento-item.js +4 -4
- package/dist/x-breadcrumbs.js +17 -17
- package/dist/x-button.js +1 -1
- package/dist/x-calendar.js +40 -40
- package/dist/x-cancel-dialogue.js +16 -16
- package/dist/x-card.js +7 -7
- package/dist/x-carousel.js +33 -33
- package/dist/x-chart.js +47 -47
- package/dist/x-checkbox.js +1 -1
- package/dist/x-chip.js +1 -1
- package/dist/x-code.js +28 -28
- package/dist/x-collapse.js +11 -11
- package/dist/x-color-picker.js +43 -43
- package/dist/x-combobox.js +34 -34
- package/dist/x-command-palette.js +30 -30
- package/dist/x-confetti.js +22 -22
- package/dist/x-container.js +6 -6
- package/dist/x-context-menu.js +19 -19
- package/dist/x-copy.js +1 -1
- package/dist/x-currency-field.js +22 -22
- package/dist/x-date-picker.js +43 -43
- package/dist/x-divider.js +7 -7
- package/dist/x-drag-panel.js +31 -31
- package/dist/x-drawer.js +12 -12
- package/dist/x-drop-zone.js +11 -11
- package/dist/x-dropdown.js +12 -12
- package/dist/x-fieldset.js +5 -5
- package/dist/x-file-download.js +13 -13
- package/dist/x-file-upload.js +23 -23
- package/dist/x-floating-panel.js +21 -21
- package/dist/x-form-field.js +16 -16
- package/dist/x-form.js +9 -9
- package/dist/x-gaussian-blur.js +13 -13
- package/dist/x-grid.js +8 -8
- package/dist/x-i18n-provider.js +7 -7
- package/dist/x-i18n.js +4 -4
- package/dist/x-icon.js +7 -7
- package/dist/x-image.js +18 -18
- package/dist/x-kbd.js +13 -13
- package/dist/x-kinetic-canvas.js +24 -24
- package/dist/x-kinetic-font.js +26 -26
- package/dist/x-kinetic-typography.js +34 -34
- package/dist/x-liquid-dock.js +29 -29
- package/dist/x-liquid-fill.js +30 -30
- package/dist/x-liquid-glass.js +27 -27
- package/dist/x-menu-item.js +9 -9
- package/dist/x-menu.js +10 -10
- package/dist/x-metaball-cursor.js +25 -25
- package/dist/x-modal.js +13 -13
- package/dist/x-morph-stack.js +37 -37
- package/dist/x-multi-combobox.js +43 -43
- package/dist/x-navbar.js +14 -14
- package/dist/x-neural-glow.js +23 -23
- package/dist/x-notification-center.js +9 -9
- package/dist/x-organic-divider.js +15 -15
- package/dist/x-organic-progress.js +29 -29
- package/dist/x-organic-shape.js +12 -12
- package/dist/x-otp-input.js +21 -21
- package/dist/x-pagination.js +18 -18
- package/dist/x-particle-button.js +45 -45
- package/dist/x-popover.js +26 -26
- package/dist/x-progress-circle.js +6 -6
- package/dist/x-progress.js +7 -7
- package/dist/x-proximity-list.js +20 -20
- package/dist/x-radio.js +13 -13
- package/dist/x-range-slider.js +29 -29
- package/dist/x-rating.js +23 -23
- package/dist/x-ripple-effect.js +8 -8
- package/dist/x-scroll-parallax.js +17 -17
- package/dist/x-scroll-stack.js +17 -17
- package/dist/x-scroll-story.js +32 -32
- package/dist/x-scroll-timeline.js +49 -49
- package/dist/x-scroll.js +34 -34
- package/dist/x-search-field.js +1 -1
- package/dist/x-select.js +1 -1
- package/dist/x-sidebar.js +16 -16
- package/dist/x-skeleton-group.js +14 -14
- package/dist/x-skeleton.js +1 -1
- package/dist/x-slider.js +17 -17
- package/dist/x-soft-body.js +16 -16
- package/dist/x-spacer.js +3 -3
- package/dist/x-spinner.js +4 -4
- package/dist/x-splash.js +13 -13
- package/dist/x-split-pane.js +14 -14
- package/dist/x-spotlight-card.js +12 -12
- package/dist/x-stat.js +9 -9
- package/dist/x-stepper.js +14 -14
- package/dist/x-switch.js +12 -12
- package/dist/x-tab.js +7 -7
- package/dist/x-table-cell.js +19 -19
- package/dist/x-table-row.js +8 -8
- package/dist/x-table.js +20 -20
- package/dist/x-tabs.js +12 -12
- package/dist/x-text-area.js +19 -19
- package/dist/x-theme.js +26 -26
- package/dist/x-timeline-item.js +20 -20
- package/dist/x-timeline.js +9 -9
- package/dist/x-toast.js +21 -21
- package/dist/x-toaster.js +6 -6
- package/dist/x-tooltip.js +14 -14
- package/dist/x-trace-history.js +116 -115
- package/dist/x-typography.js +6 -6
- package/dist/x-welcome-tour.js +63 -63
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to BareDOM will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [4.13.0] - 2026-10-22
|
|
6
|
+
|
|
7
|
+
BareDOM 4.13 is the public alpha of BareMirror. BareMirror gets a README and a first look in
|
|
8
|
+
JavaScript and in ClojureScript, and its small updates cost less. The adapters are not released
|
|
9
|
+
with it.
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **A README for BareMirror.** `baremirror/README.md` says what BareMirror is, how to install it
|
|
14
|
+
and what alpha means. The README of BareDOM links to it.
|
|
15
|
+
- **A first look at BareMirror.** A list of tasks in plain HTML, in JavaScript in
|
|
16
|
+
`bare-html/first-look.html` and in ClojureScript in `bare-html/first-look-cljs.html`. CI
|
|
17
|
+
renders both, and the demo site publishes them.
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- **The guide to BareMirror uses the names of JavaScript.** `docs/baremirror.md` says
|
|
22
|
+
`writeItem`, `writeParts` and `nodeMaker` in the text that both languages share. The
|
|
23
|
+
ClojureScript names are in its ClojureScript section and in the table of functions.
|
|
24
|
+
- **Small updates in BareMirror are cheaper.** The `nodes` of a reading from `readPlaces` are
|
|
25
|
+
made when they are first read, so a render that plans and performs never makes them.
|
|
26
|
+
`writeItem` compares the item before it checks the split template, so an item it has written
|
|
27
|
+
already costs less than half what it did.
|
|
28
|
+
|
|
5
29
|
## [4.12.0] - 2026-10-21
|
|
6
30
|
|
|
7
31
|
BareDOM 4.12 can be imported on a server, so a page that uses its components renders with a
|
package/README.md
CHANGED
|
@@ -16,10 +16,16 @@
|
|
|
16
16
|
[](https://www.typescriptlang.org/)
|
|
17
17
|
[](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements)
|
|
18
18
|
|
|
19
|
+
Use BareDOM and BareMirror from JavaScript, TypeScript or ClojureScript. They ship as plain ES
|
|
20
|
+
modules with type declarations, so JavaScript never needs ClojureScript. In ClojureScript you
|
|
21
|
+
require their namespaces directly.
|
|
22
|
+
|
|
19
23
|
---
|
|
20
24
|
|
|
21
25
|
**Part of a set.** [BareDOM](https://github.com/avanelsas/baredom) is a comprehensive web component
|
|
22
|
-
library. [
|
|
26
|
+
library. [BareMirror](https://github.com/avanelsas/baredom/blob/main/baremirror/README.md) ships
|
|
27
|
+
inside it as an alpha, and brings a page to the state your application holds in the browser.
|
|
28
|
+
[BareBuild](https://github.com/avanelsas/barebuild) is a small runtime that drives web
|
|
23
29
|
components from server state alone. [BareReplay](https://github.com/avanelsas/barereplay) is a
|
|
24
30
|
powerful time-travel replay debugger for BareBuild-based apps.
|
|
25
31
|
[BareProbe](https://github.com/avanelsas/bareprobe) reads the same log from a REPL.
|
|
@@ -38,8 +44,6 @@ DOM = f(attributes, properties)
|
|
|
38
44
|
|
|
39
45
|
Components are **stateless**. Every visual state is derived directly from attributes and properties at render time. There are no hidden reactive systems, no internal signals, no component lifecycles to manage. Set an attribute, the DOM updates. Remove it, the DOM updates back.
|
|
40
46
|
|
|
41
|
-
BareDOM is authored in ClojureScript and compiled to optimised, minified ES modules using Google Closure's advanced compilation pass.
|
|
42
|
-
|
|
43
47
|
BareDOM has been created using Claude Code. The CLAUDE.md file is added to the repository for your convenience.
|
|
44
48
|
|
|
45
49
|
All components can be explored in the [live demo](https://avanelsas.github.io/baredom/).
|
|
@@ -156,7 +160,7 @@ Register your own preset, override individual tokens via CSS, or nest themes for
|
|
|
156
160
|
|
|
157
161
|
## BareMirror (alpha)
|
|
158
162
|
|
|
159
|
-
A small set of functions for an application on top of the components: they place keyed nodes, write values into the parts of a template and turn events into messages, with no comparing of old and new in your code. It ships inside this package as an alpha, for JavaScript and ClojureScript.
|
|
163
|
+
A small set of functions for an application on top of the components: they place keyed nodes, write values into the parts of a template and turn events into messages, with no comparing of old and new in your code. It ships inside this package as an alpha, for JavaScript and ClojureScript. Start with the [BareMirror README](https://github.com/avanelsas/baredom/blob/main/baremirror/README.md), and see [`docs/baremirror.md`](./docs/baremirror.md) for the guide. The [demo](https://avanelsas.github.io/baredom/bare-html/mirror.html) renders one task list three ways, side by side.
|
|
160
164
|
|
|
161
165
|
---
|
|
162
166
|
|
|
@@ -177,7 +181,9 @@ Try the [live editor](https://avanelsas.github.io/bareforge/) or see the [reposi
|
|
|
177
181
|
|
|
178
182
|
## Bundle Size
|
|
179
183
|
|
|
180
|
-
BareDOM
|
|
184
|
+
BareDOM is written in ClojureScript and compiled to ES modules with the advanced compilation of
|
|
185
|
+
Google Closure. The runtime in `base.js` is the core library of ClojureScript. Sizes below are
|
|
186
|
+
gzipped:
|
|
181
187
|
|
|
182
188
|
| Module | Gzipped |
|
|
183
189
|
|--------|---------|
|
package/dist/baremirror-alpha.js
CHANGED
|
@@ -1,42 +1,43 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var
|
|
2
|
+
var TDa=function(a,b){return new $APP.Gd(null,function(){a:{var c=a;for(var d=b;;){d=$APP.q(d);var e;if(e=d)e=$APP.t(d),e=c.i?c.i(e):c.call(null,e);if($APP.m(e))d=$APP.ac(d);else{c=d;break a}}c=void 0}return c},null)},VDa=function(a){var b=UDa;return function e(d){return new $APP.Gd(null,function(){return $APP.Ed(d,$APP.m($APP.Vc.i?$APP.Vc.i(d):$APP.Vc.call(null,d))?$APP.Je(e,$APP.zc([b.i?b.i(d):b.call(null,d)])):null)},null)}(a)},WDa=function(){return function(a){var b=$APP.se($APP.Tg);return function(){function c(g,
|
|
3
3
|
k){if($APP.ad($APP.$a(b),k))return g;b.Gb(null,$APP.Bd.j(b.Ma(null),k));return a.j?a.j(g,k):a.call(null,g,k)}function d(g){return a.i?a.i(g):a.call(null,g)}function e(){return a.D?a.D():a.call(null)}var f=null;f=function(g,k){switch(arguments.length){case 0:return e.call(this);case 1:return d.call(this,g);case 2:return c.call(this,g,k)}throw Error("Invalid arity: "+arguments.length);};f.D=e;f.i=d;f.j=c;return f}()}},j$=function(a){var b=$APP.q(a);a=$APP.t(b);b=$APP.u(b);return $APP.Tc($APP.t(b))?
|
|
4
|
-
new $APP.H(null,3,5,$APP.I,[a,$APP.t(b),$APP.u(b)],null):new $APP.H(null,3,5,$APP.I,[a,null,$APP.q(b)],null)},k$=function(a,b){return $APP.me(function(c){var d=$APP.B(c,0,null);c=$APP.B(c,1,null);return $APP.A.j(b,$APP
|
|
5
|
-
a=$APP.B(b,1,null);b=$APP.B(b,2,null);return $APP.p($APP.me($APP.
|
|
6
|
-
c=$APP.C(d,$APP.
|
|
7
|
-
0,null),c=$APP.B(c,1,null),new $APP.H(null,2,5,$APP.I,[$APP.Bd.j(d,a),c],null)):new $APP.H(null,2,5,$APP.I,[$APP.Bd.j(d,c),b],null)},m$=function(a,b,c){var d=j$(c);c=$APP.B(d,0,null);var e=$APP.B(d,1,null),f=$APP.B(d,2,null),g=$APP.
|
|
8
|
-
new $APP.J(null,1,[$APP.
|
|
9
|
-
d,$APP.
|
|
10
|
-
b=$APP.C(k,$APP.
|
|
11
|
-
$APP.
|
|
12
|
-
b)),$APP.
|
|
13
|
-
a))&&(p$(d)||$APP.ad($APP.
|
|
14
|
-
b);return $APP.
|
|
15
|
-
function(
|
|
16
|
-
|
|
17
|
-
a));return null},
|
|
18
|
-
c.data)&&(c.data=b);return null},
|
|
19
|
-
"http://www.w3.org/2000/svg"}f=b;f=f!=null?a.createElementNS(f,e):a.createElement(e);q$(f,$APP.
|
|
20
|
-
null)return a;b=$APP.B(c,0,null);c=$APP.B(c,1,null);return $APP.vb(a,b,c)},v$=function(a,b){for(b=b.firstElementChild;;)if(b!=null){var c=a;a=b;$APP.m(a.hasAttribute("data-x-key"))?a=c:(c=
|
|
21
|
-
Object.keys(b).length&&$APP.le($APP.
|
|
22
|
-
a.i(c):a.call(null,c);$APP.ad(b,$APP.
|
|
23
|
-
f=b.shadowRoot;$APP.m(f)?d=f:(f=document.createElement("style"),f.textContent=""+$APP.N.i(d),d=b.attachShadow({mode:"open"}),d.append(f,s$(document,null,t$(e))));d=w$(d.lastElementChild);b=$APP.
|
|
24
|
-
function(){return b.i?b.i(this):b.call(null,this)};return c},
|
|
25
|
-
|
|
26
|
-
$APP.
|
|
27
|
-
e,c)?b.preventDefault():null);return b},
|
|
28
|
-
$APP.B(b,2,null);return a.removeEventListener(c,d,b)},
|
|
29
|
-
2,5,$APP.I,[$APP.
|
|
30
|
-
a)),$APP.m(d)?$APP.ac(b):b)},D$=function(a,b,c){return Object.defineProperty(a,b,{value:c})},
|
|
31
|
-
Object.getPrototypeOf(a)){if(c=b!=null&&Object.prototype===Object.getPrototypeOf(b)){c=Object.keys(a);var d=c.length===Object.keys(b).length;if(d)a:{for(d=0;;){var e=d===c.length;if(e){a=e;break a}e=a;var f=b,g=c[d],k=Object.prototype.hasOwnProperty.call(f,g);e=$APP.m(k)?Object.is(e[g],f[g]):k;if($APP.m(e))d+=1;else{a=e;break a}}a=void 0}else a=d;return a}return c}return c}
|
|
32
|
-
1,[F$,b],null));}
|
|
33
|
-
function(a){return new $APP.J(null,3,[$APP.
|
|
34
|
-
"in":c,before:b}},gFa=function(a){var b=$APP.G(a);a=$APP.C(b,z$);var c=$APP.C(b,$APP.
|
|
35
|
-
this.K=65536},kFa=function(a){return function(b){b=$APP.
|
|
36
|
-
|
|
37
|
-
export const
|
|
38
|
-
export const
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
41
|
-
export const
|
|
42
|
-
|
|
4
|
+
new $APP.H(null,3,5,$APP.I,[a,$APP.t(b),$APP.u(b)],null):new $APP.H(null,3,5,$APP.I,[a,null,$APP.q(b)],null)},k$=function(a,b){return $APP.me(function(c){var d=$APP.B(c,0,null);c=$APP.B(c,1,null);return $APP.A.j(b,$APP.$g(d))?c:null},a)},l$=function(a){return a instanceof $APP.E||$APP.Ic(a)},XDa=function(a){return typeof a==="string"||typeof a==="number"||a===!0||a===!1||a==null},YDa=function(a){return $APP.Vc(a)||typeof a==="string"||typeof a==="number"},ZDa=function(a){var b=j$(a);$APP.B(b,0,null);
|
|
5
|
+
a=$APP.B(b,1,null);b=$APP.B(b,2,null);return $APP.p($APP.me($APP.pe($APP.ad,a),new $APP.H(null,2,5,$APP.I,[$APP.tr,$APP.fq],null)))&&$APP.le(XDa,$APP.Ig(a))&&$APP.le(YDa,b)},$Da=function(a){var b=$APP.G(a),c=$APP.C(b,$APP.Ir);a=$APP.C(b,$APP.dn);b=$APP.C(b,$APP.fq);a=(c=$APP.q(c))?c:$APP.m(a)?a:$APP.q(b);return $APP.D(a)},aEa=function(a,b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);return new $APP.H(null,2,5,$APP.I,[new $APP.H(null,2,5,$APP.I,[c,a],null),b],null)},bEa=function(a,b,c){var d=$APP.G(c);
|
|
6
|
+
c=$APP.C(d,$APP.tr);var e=$APP.G(d),f=$APP.C(e,$APP.Ir),g=$APP.C(e,$APP.dn);d=$APP.C(e,$APP.fq);$Da(e)?(e=new $APP.J(null,1,[$APP.hk,b],null),f=$APP.q(f)?$APP.Lg.l(e,$APP.Ss,f):e,g=$APP.m(g)?$APP.Lg.l(f,$APP.dn,g):f,d=$APP.q(d)?$APP.Lg.l(g,$APP.fq,d):g):d=null;a=$APP.di.P(a,$APP.Cs,$APP.Kf,$APP.Ge.i($APP.pe(aEa,b)),c);return $APP.m(d)?$APP.di.J(a,$APP.Rs,$APP.Bd,d):a},cEa=function(a,b,c){var d=$APP.B(b,0,null);b=$APP.B(b,1,null);return $APP.Vc(c)?(c=m$.l?m$.l(a,b,c):m$.call(null,a,b,c),a=$APP.B(c,
|
|
7
|
+
0,null),c=$APP.B(c,1,null),new $APP.H(null,2,5,$APP.I,[$APP.Bd.j(d,a),c],null)):new $APP.H(null,2,5,$APP.I,[$APP.Bd.j(d,c),b],null)},m$=function(a,b,c){var d=j$(c);c=$APP.B(d,0,null);var e=$APP.B(d,1,null),f=$APP.B(d,2,null),g=$APP.vk.o(e,$APP.tr,$APP.zc([$APP.fq]));if($APP.p($APP.me(l$,f)))d=null;else{if($APP.u(f))throw $APP.Oh("A text hole must be the only child of its element.",new $APP.J(null,1,[$APP.Zt,c],null));d=$APP.t(f)}var k=$APP.tr.i(e);e=$APP.fq.i(e);if(!$APP.le(l$,$APP.Ig(e)))throw $APP.Oh("A value in :props is a hole.",
|
|
8
|
+
new $APP.J(null,1,[$APP.Zt,c],null));var n=$APP.Kf.l($APP.ge,$APP.Me($APP.ck.j(l$,$APP.gf)),g);g=$APP.Kf.l($APP.ge,$APP.Ke($APP.ck.j(l$,$APP.gf)),g);if($APP.m(k$(g,"xmlns")))throw $APP.Oh("xmlns is a fixed value, never a hole.",new $APP.J(null,1,[$APP.Zt,c],null));if($APP.m(d))f=null;else if(!$APP.le(YDa,f))throw $APP.Oh("A child of a template is a template, text, a number or one hole.",new $APP.J(null,1,[$APP.Zt,c],null));d=new $APP.J(null,7,[$APP.Zt,c,$APP.tr,k,$APP.fq,e,$APP.qq,n,$APP.Ir,g,$APP.dn,
|
|
9
|
+
d,$APP.Fu,f],null);b=$APP.G(b);c=$APP.C(b,$APP.pv);d=$APP.G(d);k=$APP.C(d,$APP.qq);k=k$(k,"data-x-part");f=$APP.G(d);g=$APP.C(f,$APP.tr);$APP.D($APP.q(g)||$Da(f))?$APP.m(k)?d=new $APP.H(null,2,5,$APP.I,[d,bEa(b,k,d)],null):(c=""+$APP.N.i(a)+"."+$APP.N.i(c),d=new $APP.H(null,2,5,$APP.I,[$APP.fp(d,new $APP.H(null,2,5,$APP.I,[$APP.qq,$APP.zh.i("data-x-part")],null),c),bEa($APP.di.l(b,$APP.pv,$APP.hc),c,d)],null)):d=new $APP.H(null,2,5,$APP.I,[d,b],null);b=$APP.B(d,0,null);k=$APP.G(b);c=$APP.C(k,$APP.Zt);
|
|
10
|
+
b=$APP.C(k,$APP.qq);k=$APP.C(k,$APP.Fu);d=$APP.B(d,1,null);d=$APP.wa($APP.pe(cEa,a),new $APP.H(null,2,5,$APP.I,[$APP.Oe,d],null),k);a=$APP.B(d,0,null);d=$APP.B(d,1,null);k=$APP.I;f=$APP.Kf.j;c=new $APP.H(null,1,5,$APP.I,[c],null);b=$APP.q(b)?$APP.Bd.j(c,b):c;return new $APP.H(null,2,5,k,[f.call($APP.Kf,b,a),d],null)},dEa=function(a,b){b=m$($APP.$g(a),new $APP.J(null,3,[$APP.pv,0,$APP.Rs,$APP.Oe,$APP.Cs,$APP.ge],null),b);a=$APP.B(b,0,null);b=$APP.B(b,1,null);return new $APP.J(null,3,[$APP.qq,a,$APP.Rs,
|
|
11
|
+
$APP.Rs.i(b),$APP.Cs,$APP.Cs.i(b)],null)},n$=function(a,b){return b.i?b.i(a):b.call(null,a)},eEa=function(a,b){var c=$APP.G(b);b=$APP.C(c,$APP.hk);var d=$APP.C(c,$APP.Ss),e=$APP.C(c,$APP.dn),f=$APP.C(c,$APP.fq);c=$APP.I;d=$APP.m(d)?$APP.Lg.l($APP.ge,$APP.Ss,$APP.Ph(d,$APP.pe(n$,a))):$APP.ge;e=$APP.m(e)?$APP.Lg.l(d,$APP.dn,n$(a,e)):d;a=$APP.m(f)?$APP.Lg.l(e,$APP.fq,$APP.Ph(f,$APP.pe(n$,a))):e;return new $APP.H(null,2,5,c,[b,a],null)},o$=function(a,b){return $APP.Kf.l($APP.ge,$APP.Ge.i($APP.pe(eEa,
|
|
12
|
+
b)),$APP.Rs.i(a))},UDa=function(a){return $APP.Le($APP.Vc,$APP.uc(j$(a),2))},fEa=function(a){var b=j$(a);a=$APP.B(b,0,null);b=$APP.B(b,1,null);b=k$(b,"data-x-part");return b==null?null:new $APP.H(null,2,5,$APP.I,[b,$APP.Th($APP.$g(a))],null)},gEa=function(a){return $APP.Kf.l($APP.ge,$APP.ve(fEa),VDa(a))},p$=function(a){return(typeof a==="string"||a instanceof $APP.E)&&$APP.A.j("any",$APP.$g(a))},hEa=function(a,b,c){var d=$APP.G(c);c=$APP.C(d,$APP.mw);d=$APP.C(d,$APP.Hv);return(p$(c)||$APP.A.j($APP.$g(c),
|
|
13
|
+
a))&&(p$(d)||$APP.ad($APP.Kf.l($APP.Tg,$APP.Ge.i($APP.$g),d),b))},iEa=function(a){a=$APP.G(a);a=$APP.C(a,$APP.mw);return p$(a)?1:0},jEa=function(a,b,c,d){var e=$APP.B(d,0,null);d=$APP.B(d,1,null);d=$APP.t($APP.hd(iEa,$APP.Le($APP.qe(hEa,b,c),d)));return d==null?null:new $APP.J(null,5,[$APP.hk,a,$APP.Zt,b,$APP.ada,c,$APP.fda,e,$APP.mw,$APP.$g($APP.mw.i(d))],null)},kEa=function(a){return $APP.fd($APP.Ge.j($APP.ck.j($APP.Th,$APP.$g),$APP.Gg(a)))},lEa=function(a,b){var c=gEa($APP.qq.i(a)),d=$APP.hd($APP.ff,
|
|
14
|
+
b);return $APP.Kf.j($APP.Oe,function(){return function g(f){return new $APP.Gd(null,function(){for(var k=f;;){var n=$APP.q(k);if(n){var r=n,v=$APP.t(r),w=$APP.G(v),y=$APP.C(w,$APP.hk),z=$APP.C(w,$APP.Ss);if(n=$APP.q(function(F,M,P,T,S,da,oa,la,qa){return function rb(Va){return new $APP.Gd(null,function(Hb,Xb,jc,Rc,Pg,oi,pi,qi,td){return function(){for(var Qg=Va;;){var hf=$APP.q(Qg);if(hf){var Rg=hf,mj=$APP.t(Rg);if(hf=$APP.q(function(Pk,ks,Lf,om,pm,Qk,qm,Rk,nj,oj,pj,Po,qj){return function Sk(sh){return new $APP.Gd(null,
|
|
15
|
+
function(ls,rm,Tk,sj,Qo,Ro,tj,kg,Ae,ms,Uk,Be){return function(){for(var Mf=sh;;)if(Mf=$APP.q(Mf)){if($APP.Wc(Mf)){var uj=$APP.zb(Mf),So=$APP.x(uj),Nf=$APP.Jd(So);a:{for(var Vk=0;;)if(Vk<So){var th=$APP.Ec(uj,Vk);th=jEa(kg,Be.i?Be.i(kg):Be.call(null,kg),Tk,th);$APP.m(th)&&Nf.add(th);Vk+=1}else{uj=!0;break a}uj=void 0}return uj?$APP.Md(Nf.ea(),Sk($APP.Ab(Mf))):$APP.Md(Nf.ea(),null)}Nf=$APP.t(Mf);Nf=jEa(kg,Be.i?Be.i(kg):Be.call(null,kg),Tk,Nf);if($APP.m(Nf))return $APP.Ed(Nf,Sk($APP.ac(Mf)));Mf=$APP.ac(Mf)}else return null}}(Pk,
|
|
16
|
+
ks,Lf,om,pm,Qk,qm,Rk,nj,oj,pj,Po,qj),null)}}(Qg,Hb,mj,Rg,hf,Xb,jc,Rc,Pg,oi,pi,qi,td)(td)))return $APP.Ie.j(hf,rb($APP.ac(Qg)));Qg=$APP.ac(Qg)}else return null}}}(F,M,P,T,S,da,oa,la,qa),null)}}(k,v,w,y,z,r,n,c,d)(kEa(z))))return $APP.Ie.j(n,g($APP.ac(k)));k=$APP.ac(k)}else return null}},null)}($APP.Rs.i(a))}())},mEa=function(a){var b=a.getAttribute("data-x-key");return b==null?null:new $APP.H(null,2,5,$APP.I,[b,a],null)},q$=function(a,b){var c=a[nEa];c==null?b.i?b.i(a):b.call(null,a):c.call(a,$APP.pe(b,
|
|
17
|
+
a));return null},oEa=function(a){return a===!0?"":a===!1||a==null?null:a instanceof $APP.E?$APP.$g(a):""+$APP.N.i(a)},pEa=function(a,b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);c=$APP.$g(c);b=oEa(b);return $APP.K.j(b,a.getAttribute(c))?b!=null?a.setAttribute(c,b):a.removeAttribute(c):null},r$=function(a,b){return $APP.Ih($APP.pe(pEa,b),a)},qEa=function(a,b){b=""+$APP.N.i(b);var c=a.firstChild;c=c==null?null:$APP.A.j(Node.TEXT_NODE,c.nodeType)&&c.nextSibling==null?c:null;c==null?a.textContent=b:$APP.K.j(b,
|
|
18
|
+
c.data)&&(c.data=b);return null},rEa=function(a,b,c,d){return c.append($APP.Vc(d)?s$.l?s$.l(a,b,d):s$.call(null,a,b,d):""+$APP.N.i(d))},t$=function(a){var b=$APP.t($APP.Ne(ZDa,VDa(a)));if(b==null)return a;throw $APP.Oh("A node is made from a fixed template. split takes holes and :on out of one.",new $APP.J(null,1,[$APP.Zt,$APP.t(b)],null));},s$=function(a,b,c){var d=j$(c),e=$APP.B(d,0,null);c=$APP.B(d,1,null);d=$APP.B(d,2,null);e=$APP.$g(e);var f=k$(c,"xmlns");if($APP.m(f))b=f;else switch(e){case "svg":b=
|
|
19
|
+
"http://www.w3.org/2000/svg"}f=b;f=f!=null?a.createElementNS(f,e):a.createElement(e);q$(f,$APP.pe(r$,c));a:switch(e){case "foreignObject":c=null;break a;default:c=b}$APP.Ih($APP.re(rEa,a,c,f),d);return f},sEa=function(a){var b=t$(a);return $APP.pe(u$,new $APP.Gh(function(){return s$(document.createElement("template").content.ownerDocument,null,b)}))},tEa=function(a){var b=a.getAttribute("data-x-part");return b==null?null:new $APP.H(null,2,5,$APP.I,[b,a],null)},uEa=function(a,b){var c=tEa(b);if(c==
|
|
20
|
+
null)return a;b=$APP.B(c,0,null);c=$APP.B(c,1,null);return $APP.vb(a,b,c)},v$=function(a,b){for(b=b.firstElementChild;;)if(b!=null){var c=a;a=b;$APP.m(a.hasAttribute("data-x-key"))?a=c:(c=uEa(c,a),a=v$.j?v$.j(c,a):v$.call(null,c,a));b=b.nextElementSibling}else return a},w$=function(a){return $APP.Qd(v$(uEa($APP.sb($APP.ge),a),a))},vEa=function(a,b,c){var d=Object.hasOwn(b,c);return $APP.m(d)?(a=a[c],b=b[c],x$.j?x$.j(a,b):x$.call(null,a,b)):d},wEa=function(a,b){var c=Object.keys(a);return c.length===
|
|
21
|
+
Object.keys(b).length&&$APP.le($APP.qe(vEa,a,b),c)},x$=function(a,b){if(a===b)a=!0;else{var c=$APP.ma(a);c=$APP.m(c)?$APP.ma(b):c;a=$APP.m(c)?wEa(a,b):$APP.na(a)&&$APP.na(b)?wEa(a,b):$APP.A.j(a,b)}return a},yEa=function(a,b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);c=$APP.$g(c);var d=a[xEa];if($APP.ad(d,c)&&x$(b,$APP.C(d,c)))return null;a[c]=b;return a[xEa]=$APP.Lg.l(d,c,b)},zEa=function(a,b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);b=$APP.G(b);var d=$APP.C(b,$APP.Ss),e=$APP.C(b,$APP.fq);a=a.i?
|
|
22
|
+
a.i(c):a.call(null,c);$APP.ad(b,$APP.dn)&&qEa(a,$APP.dn.i(b));$APP.m(d)&&q$(a,$APP.pe(r$,d));return $APP.Ih($APP.pe(yEa,a),e)},y$=function(a,b){var c=$APP.q($APP.Kf.l($APP.Oe,$APP.Me(a),$APP.Gg(b)));if(c!=null)throw $APP.Oh("write-parts!: no node has these part names.",new $APP.J(null,1,[$APP.kk,$APP.jf(c)],null));return $APP.Ih($APP.pe(zEa,a),b)},AEa=function(a,b){return a.getAttribute(b)},BEa=function(a,b){var c=$APP.G(a);a=$APP.C(c,$APP.Ss);var d=$APP.C(c,$APP.ct);c=$APP.C(c,$APP.Tv);var e=$APP.qq.i(c),
|
|
23
|
+
f=b.shadowRoot;$APP.m(f)?d=f:(f=document.createElement("style"),f.textContent=""+$APP.N.i(d),d=b.attachShadow({mode:"open"}),d.append(f,s$(document,null,t$(e))));d=w$(d.lastElementChild);b=$APP.Kf.l($APP.ge,$APP.Ge.i($APP.lh($APP.zh,$APP.pe(AEa,b))),a);return y$(d,o$(c,b))},CEa=function(a,b){var c=class extends HTMLElement{},d=c.prototype;c.observedAttributes=$APP.ya(a);d.connectedCallback=function(){return b.i?b.i(this):b.call(null,this)};d.connectedMoveCallback=function(){return null};d.attributeChangedCallback=
|
|
24
|
+
function(){return b.i?b.i(this):b.call(null,this)};return c},DEa=function(a,b){a=$APP.oe(a);a=new $APP.H(null,2,5,$APP.I,[$APP.bh(a,b),TDa(a,b)],null);b=$APP.B(a,0,null);a=$APP.B(a,1,null);return $APP.Ie.j(b,$APP.Ee(1,a))},EEa=function(a){return a instanceof Element},FEa=function(a){a=$APP.Le(EEa,DEa($APP.pe($APP.ka,a.currentTarget),$APP.Ac(a.composedPath())));var b=$APP.me(tEa,DEa(mEa,a)),c=$APP.B(b,0,null);b=$APP.B(b,1,null);return new $APP.J(null,3,[z$,$APP.Kf.l($APP.Oe,$APP.ve($APP.ck.j($APP.t,
|
|
25
|
+
mEa)),$APP.Cd(a)),$APP.hk,c,A$,b],null)},GEa=function(a,b,c,d){return function(e){e=$APP.ep.l(a,b,e);a:for(;;){var f=$APP.$a(a),g=c.i?c.i(f):c.call(null,f);d.i?d.i(g):d.call(null,g);if(f===$APP.$a(a))break a}return e}},HEa=function(a,b){return a.getAttribute(b)},IEa=function(a){return $APP.Mc(z$.i(a))},JEa=function(a,b){return typeof b==="string"?(a=a.detail,a==null?null:a[b]):b},MEa=function(a,b){var c=$APP.G(a);a=$APP.C(c,KEa);var d=$APP.C(c,$APP.Cs),e=$APP.C(c,LEa);c=FEa(b);var f=$APP.G(c),g=$APP.C(f,
|
|
26
|
+
$APP.hk);c=$APP.C(f,A$);d=$APP.C(d,new $APP.H(null,2,5,$APP.I,[b.type,g],null));if(d==null)return null;g=$APP.Vc(d)?d:new $APP.H(null,2,5,$APP.I,[d,IEa],null);d=$APP.B(g,0,null);g=$APP.B(g,1,null);f=g.j?g.j(f,b):g.call(null,f,b);d=new $APP.H(null,1,5,$APP.I,[d],null);f=f!=null?$APP.Bd.j(d,f):d;d=$APP.C(e,b.type);d==null?b=a.i?a.i(f):a.call(null,f):(e=$APP.ei.j($APP.ck.j(oEa,$APP.pe(JEa,b)),$APP.Ig(d)),a.i?a.i(f):a.call(null,f),a=$APP.K.j,f=$APP.Gg(d),c=$APP.ei.j($APP.pe(HEa,c),f),b=a.call($APP.K,
|
|
27
|
+
e,c)?b.preventDefault():null);return b},NEa=function(a,b){return $APP.m(b.bubbles)?null:MEa(a,b)},OEa=function(a,b){return $APP.m(b.bubbles)?MEa(a,b):null},PEa=function(a,b){return new $APP.H(null,2,5,$APP.I,[new $APP.H(null,3,5,$APP.I,[b,$APP.pe(NEa,a),!0],null),new $APP.H(null,3,5,$APP.I,[b,$APP.pe(OEa,a),!1],null)],null)},QEa=function(a,b){var c=$APP.B(b,0,null),d=$APP.B(b,1,null);b=$APP.B(b,2,null);return a.addEventListener(c,d,b)},REa=function(a,b){var c=$APP.B(b,0,null),d=$APP.B(b,1,null);b=
|
|
28
|
+
$APP.B(b,2,null);return a.removeEventListener(c,d,b)},SEa=function(a,b){return new $APP.H(null,2,5,$APP.I,[b,a[b]],null)},B$=function(a){return a!=null?$APP.Kf.l($APP.ge,$APP.Ge.i($APP.pe(SEa,a)),Object.keys(a)):$APP.ge},TEa=function(a){return $APP.m($APP.ma(a))?$APP.jf(a):a},UEa=function(a,b){return $APP.Ic(b)?a.i?a.i(b):a.call(null,b):b},VEa=function(a,b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);switch(c){case "on":return new $APP.H(null,2,5,$APP.I,[$APP.tr,$APP.Ph(B$(b),TEa)],null);case "props":return new $APP.H(null,
|
|
29
|
+
2,5,$APP.I,[$APP.fq,$APP.Ph(B$(b),$APP.pe(UEa,a))],null);default:return new $APP.H(null,2,5,$APP.I,[c,UEa(a,b)],null)}},WEa=function(a,b){return $APP.m($APP.ma(b))?C$.j?C$.j(a,b):C$.call(null,a,b):$APP.Ic(b)?a.i?a.i(b):a.call(null,b):b},C$=function(a,b){b=$APP.q($APP.zc(b));var c=$APP.t(b);b=$APP.u(b);var d=$APP.na($APP.t(b))?$APP.t(b):null,e=$APP.Kf.l;c=new $APP.H(null,1,5,$APP.I,[c],null);c=$APP.m(d)?$APP.Bd.j(c,$APP.Kf.l($APP.ge,$APP.Ge.i($APP.pe(VEa,a)),B$(d))):c;return e.call($APP.Kf,c,$APP.Ge.i($APP.pe(WEa,
|
|
30
|
+
a)),$APP.m(d)?$APP.ac(b):b)},D$=function(a,b,c){return Object.defineProperty(a,b,{value:c})},XEa=function(a){a=B$(a);var b=$APP.ad(a,"text")?$APP.Lg.l($APP.ge,$APP.dn,a.i?a.i("text"):a.call(null,"text")):$APP.ge;b=(a.i?a.i("attrs"):a.call(null,"attrs"))!=null?$APP.Lg.l(b,$APP.Ss,B$(a.i?a.i("attrs"):a.call(null,"attrs"))):b;return(a.i?a.i("props"):a.call(null,"props"))!=null?$APP.Lg.l(b,$APP.fq,B$(a.i?a.i("props"):a.call(null,"props"))):b},E$=function(a,b){var c=a===b;if(c)return c;if(c=a!=null&&Object.prototype===
|
|
31
|
+
Object.getPrototypeOf(a)){if(c=b!=null&&Object.prototype===Object.getPrototypeOf(b)){c=Object.keys(a);var d=c.length===Object.keys(b).length;if(d)a:{for(d=0;;){var e=d===c.length;if(e){a=e;break a}e=a;var f=b,g=c[d],k=Object.prototype.hasOwnProperty.call(f,g);e=$APP.m(k)?Object.is(e[g],f[g]):k;if($APP.m(e))d+=1;else{a=e;break a}}a=void 0}else a=d;return a}return c}return c},ZEa=function(a,b){var c=b==null?null:b[YEa];if($APP.m(c))return c;throw $APP.Oh(""+$APP.N.i(a)+": not a split template.",new $APP.J(null,
|
|
32
|
+
1,[F$,b],null));},$Ea=function(a){var b;if(b=a!=null)if(b=typeof a.target==="string")b=(b=$APP.A.j("any",a.attributes))?b:$APP.ma(a.attributes);if(!$APP.m(b))throw $APP.Oh("sharedHoles: a foreign write has a target and attributes.",new $APP.J(null,1,[F$,a],null));return new $APP.J(null,2,[$APP.mw,a.target,$APP.Hv,$APP.m($APP.ma(a.attributes))?$APP.jf(a.attributes):a.attributes],null)},G$=function(a){return new $APP.J(null,4,[$APP.gk,a.parent,$APP.Zj,a.before,$APP.gi,a.key,$APP.hk,a.part],null)},aFa=
|
|
33
|
+
function(a){return new $APP.J(null,3,[$APP.gi,a.key,$APP.Yj,a.in,$APP.Zj,a.before],null)},bFa=function(a,b,c){a[b]=c;return a},H$=function(a){return $APP.qd(bFa,{},a)},cFa=function(a,b){a.push(b);return a},I$=function(a){return $APP.wa(cFa,[],a)},dFa=function(a){var b=$APP.G(a);a=$APP.C(b,$APP.gi);var c=$APP.C(b,$APP.gk),d=$APP.C(b,$APP.Zj);b=$APP.C(b,$APP.hk);return{parent:c,before:d,key:a,part:b}},eFa=function(a,b){var c=new $APP.Gh(function(){return Object.freeze(H$(b))});return Object.defineProperty(a,
|
|
34
|
+
"nodes",{get:function(){return $APP.$a(c)},enumerable:!0})},fFa=function(a){var b=$APP.G(a);a=$APP.C(b,$APP.gi);var c=$APP.C(b,$APP.Yj);b=$APP.C(b,$APP.Zj);return{key:a,"in":c,before:b}},gFa=function(a){var b=$APP.G(a);a=$APP.C(b,z$);var c=$APP.C(b,$APP.hk);b=$APP.C(b,A$);return{keyPath:$APP.hn(a),part:c,node:b}},hFa=function(a){return function(b,c){b=gFa(b);return a.j?a.j(b,c):a.call(null,b,c)}},iFa=function(a){var b=$APP.I,c=$APP.jf(a[0]);a=TEa(a[1]);a=$APP.Vc(a)?$APP.di.l(a,1,hFa):a;return new $APP.H(null,
|
|
35
|
+
2,5,b,[c,a],null)},jFa=function(a){return function(b){b=$APP.hn(b);return a.i?a.i(b):a.call(null,b)}},J$=function(a,b){this.store=a;this.Kc=b;this.B=425984;this.K=65536},kFa=function(a){return function(b){b=$APP.hn(b);return a.i?a.i(b):a.call(null,b)}},F$=new $APP.E(null,"given","given",716253602),A$=new $APP.E(null,"node","node",581201198),z$=new $APP.E(null,"key-path","key-path",878473308),LEa=new $APP.E(null,"requested-values","requested-values",3116167),KEa=new $APP.E(null,"dispatch!","dispatch!",
|
|
36
|
+
-1927281664);var nEa=Symbol["for"]("x-render-hold"),u$=function u$(a){for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;return u$.o(arguments[0],1<c.length?new $APP.Wb(c.slice(1),0,null):null)};u$.o=function(a){return $APP.$a(a).cloneNode(!0)};u$.M=1;u$.I=function(a){var b=$APP.t(a);a=$APP.u(a);return this.o(b,a)};var xEa=Symbol("baremirror.written-props"),lFa=Symbol("baremirror.last-written");var K$=function K$(a){var c=$APP.ma(a);$APP.m($APP.m(c)?c:$APP.na(a))&&($APP.Ih(K$,Object.values(a)),Object.freeze(a));return a},YEa=Symbol("baremirror.split"),L$=Symbol("baremirror.value");J$.prototype.Y=function(a,b){return new J$(this.store,b)};J$.prototype.W=function(){return this.Kc};J$.prototype.Ma=function(){return this.store.value};J$.prototype.nc=function(a,b,c){a=this.store;var d=this.store.value;b=b.j?b.j(d,c):b.call(null,d,c);return a.value=b};export const plan=function(a,b){a=$APP.fk($APP.Ph(B$(a),$APP.jf),$APP.Ph(B$(b),$APP.jf));a=$APP.G(a);b=$APP.C(a,$APP.dk);var c=$APP.C(a,$APP.ek);return K$(D$({remove:I$(b),place:I$($APP.Ge.j(fFa,c))},L$,a))};export const syncPlaces=function(a,b,c){return H$($APP.xk($APP.Ph(B$(a),G$),$APP.Ph(B$(b),$APP.jf),c))};export const setText=function(a,b){return qEa(a,b)};export const readOrigin=function(a){return gFa(FEa(a))};export const setAttrs=function(a,b){b=B$(b);return q$(a,$APP.pe(r$,b))};
|
|
37
|
+
export const readPlaces=function(a){a=$APP.uk($APP.Ph(B$(a),G$));a=$APP.G(a);var b=$APP.C(a,$APP.tk),c=$APP.C(a,$APP.pk),d=$APP.C(a,$APP.qk);return Object.freeze(D$(eFa({containers:K$(H$($APP.Ph(b,dFa))),places:K$(H$($APP.Ph(c,I$)))},d),L$,a))};export const withOneRender=function(a,b){return q$(a,b)};
|
|
38
|
+
export const splitTemplate=function(a,b){var c=dEa(a,C$($APP.rd,b));return K$(D$({fixed:$APP.hn($APP.qq.i(c)),holes:$APP.hn($APP.Rs.i(c)),events:$APP.hn($APP.jf($APP.Cs.i(c))),writes:function(d){return $APP.hn(o$(c,d))}},YEa,c))};export const release=function(a){return a.removeAttribute("data-x-key")};export const makeNode=function(a){a=C$($APP.rd,a);return s$(document,null,t$(a))};export const dispatcher=function(a,b,c,d){return GEa(new J$(a,$APP.ge),b,c,d)};
|
|
39
|
+
export const nodeMaker=function(a){return sEa(C$($APP.rd,a))};export const sharedHoles=function(a,b){return $APP.hn(lEa(ZEa("sharedHoles",a),$APP.Ph(B$(b),$APP.pe($APP.ei,$Ea))))};export const perform=function(a,b,c){var d=a==null?null:a[L$];a=$APP.m(d)?d:new $APP.J(null,2,[$APP.tk,$APP.Ph(B$(a.containers),G$),$APP.qk,B$(a.nodes)],null);d=b==null?null:b[L$];b=$APP.m(d)?d:new $APP.J(null,2,[$APP.dk,$APP.jf(b.remove),$APP.ek,$APP.ei.j(aFa,b.place)],null);return H$($APP.wk(a,b,c))};
|
|
40
|
+
export const listen=function(a,b){var c=jFa(b.dispatch);var d=b.events;d=$APP.Kf.l($APP.ge,$APP.Ge.i(iFa),$APP.zc(d));b=new $APP.J(null,3,[KEa,c,$APP.Cs,d,LEa,$APP.Ph(B$(b.requestedValues),B$)],null);b=$APP.G(b);c=$APP.C(b,$APP.Cs);b=$APP.Kf.l($APP.Oe,$APP.ck.l($APP.Ge.i($APP.t),WDa(),$APP.ck.j($APP.Ge.i($APP.pe(PEa,b)),$APP.Hh)),$APP.Gg(c));$APP.Ih($APP.pe(QEa,a),b);return $APP.qe($APP.Ih,$APP.pe(REa,a),b)};export const readParts=function(a){return $APP.hn(w$(a))};
|
|
41
|
+
export const writeParts=function(a,b){return y$(B$(a),$APP.Ph(B$(b),XEa))};
|
|
42
|
+
export const defineElement=function(a,b){b=new $APP.J(null,3,[$APP.Ss,$APP.jf(b.attrs),$APP.jw,C$(kFa,b.template),$APP.ct,b.css],null);var c=$APP.G(b),d=$APP.C(c,$APP.jw);b=$APP.C(c,$APP.Ss);c=$APP.C(c,$APP.ct);d=dEa(a,d);if(!$APP.Oc($APP.Cs.i(d)))throw $APP.Oh("define-element!: the template of an element takes no :on entry.",new $APP.J(null,1,[$APP.Zt,a],null));d=new $APP.J(null,3,[$APP.Ss,b,$APP.ct,c,$APP.Tv,d],null);return typeof customElements!=="undefined"&&$APP.p(customElements.get(a))?customElements.define(a,
|
|
43
|
+
CEa(b,$APP.pe(BEa,d))):null};export const writeItem=function(a,b,c){b=ZEa("writeItem",b);var d=a[lFa];var e=$APP.B(d,0,null);d=$APP.B(d,1,null);e=(e=b===e)?E$.j?E$.j(c,d):E$.call(null,c,d):e;if(!$APP.m(e)){if(!($APP.Tc(b)&&$APP.ad(b,$APP.qq)&&$APP.ad(b,$APP.Rs)))throw $APP.Oh("write-item!: not a split template.",new $APP.J(null,1,[F$,b],null));y$(w$(a),o$(b,c));a[lFa]=new $APP.H(null,2,5,$APP.I,[b,c],null)}return null};
|