@banou/stub 0.0.20 → 0.0.22

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.
Files changed (67) hide show
  1. package/build/.well-known/fkn.json +1 -1
  2. package/build/assets/embed-VjpeLPHx.js +1461 -0
  3. package/build/assets/index-Cq0deG16.js +1964 -0
  4. package/build/assets/lib-DHuurgWT.js +71 -0
  5. package/build/assets/{lib-account-BuVN6Bsx.js → lib-account-B_rZrj_U.js} +1 -1
  6. package/build/assets/lib-account-ZA7I4UZl.js +2 -0
  7. package/build/assets/lib-api-0oE17Lze.js +2 -0
  8. package/build/assets/{lib-build-DEOZ3A7n.js → lib-api-DLvscoll-INenJIDp.js} +863 -556
  9. package/build/assets/lib-worker-B7p9HUJX.js +2 -0
  10. package/build/assets/lib-worker-C6VkH7Kf.js +9006 -0
  11. package/build/assets/lib-worker-index-DCktGn3b.js +1964 -0
  12. package/build/assets/main-BC_h4vk9.js +3844 -0
  13. package/build/assets/main-DZ0Ws1xk.css +1 -0
  14. package/build/assets/uri-CY1i0hlC.js +1 -0
  15. package/build/assets/worker-CaEIruuB.js +1 -0
  16. package/build/assets/worker-juGKbgx7.js +1 -0
  17. package/build/embed.html +4 -8
  18. package/build/fkn.json +1 -1
  19. package/build/index.html +5 -8
  20. package/build/index.js +23838 -35935
  21. package/fkn.json +1 -1
  22. package/package.json +6 -3
  23. package/build/assets/Preview-DG9nqCV0.js +0 -1
  24. package/build/assets/compat-CusyxzKh.js +0 -1
  25. package/build/assets/custom-media-element-BDICDseJ.js +0 -43
  26. package/build/assets/dash.all.min-Dbg8AB-J.js +0 -19
  27. package/build/assets/dist-BgIerfpp.js +0 -3136
  28. package/build/assets/dist-BrpV89uJ.js +0 -1
  29. package/build/assets/dist-D-OKiX-f.js +0 -1
  30. package/build/assets/dist-D_XB-JLn.js +0 -40
  31. package/build/assets/embed-DBjG5JMH.js +0 -1
  32. package/build/assets/index-BHgdalnH.js +0 -1401
  33. package/build/assets/lib-Preview-B6uZKyhl.js +0 -82
  34. package/build/assets/lib-account-Cw8yCZtf.js +0 -2
  35. package/build/assets/lib-api-DLvscoll-DhlBp9Wz.js +0 -312
  36. package/build/assets/lib-api-DVwR-22s.js +0 -2
  37. package/build/assets/lib-compat-D8G4_Lzi.js +0 -860
  38. package/build/assets/lib-custom-media-element-CnANKrGl.js +0 -217
  39. package/build/assets/lib-dash.all.min-CDvdorbj.js +0 -27251
  40. package/build/assets/lib-dist-Dv8d3Kr0.js +0 -7
  41. package/build/assets/lib-dist-S8Gxnnq-.js +0 -12468
  42. package/build/assets/lib-dist-T0QlKbbk.js +0 -18578
  43. package/build/assets/lib-dist-xBHT3Lfz.js +0 -911
  44. package/build/assets/lib-react-BEg4mBBK.js +0 -112
  45. package/build/assets/lib-react-C0OCUIWX.js +0 -434
  46. package/build/assets/lib-react-CAkOlDha.js +0 -367
  47. package/build/assets/lib-react-CGlZXIjl.js +0 -2187
  48. package/build/assets/lib-react-CLVoi_ZM.js +0 -334
  49. package/build/assets/lib-react-DUxKSzCt.js +0 -311
  50. package/build/assets/lib-react-QvmpnEVK.js +0 -334
  51. package/build/assets/lib-react-WTnxAo6F.js +0 -202
  52. package/build/assets/lib-remote-DeY2A2G7.js +0 -416
  53. package/build/assets/lib-remote-DxEZmpd0.js +0 -2
  54. package/build/assets/lib-worker-index-C7ynIZYg.js +0 -1401
  55. package/build/assets/main-DejLBzlj.js +0 -3349
  56. package/build/assets/players-BIbP12aF.js +0 -1530
  57. package/build/assets/preload-helper-D2XUqLHy.js +0 -1
  58. package/build/assets/react-BDr8Ag8b.js +0 -19
  59. package/build/assets/react-BTju4bmn.js +0 -22
  60. package/build/assets/react-CLMfdUXR.js +0 -2
  61. package/build/assets/react-CjmRCHoG.js +0 -34
  62. package/build/assets/react-Cs34a503.js +0 -19
  63. package/build/assets/react-DKSDz1wJ.js +0 -6
  64. package/build/assets/react-bkM_mQGd.js +0 -17
  65. package/build/assets/react-kPj0f67l.js +0 -21
  66. package/build/assets/rolldown-runtime-CNC7AqOf.js +0 -1
  67. /package/build/assets/{players-3a7RYKgR.css → embed-3a7RYKgR.css} +0 -0
@@ -1,217 +0,0 @@
1
- //#region node_modules/custom-media-element/dist/custom-media-element.js
2
- var e = /* @__PURE__ */ "abort.canplay.canplaythrough.durationchange.emptied.encrypted.ended.error.loadeddata.loadedmetadata.loadstart.pause.play.playing.progress.ratechange.seeked.seeking.stalled.suspend.timeupdate.volumechange.waiting.waitingforkey.resize.enterpictureinpicture.leavepictureinpicture.webkitbeginfullscreen.webkitendfullscreen.webkitpresentationmodechanged".split("."), t = [
3
- "autopictureinpicture",
4
- "disablepictureinpicture",
5
- "disableremoteplayback",
6
- "autoplay",
7
- "controls",
8
- "controlslist",
9
- "crossorigin",
10
- "loop",
11
- "muted",
12
- "playsinline",
13
- "poster",
14
- "preload",
15
- "src"
16
- ];
17
- function n(e) {
18
- return `
19
- <style>
20
- :host {
21
- display: inline-flex;
22
- line-height: 0;
23
- flex-direction: column;
24
- justify-content: end;
25
- }
26
-
27
- audio {
28
- width: 100%;
29
- }
30
- </style>
31
- <slot name="media">
32
- <audio${o(e)}></audio>
33
- </slot>
34
- <slot></slot>
35
- `;
36
- }
37
- function r(e) {
38
- return `
39
- <style>
40
- :host {
41
- display: inline-block;
42
- line-height: 0;
43
- }
44
-
45
- video {
46
- max-width: 100%;
47
- max-height: 100%;
48
- min-width: 100%;
49
- min-height: 100%;
50
- object-fit: var(--media-object-fit, contain);
51
- object-position: var(--media-object-position, 50% 50%);
52
- }
53
-
54
- video::-webkit-media-text-track-container {
55
- transform: var(--media-webkit-text-track-transform);
56
- transition: var(--media-webkit-text-track-transition);
57
- }
58
- </style>
59
- <slot name="media">
60
- <video${o(e)}></video>
61
- </slot>
62
- <slot></slot>
63
- `;
64
- }
65
- function i(i, { tag: o, is: c }) {
66
- let l = globalThis.document?.createElement?.(o, { is: c }), u = l ? a(l) : [];
67
- return class a extends i {
68
- static getTemplateHTML = o.endsWith("audio") ? n : r;
69
- static shadowRootOptions = { mode: "open" };
70
- static Events = e;
71
- static #e = !1;
72
- static get observedAttributes() {
73
- return a.#t(), [...l?.constructor?.observedAttributes ?? [], ...t];
74
- }
75
- static #t() {
76
- if (this.#e) return;
77
- this.#e = !0;
78
- let e = new Set(this.observedAttributes);
79
- e.delete("muted");
80
- for (let t of u) if (!(t in this.prototype)) if (typeof l[t] == "function") this.prototype[t] = function(...e) {
81
- return this.#o(), this.call ? this.call(t, ...e) : (this.nativeEl?.[t])?.apply(this.nativeEl, e);
82
- };
83
- else {
84
- let n = { get() {
85
- this.#o();
86
- let n = t.toLowerCase();
87
- if (e.has(n)) {
88
- let e = this.getAttribute(n);
89
- return e === null ? !1 : e === "" ? !0 : e;
90
- }
91
- return this.get?.(t) ?? this.nativeEl?.[t];
92
- } };
93
- t !== t.toUpperCase() && (n.set = function(n) {
94
- this.#o();
95
- let r = t.toLowerCase();
96
- if (e.has(r)) {
97
- n === !0 || n === !1 || n == null ? this.toggleAttribute(r, !!n) : this.setAttribute(r, n);
98
- return;
99
- }
100
- if (this.set) {
101
- this.set(t, n);
102
- return;
103
- }
104
- this.nativeEl && (this.nativeEl[t] = n);
105
- }), Object.defineProperty(this.prototype, t, n);
106
- }
107
- }
108
- #n = !1;
109
- #r = null;
110
- #i = /* @__PURE__ */ new Map();
111
- #a;
112
- get;
113
- set;
114
- call;
115
- get nativeEl() {
116
- return this.#o(), this.#r ?? this.querySelector(":scope > [slot=media]") ?? this.querySelector(o) ?? this.shadowRoot?.querySelector(o) ?? null;
117
- }
118
- set nativeEl(e) {
119
- this.#r = e;
120
- }
121
- get defaultMuted() {
122
- return this.hasAttribute("muted");
123
- }
124
- set defaultMuted(e) {
125
- this.toggleAttribute("muted", e);
126
- }
127
- get src() {
128
- return this.getAttribute("src");
129
- }
130
- set src(e) {
131
- this.setAttribute("src", `${e}`);
132
- }
133
- get preload() {
134
- return this.getAttribute("preload") ?? this.nativeEl?.preload;
135
- }
136
- set preload(e) {
137
- this.setAttribute("preload", `${e}`);
138
- }
139
- #o() {
140
- this.#n || (this.#n = !0, this.init());
141
- }
142
- init() {
143
- if (!this.shadowRoot) {
144
- this.attachShadow({ mode: "open" });
145
- let e = s(this.attributes);
146
- c && (e.is = c), o && (e.part = o), this.shadowRoot.innerHTML = this.constructor.getTemplateHTML(e);
147
- }
148
- this.nativeEl.muted = this.hasAttribute("muted");
149
- for (let e of u) this.#u(e);
150
- this.#a = new MutationObserver(this.#c.bind(this)), this.shadowRoot.addEventListener("slotchange", () => this.#s()), this.#s();
151
- for (let e of this.constructor.Events) this.shadowRoot.addEventListener(e, this, !0);
152
- }
153
- handleEvent(e) {
154
- e.target === this.nativeEl && this.dispatchEvent(new CustomEvent(e.type, { detail: e.detail }));
155
- }
156
- #s() {
157
- let e = new Map(this.#i);
158
- ((this.shadowRoot?.querySelector("slot:not([name])"))?.assignedElements({ flatten: !0 }).filter((e) => ["track", "source"].includes(e.localName))).forEach((t) => {
159
- e.delete(t);
160
- let n = this.#i.get(t);
161
- n || (n = t.cloneNode(), this.#i.set(t, n), this.#a?.observe(t, { attributes: !0 })), this.nativeEl?.append(n), this.#l(n);
162
- }), e.forEach((e, t) => {
163
- e.remove(), this.#i.delete(t);
164
- });
165
- }
166
- #c(e) {
167
- for (let t of e) if (t.type === "attributes") {
168
- let { target: e, attributeName: n } = t, r = this.#i.get(e);
169
- r && n && (r.setAttribute(n, e.getAttribute(n) ?? ""), this.#l(r));
170
- }
171
- }
172
- #l(e) {
173
- e && e.localName === "track" && e.default && (e.kind === "chapters" || e.kind === "metadata") && e.track.mode === "disabled" && (e.track.mode = "hidden");
174
- }
175
- #u(e) {
176
- if (Object.prototype.hasOwnProperty.call(this, e)) {
177
- let t = this[e];
178
- delete this[e], this[e] = t;
179
- }
180
- }
181
- attributeChangedCallback(e, t, n) {
182
- this.#o(), this.#d(e, t, n);
183
- }
184
- #d(e, t, n) {
185
- ["id", "class"].includes(e) || !a.observedAttributes.includes(e) && this.constructor.observedAttributes.includes(e) || (n === null ? this.nativeEl?.removeAttribute(e) : this.nativeEl?.getAttribute(e) !== n && this.nativeEl?.setAttribute(e, n));
186
- }
187
- connectedCallback() {
188
- this.#o();
189
- }
190
- };
191
- }
192
- function a(e) {
193
- let t = [];
194
- for (let n = Object.getPrototypeOf(e); n && n !== HTMLElement.prototype; n = Object.getPrototypeOf(n)) {
195
- let e = Object.getOwnPropertyNames(n);
196
- t.push(...e);
197
- }
198
- return t;
199
- }
200
- function o(e) {
201
- let n = "";
202
- for (let r in e) {
203
- if (!t.includes(r)) continue;
204
- let i = e[r];
205
- i === "" ? n += ` ${r}` : n += ` ${r}="${i}"`;
206
- }
207
- return n;
208
- }
209
- function s(e) {
210
- let t = {};
211
- for (let n of e) t[n.name] = n.value;
212
- return t;
213
- }
214
- var c = i(globalThis.HTMLElement ?? class {}, { tag: "video" });
215
- i(globalThis.HTMLElement ?? class {}, { tag: "audio" });
216
- //#endregion
217
- export { c as t };