@htmlbricks/hb-editor-video 0.71.34 → 0.71.36

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/README.md CHANGED
@@ -1,38 +1,133 @@
1
- ## `hb-editor-video` editor-video
1
+ # `hb-editor-video` (editor-video)
2
2
 
3
+ **Package:** `@htmlbricks/hb-editor-video`
3
4
  **Category:** media
4
5
  **Tags:** media, video, editor
5
6
 
6
- ### What it does
7
+ ## Overview
7
8
 
8
- Video trimmer UI: plays `src` with an `hb-range-slider` synced to the playhead and in/out bounds (`track` min/max seconds). Numeric time fields, cue-to-current-time buttons, and optional `hb-form` gate final submission. Emits `changeTrackValues`, `dispatchTrack` when no form is used, and form-driven submit when metadata is valid. The UI uses **Bulma** `card`, `image is-16by9`, `button`, and `input` controls (Bootstrap Icons for play/pause).
9
+ `hb-editor-video` is a **video trimmer** web component: it plays an MP4 from `src`, shows a **16:9** Bulma `card` with the video, and keeps an **`hb-range-slider`** in sync with playback so the user can set **in** and **out** times in **seconds** (`track.minValue` / `track.maxValue`). Numeric **h / m / s** fields and small **cue** buttons snap the trim window to the current playhead. An optional **`hb-form`** (driven by a JSON **schema** string on `form`) can **gate** the primary **Send** action until metadata is valid. The footer shows the selected **duration** and a **Send** control.
9
10
 
10
- ### Custom element
11
+ The component registers **`hb-range-slider`** and **`hb-form`** at runtime (same bundle version as the host package). Icons use **Bootstrap Icons** (stylesheet injected in the shadow tree).
11
12
 
12
- `hb-editor-video`
13
+ ## Custom element
13
14
 
14
- ### Attributes (snake_case; use string values in HTML)
15
+ ```html
16
+ <hb-editor-video></hb-editor-video>
17
+ ```
18
+
19
+ ## Attributes (HTML)
20
+
21
+ Web component attributes are **strings**. Use **JSON strings** for structured props where noted (`track`, `form`). Names follow **snake_case** where applicable.
22
+
23
+ | Attribute | Required | Description |
24
+ | --- | --- | --- |
25
+ | `src` | **Yes** | URL of the video source (MP4; passed to `<video><source>`. |
26
+ | `track` | No | JSON string for the trim window in **seconds**, e.g. `{"minValue":0,"maxValue":120}`. Parsed on the client; if omitted, defaults apply and values are **clamped** to the loaded media duration on `loadedmetadata`. |
27
+ | `form` | No | JSON **string** describing the `hb-form` **schema** (same shape the form component expects). When set, the embedded form is shown with **submit hidden**; **Send** triggers validation and, when valid, a `dispatchTrack` event with **track fields merged** into the submitted form payload. |
28
+ | `id` | No | Optional element id. |
29
+
30
+ The TypeScript `Component` type also includes optional `style`; it is not wired in the current Svelte implementation—prefer styling the host with CSS or documented **CSS variables** below.
31
+
32
+ ## Behavior
33
+
34
+ - **Playback:** Play/pause toggles the `<video>` element. During `timeupdate`, the current time is **clamped** inside `[track.minValue, track.maxValue]` (pauses and seeks when crossing bounds).
35
+ - **Slider:** `hb-range-slider` receives `min` / `max` from the asset duration, `minval` / `maxval` from `track`, and `position_value` from the playhead. Moving the slider updates `track`, seeks the video, and emits **`changeTrackValues`**.
36
+ - **Time inputs:** Editing h/m/s recomputes `track.minValue` / `track.maxValue` in seconds and emits **`changeTrackValues`**.
37
+ - **Cue buttons:** Set **in** from current time (▼/▲ pair on the left) or **out** from current time (right), then emit **`changeTrackValues`**.
38
+ - **No `form`:** **Send** dispatches **`dispatchTrack`** with the current **`ITrack`** (`minValue`, `maxValue` in seconds).
39
+ - **With `form`:** **Send** is only enabled when the form is valid (`hb-form` **update** events). Clicking **Send** submits the form path; on success, **`dispatchTrack`** fires with **`Object.assign(track, formDetails)`** (validated form fields merged onto the track object).
40
+
41
+ ## Events
15
42
 
16
- - `id` optional string
17
- - `style` — optional string
18
- - `src` — required string (video URL)
19
- - `form` — optional string (JSON / schema for embedded `hb-form` when gating submit)
20
- - `track` — optional string (JSON `{ minValue, maxValue }` in seconds)
43
+ Listen with `addEventListener` or framework equivalents; `event.detail` shapes:
21
44
 
22
- ### Events
45
+ | Event | `detail` |
46
+ | --- | --- |
47
+ | `changeTrackValues` | `{ minVaule: number; maxValue: number }` — fired when the trim range or slider changes. **Note:** the first property is spelled **`minVaule`** in the implementation and typings (typo preserved for compatibility). |
48
+ | `dispatchTrack` | When **`form` is unset:** the **`ITrack`** object `{ minValue, maxValue }` (seconds). When **`form` is set:** that track object **merged** with the validated **`hb-form`** submit payload. |
23
49
 
24
- - `changeTrackValues` `{ minVaule: number; maxValue: number }` (note: first key is spelled `minVaule` in the implementation)
25
- - `dispatchTrack` — `ITrack` or track merged with form submit payload when `form` is set
50
+ ## CSS custom properties
26
51
 
27
- ### Usage notes
52
+ Theme and layout follow **Bulma 1.x** tokens. Relevant variables (see `extra/docs.ts` / `styleSetup`):
28
53
 
29
- Registers `hb-range-slider` and `hb-form`. Without `form`, use `dispatchTrack` for the trimmed range; with `form`, submission dispatches `dispatchTrack` including validated form fields.
54
+ | Variable | Role |
55
+ | --- | --- |
56
+ | `--hb-slider-background-color` | Accent for the nested **`hb-range-slider`** (trim bar). The markup maps it from **`--bulma-primary`** by default; set it on **`hb-editor-video`** to retint the slider independently. |
57
+ | `--bulma-primary` | Primary **Send** button and default slider accent when mapped in markup. |
58
+ | `--bulma-control-height` | Line box for the duration row and width of small time inputs. |
59
+ | `--bulma-link` | Link-styled Bulma tokens where they apply. |
60
+
61
+ ## CSS `::part` names
62
+
63
+ None.
64
+
65
+ ## Slots
66
+
67
+ None.
68
+
69
+ ## Minimal examples
70
+
71
+ **Trim only (no form):**
72
+
73
+ ```html
74
+ <hb-editor-video
75
+ src="https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"
76
+ track='{"minValue":0,"maxValue":120}'
77
+ ></hb-editor-video>
78
+ ```
30
79
 
31
- ### Minimal HTML example
80
+ **With a small metadata form** (schema is a JSON string; this matches the Storybook-style example in `extra/docs.ts`):
32
81
 
33
82
  ```html
34
83
  <hb-editor-video
35
- src="https://example.com/video.mp4"
36
- track="{&quot;minValue&quot;:0,&quot;maxValue&quot;:120}"
84
+ id="my-editor"
85
+ src="https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"
86
+ track='{"minValue":0,"maxValue":5}'
87
+ form='[{"type":"text","id":"clipTitle","label":"Clip title","required":false,"value":"","placeholder":"Optional label"}]'
37
88
  ></hb-editor-video>
38
89
  ```
90
+
91
+ **Listening from JavaScript:**
92
+
93
+ ```js
94
+ const el = document.querySelector("hb-editor-video");
95
+
96
+ el.addEventListener("changeTrackValues", (e) => {
97
+ console.log(e.detail.minVaule, e.detail.maxValue);
98
+ });
99
+
100
+ el.addEventListener("dispatchTrack", (e) => {
101
+ console.log("final selection", e.detail);
102
+ });
103
+ ```
104
+
105
+ ## TypeScript (authoring)
106
+
107
+ From `types/webcomponent.type.d.ts`:
108
+
109
+ ```ts
110
+ export interface ITrack {
111
+ minValue: number;
112
+ maxValue: number;
113
+ }
114
+
115
+ export type Component = {
116
+ id?: string;
117
+ style?: string;
118
+ src: string;
119
+ form?: string;
120
+ track?: ITrack;
121
+ };
122
+
123
+ export type Events = {
124
+ changeTrackValues: { minVaule: number; maxValue: number };
125
+ dispatchTrack: { track: ITrack };
126
+ };
127
+ ```
128
+
129
+ **Note:** `Events.dispatchTrack` is documented in typings as `{ track: ITrack }`, but the element dispatches **`CustomEvent` detail** as the **track object itself** (or **track + form fields**), not wrapped in a `track` property. Prefer the runtime shapes described in the **Events** table above when handling `dispatchTrack`.
130
+
131
+ ## License
132
+
133
+ Package metadata in `extra/docs.ts` lists **Apache-2.0** (`LICENSE.md`). The Svelte source file header may still cite MIT for historical attribution; treat the **package license** as authoritative for distribution.
package/main.iife.js CHANGED
@@ -1,6 +1,6 @@
1
1
  (function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},l=(e,r,i)=>(i=e==null?{}:t(a(e)),c(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e));typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var u={},d=Symbol(),f=`http://www.w3.org/1999/xhtml`,p=Array.isArray,m=Array.prototype.indexOf,h=Array.prototype.includes,g=Array.from,_=Object.keys,v=Object.defineProperty,y=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyDescriptors,ee=Object.prototype,te=Array.prototype,ne=Object.getPrototypeOf,x=Object.isExtensible,S=()=>{};function re(e){for(var t=0;t<e.length;t++)e[t]()}function ie(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var C=1024,w=2048,ae=4096,oe=8192,se=16384,ce=32768,le=1<<25,ue=65536,de=1<<18,fe=1<<19,pe=1<<20,me=65536,he=1<<21,ge=1<<22,_e=1<<23,ve=Symbol(`$state`),ye=Symbol(`legacy props`),be=Symbol(``),T=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},xe=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function Se(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function Ce(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function we(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function Te(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function Ee(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function De(){throw Error(`https://svelte.dev/e/hydration_failed`)}function Oe(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function ke(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Ae(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function je(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Me(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function Ne(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Pe(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var E=!1;function D(e){E=e}var O;function k(e){if(e===null)throw Ne(),u;return O=e}function Fe(){return k(R(O))}function A(e){if(E){if(R(O)!==null)throw Ne(),u;O=e}}function Ie(e=1){if(E){for(var t=e,n=O;t--;)n=R(n);O=n}}function Le(e=!0){for(var t=0,n=O;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=R(n);e&&n.remove(),n=i}}function Re(e){if(!e||e.nodeType!==8)throw Ne(),u;return e.data}function ze(e){return e===this.v}function Be(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Ve(e){return!Be(e,this.v)}var He=!1,Ue=!1,j=null;function We(e){j=e}function Ge(e,t=!1,n){j={p:j,i:!1,c:null,e:null,s:e,x:null,r:G,l:Ue&&!t?{s:null,u:null,$:[]}:null}}function Ke(e){var t=j,n=t.e;if(n!==null){t.e=null;for(var r of n)bn(r)}return e!==void 0&&(t.x=e),t.i=!0,j=t.p,e??{}}function qe(){return!Ue||j!==null&&j.l===null}var Je=[];function Ye(){var e=Je;Je=[],re(e)}function Xe(e){if(Je.length===0&&!ut){var t=Je;queueMicrotask(()=>{t===Je&&Ye()})}Je.push(e)}function Ze(){for(;Je.length>0;)Ye()}function Qe(e){var t=G;if(t===null)return H.f|=_e,e;if(!(t.f&32768)&&!(t.f&4))throw e;$e(e,t)}function $e(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var et=~(w|ae|C);function M(e,t){e.f=e.f&et|t}function tt(e){e.f&512||e.deps===null?M(e,C):M(e,ae)}function nt(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=me,nt(t.deps))}function rt(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),nt(e.deps),M(e,C)}var it=!1,at=!1;function ot(e){var t=at;try{return at=!1,[e(),at]}finally{at=t}}var st=new Set,N=null,ct=null,P=null,lt=null,ut=!1,dt=!1,ft=null,pt=null,mt=0,ht=1,gt=class e{id=ht++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=new Map;#r=new Map;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u=new Set;#d(){return this.is_fork||this.#r.size>0}#f(){for(let n of this.#u)for(let r of n.#r.keys()){for(var e=!1,t=r;t.parent!==null;){if(this.#c.has(t)){e=!0;break}t=t.parent}if(!e)return!0}return!1}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)M(n,w),this.schedule(n);for(n of t.m)M(n,ae),this.schedule(n)}}#p(){if(mt++>1e3&&(st.delete(this),vt()),!this.#d()){for(let e of this.#o)this.#s.delete(e),M(e,w),this.schedule(e);for(let e of this.#s)M(e,ae),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=ft=[],r=[],i=pt=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw Tt(e),t}if(N=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(ft=null,pt=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)wt(e,t)}else{this.#n.size===0&&st.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),ct=this,bt(r),bt(n),ct=null,this.#i?.resolve()}var o=N;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(st.add(o),o.#p()),st.has(this)||this.#g()}#m(e,t,n){e.f^=C;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=C:i&4?t.push(r):He&&i&16777224?n.push(r):Xn(r)&&(i&16&&this.#s.add(r),tr(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#h(e){for(var t=0;t<e.length;t+=1)rt(e[t],this.#o,this.#s)}capture(e,t,n=!1){t!==d&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,[e.v,n]),P?.set(e,e.v))}activate(){N=this}deactivate(){N=null,P=null}flush(){try{dt=!0,N=this,this.#p()}finally{mt=0,lt=null,ft=null,pt=null,dt=!1,N=null,P=null,Wt.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),st.delete(this)}#g(){for(let c of st){var e=c.id<this.id,t=[];for(let[r,[i,a]]of this.current){if(c.current.has(r)){var n=c.current.get(r)[0];if(e&&i!==n)c.current.set(r,[i,a]);else continue}t.push(r)}var r=[...c.current.keys()].filter(e=>!this.current.has(e));if(r.length===0)e&&c.discard();else if(t.length>0){c.activate();var i=new Set,a=new Map;for(var o of t)xt(o,r,i,a);if(c.#a.length>0){c.apply();for(var s of c.#a)c.#m(s,[],[]);c.#a=[]}c.deactivate()}}for(let e of st)e.#u.has(this)&&(e.#u.delete(this),e.#u.size===0&&!e.#d()&&(e.activate(),e.#p()))}increment(e,t){let n=this.#n.get(t)??0;if(this.#n.set(t,n+1),e){let e=this.#r.get(t)??0;this.#r.set(t,e+1)}}decrement(e,t,n){let r=this.#n.get(t)??0;if(r===1?this.#n.delete(t):this.#n.set(t,r-1),e){let e=this.#r.get(t)??0;e===1?this.#r.delete(t):this.#r.set(t,e-1)}this.#l||n||(this.#l=!0,Xe(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=ie()).promise}static ensure(){if(N===null){let t=N=new e;dt||(st.add(N),ut||Xe(()=>{N===t&&t.flush()}))}return N}apply(){if(!He||!this.is_fork&&st.size===1){P=null;return}P=new Map;for(let[e,[t]]of this.current)P.set(e,t);for(let n of st)if(!(n===this||n.is_fork)){var e=!1,t=!1;if(n.id<this.id)for(let[r,[,i]]of n.current)i||(e||=this.current.has(r),t||=!this.current.has(r));if(e&&t)this.#u.add(n);else for(let[e,t]of n.previous)P.has(e)||P.set(e,t)}}schedule(e){if(lt=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(ft!==null&&t===G&&(He||(H===null||!(H.f&2))&&!it))return;if(n&96){if(!(n&1024))return;t.f^=C}}this.#a.push(t)}};function _t(e){var t=ut;ut=!0;try{var n;for(e&&(N!==null&&!N.is_fork&&N.flush(),n=e());;){if(Ze(),N===null)return n;N.flush()}}finally{ut=t}}function vt(){try{Ee()}catch(e){$e(e,lt)}}var yt=null;function bt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Xn(r)&&(yt=new Set,tr(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Nn(r),yt?.size>0)){Wt.clear();for(let e of yt){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)yt.has(n)&&(yt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||tr(n)}}yt.clear()}}yt=null}}function xt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?xt(i,t,n,r):e&4194320&&!(e&2048)&&St(i,t,r)&&(M(i,w),Ct(i))}}function St(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(h.call(t,r))return!0;if(r.f&2&&St(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function Ct(e){N.schedule(e)}function wt(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),M(e,C);for(var n=e.first;n!==null;)wt(n,t),n=n.next}}function Tt(e){M(e,C);for(var t=e.first;t!==null;)Tt(t),t=t.next}function Et(e){let t=0,n=Kt(0),r;return()=>{_n()&&(Z(n),Tn(()=>(t===0&&(r=ar(()=>e(()=>Xt(n)))),t+=1,()=>{Xe(()=>{--t,t===0&&(r?.(),r=void 0,Xt(n))})})))}}var Dt=ue|fe;function Ot(e,t,n,r){new kt(e,t,n,r)}var kt=class{parent;is_pending=!1;transform_error;#e;#t=E?O:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=Et(()=>(this.#m=Kt(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=G;t.b=this,t.f|=128,n(e)},this.parent=G.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=Dn(()=>{if(E){let e=this.#t;Fe();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},Dt),E&&(this.#e=O)}#g(){try{this.#a=On(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=On(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=On(()=>e(this.#e)),Xe(()=>{var e=this.#c=document.createDocumentFragment(),t=L();e.append(t),this.#a=this.#x(()=>On(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,Pn(this.#o,()=>{this.#o=null}),this.#b(N))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=On(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();Rn(this.#a,e);let t=this.#n.pending;this.#o=On(()=>t(this.#e))}else this.#b(N)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){rt(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=G,n=H,r=j;K(this.#i),W(this.#i),We(this.#i.ctx);try{return gt.ensure(),e()}catch(e){return Qe(e),null}finally{K(t),W(n),We(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&Pn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,Xe(()=>{this.#d=!1,this.#m&&Jt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),Z(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(V(this.#a),null),this.#o&&=(V(this.#o),null),this.#s&&=(V(this.#s),null),E&&(k(this.#t),Ie(),k(Le()));var r=!1,i=!1;let a=()=>{if(r){Pe();return}r=!0,i&&Me(),this.#s!==null&&Pn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){$e(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return On(()=>{var t=G;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return $e(e,this.#i.parent),null}}))};Xe(()=>{var t;try{t=this.transform_error(e)}catch(e){$e(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>$e(e,this.#i&&this.#i.parent)):o(t)})}};function At(e,t,n,r){let i=qe()?Pt:It;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=G,s=jt(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||$e(e,o)}Mt()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=Nt();function d(){Promise.all(n.map(e=>Ft(e))).then(e=>l([...t.map(i),...e])).catch(e=>$e(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),Mt()}):d()}function jt(){var e=G,t=H,n=j,r=N;return function(i=!0){K(e),W(t),We(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Mt(e=!0){K(null),W(null),We(null),e&&N?.deactivate()}function Nt(){var e=G,t=e.b,n=N,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function Pt(e){var t=2|w,n=H!==null&&H.f&2?H:null;return G!==null&&(G.f|=fe),{ctx:j,deps:null,effects:null,equals:ze,f:t,fn:e,reactions:null,rv:0,v:d,wv:0,parent:n??G,ac:null}}function Ft(e,t,n){let r=G;r===null&&Se();var i=void 0,a=Kt(d),o=!H,s=new Map;return wn(()=>{var t=G,n=ie();i=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Mt)}catch(e){n.reject(e),Mt()}var c=N;if(o){if(t.f&32768)var l=Nt();if(r.b.is_rendered())s.get(c)?.reject(T),s.delete(c);else{for(let e of s.values())e.reject(T);s.clear()}s.set(c,n)}let u=(e,n=void 0)=>{if(l&&l(n===T),!(n===T||t.f&16384)){if(c.activate(),n)a.f|=_e,Jt(a,n);else{a.f&8388608&&(a.f^=_e),Jt(a,e);for(let[e,t]of s){if(s.delete(e),e===c)break;t.reject(T)}}c.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),vn(()=>{for(let e of s.values())e.reject(T)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function It(e){let t=Pt(e);return t.equals=Ve,t}function Lt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)V(t[n])}}function Rt(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function zt(e){var t,n=G;K(Rt(e));try{e.f&=~me,Lt(e),t=Qn(e)}finally{K(n)}return t}function Bt(e){var t=e.v,n=zt(e);if(!e.equals(n)&&(e.wv=Yn(),(!N?.is_fork||e.deps===null)&&(e.v=n,N?.capture(e,t,!0),e.deps===null))){M(e,C);return}Vn||(P===null?tt(e):(_n()||N?.is_fork)&&P.set(e,n))}function Vt(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(T),t.teardown=S,t.ac=null,er(t,0),An(t))}function Ht(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&tr(t)}var Ut=new Set,Wt=new Map,Gt=!1;function Kt(e,t){return{f:0,v:e,reactions:null,equals:ze,rv:0,wv:0}}function F(e,t){let n=Kt(e,t);return Un(n),n}function qt(e,t=!1,n=!0){let r=Kt(e);return t||(r.equals=Ve),Ue&&n&&j!==null&&j.l!==null&&(j.l.s??=[]).push(r),r}function I(e,t,n=!1){return H!==null&&(!U||H.f&131072)&&qe()&&H.f&4325394&&(q===null||!h.call(q,e))&&je(),Jt(e,n?Qt(t):t,pt)}function Jt(e,t,n=null){if(!e.equals(t)){var r=e.v;Vn?Wt.set(e,t):Wt.set(e,r),e.v=t;var i=gt.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&zt(t),P===null&&tt(t)}e.wv=Yn(),Zt(e,w,n),qe()&&G!==null&&G.f&1024&&!(G.f&96)&&(X===null?Wn([e]):X.push(e)),!i.is_fork&&Ut.size>0&&!Gt&&Yt()}return t}function Yt(){Gt=!1;for(let e of Ut)e.f&1024&&M(e,ae),Xn(e)&&tr(e);Ut.clear()}function Xt(e){I(e,e.v+1)}function Zt(e,t,n){var r=e.reactions;if(r!==null)for(var i=qe(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===G)){var l=(c&w)===0;if(l&&M(s,t),c&2){var u=s;P?.delete(u),c&65536||(c&512&&(s.f|=me),Zt(u,ae,n))}else if(l){var d=s;c&16&&yt!==null&&yt.add(d),n===null?Ct(d):n.push(d)}}}}function Qt(e){if(typeof e!=`object`||!e||ve in e)return e;let t=ne(e);if(t!==ee&&t!==te)return e;var n=new Map,r=p(e),i=F(0),a=null,o=qn,s=e=>{if(qn===o)return e();var t=H,n=qn;W(null),Jn(o);var r=e();return W(t),Jn(n),r};return r&&n.set(`length`,F(e.length,a)),new Proxy(e,{defineProperty(e,t,r){(!(`value`in r)||r.configurable===!1||r.enumerable===!1||r.writable===!1)&&ke();var i=n.get(t);return i===void 0?s(()=>{var e=F(r.value,a);return n.set(t,e),e}):I(i,r.value,!0),!0},deleteProperty(e,t){var r=n.get(t);if(r===void 0){if(t in e){let e=s(()=>F(d,a));n.set(t,e),Xt(i)}}else I(r,d),Xt(i);return!0},get(t,r,i){if(r===ve)return e;var o=n.get(r),c=r in t;if(o===void 0&&(!c||y(t,r)?.writable)&&(o=s(()=>F(Qt(c?t[r]:d),a)),n.set(r,o)),o!==void 0){var l=Z(o);return l===d?void 0:l}return Reflect.get(t,r,i)},getOwnPropertyDescriptor(e,t){var r=Reflect.getOwnPropertyDescriptor(e,t);if(r&&`value`in r){var i=n.get(t);i&&(r.value=Z(i))}else if(r===void 0){var a=n.get(t),o=a?.v;if(a!==void 0&&o!==d)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return r},has(e,t){if(t===ve)return!0;var r=n.get(t),i=r!==void 0&&r.v!==d||Reflect.has(e,t);return(r!==void 0||G!==null&&(!i||y(e,t)?.writable))&&(r===void 0&&(r=s(()=>F(i?Qt(e[t]):d,a)),n.set(t,r)),Z(r)===d)?!1:i},set(e,t,o,c){var l=n.get(t),u=t in e;if(r&&t===`length`)for(var f=o;f<l.v;f+=1){var p=n.get(f+``);p===void 0?f in e&&(p=s(()=>F(d,a)),n.set(f+``,p)):I(p,d)}if(l===void 0)(!u||y(e,t)?.writable)&&(l=s(()=>F(void 0,a)),I(l,Qt(o)),n.set(t,l));else{u=l.v!==d;var m=s(()=>Qt(o));I(l,m)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(c,o),!u){if(r&&typeof t==`string`){var g=n.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&I(g,_+1)}Xt(i)}return!0},ownKeys(e){Z(i);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return t===void 0||t.v!==d});for(var[r,a]of n)a.v!==d&&!(r in e)&&t.push(r);return t},setPrototypeOf(){Ae()}})}var $t,en,tn,nn;function rn(){if($t===void 0){$t=window,en=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;tn=y(t,`firstChild`).get,nn=y(t,`nextSibling`).get,x(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),x(n)&&(n.__t=void 0)}}function L(e=``){return document.createTextNode(e)}function an(e){return tn.call(e)}function R(e){return nn.call(e)}function z(e,t){if(!E)return an(e);var n=an(O);if(n===null)n=O.appendChild(L());else if(t&&n.nodeType!==3){var r=L();return n?.before(r),k(r),r}return t&&ln(n),k(n),n}function B(e,t=1,n=!1){let r=E?O:e;for(var i;t--;)i=r,r=R(r);if(!E)return r;if(n){if(r?.nodeType!==3){var a=L();return r===null?i?.after(a):r.before(a),k(a),a}ln(r)}return k(r),r}function on(e){e.textContent=``}function sn(){return!He||yt!==null?!1:(G.f&ce)!==0}function cn(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function ln(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}var un=!1;function dn(){un||(un=!0,document.addEventListener(`reset`,e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function fn(e){var t=H,n=G;W(null),K(null);try{return e()}finally{W(t),K(n)}}function pn(e,t,n,r=n){e.addEventListener(t,()=>fn(n));let i=e.__on_r;i?e.__on_r=()=>{i(),r(!0)}:e.__on_r=()=>r(!0),dn()}function mn(e){G===null&&(H===null&&Te(e),we()),Vn&&Ce(e)}function hn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function gn(e,t){var n=G;n!==null&&n.f&8192&&(e|=oe);var r={ctx:j,deps:null,nodes:null,f:e|w|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if(e&4)ft===null?gt.ensure().schedule(r):ft.push(r);else if(t!==null){try{tr(r)}catch(e){throw V(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ue))}if(i!==null&&(i.parent=n,n!==null&&hn(i,n),H!==null&&H.f&2&&!(e&64))){var a=H;(a.effects??=[]).push(i)}return r}function _n(){return H!==null&&!U}function vn(e){let t=gn(8,null);return M(t,C),t.teardown=e,t}function yn(e){mn(`$effect`);var t=G.f;if(!H&&t&32&&!(t&32768)){var n=j;(n.e??=[]).push(e)}else return bn(e)}function bn(e){return gn(4|pe,e)}function xn(e){gt.ensure();let t=gn(64|fe,e);return()=>{V(t)}}function Sn(e){gt.ensure();let t=gn(64|fe,e);return(e={})=>new Promise(n=>{e.outro?Pn(t,()=>{V(t),n(void 0)}):(V(t),n(void 0))})}function Cn(e){return gn(4,e)}function wn(e){return gn(ge|fe,e)}function Tn(e,t=0){return gn(8|t,e)}function En(e,t=[],n=[],r=[]){At(r,t,n,t=>{gn(8,()=>e(...t.map(Z)))})}function Dn(e,t=0){return gn(16|t,e)}function On(e){return gn(32|fe,e)}function kn(e){var t=e.teardown;if(t!==null){let e=Vn,n=H;Hn(!0),W(null);try{t.call(null)}finally{Hn(e),W(n)}}}function An(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&fn(()=>{e.abort(T)});var r=n.next;n.f&64?n.parent=null:V(n,t),n=r}}function jn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||V(t),t=n}}function V(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(Mn(e.nodes.start,e.nodes.end),n=!0),M(e,le),An(e,t&&!n),er(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();kn(e),e.f^=le,e.f|=se;var i=e.parent;i!==null&&i.first!==null&&Nn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Mn(e,t){for(;e!==null;){var n=e===t?null:R(e);e.remove(),e=n}}function Nn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Pn(e,t,n=!0){var r=[];Fn(e,r,!0);var i=()=>{n&&V(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function Fn(e,t,n){if(!(e.f&8192)){e.f^=oe;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;Fn(i,t,o?n:!1),i=a}}}function In(e){Ln(e,!0)}function Ln(e,t){if(e.f&8192){e.f^=oe,e.f&1024||(M(e,w),gt.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;Ln(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function Rn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:R(n);t.append(n),n=i}}var zn=null,Bn=!1,Vn=!1;function Hn(e){Vn=e}var H=null,U=!1;function W(e){H=e}var G=null;function K(e){G=e}var q=null;function Un(e){H!==null&&(!He||H.f&2)&&(q===null?q=[e]:q.push(e))}var J=null,Y=0,X=null;function Wn(e){X=e}var Gn=1,Kn=0,qn=Kn;function Jn(e){qn=e}function Yn(){return++Gn}function Xn(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~me),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Xn(a)&&Bt(a),a.wv>e.wv)return!0}t&512&&P===null&&M(e,C)}return!1}function Zn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!He&&q!==null&&h.call(q,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Zn(a,t,!1):t===a&&(n?M(a,w):a.f&1024&&M(a,ae),Ct(a))}}function Qn(e){var t=J,n=Y,r=X,i=H,a=q,o=j,s=U,c=qn,l=e.f;J=null,Y=0,X=null,H=l&96?null:e,q=null,We(e.ctx),U=!1,qn=++Kn,e.ac!==null&&(fn(()=>{e.ac.abort(T)}),e.ac=null);try{e.f|=he;var u=e.fn,d=u();e.f|=ce;var f=e.deps,p=N?.is_fork;if(J!==null){var m;if(p||er(e,Y),f!==null&&Y>0)for(f.length=Y+J.length,m=0;m<J.length;m++)f[Y+m]=J[m];else e.deps=f=J;if(_n()&&e.f&512)for(m=Y;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&Y<f.length&&(er(e,Y),f.length=Y);if(qe()&&X!==null&&!U&&f!==null&&!(e.f&6146))for(m=0;m<X.length;m++)Zn(X[m],e);if(i!==null&&i!==e){if(Kn++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Kn;if(t!==null)for(let e of t)e.rv=Kn;X!==null&&(r===null?r=X:r.push(...X))}return e.f&8388608&&(e.f^=_e),d}catch(e){return Qe(e)}finally{e.f^=he,J=t,Y=n,X=r,H=i,q=a,We(o),U=s,qn=c}}function $n(e,t){let n=t.reactions;if(n!==null){var r=m.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&t.f&2&&(J===null||!h.call(J,t))){var a=t;a.f&512&&(a.f^=512,a.f&=~me),tt(a),Vt(a),er(a,0)}}function er(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)$n(e,n[r])}function tr(e){var t=e.f;if(!(t&16384)){M(e,C);var n=G,r=Bn;G=e,Bn=!0;try{t&16777232?jn(e):An(e),kn(e);var i=Qn(e);e.teardown=typeof i==`function`?i:null,e.wv=Gn}finally{Bn=r,G=n}}}async function nr(){if(He)return new Promise(e=>{requestAnimationFrame(()=>e()),setTimeout(()=>e())});await Promise.resolve(),_t()}function Z(e){var t=(e.f&2)!=0;if(zn?.add(e),H!==null&&!U&&!(G!==null&&G.f&16384)&&(q===null||!h.call(q,e))){var n=H.deps;if(H.f&2097152)e.rv<Kn&&(e.rv=Kn,J===null&&n!==null&&n[Y]===e?Y++:J===null?J=[e]:J.push(e));else{(H.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[H]:h.call(r,H)||r.push(H)}}if(Vn&&Wt.has(e))return Wt.get(e);if(t){var i=e;if(Vn){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||ir(i))&&(a=zt(i)),Wt.set(i,a),a}var o=(i.f&512)==0&&!U&&H!==null&&(Bn||(H.f&512)!=0),s=(i.f&ce)===0;Xn(i)&&(o&&(i.f|=512),Bt(i)),o&&!s&&(Ht(i),rr(i))}if(P?.has(e))return P.get(e);if(e.f&8388608)throw e.v;return e.v}function rr(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Ht(t),rr(t))}function ir(e){if(e.v===d)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(Wt.has(t)||t.f&2&&ir(t))return!0;return!1}function ar(e){var t=U;try{return U=!0,e()}finally{U=t}}var or=Symbol(`events`),sr=new Set,cr=new Set;function lr(e,t,n,r={}){function i(e){if(r.capture||pr.call(t,e),!e.cancelBubble)return fn(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?Xe(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function ur(e,t,n,r,i){var a={capture:r,passive:i},o=lr(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&vn(()=>{t.removeEventListener(e,o,a)})}function Q(e,t,n){(t[or]??={})[e]=n}function dr(e){for(var t=0;t<e.length;t++)sr.add(e[t]);for(var n of cr)n(e)}var fr=null;function pr(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;fr=e;var o=0,s=fr===e&&e[or];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[or]=t;return}var l=i.indexOf(t);if(l===-1)return;c<=l&&(o=c)}if(a=i[o]||e.target,a!==t){v(e,`currentTarget`,{configurable:!0,get(){return a||n}});var u=H,d=G;W(null),K(null);try{for(var f,p=[];a!==null;){var m=a.assignedSlot||a.parentNode||a.host||null;try{var h=a[or]?.[r];h!=null&&(!a.disabled||e.target===a)&&h.call(a,e)}catch(e){f?p.push(e):f=e}if(e.cancelBubble||m===t||m===null)break;a=m}if(f){for(let e of p)queueMicrotask(()=>{throw e});throw f}}finally{e[or]=t,delete e.currentTarget,W(u),K(d)}}}var mr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function hr(e){return mr?.createHTML(e)??e}function gr(e){var t=cn(`template`);return t.innerHTML=hr(e.replaceAll(`<!>`,`<!---->`)),t.content}function _r(e,t){var n=G;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function vr(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(E)return _r(O,null),O;i===void 0&&(i=gr(a?e:`<!>`+e),n||(i=an(i)));var t=r||en?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=an(t),s=t.lastChild;_r(o,s)}else _r(t,t);return t}}function yr(e=``){if(!E){var t=L(e+``);return _r(t,t),t}var n=O;return n.nodeType===3?ln(n):(n.before(n=L()),k(n)),_r(n,n),n}function $(e,t){if(E){var n=G;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=O),Fe();return}e!==null&&e.before(t)}[...`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`)];var br=[`touchstart`,`touchmove`];function xr(e){return br.includes(e)}function Sr(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function Cr(e,t){return Er(e,t)}function wr(e,t){rn(),t.intro=t.intro??!1;let n=t.target,r=E,i=O;try{for(var a=an(n);a&&(a.nodeType!==8||a.data!==`[`);)a=R(a);if(!a)throw u;D(!0),k(a);let r=Er(e,{...t,anchor:a});return D(!1),r}catch(r){if(r instanceof Error&&r.message.split(`
2
2
  `).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw r;return r!==u&&console.warn(`Failed to hydrate: `,r),t.recover===!1&&De(),rn(),on(n),D(!1),Cr(e,t)}finally{D(r),k(i)}}var Tr=new Map;function Er(e,{target:t,anchor:n,props:r={},events:i,context:a,intro:o=!0,transformError:s}){rn();var c=void 0,l=Sn(()=>{var o=n??t.appendChild(L());Ot(o,{pending:()=>{}},t=>{Ge({});var n=j;if(a&&(n.c=a),i&&(r.$$events=i),E&&_r(t,null),c=e(t,r)||{},E&&(G.nodes.end=O,O===null||O.nodeType!==8||O.data!==`]`))throw Ne(),u;Ke()},s);var l=new Set,d=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!l.has(r)){l.add(r);var i=xr(r);for(let e of[t,document]){var a=Tr.get(e);a===void 0&&(a=new Map,Tr.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,pr,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return d(g(sr)),cr.add(d),()=>{for(var e of l)for(let n of[t,document]){var r=Tr.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,pr),r.delete(e),r.size===0&&Tr.delete(n)):r.set(e,i)}cr.delete(d),o!==n&&o.parentNode?.removeChild(o)}});return Dr.set(c,l),c}var Dr=new WeakMap;function Or(e,t){let n=Dr.get(e);return n?(Dr.delete(e),n(t)):Promise.resolve()}var kr=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)In(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(V(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();Rn(r,t),t.append(L()),this.#n.set(e,{effect:r,fragment:t})}else V(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),Pn(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(V(n.effect),this.#n.delete(e))};ensure(e,t){var n=N,r=sn();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=L();i.append(a),this.#n.set(e,{effect:On(()=>t(a)),fragment:i})}else this.#t.set(e,On(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else E&&(this.anchor=O),this.#a(n)}};function Ar(e,t,n=!1){var r;E&&(r=O,Fe());var i=new kr(e),a=n?ue:0;function o(e,t){if(E){var n=Re(r);if(e!==parseInt(n.substring(1))){var a=Le();k(a),i.anchor=a,D(!1),i.ensure(e,t),D(!0);return}}i.ensure(e,t)}Dn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function jr(e,t){let n=null,r=E;var i;if(E){n=O;for(var a=an(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=R(a);if(a===null)D(!1);else{var o=R(a);a.remove(),k(o)}}E||(i=document.head.appendChild(L()));try{Dn(()=>t(i),de|fe)}finally{r&&(D(!0),k(n))}}function Mr(e,t){Cn(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=cn(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}var Nr=[...`
3
- \r\f\xA0\v`];function Pr(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||Nr.includes(r[o-1]))&&(s===r.length||Nr.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Fr(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function Ir(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Lr(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Ir)),i&&c.push(...Object.keys(i).map(Ir));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=Ir(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=Fr(r)),i&&(n+=Fr(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function Rr(e,t,n,r,i,a){var o=e.__className;if(E||o!==n||o===void 0){var s=Pr(n,r,a);(!E||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e.__className=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function zr(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function Br(e,t,n,r){var i=e.__style;if(E||i!==t){var a=Lr(t,r);(!E||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e.__style=t}else r&&(Array.isArray(r)?(zr(e,n?.[0],r[0]),zr(e,n?.[1],r[1],`important`)):zr(e,n,r));return r}var Vr=Symbol(`is custom element`),Hr=Symbol(`is html`),Ur=xe?`link`:`LINK`;function Wr(e){if(E){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;Gr(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;Gr(e,`checked`,null),e.checked=r}}};e.__on_r=n,Xe(n),dn()}}function Gr(e,t,n,r){var i=qr(e);E&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Ur)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[be]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Yr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Kr(e,t,n){var r=H,i=G;let a=E;E&&D(!1),W(null),K(null);try{t!==`style`&&(Jr.has(e.getAttribute(`is`)||e.nodeName)||!customElements||customElements.get(e.getAttribute(`is`)||e.nodeName.toLowerCase())?Yr(e).includes(t):n&&typeof n==`object`)?e[t]=n:Gr(e,t,n==null?n:String(n))}finally{W(r),K(i),a&&D(!0)}}function qr(e){return e.__attributes??={[Vr]:e.nodeName.includes(`-`),[Hr]:e.namespaceURI===f}}var Jr=new Map;function Yr(e){var t=e.getAttribute(`is`)||e.nodeName,n=Jr.get(t);if(n)return n;Jr.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=b(i),r)r[o].set&&n.push(o);i=ne(i)}return n}function Xr(e,t,n=t){var r=new WeakSet;pn(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=Zr(e)?Qr(a):a,n(a),N!==null&&r.add(N),await nr(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(E&&e.defaultValue!==e.value||ar(t)==null&&e.value)&&(n(Zr(e)?Qr(e.value):e.value),N!==null&&r.add(N)),Tn(()=>{var n=t();if(e===document.activeElement){var i=He?ct:N;if(r.has(i))return}Zr(e)&&n===Qr(e.value)||e.type===`date`&&!n&&!e.value||n!==e.value&&(e.value=n??``)})}function Zr(e){var t=e.type;return t===`number`||t===`range`}function Qr(e){return e===``?null:+e}function $r(e,t,n,r){var i=!Ue||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?ar(r):r),s);let u;if(a){var d=ve in e||ye in e;u=y(e,t)?.set??(d&&t in e?n=>e[t]=n:void 0)}var f,p=!1;a?[f,p]=ot(()=>e[t]):f=e[t],f===void 0&&r!==void 0&&(f=l(),u&&(i&&Oe(t),u(f)));var m=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return m;if(u){var h=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||h||p)&&u(t?m():e),e):m()})}var g=!1,_=(n&1?Pt:It)(()=>(g=!1,m()));a&&Z(_);var v=G;return(function(e,t){if(arguments.length>0){let n=t?Z(_):i&&a?Qt(e):e;return I(_,n),g=!0,s!==void 0&&(s=n),e}return Vn&&g||v.f&16384?_.v:Z(_)})}function ei(e){return new ti(e)}var ti=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=qt(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return Z(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===ye?!0:(Z(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return I(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?wr:Cr)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!He&&(!e?.props?.$$host||e.sync===!1)&&_t(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||v(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{Or(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},ni;typeof HTMLElement==`function`&&(ni=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=cn(`slot`);e!==`default`&&(n.name=e),$(t,n)}}let t={},n=ii(this);for(let r of this.$$s)r in n&&(r===`default`&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=ri(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=ei({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=xn(()=>{Tn(()=>{this.$$r=!0;for(let e of _(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=ri(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=ri(e,n,this.$$p_d,`toProp`),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return _(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function ri(e,t,n,r){let i=n[e]?.type;if(t=i===`Boolean`&&typeof t!=`boolean`?t!=null:t,!r||!n[e])return t;if(r===`toAttribute`)switch(i){case`Object`:case`Array`:return t==null?null:JSON.stringify(t);case`Boolean`:return t?``:null;case`Number`:return t??null;default:return t}else switch(i){case`Object`:case`Array`:return t&&JSON.parse(t);case`Boolean`:return t;case`Number`:return t==null?t:+t;default:return t}}function ii(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function ai(e,t,n,r,i,a){let o=class extends ni{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return _(t).map(e=>(t[e].attribute||e).toLowerCase())}};return _(t).forEach(e=>{v(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=ri(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(y(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{v(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var oi=l(s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var ee=`$isDayjsObject`,te=function(e){return e instanceof re||!(!e||!e[ee])},ne=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},x=function(e,t){if(te(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new re(n)},S=v;S.l=ne,S.i=te,S.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var re=function(){function g(e){this.$L=ne(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[ee]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return S},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=x(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return x(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<x(e)},_.$g=function(e,t,n){return S.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!S.u(t)||t,u=S.p(e),p=function(e,t){var i=S.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return S.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=S.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[S.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=S.p(u),h=function(e){var t=x(p);return S.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return S.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=S.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return S.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return S.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return S.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return S.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return S.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return S.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return S.s(t.$s,2,`0`);case`SSS`:return S.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=S.p(f),_=x(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return S.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:S.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=ne(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return S.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),ie=re.prototype;return x.prototype=ie,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){ie[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),x.extend=function(e,t){return e.$i||=(e(t,re,x),!0),x},x.locale=ne,x.isDayjs=te,x.unix=function(e){return x(1e3*e)},x.en=b[y],x.Ls=b,x.p={},x}))}))()),si={name:`@htmlbricks/svelte-webcomponent`,private:!0,version:`0.71.34`,type:`module`,scripts:{dev:`vite --open`,build:`vite build`,"publish:wc":`node publish.ts`,"build:wc":`node build.ts`,"watch:wc":`node watch.ts`,preview:`vite preview`,check:`svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json`,"release:patch":`npm version patch && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:minor":`npm version minor && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:major":`npm version major && git push && git push --tags && npm run build:wc && npm run publish:wc`},devDependencies:{"@google-pay/button-element":`^3.2.1`,"@paypal/paypal-js":`^9.5.0`,"@sveltejs/vite-plugin-svelte":`^7.0.0`,"@tsconfig/svelte":`^5.0.8`,"@types/debounce":`^1.2.4`,"@types/node":`^24.10.1`,"@types/rgb-hex":`^3.0.0`,"chart.js":`^4.5.1`,"date-holidays":`^3.26.12`,dayjs:`^1.11.20`,"hls.js":`^1.6.15`,"html5-joystick-new":`^0.0.6`,ol:`^10.8.0`,"perfect-freehand":`^1.2.3`,prettier:`^3.8.1`,"rollup-plugin-terser":`^7.0.2`,"sass-embedded":`^1.98.0`,"simple-serverless-auth-client":`^0.0.6`,"simple-webrtc-element":`^0.0.1`,"simple-webrtc-element-whep":`^0.2.3`,"style-to-object":`^1.0.14`,svelte:`^5.55.0`,"svelte-check":`^4.4.5`,terser:`^5.46.1`,"ts-json-schema-generator":`^2.9.0`,typescript:`^6.0.2`,vite:`^8.0.3`},dependencies:{"@floating-ui/dom":`^1.7.6`,"@popperjs/core":`^2.11.8`,debounce:`^3.0.0`,"html-colors":`^0.0.6`,marked:`^17.0.5`,raphael:`^2.3.0`,"rgb-hex":`^4.1.0`,"wc-js-utils":`^0.5.4`}},ci=l(s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_duration=r()})(e,(function(){"use strict";var e,t,n=1e3,r=6e4,i=36e5,a=864e5,o=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=31536e6,c=2628e6,l=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,u={years:s,months:c,days:a,hours:i,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},d=function(e){return e instanceof v},f=function(e,t,n){return new v(e,n,t.$l)},p=function(e){return t.p(e)+`s`},m=function(e){return e<0},h=function(e){return m(e)?Math.ceil(e):Math.floor(e)},g=function(e){return Math.abs(e)},_=function(e,t){return e?m(e)?{negative:!0,format:``+g(e)+t}:{negative:!1,format:``+e+t}:{negative:!1,format:``}},v=function(){function m(e,t,n){var r=this;if(this.$d={},this.$l=n,e===void 0&&(this.$ms=0,this.parseFromMilliseconds()),t)return f(e*u[p(t)],this);if(typeof e==`number`)return this.$ms=e,this.parseFromMilliseconds(),this;if(typeof e==`object`)return Object.keys(e).forEach((function(t){r.$d[p(t)]=e[t]})),this.calMilliseconds(),this;if(typeof e==`string`){var i=e.match(l);if(i){var a=i.slice(2).map((function(e){return e==null?0:Number(e)}));return this.$d.years=a[0],this.$d.months=a[1],this.$d.weeks=a[2],this.$d.days=a[3],this.$d.hours=a[4],this.$d.minutes=a[5],this.$d.seconds=a[6],this.calMilliseconds(),this}}return this}var g=m.prototype;return g.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*u[n]}),0)},g.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=h(e/s),e%=s,this.$d.months=h(e/c),e%=c,this.$d.days=h(e/a),e%=a,this.$d.hours=h(e/i),e%=i,this.$d.minutes=h(e/r),e%=r,this.$d.seconds=h(e/n),e%=n,this.$d.milliseconds=e},g.toISOString=function(){var e=_(this.$d.years,`Y`),t=_(this.$d.months,`M`),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=_(n,`D`),i=_(this.$d.hours,`H`),a=_(this.$d.minutes,`M`),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var s=_(o,`S`),c=e.negative||t.negative||r.negative||i.negative||a.negative||s.negative,l=i.format||a.format||s.format?`T`:``,u=(c?`-`:``)+`P`+e.format+t.format+r.format+l+i.format+a.format+s.format;return u===`P`||u===`-P`?`P0D`:u},g.toJSON=function(){return this.toISOString()},g.format=function(e){var n=e||`YYYY-MM-DDTHH:mm:ss`,r={Y:this.$d.years,YY:t.s(this.$d.years,2,`0`),YYYY:t.s(this.$d.years,4,`0`),M:this.$d.months,MM:t.s(this.$d.months,2,`0`),D:this.$d.days,DD:t.s(this.$d.days,2,`0`),H:this.$d.hours,HH:t.s(this.$d.hours,2,`0`),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,`0`),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,`0`),SSS:t.s(this.$d.milliseconds,3,`0`)};return n.replace(o,(function(e,t){return t||String(r[e])}))},g.as=function(e){return this.$ms/u[p(e)]},g.get=function(e){var t=this.$ms,n=p(e);return n===`milliseconds`?t%=1e3:t=n===`weeks`?h(t/u[n]):this.$d[n],t||0},g.add=function(e,t,n){var r;return r=t?e*u[p(t)]:d(e)?e.$ms:f(e,this).$ms,f(this.$ms+r*(n?-1:1),this)},g.subtract=function(e,t){return this.add(e,t,!0)},g.locale=function(e){var t=this.clone();return t.$l=e,t},g.clone=function(){return f(this.$ms,this)},g.humanize=function(t){return e().add(this.$ms,`ms`).locale(this.$l).fromNow(!t)},g.valueOf=function(){return this.asMilliseconds()},g.milliseconds=function(){return this.get(`milliseconds`)},g.asMilliseconds=function(){return this.as(`milliseconds`)},g.seconds=function(){return this.get(`seconds`)},g.asSeconds=function(){return this.as(`seconds`)},g.minutes=function(){return this.get(`minutes`)},g.asMinutes=function(){return this.as(`minutes`)},g.hours=function(){return this.get(`hours`)},g.asHours=function(){return this.as(`hours`)},g.days=function(){return this.get(`days`)},g.asDays=function(){return this.as(`days`)},g.weeks=function(){return this.get(`weeks`)},g.asWeeks=function(){return this.as(`weeks`)},g.months=function(){return this.get(`months`)},g.asMonths=function(){return this.as(`months`)},g.years=function(){return this.get(`years`)},g.asYears=function(){return this.as(`years`)},m}(),y=function(e,t,n){return e.add(t.years()*n,`y`).add(t.months()*n,`M`).add(t.days()*n,`d`).add(t.hours()*n,`h`).add(t.minutes()*n,`m`).add(t.seconds()*n,`s`).add(t.milliseconds()*n,`ms`)};return function(n,r,i){e=i,t=i().$utils(),i.duration=function(e,t){return f(e,{$l:i.locale()},t)},i.isDuration=d;var a=r.prototype.add,o=r.prototype.subtract;r.prototype.add=function(e,t){return d(e)?y(this,e,1):a.bind(this)(e,t)},r.prototype.subtract=function(e,t){return d(e)?y(this,e,-1):o.bind(this)(e,t)}}}))}))());function li(e){let t=e?.repoName.split(`/`)?.[1]||e?.repoName;if(!t)throw Error(`wrong componentPath `+e?.repoName);if(!e?.version)throw Error(`wrong version `+e?.version);let n=e?.iifePath||`main.iife.js`;if(!document.getElementById(t+`-script`)&&!customElements?.get?.(t)&&!window?.customElements?.get?.(t))try{let r=document.createElement(`script`);if(r.id=t+`-script`,r.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${n}`,e?.local)r.src=`${e.local}`;else if(location.href.includes(`localhost:6006`)){let e=t.split(`-`)[0];r.src=`http://localhost:6006/webcomponents/${t.replace(e+`-`,``)}/${n}`}document.head.appendChild(r)}catch(e){console.warn(e)}}var ui=vr(`<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-10svzuv"/>`),di=vr(`<i class="bi bi-play-fill svelte-10svzuv"></i>`),fi=vr(`<i class="bi bi-pause-fill svelte-10svzuv"></i>`),pi=vr(`<button type="button" class="button is-outlined is-fullwidth svelte-10svzuv"><!></button>`),mi=vr(`<div class="is-flex is-align-items-center is-flex-wrap-wrap mb-4 is-gap-2 svelte-10svzuv"><div class="hb-editor-play-wrap svelte-10svzuv"><!></div> <div class="hb-editor-slider-wrap is-flex-grow-1 svelte-10svzuv"><hb-range-slider></hb-range-slider></div></div>`,2),hi=vr(`<hb-form></hb-form>`,2),gi=vr(`<button type="button" class="button is-small is-primary svelte-10svzuv">send</button>`),_i=vr(`<button type="button" class="button is-small is-primary svelte-10svzuv" disabled="">send</button>`),vi=vr(`<div class="card is-flex is-flex-direction-column hb-editor-card svelte-10svzuv"><div class="card-image svelte-10svzuv"><figure class="image is-16by9 has-background-black svelte-10svzuv"><video id="video" class="has-ratio svelte-10svzuv"><source type="video/mp4" class="svelte-10svzuv"/> <track kind="captions" src="" srclang="en" label="English" class="svelte-10svzuv"/> Your browser does not support the video tag.</video></figure></div> <div class="card-content svelte-10svzuv"><!> <!> <div class="is-flex is-justify-content-space-around is-flex-wrap-wrap is-align-items-stretch is-gap-2 svelte-10svzuv"><div class="hb-editor-controls-block svelte-10svzuv"><button type="button" class="button is-small is-light svelte-10svzuv">▼</button> <button type="button" class="button is-small is-light svelte-10svzuv">▲</button> <input type="number" class="input is-small hb-editor-number-input svelte-10svzuv"/>h <input class="input is-small hb-editor-number-input svelte-10svzuv" type="number"/>m <input type="number" class="input is-small hb-editor-number-input svelte-10svzuv"/>s</div> <div class="hb-editor-controls-block has-text-centered svelte-10svzuv"></div> <div class="hb-editor-controls-block has-text-right svelte-10svzuv"><input type="number" class="input is-small hb-editor-number-input svelte-10svzuv"/>h <input class="input is-small hb-editor-number-input svelte-10svzuv" type="number"/>m <input type="number" class="input is-small hb-editor-number-input svelte-10svzuv"/>s <button type="button" class="button is-small is-light svelte-10svzuv">▲</button> <button type="button" class="button is-small is-light svelte-10svzuv">▼</button></div></div></div> <footer class="card-footer is-flex is-justify-content-space-between is-align-items-center is-flex-wrap-wrap svelte-10svzuv"><span class="hb-editor-footer-duration svelte-10svzuv"><!></span> <span class="svelte-10svzuv"><!></span></footer></div>`,2),yi={hash:`svelte-10svzuv`,code:`@charset "UTF-8";
3
+ \r\f\xA0\v`];function Pr(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||Nr.includes(r[o-1]))&&(s===r.length||Nr.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Fr(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function Ir(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Lr(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Ir)),i&&c.push(...Object.keys(i).map(Ir));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=Ir(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=Fr(r)),i&&(n+=Fr(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function Rr(e,t,n,r,i,a){var o=e.__className;if(E||o!==n||o===void 0){var s=Pr(n,r,a);(!E||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e.__className=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function zr(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function Br(e,t,n,r){var i=e.__style;if(E||i!==t){var a=Lr(t,r);(!E||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e.__style=t}else r&&(Array.isArray(r)?(zr(e,n?.[0],r[0]),zr(e,n?.[1],r[1],`important`)):zr(e,n,r));return r}var Vr=Symbol(`is custom element`),Hr=Symbol(`is html`),Ur=xe?`link`:`LINK`;function Wr(e){if(E){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;Gr(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;Gr(e,`checked`,null),e.checked=r}}};e.__on_r=n,Xe(n),dn()}}function Gr(e,t,n,r){var i=qr(e);E&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Ur)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[be]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Yr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Kr(e,t,n){var r=H,i=G;let a=E;E&&D(!1),W(null),K(null);try{t!==`style`&&(Jr.has(e.getAttribute(`is`)||e.nodeName)||!customElements||customElements.get(e.getAttribute(`is`)||e.nodeName.toLowerCase())?Yr(e).includes(t):n&&typeof n==`object`)?e[t]=n:Gr(e,t,n==null?n:String(n))}finally{W(r),K(i),a&&D(!0)}}function qr(e){return e.__attributes??={[Vr]:e.nodeName.includes(`-`),[Hr]:e.namespaceURI===f}}var Jr=new Map;function Yr(e){var t=e.getAttribute(`is`)||e.nodeName,n=Jr.get(t);if(n)return n;Jr.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=b(i),r)r[o].set&&n.push(o);i=ne(i)}return n}function Xr(e,t,n=t){var r=new WeakSet;pn(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=Zr(e)?Qr(a):a,n(a),N!==null&&r.add(N),await nr(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(E&&e.defaultValue!==e.value||ar(t)==null&&e.value)&&(n(Zr(e)?Qr(e.value):e.value),N!==null&&r.add(N)),Tn(()=>{var n=t();if(e===document.activeElement){var i=He?ct:N;if(r.has(i))return}Zr(e)&&n===Qr(e.value)||e.type===`date`&&!n&&!e.value||n!==e.value&&(e.value=n??``)})}function Zr(e){var t=e.type;return t===`number`||t===`range`}function Qr(e){return e===``?null:+e}function $r(e,t,n,r){var i=!Ue||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?ar(r):r),s);let u;if(a){var d=ve in e||ye in e;u=y(e,t)?.set??(d&&t in e?n=>e[t]=n:void 0)}var f,p=!1;a?[f,p]=ot(()=>e[t]):f=e[t],f===void 0&&r!==void 0&&(f=l(),u&&(i&&Oe(t),u(f)));var m=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return m;if(u){var h=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||h||p)&&u(t?m():e),e):m()})}var g=!1,_=(n&1?Pt:It)(()=>(g=!1,m()));a&&Z(_);var v=G;return(function(e,t){if(arguments.length>0){let n=t?Z(_):i&&a?Qt(e):e;return I(_,n),g=!0,s!==void 0&&(s=n),e}return Vn&&g||v.f&16384?_.v:Z(_)})}function ei(e){return new ti(e)}var ti=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=qt(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return Z(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===ye?!0:(Z(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return I(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?wr:Cr)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!He&&(!e?.props?.$$host||e.sync===!1)&&_t(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||v(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{Or(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},ni;typeof HTMLElement==`function`&&(ni=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=cn(`slot`);e!==`default`&&(n.name=e),$(t,n)}}let t={},n=ii(this);for(let r of this.$$s)r in n&&(r===`default`&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=ri(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=ei({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=xn(()=>{Tn(()=>{this.$$r=!0;for(let e of _(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=ri(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=ri(e,n,this.$$p_d,`toProp`),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return _(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function ri(e,t,n,r){let i=n[e]?.type;if(t=i===`Boolean`&&typeof t!=`boolean`?t!=null:t,!r||!n[e])return t;if(r===`toAttribute`)switch(i){case`Object`:case`Array`:return t==null?null:JSON.stringify(t);case`Boolean`:return t?``:null;case`Number`:return t??null;default:return t}else switch(i){case`Object`:case`Array`:return t&&JSON.parse(t);case`Boolean`:return t;case`Number`:return t==null?t:+t;default:return t}}function ii(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function ai(e,t,n,r,i,a){let o=class extends ni{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return _(t).map(e=>(t[e].attribute||e).toLowerCase())}};return _(t).forEach(e=>{v(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=ri(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(y(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{v(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var oi=l(s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var ee=`$isDayjsObject`,te=function(e){return e instanceof re||!(!e||!e[ee])},ne=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},x=function(e,t){if(te(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new re(n)},S=v;S.l=ne,S.i=te,S.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var re=function(){function g(e){this.$L=ne(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[ee]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return S},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=x(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return x(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<x(e)},_.$g=function(e,t,n){return S.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!S.u(t)||t,u=S.p(e),p=function(e,t){var i=S.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return S.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=S.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[S.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=S.p(u),h=function(e){var t=x(p);return S.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return S.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=S.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return S.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return S.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return S.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return S.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return S.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return S.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return S.s(t.$s,2,`0`);case`SSS`:return S.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=S.p(f),_=x(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return S.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:S.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=ne(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return S.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),ie=re.prototype;return x.prototype=ie,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){ie[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),x.extend=function(e,t){return e.$i||=(e(t,re,x),!0),x},x.locale=ne,x.isDayjs=te,x.unix=function(e){return x(1e3*e)},x.en=b[y],x.Ls=b,x.p={},x}))}))()),si={name:`@htmlbricks/svelte-webcomponent`,private:!0,version:`0.71.36`,type:`module`,scripts:{dev:`vite --open`,build:`vite build`,"publish:wc":`node publish.ts`,"build:wc":`node build.ts`,"watch:wc":`node watch.ts`,preview:`vite preview`,check:`svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json`,"release:patch":`npm version patch && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:minor":`npm version minor && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:major":`npm version major && git push && git push --tags && npm run build:wc && npm run publish:wc`},devDependencies:{"@google-pay/button-element":`^3.2.1`,"@paypal/paypal-js":`^9.5.0`,"@sveltejs/vite-plugin-svelte":`^7.0.0`,"@tsconfig/svelte":`^5.0.8`,"@types/debounce":`^1.2.4`,"@types/node":`^24.10.1`,"@types/rgb-hex":`^3.0.0`,"chart.js":`^4.5.1`,"date-holidays":`^3.26.12`,dayjs:`^1.11.20`,"hls.js":`^1.6.15`,"html5-joystick-new":`^0.0.6`,ol:`^10.8.0`,"perfect-freehand":`^1.2.3`,prettier:`^3.8.1`,"rollup-plugin-terser":`^7.0.2`,"sass-embedded":`^1.98.0`,"simple-serverless-auth-client":`^0.0.6`,"simple-webrtc-element":`^0.0.1`,"simple-webrtc-element-whep":`^0.2.3`,"style-to-object":`^1.0.14`,svelte:`^5.55.0`,"svelte-check":`^4.4.5`,terser:`^5.46.1`,"ts-json-schema-generator":`^2.9.0`,typescript:`^6.0.2`,vite:`^8.0.3`},dependencies:{"@floating-ui/dom":`^1.7.6`,"@popperjs/core":`^2.11.8`,debounce:`^3.0.0`,"html-colors":`^0.0.6`,marked:`^17.0.5`,raphael:`^2.3.0`,"rgb-hex":`^4.1.0`,"wc-js-utils":`^0.5.4`}},ci=l(s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_duration=r()})(e,(function(){"use strict";var e,t,n=1e3,r=6e4,i=36e5,a=864e5,o=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=31536e6,c=2628e6,l=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,u={years:s,months:c,days:a,hours:i,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},d=function(e){return e instanceof v},f=function(e,t,n){return new v(e,n,t.$l)},p=function(e){return t.p(e)+`s`},m=function(e){return e<0},h=function(e){return m(e)?Math.ceil(e):Math.floor(e)},g=function(e){return Math.abs(e)},_=function(e,t){return e?m(e)?{negative:!0,format:``+g(e)+t}:{negative:!1,format:``+e+t}:{negative:!1,format:``}},v=function(){function m(e,t,n){var r=this;if(this.$d={},this.$l=n,e===void 0&&(this.$ms=0,this.parseFromMilliseconds()),t)return f(e*u[p(t)],this);if(typeof e==`number`)return this.$ms=e,this.parseFromMilliseconds(),this;if(typeof e==`object`)return Object.keys(e).forEach((function(t){r.$d[p(t)]=e[t]})),this.calMilliseconds(),this;if(typeof e==`string`){var i=e.match(l);if(i){var a=i.slice(2).map((function(e){return e==null?0:Number(e)}));return this.$d.years=a[0],this.$d.months=a[1],this.$d.weeks=a[2],this.$d.days=a[3],this.$d.hours=a[4],this.$d.minutes=a[5],this.$d.seconds=a[6],this.calMilliseconds(),this}}return this}var g=m.prototype;return g.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*u[n]}),0)},g.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=h(e/s),e%=s,this.$d.months=h(e/c),e%=c,this.$d.days=h(e/a),e%=a,this.$d.hours=h(e/i),e%=i,this.$d.minutes=h(e/r),e%=r,this.$d.seconds=h(e/n),e%=n,this.$d.milliseconds=e},g.toISOString=function(){var e=_(this.$d.years,`Y`),t=_(this.$d.months,`M`),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=_(n,`D`),i=_(this.$d.hours,`H`),a=_(this.$d.minutes,`M`),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var s=_(o,`S`),c=e.negative||t.negative||r.negative||i.negative||a.negative||s.negative,l=i.format||a.format||s.format?`T`:``,u=(c?`-`:``)+`P`+e.format+t.format+r.format+l+i.format+a.format+s.format;return u===`P`||u===`-P`?`P0D`:u},g.toJSON=function(){return this.toISOString()},g.format=function(e){var n=e||`YYYY-MM-DDTHH:mm:ss`,r={Y:this.$d.years,YY:t.s(this.$d.years,2,`0`),YYYY:t.s(this.$d.years,4,`0`),M:this.$d.months,MM:t.s(this.$d.months,2,`0`),D:this.$d.days,DD:t.s(this.$d.days,2,`0`),H:this.$d.hours,HH:t.s(this.$d.hours,2,`0`),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,`0`),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,`0`),SSS:t.s(this.$d.milliseconds,3,`0`)};return n.replace(o,(function(e,t){return t||String(r[e])}))},g.as=function(e){return this.$ms/u[p(e)]},g.get=function(e){var t=this.$ms,n=p(e);return n===`milliseconds`?t%=1e3:t=n===`weeks`?h(t/u[n]):this.$d[n],t||0},g.add=function(e,t,n){var r;return r=t?e*u[p(t)]:d(e)?e.$ms:f(e,this).$ms,f(this.$ms+r*(n?-1:1),this)},g.subtract=function(e,t){return this.add(e,t,!0)},g.locale=function(e){var t=this.clone();return t.$l=e,t},g.clone=function(){return f(this.$ms,this)},g.humanize=function(t){return e().add(this.$ms,`ms`).locale(this.$l).fromNow(!t)},g.valueOf=function(){return this.asMilliseconds()},g.milliseconds=function(){return this.get(`milliseconds`)},g.asMilliseconds=function(){return this.as(`milliseconds`)},g.seconds=function(){return this.get(`seconds`)},g.asSeconds=function(){return this.as(`seconds`)},g.minutes=function(){return this.get(`minutes`)},g.asMinutes=function(){return this.as(`minutes`)},g.hours=function(){return this.get(`hours`)},g.asHours=function(){return this.as(`hours`)},g.days=function(){return this.get(`days`)},g.asDays=function(){return this.as(`days`)},g.weeks=function(){return this.get(`weeks`)},g.asWeeks=function(){return this.as(`weeks`)},g.months=function(){return this.get(`months`)},g.asMonths=function(){return this.as(`months`)},g.years=function(){return this.get(`years`)},g.asYears=function(){return this.as(`years`)},m}(),y=function(e,t,n){return e.add(t.years()*n,`y`).add(t.months()*n,`M`).add(t.days()*n,`d`).add(t.hours()*n,`h`).add(t.minutes()*n,`m`).add(t.seconds()*n,`s`).add(t.milliseconds()*n,`ms`)};return function(n,r,i){e=i,t=i().$utils(),i.duration=function(e,t){return f(e,{$l:i.locale()},t)},i.isDuration=d;var a=r.prototype.add,o=r.prototype.subtract;r.prototype.add=function(e,t){return d(e)?y(this,e,1):a.bind(this)(e,t)},r.prototype.subtract=function(e,t){return d(e)?y(this,e,-1):o.bind(this)(e,t)}}}))}))());function li(e){let t=e?.repoName.split(`/`)?.[1]||e?.repoName;if(!t)throw Error(`wrong componentPath `+e?.repoName);if(!e?.version)throw Error(`wrong version `+e?.version);let n=e?.iifePath||`main.iife.js`;if(!document.getElementById(t+`-script`)&&!customElements?.get?.(t)&&!window?.customElements?.get?.(t))try{let r=document.createElement(`script`);if(r.id=t+`-script`,r.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${n}`,e?.local)r.src=`${e.local}`;else if(location.href.includes(`localhost:6006`)){let e=t.split(`-`)[0];r.src=`http://localhost:6006/webcomponents/${t.replace(e+`-`,``)}/${n}`}document.head.appendChild(r)}catch(e){console.warn(e)}}var ui=vr(`<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-10svzuv"/>`),di=vr(`<i class="bi bi-play-fill svelte-10svzuv"></i>`),fi=vr(`<i class="bi bi-pause-fill svelte-10svzuv"></i>`),pi=vr(`<button type="button" class="button is-outlined is-fullwidth svelte-10svzuv"><!></button>`),mi=vr(`<div class="is-flex is-align-items-center is-flex-wrap-wrap mb-4 is-gap-2 svelte-10svzuv"><div class="hb-editor-play-wrap svelte-10svzuv"><!></div> <div class="hb-editor-slider-wrap is-flex-grow-1 svelte-10svzuv"><hb-range-slider></hb-range-slider></div></div>`,2),hi=vr(`<hb-form></hb-form>`,2),gi=vr(`<button type="button" class="button is-small is-primary svelte-10svzuv">send</button>`),_i=vr(`<button type="button" class="button is-small is-primary svelte-10svzuv" disabled="">send</button>`),vi=vr(`<div class="card is-flex is-flex-direction-column hb-editor-card svelte-10svzuv"><div class="card-image svelte-10svzuv"><figure class="image is-16by9 has-background-black svelte-10svzuv"><video id="video" class="has-ratio svelte-10svzuv"><source type="video/mp4" class="svelte-10svzuv"/> <track kind="captions" src="" srclang="en" label="English" class="svelte-10svzuv"/> Your browser does not support the video tag.</video></figure></div> <div class="card-content svelte-10svzuv"><!> <!> <div class="is-flex is-justify-content-space-around is-flex-wrap-wrap is-align-items-stretch is-gap-2 svelte-10svzuv"><div class="hb-editor-controls-block svelte-10svzuv"><button type="button" class="button is-small is-light svelte-10svzuv">▼</button> <button type="button" class="button is-small is-light svelte-10svzuv">▲</button> <input type="number" class="input is-small hb-editor-number-input svelte-10svzuv"/>h <input class="input is-small hb-editor-number-input svelte-10svzuv" type="number"/>m <input type="number" class="input is-small hb-editor-number-input svelte-10svzuv"/>s</div> <div class="hb-editor-controls-block has-text-centered svelte-10svzuv"></div> <div class="hb-editor-controls-block has-text-right svelte-10svzuv"><input type="number" class="input is-small hb-editor-number-input svelte-10svzuv"/>h <input class="input is-small hb-editor-number-input svelte-10svzuv" type="number"/>m <input type="number" class="input is-small hb-editor-number-input svelte-10svzuv"/>s <button type="button" class="button is-small is-light svelte-10svzuv">▲</button> <button type="button" class="button is-small is-light svelte-10svzuv">▼</button></div></div></div> <footer class="card-footer is-flex is-justify-content-space-between is-align-items-center is-flex-wrap-wrap svelte-10svzuv"><span class="hb-editor-footer-duration svelte-10svzuv"><!></span> <span class="svelte-10svzuv"><!></span></footer></div>`,2),yi={hash:`svelte-10svzuv`,code:`@charset "UTF-8";
4
4
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
5
5
  /*!
6
6
  * Bulma 1.x (Sass) for hb-editor-video — card, buttons, form inputs, 16:9 image frame.