@vanelsas/baredom 4.6.0 → 4.8.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 +65 -0
- package/custom-elements.json +24 -5
- package/dist/baremirror-alpha.js +27 -27
- package/dist/base.js +531 -526
- 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 +13 -14
- 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 +41 -41
- package/dist/x-cancel-dialogue.js +16 -16
- package/dist/x-card.js +7 -7
- package/dist/x-carousel.js +34 -35
- package/dist/x-chart.js +48 -48
- package/dist/x-checkbox.js +1 -1
- package/dist/x-chip.js +1 -1
- package/dist/x-code.js +31 -31
- package/dist/x-collapse.js +11 -11
- package/dist/x-color-picker.js +44 -44
- package/dist/x-combobox.js +33 -33
- package/dist/x-command-palette.js +29 -29
- package/dist/x-confetti.js +24 -24
- 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 +24 -24
- package/dist/x-date-picker.js +46 -46
- package/dist/x-divider.js +8 -8
- package/dist/x-drag-panel.js +32 -32
- package/dist/x-drawer.js +12 -12
- package/dist/x-drop-zone.js +11 -11
- package/dist/x-dropdown.js +11 -11
- package/dist/x-fieldset.js +6 -6
- package/dist/x-file-download.js +14 -14
- package/dist/x-file-upload.js +26 -26
- package/dist/x-floating-panel.js +18 -18
- package/dist/x-form-field.js +17 -17
- package/dist/x-form.js +10 -10
- 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 +36 -36
- 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.d.ts +2 -0
- package/dist/x-multi-combobox.js +44 -41
- package/dist/x-navbar.js +15 -15
- package/dist/x-neural-glow.js +28 -28
- package/dist/x-notification-center.js +9 -9
- package/dist/x-organic-divider.js +18 -18
- package/dist/x-organic-progress.js +33 -33
- package/dist/x-organic-shape.js +12 -12
- package/dist/x-otp-input.js +22 -22
- package/dist/x-pagination.js +18 -18
- package/dist/x-particle-button.js +51 -51
- package/dist/x-popover.js +24 -24
- package/dist/x-progress-circle.js +7 -7
- package/dist/x-progress.js +7 -7
- package/dist/x-proximity-list.js +20 -20
- package/dist/x-radio.js +14 -14
- package/dist/x-range-slider.js +30 -30
- package/dist/x-rating.js +21 -21
- package/dist/x-ripple-effect.js +10 -10
- package/dist/x-scroll-parallax.js +17 -17
- package/dist/x-scroll-stack.js +17 -17
- package/dist/x-scroll-story.js +33 -33
- package/dist/x-scroll-timeline.js +49 -49
- package/dist/x-scroll.js +37 -37
- 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 +4 -4
- package/dist/x-spinner.js +4 -4
- package/dist/x-splash.js +13 -13
- package/dist/x-split-pane.js +15 -15
- package/dist/x-spotlight-card.js +12 -12
- package/dist/x-stat.js +10 -10
- 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 +20 -20
- package/dist/x-table-row.js +9 -9
- package/dist/x-table.js +13 -13
- package/dist/x-tabs.js +12 -11
- package/dist/x-text-area.js +20 -20
- package/dist/x-theme.js +26 -26
- package/dist/x-timeline-item.js +19 -19
- package/dist/x-timeline.js +9 -9
- package/dist/x-toast.js +20 -20
- package/dist/x-toaster.js +6 -6
- package/dist/x-tooltip.js +14 -14
- package/dist/x-trace-history.js +116 -116
- package/dist/x-typography.js +6 -6
- package/dist/x-welcome-tour.js +64 -64
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,71 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to BareDOM will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [4.8.0] - 2026-10-17
|
|
6
|
+
|
|
7
|
+
BareDOM 4.8 lets `x-multi-combobox` take values that hold a comma, and fixes two `x-date-picker`
|
|
8
|
+
input bugs. All five adapters are released with it: `-react` 3.1.0, `-angular` 3.1.0, `-vue`
|
|
9
|
+
0.7.0, `-svelte` 0.7.0 and `-solid` 0.7.0. Each still works with `@vanelsas/baredom` 4.0.0 or
|
|
10
|
+
later. `value-format` needs 4.8.0.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **`value-format` on `x-multi-combobox`,** and its property `valueFormat`. With `json`, the
|
|
15
|
+
`value` attribute is a JSON array of strings, so a value can hold a comma or leading and
|
|
16
|
+
trailing spaces. `csv` is the default. An invalid JSON value gives no selection and sends
|
|
17
|
+
`x-multi-combobox-error`.
|
|
18
|
+
- **`x-multi-combobox-error`.** `x-multi-combobox` sends it when a `json` value is not a JSON
|
|
19
|
+
array of strings, and when the `csv` setter warns about an array.
|
|
20
|
+
- **In `csv`, the `value` setter of `x-multi-combobox` warns about a value that a
|
|
21
|
+
comma-separated list cannot hold:** a value with a comma, or with leading or trailing
|
|
22
|
+
whitespace. It writes the array as before, so it splits such a value at the comma or trims it,
|
|
23
|
+
and it sends `x-multi-combobox-error`.
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- **The adapters write the value of `x-multi-combobox` through its `value` property.** This is
|
|
28
|
+
Vue `v-model`, Svelte `bind:value`, the Angular ControlValueAccessor, the React `defaultValue`,
|
|
29
|
+
and the Solid `value` and `defaultValue`. Before, they wrote `String(value)` to the attribute,
|
|
30
|
+
which is always comma-separated. Now the array round-trips in both value formats. In `csv`, a
|
|
31
|
+
binding gives the same attribute and chips as before. The React adapter passes `value` after
|
|
32
|
+
the other props, so `valueFormat` is set first.
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- **A focused `x-date-picker` text box shows a new `start`, `end` or `value`,** and blur commits
|
|
37
|
+
only text that the user edited. Before, the text box kept the old text, and blur committed it
|
|
38
|
+
again.
|
|
39
|
+
- **Enter closes the `x-date-picker` panel when the element has `close-on-select`,** as a pick
|
|
40
|
+
in the calendar does.
|
|
41
|
+
|
|
42
|
+
## [4.7.0] - 2026-10-17
|
|
43
|
+
|
|
44
|
+
BareDOM 4.7 lets a child's own attribute win over its group's, and keeps every skeleton in phase
|
|
45
|
+
on its own. The adapters are not released again.
|
|
46
|
+
|
|
47
|
+
### Changed
|
|
48
|
+
|
|
49
|
+
- **An avatar's own `size` wins over the `size` of its `x-avatar-group`,** and an avatar is
|
|
50
|
+
disabled when it or the group is. The group no longer writes `size` and `disabled` on its
|
|
51
|
+
avatars. It writes `data-group-size` and `data-group-disabled`, which are not public API.
|
|
52
|
+
- **A skeleton's own `animation` wins over the `animation` of its `x-skeleton-group`.** The
|
|
53
|
+
group no longer writes `animation` on its skeletons. It writes `data-group-animation`, which
|
|
54
|
+
is not public API.
|
|
55
|
+
- **`x-tabs` takes its first selection from a tab marked `selected`** when it has no `value`.
|
|
56
|
+
Before, the mark was removed and the first enabled tab was selected. An enabled tab with no
|
|
57
|
+
`value` is skipped.
|
|
58
|
+
- **Every `x-skeleton` on a page pulses in phase,** also outside a group. A skeleton aligns its
|
|
59
|
+
animation to a clock of the page when it connects and when its animation changes.
|
|
60
|
+
- **`--x-skeleton-delay` is no longer a custom property of `x-skeleton`.** It was not
|
|
61
|
+
documented, and a value set on the host no longer takes effect.
|
|
62
|
+
|
|
63
|
+
### Fixed
|
|
64
|
+
|
|
65
|
+
- **A skeleton that is removed and inserted again stays in phase,** and so do the skeletons of a
|
|
66
|
+
group that is moved.
|
|
67
|
+
- **The `x-carousel` doc states that `current` keeps its value** when there are fewer slides.
|
|
68
|
+
The last slide is shown.
|
|
69
|
+
|
|
5
70
|
## [4.6.0] - 2026-10-17
|
|
6
71
|
|
|
7
72
|
BareDOM 4.6 keeps the state of a moved component, lets one BareMirror sync bring a whole tree,
|
package/custom-elements.json
CHANGED
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
} ],
|
|
541
541
|
"foreignWrites" : [ {
|
|
542
542
|
"target" : "any",
|
|
543
|
-
"attributes" : [ "disabled", "size" ]
|
|
543
|
+
"attributes" : [ "data-group-disabled", "data-group-size" ]
|
|
544
544
|
} ]
|
|
545
545
|
} ],
|
|
546
546
|
"exports" : [ {
|
|
@@ -11221,6 +11221,12 @@
|
|
|
11221
11221
|
"text" : "HTMLFormElement | null"
|
|
11222
11222
|
},
|
|
11223
11223
|
"readonly" : true
|
|
11224
|
+
}, {
|
|
11225
|
+
"kind" : "field",
|
|
11226
|
+
"name" : "valueFormat",
|
|
11227
|
+
"type" : {
|
|
11228
|
+
"text" : "string"
|
|
11229
|
+
}
|
|
11224
11230
|
}, {
|
|
11225
11231
|
"kind" : "field",
|
|
11226
11232
|
"name" : "placement",
|
|
@@ -11327,6 +11333,12 @@
|
|
|
11327
11333
|
"type" : {
|
|
11328
11334
|
"text" : "string"
|
|
11329
11335
|
}
|
|
11336
|
+
}, {
|
|
11337
|
+
"name" : "value-format",
|
|
11338
|
+
"fieldName" : "valueFormat",
|
|
11339
|
+
"type" : {
|
|
11340
|
+
"text" : "string"
|
|
11341
|
+
}
|
|
11330
11342
|
} ],
|
|
11331
11343
|
"events" : [ {
|
|
11332
11344
|
"name" : "x-multi-combobox-change-request",
|
|
@@ -11373,6 +11385,16 @@
|
|
|
11373
11385
|
"open" : "boolean",
|
|
11374
11386
|
"source" : "string"
|
|
11375
11387
|
}
|
|
11388
|
+
}, {
|
|
11389
|
+
"name" : "x-multi-combobox-error",
|
|
11390
|
+
"type" : {
|
|
11391
|
+
"text" : "CustomEvent<{ error: string; values: any }>"
|
|
11392
|
+
},
|
|
11393
|
+
"cancelable" : false,
|
|
11394
|
+
"detail" : {
|
|
11395
|
+
"error" : "string",
|
|
11396
|
+
"values" : "any"
|
|
11397
|
+
}
|
|
11376
11398
|
} ],
|
|
11377
11399
|
"slots" : [ {
|
|
11378
11400
|
"name" : ""
|
|
@@ -16971,9 +16993,6 @@
|
|
|
16971
16993
|
}, {
|
|
16972
16994
|
"name" : "--x-skeleton-color",
|
|
16973
16995
|
"default" : "var(--x-color-border,rgba(0,0,0,0.08))"
|
|
16974
|
-
}, {
|
|
16975
|
-
"name" : "--x-skeleton-delay",
|
|
16976
|
-
"default" : "0s"
|
|
16977
16996
|
}, {
|
|
16978
16997
|
"name" : "--x-skeleton-duration",
|
|
16979
16998
|
"default" : "1.5s"
|
|
@@ -17063,7 +17082,7 @@
|
|
|
17063
17082
|
} ],
|
|
17064
17083
|
"foreignWrites" : [ {
|
|
17065
17084
|
"target" : "x-skeleton",
|
|
17066
|
-
"attributes" : [ "animation" ]
|
|
17085
|
+
"attributes" : [ "data-group-animation" ]
|
|
17067
17086
|
} ]
|
|
17068
17087
|
} ],
|
|
17069
17088
|
"exports" : [ {
|
package/dist/baremirror-alpha.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var
|
|
3
|
-
typeof a==="number"||a===!0||a===!1||a==null}
|
|
4
|
-
$APP.
|
|
5
|
-
$APP.I,[$APP.zd.j(d,c),b],null)},
|
|
6
|
-
new $APP.K(null,1,[$APP.
|
|
7
|
-
null),c),
|
|
8
|
-
3,[$APP.
|
|
9
|
-
b){return $APP.
|
|
10
|
-
a.firstChild;c=c==null?null:$APP.z.j(Node.TEXT_NODE,c.nodeType)&&c.nextSibling==null?c:null;c==null?a.textContent=b:$APP.M.j(b,c.data)&&(c.data=b);return null},
|
|
11
|
-
new $APP.K(null,1,[$APP.
|
|
12
|
-
a.i(c):a.call(null,c);$APP.bd(b,$APP.
|
|
13
|
-
$APP.m(f)?d=f:(f=document.createElement("style"),f.textContent=""+$APP.N.i(d),d=b.attachShadow({mode:"open"}),d.append(f,
|
|
14
|
-
|
|
15
|
-
b,c,d){return function(e){e=$APP.
|
|
16
|
-
2,5,$APP.I,[d,
|
|
17
|
-
null?$APP.
|
|
18
|
-
|
|
19
|
-
b},
|
|
20
|
-
a.parent,$APP.
|
|
21
|
-
a=$APP.C(b,$APP.
|
|
22
|
-
a.call(null,b)}},
|
|
23
|
-
export const readPlaces=function(a){a=$APP.
|
|
24
|
-
export const splitTemplate=function(a,b){var c=
|
|
25
|
-
export const nodeMaker=function(a){a=
|
|
26
|
-
export const listen=function(a,b){var c=
|
|
27
|
-
export const defineElement=function(a,b){b=new $APP.K(null,3,[$APP.
|
|
28
|
-
d)))};export const writeItem=function(a,b,c){var d=b==null?null:b[
|
|
2
|
+
var kDa=function(a,b){return new $APP.Ed(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)},m$=function(a){var b=$APP.q(a);a=$APP.t(b);b=$APP.u(b);return $APP.Tc($APP.t(b))?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)},n$=function(a){return a instanceof $APP.F||$APP.Jc(a)},lDa=function(a){return typeof a==="string"||
|
|
3
|
+
typeof a==="number"||a===!0||a===!1||a==null},o$=function(a){return $APP.Vc(a)||typeof a==="string"||typeof a==="number"},mDa=function(a){return $APP.le(function(b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);return $APP.z.j("data-x-part",$APP.Sg(c))?b:null},a)},nDa=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)},p$=function(a,b,c){var d=$APP.G(c);c=$APP.C(d,$APP.Vq);var e=$APP.G(d);d=$APP.C(e,$APP.jr);e=$APP.C(e,
|
|
4
|
+
$APP.Gm);var f=$APP.q(d);$APP.m(f?f:e)?(f=new $APP.K(null,1,[$APP.Oj,b],null),d=$APP.q(d)?$APP.Fg.l(f,$APP.ws,d):f,d=$APP.m(e)?$APP.Fg.l(d,$APP.Gm,e):d):d=null;a=$APP.Sh.O(a,$APP.hs,$APP.If,$APP.Ee.i($APP.pe(nDa,b)),c);return $APP.m(d)?$APP.Sh.J(a,$APP.vs,$APP.zd,d):a},oDa=function(a,b,c){var d=$APP.B(b,0,null);b=$APP.B(b,1,null);return $APP.Vc(c)?(c=q$.l?q$.l(a,b,c):q$.call(null,a,b,c),a=$APP.B(c,0,null),c=$APP.B(c,1,null),new $APP.H(null,2,5,$APP.I,[$APP.zd.j(d,a),c],null)):new $APP.H(null,2,5,
|
|
5
|
+
$APP.I,[$APP.zd.j(d,c),b],null)},q$=function(a,b,c){var d=m$(c);c=$APP.B(d,0,null);var e=$APP.B(d,1,null),f=$APP.B(d,2,null),g=$APP.ck.j(e,$APP.Vq);if($APP.p($APP.le(n$,f)))d=null;else{if($APP.u(f))throw $APP.Dh("A text hole must be the only child of its element.",new $APP.K(null,1,[$APP.Et,c],null));d=$APP.t(f)}e=$APP.Vq.i(e);var k=$APP.If.l($APP.fe,$APP.Le($APP.Bj.j(n$,$APP.ff)),g);g=$APP.If.l($APP.fe,$APP.Je($APP.Bj.j(n$,$APP.ff)),g);if($APP.m(d))f=null;else if(!$APP.ke(o$,f))throw $APP.Dh("A child of a template is a template, text, a number or one hole.",
|
|
6
|
+
new $APP.K(null,1,[$APP.Et,c],null));d=new $APP.K(null,6,[$APP.Et,c,$APP.Vq,e,$APP.Sp,k,$APP.jr,g,$APP.Gm,d,$APP.lu,f],null);b=$APP.G(b);c=$APP.C(b,$APP.Wu);d=$APP.G(d);f=$APP.C(d,$APP.Sp);f=mDa(f);k=$APP.G(d);g=$APP.C(k,$APP.Vq);e=$APP.C(k,$APP.jr);k=$APP.C(k,$APP.Gm);e=(g=$APP.q(g))?g:(e=$APP.q(e))?e:k;$APP.D(e)?$APP.m(f)?d=new $APP.H(null,2,5,$APP.I,[d,p$(b,f,d)],null):(c=""+$APP.N.i(a)+"."+$APP.N.i(c),d=new $APP.H(null,2,5,$APP.I,[$APP.Ko(d,new $APP.H(null,2,5,$APP.I,[$APP.Sp,$APP.ph.i("data-x-part")],
|
|
7
|
+
null),c),p$($APP.Sh.l(b,$APP.Wu,$APP.ic),c,d)],null)):d=new $APP.H(null,2,5,$APP.I,[d,b],null);b=$APP.B(d,0,null);f=$APP.G(b);c=$APP.C(f,$APP.Et);b=$APP.C(f,$APP.Sp);f=$APP.C(f,$APP.lu);d=$APP.B(d,1,null);d=$APP.xa($APP.pe(oDa,a),new $APP.H(null,2,5,$APP.I,[$APP.Ne,d],null),f);a=$APP.B(d,0,null);d=$APP.B(d,1,null);f=$APP.I;e=$APP.If.j;c=new $APP.H(null,1,5,$APP.I,[c],null);b=$APP.q(b)?$APP.zd.j(c,b):c;return new $APP.H(null,2,5,f,[e.call($APP.If,b,a),d],null)},r$=function(a,b){b=q$($APP.Sg(a),new $APP.K(null,
|
|
8
|
+
3,[$APP.Wu,0,$APP.vs,$APP.Ne,$APP.hs,$APP.fe],null),b);a=$APP.B(b,0,null);b=$APP.B(b,1,null);return new $APP.K(null,3,[$APP.Sp,a,$APP.vs,$APP.vs.i(b),$APP.hs,$APP.hs.i(b)],null)},s$=function(a,b){return b.i?b.i(a):b.call(null,a)},pDa=function(a,b){var c=$APP.G(b);b=$APP.C(c,$APP.Oj);var d=$APP.C(c,$APP.ws),e=$APP.C(c,$APP.Gm);c=$APP.I;d=$APP.m(d)?$APP.Fg.l($APP.fe,$APP.ws,$APP.Eh(d,$APP.pe(s$,a))):$APP.fe;a=$APP.m(e)?$APP.Fg.l(d,$APP.Gm,s$(a,e)):d;return new $APP.H(null,2,5,c,[b,a],null)},t$=function(a,
|
|
9
|
+
b){return $APP.If.l($APP.fe,$APP.Ee.i($APP.pe(pDa,b)),$APP.vs.i(a))},u$=function(a,b){var c=a[qDa];c==null?b.i?b.i(a):b.call(null,a):c.call(a,$APP.pe(b,a));return null},rDa=function(a,b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);c=$APP.Sg(c);b=b===!0?"":b===!1||b==null?null:b instanceof $APP.F?$APP.Sg(b):""+$APP.N.i(b);return $APP.M.j(b,a.getAttribute(c))?b!=null?a.setAttribute(c,b):a.removeAttribute(c):null},v$=function(a,b){return $APP.xh($APP.pe(rDa,b),a)},sDa=function(a,b){b=""+$APP.N.i(b);var c=
|
|
10
|
+
a.firstChild;c=c==null?null:$APP.z.j(Node.TEXT_NODE,c.nodeType)&&c.nextSibling==null?c:null;c==null?a.textContent=b:$APP.M.j(b,c.data)&&(c.data=b);return null},tDa=function(a,b,c){return b.append($APP.Vc(c)?w$.j?w$.j(a,c):w$.call(null,a,c):""+$APP.N.i(c))},w$=function(a,b){var c=m$(b);$APP.B(c,0,null);var d=$APP.B(c,1,null);c=$APP.B(c,2,null);if(!$APP.bd(d,$APP.Vq)&&$APP.ke(lDa,$APP.Cg(d))&&$APP.ke(o$,c))c=m$(b);else throw $APP.Dh("A node is made from a fixed template. split takes holes and :on out of one.",
|
|
11
|
+
new $APP.K(null,1,[$APP.Et,$APP.t(b)],null));d=$APP.B(c,0,null);b=$APP.B(c,1,null);c=$APP.B(c,2,null);d=a.createElement($APP.Sg(d));u$(d,$APP.pe(v$,b));$APP.xh($APP.qe(tDa,a,d),c);return d},uDa=function(a){var b=a.getAttribute("data-x-part");return b==null?null:new $APP.H(null,2,5,$APP.I,[b,a],null)},x$=function(a){return $APP.If.l($APP.fe,$APP.ve(uDa),$APP.Cd(a,$APP.Ac(a.querySelectorAll(vDa))))},wDa=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.ws);a=a.i?
|
|
12
|
+
a.i(c):a.call(null,c);$APP.bd(b,$APP.Gm)&&sDa(a,$APP.Gm.i(b));return $APP.m(d)?u$(a,$APP.pe(v$,d)):null},y$=function(a,b){var c=$APP.q($APP.If.l($APP.Ne,$APP.Le(a),$APP.Ag(b)));if(c!=null)throw $APP.Dh("write-parts!: no node has these part names.",new $APP.K(null,1,[$APP.Rj,$APP.gf(c)],null));return $APP.xh($APP.pe(wDa,a),b)},xDa=function(a,b){return a.getAttribute(b)},yDa=function(a,b){var c=$APP.G(a);a=$APP.C(c,$APP.ws);var d=$APP.C(c,$APP.Hs);c=$APP.C(c,$APP.yv);var e=$APP.Sp.i(c),f=b.shadowRoot;
|
|
13
|
+
$APP.m(f)?d=f:(f=document.createElement("style"),f.textContent=""+$APP.N.i(d),d=b.attachShadow({mode:"open"}),d.append(f,w$(document,e)));d=x$(d.lastElementChild);b=$APP.If.l($APP.fe,$APP.Ee.i($APP.dh($APP.ph,$APP.pe(xDa,b))),a);return y$(d,t$(c,b))},zDa=function(a,b){var c=class extends HTMLElement{},d=c.prototype;c.observedAttributes=$APP.za(a);d.connectedCallback=function(){return b.i?b.i(this):b.call(null,this)};d.attributeChangedCallback=function(){return b.i?b.i(this):b.call(null,this)};return c},
|
|
14
|
+
ADa=function(a,b){a=$APP.ne(a);a=new $APP.H(null,2,5,$APP.I,[$APP.Ug(a,b),kDa(a,b)],null);b=$APP.B(a,0,null);a=$APP.B(a,1,null);return $APP.Ge.j(b,$APP.Ce(1,a))},BDa=function(a){return a instanceof Element},CDa=function(a){a=$APP.Ke(BDa,ADa($APP.pe($APP.la,a.currentTarget),$APP.Bc(a.composedPath())));var b=$APP.le(uDa,ADa($APP.Mj,a)),c=$APP.B(b,0,null);b=$APP.B(b,1,null);return new $APP.K(null,3,[z$,$APP.If.l($APP.Ne,$APP.ve($APP.Bj.j($APP.t,$APP.Mj)),$APP.Ad(a)),$APP.Oj,c,A$,b],null)},DDa=function(a,
|
|
15
|
+
b,c,d){return function(e){e=$APP.Jo.l(a,b,e);a:for(;;){var f=$APP.ab(a),g=c.i?c.i(f):c.call(null,f);d.i?d.i(g):d.call(null,g);if(f===$APP.ab(a))break a}return e}},EDa=function(a,b){return a.getAttribute(b)},FDa=function(a){return $APP.Nc(z$.i(a))},HDa=function(a,b){var c=$APP.G(a);a=$APP.C(c,GDa);var d=$APP.C(c,$APP.hs),e=$APP.C(c,$APP.Ls);c=CDa(b);var f=$APP.G(c),g=$APP.C(f,$APP.Oj);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,
|
|
16
|
+
2,5,$APP.I,[d,FDa],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.zd.j(d,f):d;e=$APP.C(e,b.type);e==null?b=a.i?a.i(f):a.call(null,f):(d=$APP.Th.j($APP.pe(EDa,c),e),a.i?a.i(f):a.call(null,f),b=$APP.z.j(d,$APP.Th.j($APP.pe(EDa,c),e))?b.preventDefault():null);return b},IDa=function(a,b,c){return a.addEventListener(c,$APP.pe(HDa,b))},JDa=function(a,b){return new $APP.H(null,2,5,$APP.I,[b,a[b]],null)},B$=function(a){return a!=
|
|
17
|
+
null?$APP.If.l($APP.fe,$APP.Ee.i($APP.pe(JDa,a)),$APP.fa(a)):$APP.fe},KDa=function(a){return $APP.m($APP.ma(a))?$APP.gf(a):a},LDa=function(a,b){var c=$APP.B(b,0,null);b=$APP.B(b,1,null);return $APP.z.j("on",c)?new $APP.H(null,2,5,$APP.I,[$APP.Vq,$APP.Eh(B$(b),KDa)],null):$APP.Jc(b)?new $APP.H(null,2,5,$APP.I,[c,a.i?a.i(b):a.call(null,b)],null):new $APP.H(null,2,5,$APP.I,[c,b],null)},MDa=function(a,b){return $APP.m($APP.ma(b))?C$.j?C$.j(a,b):C$.call(null,a,b):$APP.Jc(b)?a.i?a.i(b):a.call(null,b):b},
|
|
18
|
+
C$=function(a,b){b=$APP.q($APP.Ac(b));var c=$APP.t(b);b=$APP.u(b);var d=$APP.oa($APP.t(b))?$APP.t(b):null,e=$APP.If.l;c=new $APP.H(null,1,5,$APP.I,[c],null);c=$APP.m(d)?$APP.zd.j(c,$APP.If.l($APP.fe,$APP.Ee.i($APP.pe(LDa,a)),B$(d))):c;return e.call($APP.If,c,$APP.Ee.i($APP.pe(MDa,a)),$APP.m(d)?$APP.ac(b):b)},D$=function(a,b,c){return Object.defineProperty(a,b,{value:c})},NDa=function(a){var b=$APP.m("text"in a)?$APP.Fg.l($APP.fe,$APP.Gm,a.text):$APP.fe;return a.attrs!=null?$APP.Fg.l(b,$APP.ws,B$(a.attrs)):
|
|
19
|
+
b},E$=function(a,b){var c=a===b;if(c)return c;if(c=a!=null&&Object.prototype===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},F$=function(a){return new $APP.K(null,4,[$APP.Nj,
|
|
20
|
+
a.parent,$APP.Gj,a.before,$APP.Vh,a.key,$APP.Oj,a.part],null)},ODa=function(a){return new $APP.K(null,3,[$APP.Vh,a.key,$APP.Fj,a.in,$APP.Gj,a.before],null)},PDa=function(a,b,c){a[b]=c;return a},G$=function(a){return $APP.pd(PDa,{},a)},QDa=function(a,b){a.push(b);return a},H$=function(a){return $APP.xa(QDa,[],a)},RDa=function(a){var b=$APP.G(a);a=$APP.C(b,$APP.Vh);var c=$APP.C(b,$APP.Nj),d=$APP.C(b,$APP.Gj);b=$APP.C(b,$APP.Oj);return{parent:c,before:d,key:a,part:b}},SDa=function(a){var b=$APP.G(a);
|
|
21
|
+
a=$APP.C(b,$APP.Vh);var c=$APP.C(b,$APP.Fj);b=$APP.C(b,$APP.Gj);return{key:a,"in":c,before:b}},TDa=function(a){var b=$APP.G(a);a=$APP.C(b,z$);var c=$APP.C(b,$APP.Oj);b=$APP.C(b,A$);return{keyPath:$APP.Km(a),part:c,node:b}},UDa=function(a){return function(b,c){b=TDa(b);return a.j?a.j(b,c):a.call(null,b,c)}},VDa=function(a){var b=$APP.I,c=$APP.gf(a[0]);a=KDa(a[1]);a=$APP.Vc(a)?$APP.Sh.l(a,1,UDa):a;return new $APP.H(null,2,5,b,[c,a],null)},WDa=function(a){return function(b){b=$APP.Km(b);return a.i?a.i(b):
|
|
22
|
+
a.call(null,b)}},I$=function(a,b){this.store=a;this.Kc=b;this.B=425984;this.K=65536},XDa=function(a){return function(b){b=$APP.Km(b);return a.i?a.i(b):a.call(null,b)}},YDa=new $APP.F(null,"given","given",716253602),A$=new $APP.F(null,"node","node",581201198),z$=new $APP.F(null,"key-path","key-path",878473308),GDa=new $APP.F(null,"dispatch!","dispatch!",-1927281664);var qDa=Symbol["for"]("x-render-hold"),J$=function J$(a){for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;return J$.o(arguments[0],1<c.length?new $APP.Xb(c.slice(1),0,null):null)};J$.o=function(a){return a.cloneNode(!0)};J$.M=1;J$.I=function(a){var b=$APP.t(a);a=$APP.u(a);return this.o(b,a)};var vDa="["+$APP.N.i("data-x-part")+"]:not(:scope ["+$APP.N.i("data-x-key")+"], :scope ["+$APP.N.i("data-x-key")+"] *)",ZDa=Symbol("baremirror.last-written");var K$=function K$(a){var c=$APP.ma(a);$APP.m($APP.m(c)?c:$APP.oa(a))&&($APP.xh(K$,Object.values(a)),Object.freeze(a));return a},$Da=Symbol("baremirror.split"),L$=Symbol("baremirror.value");I$.prototype.Y=function(a,b){return new I$(this.store,b)};I$.prototype.W=function(){return this.Kc};I$.prototype.tb=function(){return this.store.value};I$.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.Lj($APP.Eh(B$(a),$APP.gf),$APP.Eh(B$(b),$APP.gf));a=$APP.G(a);b=$APP.C(a,$APP.Jj);var c=$APP.C(a,$APP.Kj);return K$(D$({remove:H$(b),place:H$($APP.Ee.j(SDa,c))},L$,a))};export const syncPlaces=function(a,b,c){return G$($APP.ek($APP.Eh(B$(a),F$),$APP.Eh(B$(b),$APP.gf),c))};export const setText=function(a,b){return sDa(a,b)};export const readOrigin=function(a){return TDa(CDa(a))};export const setAttrs=function(a,b){b=B$(b);return u$(a,$APP.pe(v$,b))};
|
|
23
|
+
export const readPlaces=function(a){a=$APP.bk($APP.Eh(B$(a),F$));a=$APP.G(a);var b=$APP.C(a,$APP.Yj),c=$APP.C(a,$APP.Zj),d=$APP.C(a,$APP.ak);return K$(D$({containers:G$($APP.Eh(b,RDa)),places:G$($APP.Eh(c,H$)),nodes:G$(d)},L$,a))};export const withOneRender=function(a,b){return u$(a,b)};
|
|
24
|
+
export const splitTemplate=function(a,b){var c=r$(a,C$($APP.qd,b));return K$(D$({fixed:$APP.Km($APP.Sp.i(c)),holes:$APP.Km($APP.vs.i(c)),events:$APP.Km($APP.gf($APP.hs.i(c))),writes:function(d){return $APP.Km(t$(c,d))}},$Da,c))};export const release=function(a){return a.removeAttribute("data-x-key")};export const makeNode=function(a){a=C$($APP.qd,a);return w$(document,a)};export const dispatcher=function(a,b,c,d){return DDa(new I$(a,$APP.fe),b,c,d)};
|
|
25
|
+
export const nodeMaker=function(a){a=C$($APP.qd,a);return $APP.pe(J$,w$(document.createElement("template").content.ownerDocument,a))};export const perform=function(a,b,c){var d=a==null?null:a[L$];a=$APP.m(d)?d:new $APP.K(null,2,[$APP.Yj,$APP.Eh(B$(a.containers),F$),$APP.ak,B$(a.nodes)],null);d=b==null?null:b[L$];b=$APP.m(d)?d:new $APP.K(null,2,[$APP.Jj,$APP.gf(b.remove),$APP.Kj,$APP.Th.j(ODa,b.place)],null);return G$($APP.dk(a,b,c))};
|
|
26
|
+
export const listen=function(a,b){var c=WDa(b.dispatch);var d=b.events;d=$APP.If.l($APP.fe,$APP.Ee.i(VDa),$APP.Ac(d));b=new $APP.K(null,3,[GDa,c,$APP.hs,d,$APP.Ls,$APP.Eh(B$(b.requests),$APP.gf)],null);b=$APP.G(b);c=$APP.C(b,$APP.hs);return $APP.xh($APP.qe(IDa,a,b),$APP.If.l($APP.Lg,$APP.Ee.i($APP.t),$APP.Ag(c)))};export const readParts=function(a){return $APP.Km(x$(a))};export const writeParts=function(a,b){return y$(B$(a),$APP.Eh(B$(b),NDa))};
|
|
27
|
+
export const defineElement=function(a,b){b=new $APP.K(null,3,[$APP.ws,$APP.gf(b.attrs),$APP.Ov,C$(XDa,b.template),$APP.Hs,b.css],null);var c=$APP.G(b),d=$APP.C(c,$APP.Ov);b=$APP.C(c,$APP.ws);c=$APP.C(c,$APP.Hs);d=r$(a,d);if(!$APP.Pc($APP.hs.i(d)))throw $APP.Dh("define-element!: the template of an element takes no :on entry.",new $APP.K(null,1,[$APP.Et,a],null));d=new $APP.K(null,3,[$APP.ws,b,$APP.Hs,c,$APP.yv,d],null);return $APP.m(customElements.get(a))?null:customElements.define(a,zDa(b,$APP.pe(yDa,
|
|
28
|
+
d)))};export const writeItem=function(a,b,c){var d=b==null?null:b[$Da];if(d==null)throw $APP.Dh("writeItem: not a split template.",new $APP.K(null,1,[YDa,b],null));if(!($APP.Tc(d)&&$APP.bd(d,$APP.Sp)&&$APP.bd(d,$APP.vs)))throw $APP.Dh("write-item!: not a split template.",new $APP.K(null,1,[YDa,d],null));var e=a[ZDa];b=$APP.B(e,0,null);e=$APP.B(e,1,null);b=(b=d===b)?E$.j?E$.j(c,e):E$.call(null,c,e):b;$APP.m(b)||(y$(x$(a),t$(d,c)),a[ZDa]=new $APP.H(null,2,5,$APP.I,[d,c],null));return null};
|