@just-web/presets-browser 7.2.4 → 7.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/cjs/index.cjs +64 -0
  2. package/cjs/index.d.cts +69 -0
  3. package/cjs/index.d.cts.map +1 -0
  4. package/cjs/testing/index.cjs +88 -0
  5. package/cjs/testing/index.d.cts +71 -0
  6. package/cjs/testing/index.d.cts.map +1 -0
  7. package/esm/chunk-tTHiu3lt.js +24 -0
  8. package/esm/index.d.ts +68 -3
  9. package/esm/index.d.ts.map +1 -1
  10. package/esm/index.js +37 -3
  11. package/esm/index.js.map +1 -1
  12. package/esm/testing/chunk-tTHiu3lt.js +24 -0
  13. package/esm/testing/index.d.ts +70 -4
  14. package/esm/testing/index.d.ts.map +1 -1
  15. package/esm/testing/index.js +45 -4
  16. package/esm/testing/index.js.map +1 -1
  17. package/package.json +35 -45
  18. package/src/just_web_browser.types.ts +1 -0
  19. package/{ts → src}/presets_browser_gizmo.mocks.ts +3 -3
  20. package/{ts → src}/presets_browser_gizmo.ts +3 -3
  21. package/cjs/index.d.ts +0 -4
  22. package/cjs/index.d.ts.map +0 -1
  23. package/cjs/index.js +0 -20
  24. package/cjs/index.js.map +0 -1
  25. package/cjs/just_web_browser.types.d.ts +0 -2
  26. package/cjs/just_web_browser.types.d.ts.map +0 -1
  27. package/cjs/just_web_browser.types.js +0 -3
  28. package/cjs/just_web_browser.types.js.map +0 -1
  29. package/cjs/just_web_history.types.d.ts +0 -2
  30. package/cjs/just_web_history.types.d.ts.map +0 -1
  31. package/cjs/just_web_history.types.js +0 -3
  32. package/cjs/just_web_history.types.js.map +0 -1
  33. package/cjs/package.json +0 -3
  34. package/cjs/presets_browser_gizmo.d.ts +0 -57
  35. package/cjs/presets_browser_gizmo.d.ts.map +0 -1
  36. package/cjs/presets_browser_gizmo.js +0 -19
  37. package/cjs/presets_browser_gizmo.js.map +0 -1
  38. package/cjs/presets_browser_gizmo.mocks.d.ts +0 -56
  39. package/cjs/presets_browser_gizmo.mocks.d.ts.map +0 -1
  40. package/cjs/presets_browser_gizmo.mocks.js +0 -20
  41. package/cjs/presets_browser_gizmo.mocks.js.map +0 -1
  42. package/cjs/testing/index.d.ts +0 -5
  43. package/cjs/testing/index.d.ts.map +0 -1
  44. package/cjs/testing/index.js +0 -21
  45. package/cjs/testing/index.js.map +0 -1
  46. package/esm/just_web_browser.types.d.ts +0 -2
  47. package/esm/just_web_browser.types.d.ts.map +0 -1
  48. package/esm/just_web_browser.types.js +0 -2
  49. package/esm/just_web_browser.types.js.map +0 -1
  50. package/esm/just_web_history.types.d.ts +0 -2
  51. package/esm/just_web_history.types.d.ts.map +0 -1
  52. package/esm/just_web_history.types.js +0 -2
  53. package/esm/just_web_history.types.js.map +0 -1
  54. package/esm/presets_browser_gizmo.d.ts +0 -57
  55. package/esm/presets_browser_gizmo.d.ts.map +0 -1
  56. package/esm/presets_browser_gizmo.js +0 -16
  57. package/esm/presets_browser_gizmo.js.map +0 -1
  58. package/esm/presets_browser_gizmo.mocks.d.ts +0 -56
  59. package/esm/presets_browser_gizmo.mocks.d.ts.map +0 -1
  60. package/esm/presets_browser_gizmo.mocks.js +0 -17
  61. package/esm/presets_browser_gizmo.mocks.js.map +0 -1
  62. package/ts/just_web_browser.types.ts +0 -1
  63. package/{ts → src}/index.ts +0 -0
  64. package/{ts → src}/just_web_history.types.ts +0 -0
  65. package/{ts → src}/testing/index.ts +1 -1
package/cjs/index.cjs ADDED
@@ -0,0 +1,64 @@
1
+ //#region rolldown:runtime
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
+ key = keys[i];
11
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
+ get: ((k) => from[k]).bind(null, key),
13
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
+ });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
19
+ value: mod,
20
+ enumerable: true
21
+ }) : target, mod));
22
+
23
+ //#endregion
24
+ let __just_web_app = require("@just-web/app");
25
+ __just_web_app = __toESM(__just_web_app);
26
+ let __just_web_browser = require("@just-web/browser");
27
+ __just_web_browser = __toESM(__just_web_browser);
28
+ let __just_web_browser_preferences = require("@just-web/browser-preferences");
29
+ __just_web_browser_preferences = __toESM(__just_web_browser_preferences);
30
+ let __just_web_history = require("@just-web/history");
31
+ __just_web_history = __toESM(__just_web_history);
32
+
33
+ //#region ../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/reduceKey.js
34
+ function reduceByKey(subject, callbackfn, initialValue) {
35
+ return Object.keys(subject).reduce((p, k, i, a) => callbackfn(p, k, i, a, subject), initialValue);
36
+ }
37
+
38
+ //#endregion
39
+ //#region ../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/record.js
40
+ function record(value) {
41
+ const r = Object.create(null);
42
+ return value ? Object.assign(r, value) : r;
43
+ }
44
+
45
+ //#endregion
46
+ //#region ../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/omit.js
47
+ function omit(subject, ...props) {
48
+ return reduceByKey(subject, (p, k) => {
49
+ if (props.indexOf(k) === -1) p[k] = subject[k];
50
+ return p;
51
+ }, Object.getPrototypeOf(subject) === null ? record() : {});
52
+ }
53
+
54
+ //#endregion
55
+ //#region src/presets_browser_gizmo.ts
56
+ const presetsBrowserGizmoFn = (0, __just_web_app.define)((options) => ({
57
+ static: __just_web_app.define.require().require().require().optional(),
58
+ async create(ctx) {
59
+ return omit(await (0, __just_web_app.incubate)(ctx).with((0, __just_web_browser.browserGizmoFn)(options === null || options === void 0 ? void 0 : options.browser)).with(__just_web_browser_preferences.browserPreferencesGizmo).with((0, __just_web_history.historyGizmoFn)(options === null || options === void 0 ? void 0 : options.history)).create(), "name", "id", "log", "keyboard", "commands");
60
+ }
61
+ }));
62
+
63
+ //#endregion
64
+ exports.presetsBrowserGizmoFn = presetsBrowserGizmoFn;
@@ -0,0 +1,69 @@
1
+ import * as _just_web_browser0 from "@just-web/browser";
2
+ import { BrowserGizmo, BrowserGizmoOptions, BrowserGizmoOptions as BrowserGizmoOptions$1, ErrorStore, Fetch, ReadonlyErrorStore } from "@just-web/browser";
3
+ import * as _just_web_history0 from "@just-web/history";
4
+ import { BrowserHistory, History, HistoryGizmo, HistoryGizmoOptions, HistoryGizmoOptions as HistoryGizmoOptions$1 } from "@just-web/history";
5
+ import * as _just_web_commands0 from "@just-web/commands";
6
+ import * as _just_web_keyboard0 from "@just-web/keyboard";
7
+ import * as _just_web_app0 from "@just-web/app";
8
+ import { LogGizmo, define } from "@just-web/app";
9
+ import * as _just_web_fetch0 from "@just-web/fetch";
10
+ import * as _just_web_states0 from "@just-web/states";
11
+ import * as type_plus0 from "type-plus";
12
+
13
+ //#region src/presets_browser_gizmo.d.ts
14
+ interface PresetsBrowserGizmoOptions {
15
+ browser?: BrowserGizmoOptions$1;
16
+ history?: HistoryGizmoOptions$1;
17
+ }
18
+ declare const presetsBrowserGizmoFn: (options?: PresetsBrowserGizmoOptions | undefined) => _just_web_app0.GizmoStatic<_just_web_app0.DepBuilder<{
19
+ id: string;
20
+ name: string;
21
+ } & LogGizmo & {
22
+ commands: {
23
+ contributions: _just_web_commands0.ContributionRegistry;
24
+ handlers: _just_web_commands0.HandlerRegistry;
25
+ showCommandPalette: () => void;
26
+ };
27
+ }, {
28
+ keyboard: {
29
+ keyBindingContributions: _just_web_keyboard0.KeyBindingContributionRegistry;
30
+ };
31
+ }>, type_plus0.Pick._<{
32
+ id: string;
33
+ name: string;
34
+ } & LogGizmo & {
35
+ commands: {
36
+ contributions: _just_web_commands0.ContributionRegistry;
37
+ handlers: _just_web_commands0.HandlerRegistry;
38
+ showCommandPalette: () => void;
39
+ };
40
+ } & Partial<{
41
+ keyboard: {
42
+ keyBindingContributions: _just_web_keyboard0.KeyBindingContributionRegistry;
43
+ };
44
+ }> & {
45
+ browser: {
46
+ errors: _just_web_browser0.ReadonlyErrorStore;
47
+ sessionStorage: Storage;
48
+ localStorage: Storage;
49
+ navigator: Navigator;
50
+ location: Location;
51
+ };
52
+ fetch: _just_web_fetch0.Fetch;
53
+ } & {
54
+ preferences: {
55
+ get: (key: string, defaultValue?: string | undefined) => string | undefined;
56
+ set: (key: string, value: _just_web_states0.SetStateValue<string | undefined>) => void;
57
+ clearAll: () => void;
58
+ createStore<T extends type_plus0.JSONTypes>(key: string, defaultValue?: T | undefined): {
59
+ get(): T | undefined;
60
+ set: <V extends _just_web_states0.SetStateValue<T | undefined> | undefined>(value: V) => V extends type_plus0.AnyFunction<any, Promise<any>> ? Promise<void> : void;
61
+ };
62
+ };
63
+ } & {
64
+ history: _just_web_history0.History;
65
+ }, "browser" | "fetch" | "preferences" | "history">>;
66
+ type PresetsBrowserGizmo = define.Infer<typeof presetsBrowserGizmoFn>;
67
+ //#endregion
68
+ export { type BrowserGizmo, type BrowserGizmoOptions, type BrowserHistory, type ErrorStore, type Fetch, type History, type HistoryGizmo, type HistoryGizmoOptions, PresetsBrowserGizmo, PresetsBrowserGizmoOptions, type ReadonlyErrorStore, presetsBrowserGizmoFn };
69
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/presets_browser_gizmo.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;UAQiB,0BAAA;YACN;YACA;;cAGE,kCAAqB,0DAAA,2BAAA;;;;;;IALjB,QAAA,qCACN;IAIE,kBAAA,EAgBV,GAAA,GAAA,IAAA;EAhB+B,CAAA;;;;;qBAAA,CAAA;;;;;;;;;;;;;;EAmBqT,OAAA,EAAA;;;;;;;;;;;aAnBrT,EAAA,MAAA,EAAA,KAAA,iCAAA,CAAA,MAAA,GAAA,SAAA,CAAA,EAAA,GAAA,IAAA;IAAA,QAAA,EAAA,GAAA,GAAA,IAAA;IAkBtB,WAAA,CAAA,8BAA0C,CAApB,CAAA,GAAA,EAAA,MAAO,EAAK,YAAA,CAAA,EACyS,CADzS,GAAA,SAAA,CAAA,EAAA;;;;;;;;KAAlC,mBAAA,GAAsB,MAAA,CAAO,aAAa"}
@@ -0,0 +1,88 @@
1
+ //#region rolldown:runtime
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
+ key = keys[i];
11
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
+ get: ((k) => from[k]).bind(null, key),
13
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
+ });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
19
+ value: mod,
20
+ enumerable: true
21
+ }) : target, mod));
22
+
23
+ //#endregion
24
+ let __just_web_browser_testing = require("@just-web/browser/testing");
25
+ __just_web_browser_testing = __toESM(__just_web_browser_testing);
26
+ let __just_web_history_testing = require("@just-web/history/testing");
27
+ __just_web_history_testing = __toESM(__just_web_history_testing);
28
+ let __just_web_app = require("@just-web/app");
29
+ __just_web_app = __toESM(__just_web_app);
30
+ let __just_web_browser_preferences = require("@just-web/browser-preferences");
31
+ __just_web_browser_preferences = __toESM(__just_web_browser_preferences);
32
+ let __just_web_history = require("@just-web/history");
33
+ __just_web_history = __toESM(__just_web_history);
34
+
35
+ //#region ../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/reduceKey.js
36
+ function reduceByKey(subject, callbackfn, initialValue) {
37
+ return Object.keys(subject).reduce((p, k, i, a) => callbackfn(p, k, i, a, subject), initialValue);
38
+ }
39
+
40
+ //#endregion
41
+ //#region ../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/record.js
42
+ function record(value) {
43
+ const r = Object.create(null);
44
+ return value ? Object.assign(r, value) : r;
45
+ }
46
+
47
+ //#endregion
48
+ //#region ../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/omit.js
49
+ function omit(subject, ...props) {
50
+ return reduceByKey(subject, (p, k) => {
51
+ if (props.indexOf(k) === -1) p[k] = subject[k];
52
+ return p;
53
+ }, Object.getPrototypeOf(subject) === null ? record() : {});
54
+ }
55
+
56
+ //#endregion
57
+ //#region src/presets_browser_gizmo.mocks.ts
58
+ const presetsBrowserTestGizmoFn = (0, __just_web_app.define)((options) => ({
59
+ static: __just_web_app.define.require().require().require().optional(),
60
+ async create(ctx) {
61
+ var _options$history;
62
+ return omit(await (0, __just_web_app.incubate)(ctx).with((0, __just_web_browser_testing.browserTestGizmoFn)(options === null || options === void 0 ? void 0 : options.browser)).with(__just_web_browser_preferences.browserPreferencesGizmo).with((0, __just_web_history.historyGizmoFn)((_options$history = options === null || options === void 0 ? void 0 : options.history) !== null && _options$history !== void 0 ? _options$history : { history: (0, __just_web_history_testing.createMemoryHistory)() })).create(), "name", "id", "log", "keyboard", "commands");
63
+ }
64
+ }));
65
+
66
+ //#endregion
67
+ exports.presetsBrowserTestGizmoFn = presetsBrowserTestGizmoFn;
68
+ Object.keys(__just_web_browser_testing).forEach(function (k) {
69
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
70
+ enumerable: true,
71
+ get: function () { return __just_web_browser_testing[k]; }
72
+ });
73
+ });
74
+
75
+ var __just_web_browser_preferences_testing = require("@just-web/browser-preferences/testing");
76
+ Object.keys(__just_web_browser_preferences_testing).forEach(function (k) {
77
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
78
+ enumerable: true,
79
+ get: function () { return __just_web_browser_preferences_testing[k]; }
80
+ });
81
+ });
82
+
83
+ Object.keys(__just_web_history_testing).forEach(function (k) {
84
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
85
+ enumerable: true,
86
+ get: function () { return __just_web_history_testing[k]; }
87
+ });
88
+ });
@@ -0,0 +1,71 @@
1
+ import { BrowserTestGizmoOptions } from "@just-web/browser/testing";
2
+ import * as _just_web_commands0 from "@just-web/commands";
3
+ import * as _just_web_keyboard0 from "@just-web/keyboard";
4
+ import * as _just_web_app0 from "@just-web/app";
5
+ import { LogGizmo } from "@just-web/app";
6
+ import * as _just_web_browser0 from "@just-web/browser";
7
+ import * as _just_web_fetch0 from "@just-web/fetch";
8
+ import * as _just_web_states0 from "@just-web/states";
9
+ import * as type_plus0 from "type-plus";
10
+ import * as _just_web_history0 from "@just-web/history";
11
+ import { HistoryGizmoOptions } from "@just-web/history";
12
+ export * from "@just-web/browser/testing";
13
+ export * from "@just-web/browser-preferences/testing";
14
+ export * from "@just-web/history/testing";
15
+
16
+ //#region src/presets_browser_gizmo.mocks.d.ts
17
+ interface PresetsBrowserTestGizmoOptions {
18
+ browser?: BrowserTestGizmoOptions;
19
+ history?: HistoryGizmoOptions;
20
+ }
21
+ declare const presetsBrowserTestGizmoFn: (options?: PresetsBrowserTestGizmoOptions | undefined) => _just_web_app0.GizmoStatic<_just_web_app0.DepBuilder<{
22
+ id: string;
23
+ name: string;
24
+ } & LogGizmo & {
25
+ commands: {
26
+ contributions: _just_web_commands0.ContributionRegistry;
27
+ handlers: _just_web_commands0.HandlerRegistry;
28
+ showCommandPalette: () => void;
29
+ };
30
+ }, {
31
+ keyboard: {
32
+ keyBindingContributions: _just_web_keyboard0.KeyBindingContributionRegistry;
33
+ };
34
+ }>, type_plus0.Pick._<{
35
+ id: string;
36
+ name: string;
37
+ } & LogGizmo & {
38
+ commands: {
39
+ contributions: _just_web_commands0.ContributionRegistry;
40
+ handlers: _just_web_commands0.HandlerRegistry;
41
+ showCommandPalette: () => void;
42
+ };
43
+ } & Partial<{
44
+ keyboard: {
45
+ keyBindingContributions: _just_web_keyboard0.KeyBindingContributionRegistry;
46
+ };
47
+ }> & {
48
+ browser: {
49
+ errors: _just_web_browser0.ReadonlyErrorStore;
50
+ sessionStorage: Storage;
51
+ localStorage: Storage;
52
+ navigator: Navigator;
53
+ location: Location;
54
+ };
55
+ fetch: _just_web_fetch0.Fetch;
56
+ } & {
57
+ preferences: {
58
+ get: (key: string, defaultValue?: string | undefined) => string | undefined;
59
+ set: (key: string, value: _just_web_states0.SetStateValue<string | undefined>) => void;
60
+ clearAll: () => void;
61
+ createStore<T extends type_plus0.JSONTypes>(key: string, defaultValue?: T | undefined): {
62
+ get(): T | undefined;
63
+ set: <V extends _just_web_states0.SetStateValue<T | undefined> | undefined>(value: V) => V extends type_plus0.AnyFunction<any, Promise<any>> ? Promise<void> : void;
64
+ };
65
+ };
66
+ } & {
67
+ history: _just_web_history0.History;
68
+ }, "browser" | "fetch" | "preferences" | "history">>;
69
+ //#endregion
70
+ export { PresetsBrowserTestGizmoOptions, presetsBrowserTestGizmoFn };
71
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/presets_browser_gizmo.mocks.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;UAUiB,8BAAA;YACN;YACA;;cAGE,sCAAyB,8DAAA,2BAAA;;;;;;;;;;;;EALrB,CAAA;AAKjB,CAAA,CAAA,mBAAa,CAAA;EAAyB,EAAA,EAAA,MAAA;;;;;YAAA,qCAAA;;;;;;;;;;;;;;EAiBiJ,CAAA;;;;;;;4EAAA;;;;;CAjBjJ,GAAA"}
@@ -0,0 +1,24 @@
1
+ //#region rolldown:runtime
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
+ key = keys[i];
11
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
+ get: ((k) => from[k]).bind(null, key),
13
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
+ });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
19
+ value: mod,
20
+ enumerable: true
21
+ }) : target, mod));
22
+
23
+ //#endregion
24
+ export { };
package/esm/index.d.ts CHANGED
@@ -1,4 +1,69 @@
1
- export * from './just_web_browser.types.js';
2
- export * from './just_web_history.types.js';
3
- export * from './presets_browser_gizmo.js';
1
+ import * as _just_web_app0 from "@just-web/app";
2
+ import { LogGizmo, define } from "@just-web/app";
3
+ import * as _just_web_browser0 from "@just-web/browser";
4
+ import { BrowserGizmo, BrowserGizmoOptions, BrowserGizmoOptions as BrowserGizmoOptions$1, ErrorStore, Fetch, ReadonlyErrorStore } from "@just-web/browser";
5
+ import * as _just_web_history0 from "@just-web/history";
6
+ import { BrowserHistory, History, HistoryGizmo, HistoryGizmoOptions, HistoryGizmoOptions as HistoryGizmoOptions$1 } from "@just-web/history";
7
+ import * as _just_web_commands0 from "@just-web/commands";
8
+ import * as _just_web_keyboard0 from "@just-web/keyboard";
9
+ import * as _just_web_fetch0 from "@just-web/fetch";
10
+ import * as _just_web_states0 from "@just-web/states";
11
+ import * as type_plus0 from "type-plus";
12
+
13
+ //#region src/presets_browser_gizmo.d.ts
14
+ interface PresetsBrowserGizmoOptions {
15
+ browser?: BrowserGizmoOptions$1;
16
+ history?: HistoryGizmoOptions$1;
17
+ }
18
+ declare const presetsBrowserGizmoFn: (options?: PresetsBrowserGizmoOptions | undefined) => _just_web_app0.GizmoStatic<_just_web_app0.DepBuilder<{
19
+ id: string;
20
+ name: string;
21
+ } & LogGizmo & {
22
+ commands: {
23
+ contributions: _just_web_commands0.ContributionRegistry;
24
+ handlers: _just_web_commands0.HandlerRegistry;
25
+ showCommandPalette: () => void;
26
+ };
27
+ }, {
28
+ keyboard: {
29
+ keyBindingContributions: _just_web_keyboard0.KeyBindingContributionRegistry;
30
+ };
31
+ }>, type_plus0.Pick._<{
32
+ id: string;
33
+ name: string;
34
+ } & LogGizmo & {
35
+ commands: {
36
+ contributions: _just_web_commands0.ContributionRegistry;
37
+ handlers: _just_web_commands0.HandlerRegistry;
38
+ showCommandPalette: () => void;
39
+ };
40
+ } & Partial<{
41
+ keyboard: {
42
+ keyBindingContributions: _just_web_keyboard0.KeyBindingContributionRegistry;
43
+ };
44
+ }> & {
45
+ browser: {
46
+ errors: _just_web_browser0.ReadonlyErrorStore;
47
+ sessionStorage: Storage;
48
+ localStorage: Storage;
49
+ navigator: Navigator;
50
+ location: Location;
51
+ };
52
+ fetch: _just_web_fetch0.Fetch;
53
+ } & {
54
+ preferences: {
55
+ get: (key: string, defaultValue?: string | undefined) => string | undefined;
56
+ set: (key: string, value: _just_web_states0.SetStateValue<string | undefined>) => void;
57
+ clearAll: () => void;
58
+ createStore<T extends type_plus0.JSONTypes>(key: string, defaultValue?: T | undefined): {
59
+ get(): T | undefined;
60
+ set: <V extends _just_web_states0.SetStateValue<T | undefined> | undefined>(value: V) => V extends type_plus0.AnyFunction<any, Promise<any>> ? Promise<void> : void;
61
+ };
62
+ };
63
+ } & {
64
+ history: _just_web_history0.History;
65
+ }, "browser" | "fetch" | "preferences" | "history">>;
66
+ type PresetsBrowserGizmo = define.Infer<typeof presetsBrowserGizmoFn>;
67
+ //#endregion
68
+ export { type BrowserGizmo, type BrowserGizmoOptions, type BrowserHistory, type ErrorStore, type Fetch, type History, type HistoryGizmo, type HistoryGizmoOptions, PresetsBrowserGizmo, PresetsBrowserGizmoOptions, type ReadonlyErrorStore, presetsBrowserGizmoFn };
4
69
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../ts/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,4BAA4B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/presets_browser_gizmo.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;UAQiB,0BAAA;YACN;YACA;;cAGE,kCAAqB,0DAAA,2BAAA;;;;;;IALjB,QAAA,qCACN;IAIE,kBAAA,EAgBV,GAAA,GAAA,IAAA;EAhB+B,CAAA;;;;;qBAAA,CAAA;;;;;;;;;;;;;;EAmBqT,OAAA,EAAA;;;;;;;;;;;aAnBrT,EAAA,MAAA,EAAA,KAAA,iCAAA,CAAA,MAAA,GAAA,SAAA,CAAA,EAAA,GAAA,IAAA;IAAA,QAAA,EAAA,GAAA,GAAA,IAAA;IAkBtB,WAAA,CAAA,8BAA0C,CAApB,CAAA,GAAA,EAAA,MAAO,EAAK,YAAA,CAAA,EACyS,CADzS,GAAA,SAAA,CAAA,EAAA;;;;;;;;KAAlC,mBAAA,GAAsB,MAAA,CAAO,aAAa"}
package/esm/index.js CHANGED
@@ -1,4 +1,38 @@
1
- export * from './just_web_browser.types.js';
2
- export * from './just_web_history.types.js';
3
- export * from './presets_browser_gizmo.js';
1
+ import { define, incubate } from "@just-web/app";
2
+ import { browserGizmoFn } from "@just-web/browser";
3
+ import { browserPreferencesGizmo } from "@just-web/browser-preferences";
4
+ import { historyGizmoFn } from "@just-web/history";
5
+
6
+ //#region ../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/reduceKey.js
7
+ function reduceByKey(subject, callbackfn, initialValue) {
8
+ return Object.keys(subject).reduce((p, k, i, a) => callbackfn(p, k, i, a, subject), initialValue);
9
+ }
10
+
11
+ //#endregion
12
+ //#region ../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/record.js
13
+ function record(value) {
14
+ const r = Object.create(null);
15
+ return value ? Object.assign(r, value) : r;
16
+ }
17
+
18
+ //#endregion
19
+ //#region ../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/omit.js
20
+ function omit(subject, ...props) {
21
+ return reduceByKey(subject, (p, k) => {
22
+ if (props.indexOf(k) === -1) p[k] = subject[k];
23
+ return p;
24
+ }, Object.getPrototypeOf(subject) === null ? record() : {});
25
+ }
26
+
27
+ //#endregion
28
+ //#region src/presets_browser_gizmo.ts
29
+ const presetsBrowserGizmoFn = define((options) => ({
30
+ static: define.require().require().require().optional(),
31
+ async create(ctx) {
32
+ return omit(await incubate(ctx).with(browserGizmoFn(options === null || options === void 0 ? void 0 : options.browser)).with(browserPreferencesGizmo).with(historyGizmoFn(options === null || options === void 0 ? void 0 : options.history)).create(), "name", "id", "log", "keyboard", "commands");
33
+ }
34
+ }));
35
+
36
+ //#endregion
37
+ export { presetsBrowserGizmoFn };
4
38
  //# sourceMappingURL=index.js.map
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../ts/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,4BAA4B,CAAA"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/reduceKey.js","../../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/record.js","../../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/omit.js","../src/presets_browser_gizmo.ts"],"sourcesContent":["export function reduceByKey(subject, callbackfn, initialValue) {\n return Object.keys(subject).reduce((p, k, i, a) => callbackfn(p, k, i, a, subject), initialValue);\n}\n/**\n * @deprecated renamed to reduceByKey\n */\nexport const reduceKey = reduceByKey;\n//# sourceMappingURL=reduceKey.js.map","export function record(value) {\n const r = Object.create(null);\n return (value ? Object.assign(r, value) : r);\n}\n//# sourceMappingURL=record.js.map","import { record } from './record.js';\nimport { reduceByKey } from './reduceKey.js';\nexport function omit(subject, ...props) {\n return reduceByKey(subject, (p, k) => {\n if (props.indexOf(k) === -1)\n p[k] = subject[k];\n return p;\n }, Object.getPrototypeOf(subject) === null ? record() : {});\n}\n//# sourceMappingURL=omit.js.map","import { define, type IdGizmo, incubate, type LogGizmo } from '@just-web/app'\nimport { type BrowserGizmoOptions, browserGizmoFn } from '@just-web/browser'\nimport { browserPreferencesGizmo } from '@just-web/browser-preferences'\nimport type { CommandsGizmo } from '@just-web/commands'\nimport { type HistoryGizmoOptions, historyGizmoFn } from '@just-web/history'\nimport type { KeyboardGizmo } from '@just-web/keyboard'\nimport { omit } from 'type-plus'\n\nexport interface PresetsBrowserGizmoOptions {\n\tbrowser?: BrowserGizmoOptions\n\thistory?: HistoryGizmoOptions\n}\n\nexport const presetsBrowserGizmoFn = define((options?: PresetsBrowserGizmoOptions) => ({\n\tstatic: define.require<IdGizmo>().require<LogGizmo>().require<CommandsGizmo>().optional<KeyboardGizmo>(),\n\tasync create(ctx) {\n\t\treturn omit(\n\t\t\tawait incubate(ctx)\n\t\t\t\t.with(browserGizmoFn(options?.browser))\n\t\t\t\t.with(browserPreferencesGizmo)\n\t\t\t\t.with(historyGizmoFn(options?.history))\n\t\t\t\t.create(),\n\t\t\t'name',\n\t\t\t'id',\n\t\t\t'log',\n\t\t\t'keyboard',\n\t\t\t'commands'\n\t\t)\n\t}\n}))\n\nexport type PresetsBrowserGizmo = define.Infer<typeof presetsBrowserGizmoFn>\n"],"x_google_ignoreList":[0,1,2],"mappings":";;;;;;AAAA,SAAgB,YAAY,SAAS,YAAY,cAAc;AAC3D,QAAO,OAAO,KAAK,QAAQ,CAAC,QAAQ,GAAG,GAAG,GAAG,MAAM,WAAW,GAAG,GAAG,GAAG,GAAG,QAAQ,EAAE,aAAa;;;;;ACDrG,SAAgB,OAAO,OAAO;CAC1B,MAAM,IAAI,OAAO,OAAO,KAAK;AAC7B,QAAQ,QAAQ,OAAO,OAAO,GAAG,MAAM,GAAG;;;;;ACA9C,SAAgB,KAAK,SAAS,GAAG,OAAO;AACpC,QAAO,YAAY,UAAU,GAAG,MAAM;AAClC,MAAI,MAAM,QAAQ,EAAE,KAAK,GACrB,GAAE,KAAK,QAAQ;AACnB,SAAO;IACR,OAAO,eAAe,QAAQ,KAAK,OAAO,QAAQ,GAAG,EAAE,CAAC;;;;;ACM/D,MAAa,wBAAwB,QAAQ,aAA0C;CACtF,QAAQ,OAAO,SAAkB,CAAC,SAAmB,CAAC,SAAwB,CAAC,UAAyB;CACxG,MAAM,OAAO,KAAK;AACjB,SAAO,KACN,MAAM,SAAS,IAAI,CACjB,KAAK,iEAAe,QAAS,QAAQ,CAAC,CACtC,KAAK,wBAAwB,CAC7B,KAAK,iEAAe,QAAS,QAAQ,CAAC,CACtC,QAAQ,EACV,QACA,MACA,OACA,YACA,WACA;;CAEF,EAAE"}
@@ -0,0 +1,24 @@
1
+ //#region rolldown:runtime
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
+ key = keys[i];
11
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
+ get: ((k) => from[k]).bind(null, key),
13
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
+ });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
19
+ value: mod,
20
+ enumerable: true
21
+ }) : target, mod));
22
+
23
+ //#endregion
24
+ export { };
@@ -1,5 +1,71 @@
1
- export * from '@just-web/browser-preferences/testing';
2
- export * from '@just-web/browser/testing';
3
- export * from '@just-web/history/testing';
4
- export * from '../presets_browser_gizmo.mocks.js';
1
+ import { BrowserTestGizmoOptions } from "@just-web/browser/testing";
2
+ import * as _just_web_app0 from "@just-web/app";
3
+ import { LogGizmo } from "@just-web/app";
4
+ import * as _just_web_history0 from "@just-web/history";
5
+ import { HistoryGizmoOptions } from "@just-web/history";
6
+ import * as _just_web_commands0 from "@just-web/commands";
7
+ import * as _just_web_keyboard0 from "@just-web/keyboard";
8
+ import * as _just_web_browser0 from "@just-web/browser";
9
+ import * as _just_web_fetch0 from "@just-web/fetch";
10
+ import * as _just_web_states0 from "@just-web/states";
11
+ import * as type_plus0 from "type-plus";
12
+ export * from "@just-web/browser/testing";
13
+ export * from "@just-web/browser-preferences/testing";
14
+ export * from "@just-web/history/testing";
15
+
16
+ //#region src/presets_browser_gizmo.mocks.d.ts
17
+ interface PresetsBrowserTestGizmoOptions {
18
+ browser?: BrowserTestGizmoOptions;
19
+ history?: HistoryGizmoOptions;
20
+ }
21
+ declare const presetsBrowserTestGizmoFn: (options?: PresetsBrowserTestGizmoOptions | undefined) => _just_web_app0.GizmoStatic<_just_web_app0.DepBuilder<{
22
+ id: string;
23
+ name: string;
24
+ } & LogGizmo & {
25
+ commands: {
26
+ contributions: _just_web_commands0.ContributionRegistry;
27
+ handlers: _just_web_commands0.HandlerRegistry;
28
+ showCommandPalette: () => void;
29
+ };
30
+ }, {
31
+ keyboard: {
32
+ keyBindingContributions: _just_web_keyboard0.KeyBindingContributionRegistry;
33
+ };
34
+ }>, type_plus0.Pick._<{
35
+ id: string;
36
+ name: string;
37
+ } & LogGizmo & {
38
+ commands: {
39
+ contributions: _just_web_commands0.ContributionRegistry;
40
+ handlers: _just_web_commands0.HandlerRegistry;
41
+ showCommandPalette: () => void;
42
+ };
43
+ } & Partial<{
44
+ keyboard: {
45
+ keyBindingContributions: _just_web_keyboard0.KeyBindingContributionRegistry;
46
+ };
47
+ }> & {
48
+ browser: {
49
+ errors: _just_web_browser0.ReadonlyErrorStore;
50
+ sessionStorage: Storage;
51
+ localStorage: Storage;
52
+ navigator: Navigator;
53
+ location: Location;
54
+ };
55
+ fetch: _just_web_fetch0.Fetch;
56
+ } & {
57
+ preferences: {
58
+ get: (key: string, defaultValue?: string | undefined) => string | undefined;
59
+ set: (key: string, value: _just_web_states0.SetStateValue<string | undefined>) => void;
60
+ clearAll: () => void;
61
+ createStore<T extends type_plus0.JSONTypes>(key: string, defaultValue?: T | undefined): {
62
+ get(): T | undefined;
63
+ set: <V extends _just_web_states0.SetStateValue<T | undefined> | undefined>(value: V) => V extends type_plus0.AnyFunction<any, Promise<any>> ? Promise<void> : void;
64
+ };
65
+ };
66
+ } & {
67
+ history: _just_web_history0.History;
68
+ }, "browser" | "fetch" | "preferences" | "history">>;
69
+ //#endregion
70
+ export { PresetsBrowserTestGizmoOptions, presetsBrowserTestGizmoFn };
5
71
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../ts/testing/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAA;AACrD,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mCAAmC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/presets_browser_gizmo.mocks.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;UAUiB,8BAAA;YACN;YACA;;cAGE,sCAAyB,8DAAA,2BAAA;;;;;;;;;;;;EALrB,CAAA;AAKjB,CAAA,CAAA,mBAAa,CAAA;EAAyB,EAAA,EAAA,MAAA;;;;;YAAA,qCAAA;;;;;;;;;;;;;;EAiBiJ,CAAA;;;;;;;4EAAA;;;;;CAjBjJ,GAAA"}
@@ -1,5 +1,46 @@
1
- export * from '@just-web/browser-preferences/testing';
2
- export * from '@just-web/browser/testing';
3
- export * from '@just-web/history/testing';
4
- export * from '../presets_browser_gizmo.mocks.js';
1
+ import { browserTestGizmoFn } from "@just-web/browser/testing";
2
+ import { createMemoryHistory } from "@just-web/history/testing";
3
+ import { define, incubate } from "@just-web/app";
4
+ import { browserPreferencesGizmo } from "@just-web/browser-preferences";
5
+ import { historyGizmoFn } from "@just-web/history";
6
+
7
+ export * from "@just-web/browser/testing"
8
+
9
+ export * from "@just-web/browser-preferences/testing"
10
+
11
+ export * from "@just-web/history/testing"
12
+
13
+ //#region ../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/reduceKey.js
14
+ function reduceByKey(subject, callbackfn, initialValue) {
15
+ return Object.keys(subject).reduce((p, k, i, a) => callbackfn(p, k, i, a, subject), initialValue);
16
+ }
17
+
18
+ //#endregion
19
+ //#region ../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/record.js
20
+ function record(value) {
21
+ const r = Object.create(null);
22
+ return value ? Object.assign(r, value) : r;
23
+ }
24
+
25
+ //#endregion
26
+ //#region ../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/omit.js
27
+ function omit(subject, ...props) {
28
+ return reduceByKey(subject, (p, k) => {
29
+ if (props.indexOf(k) === -1) p[k] = subject[k];
30
+ return p;
31
+ }, Object.getPrototypeOf(subject) === null ? record() : {});
32
+ }
33
+
34
+ //#endregion
35
+ //#region src/presets_browser_gizmo.mocks.ts
36
+ const presetsBrowserTestGizmoFn = define((options) => ({
37
+ static: define.require().require().require().optional(),
38
+ async create(ctx) {
39
+ var _options$history;
40
+ return omit(await incubate(ctx).with(browserTestGizmoFn(options === null || options === void 0 ? void 0 : options.browser)).with(browserPreferencesGizmo).with(historyGizmoFn((_options$history = options === null || options === void 0 ? void 0 : options.history) !== null && _options$history !== void 0 ? _options$history : { history: createMemoryHistory() })).create(), "name", "id", "log", "keyboard", "commands");
41
+ }
42
+ }));
43
+
44
+ //#endregion
45
+ export { presetsBrowserTestGizmoFn };
5
46
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/testing/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAA;AACrD,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mCAAmC,CAAA"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/reduceKey.js","../../../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/record.js","../../../../node_modules/.pnpm/type-plus@8.0.0-beta.7/node_modules/type-plus/esm/object/omit.js","../../src/presets_browser_gizmo.mocks.ts"],"sourcesContent":["export function reduceByKey(subject, callbackfn, initialValue) {\n return Object.keys(subject).reduce((p, k, i, a) => callbackfn(p, k, i, a, subject), initialValue);\n}\n/**\n * @deprecated renamed to reduceByKey\n */\nexport const reduceKey = reduceByKey;\n//# sourceMappingURL=reduceKey.js.map","export function record(value) {\n const r = Object.create(null);\n return (value ? Object.assign(r, value) : r);\n}\n//# sourceMappingURL=record.js.map","import { record } from './record.js';\nimport { reduceByKey } from './reduceKey.js';\nexport function omit(subject, ...props) {\n return reduceByKey(subject, (p, k) => {\n if (props.indexOf(k) === -1)\n p[k] = subject[k];\n return p;\n }, Object.getPrototypeOf(subject) === null ? record() : {});\n}\n//# sourceMappingURL=omit.js.map","import { define, type IdGizmo, incubate, type LogGizmo } from '@just-web/app'\nimport { type BrowserTestGizmoOptions, browserTestGizmoFn } from '@just-web/browser/testing'\nimport { browserPreferencesGizmo } from '@just-web/browser-preferences'\nimport type { CommandsGizmo } from '@just-web/commands'\nimport { type HistoryGizmoOptions, historyGizmoFn } from '@just-web/history'\nimport { createMemoryHistory } from '@just-web/history/testing'\nimport type { KeyboardGizmo } from '@just-web/keyboard'\nimport { omit } from 'type-plus'\nimport type { PresetsBrowserGizmo } from './presets_browser_gizmo.js'\n\nexport interface PresetsBrowserTestGizmoOptions {\n\tbrowser?: BrowserTestGizmoOptions\n\thistory?: HistoryGizmoOptions\n}\n\nexport const presetsBrowserTestGizmoFn = define((options?: PresetsBrowserTestGizmoOptions) => ({\n\tstatic: define.require<IdGizmo>().require<LogGizmo>().require<CommandsGizmo>().optional<KeyboardGizmo>(),\n\tasync create(ctx): Promise<PresetsBrowserGizmo> {\n\t\treturn omit(\n\t\t\tawait incubate(ctx)\n\t\t\t\t.with(browserTestGizmoFn(options?.browser))\n\t\t\t\t.with(browserPreferencesGizmo)\n\t\t\t\t.with(historyGizmoFn(options?.history ?? { history: createMemoryHistory() }))\n\t\t\t\t.create(),\n\t\t\t'name',\n\t\t\t'id',\n\t\t\t'log',\n\t\t\t'keyboard',\n\t\t\t'commands'\n\t\t)\n\t}\n}))\n"],"x_google_ignoreList":[0,1,2],"mappings":";;;;;;;;;;;;;AAAA,SAAgB,YAAY,SAAS,YAAY,cAAc;AAC3D,QAAO,OAAO,KAAK,QAAQ,CAAC,QAAQ,GAAG,GAAG,GAAG,MAAM,WAAW,GAAG,GAAG,GAAG,GAAG,QAAQ,EAAE,aAAa;;;;;ACDrG,SAAgB,OAAO,OAAO;CAC1B,MAAM,IAAI,OAAO,OAAO,KAAK;AAC7B,QAAQ,QAAQ,OAAO,OAAO,GAAG,MAAM,GAAG;;;;;ACA9C,SAAgB,KAAK,SAAS,GAAG,OAAO;AACpC,QAAO,YAAY,UAAU,GAAG,MAAM;AAClC,MAAI,MAAM,QAAQ,EAAE,KAAK,GACrB,GAAE,KAAK,QAAQ;AACnB,SAAO;IACR,OAAO,eAAe,QAAQ,KAAK,OAAO,QAAQ,GAAG,EAAE,CAAC;;;;;ACQ/D,MAAa,4BAA4B,QAAQ,aAA8C;CAC9F,QAAQ,OAAO,SAAkB,CAAC,SAAmB,CAAC,SAAwB,CAAC,UAAyB;CACxG,MAAM,OAAO,KAAmC;;AAC/C,SAAO,KACN,MAAM,SAAS,IAAI,CACjB,KAAK,qEAAmB,QAAS,QAAQ,CAAC,CAC1C,KAAK,wBAAwB,CAC7B,KAAK,qFAAe,QAAS,sEAAW,EAAE,SAAS,qBAAqB,EAAE,CAAC,CAAC,CAC5E,QAAQ,EACV,QACA,MACA,OACA,YACA,WACA;;CAEF,EAAE"}