@seelen-ui/lib 0.1.2-next.20241204071255

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 (131) hide show
  1. package/LICENSE +202 -0
  2. package/esm/_dnt.shims.d.ts +5 -0
  3. package/esm/_dnt.shims.d.ts.map +1 -0
  4. package/esm/_dnt.shims.js +61 -0
  5. package/esm/handlers/events.d.ts +53 -0
  6. package/esm/handlers/events.d.ts.map +1 -0
  7. package/esm/handlers/events.js +54 -0
  8. package/esm/handlers/index.d.ts +11 -0
  9. package/esm/handlers/index.d.ts.map +1 -0
  10. package/esm/handlers/index.js +16 -0
  11. package/esm/handlers/invokers.d.ts +75 -0
  12. package/esm/handlers/invokers.d.ts.map +1 -0
  13. package/esm/handlers/invokers.js +77 -0
  14. package/esm/lib.d.ts +5 -0
  15. package/esm/lib.d.ts.map +1 -0
  16. package/esm/lib.js +4 -0
  17. package/esm/package.json +3 -0
  18. package/esm/state/icon_pack.d.ts +6 -0
  19. package/esm/state/icon_pack.d.ts.map +1 -0
  20. package/esm/state/icon_pack.js +5 -0
  21. package/esm/state/index.d.ts +24 -0
  22. package/esm/state/index.d.ts.map +1 -0
  23. package/esm/state/index.js +28 -0
  24. package/esm/state/placeholder.d.ts +91 -0
  25. package/esm/state/placeholder.d.ts.map +1 -0
  26. package/esm/state/placeholder.js +33 -0
  27. package/esm/state/plugin.d.ts +17 -0
  28. package/esm/state/plugin.d.ts.map +1 -0
  29. package/esm/state/plugin.js +31 -0
  30. package/esm/state/profile.d.ts +16 -0
  31. package/esm/state/profile.d.ts.map +1 -0
  32. package/esm/state/profile.js +13 -0
  33. package/esm/state/settings.d.ts +175 -0
  34. package/esm/state/settings.d.ts.map +1 -0
  35. package/esm/state/settings.js +195 -0
  36. package/esm/state/settings_by_app.d.ts +44 -0
  37. package/esm/state/settings_by_app.d.ts.map +1 -0
  38. package/esm/state/settings_by_app.js +48 -0
  39. package/esm/state/settings_by_monitor.d.ts +43 -0
  40. package/esm/state/settings_by_monitor.d.ts.map +1 -0
  41. package/esm/state/settings_by_monitor.js +46 -0
  42. package/esm/state/theme.d.ts +31 -0
  43. package/esm/state/theme.d.ts.map +1 -0
  44. package/esm/state/theme.js +1 -0
  45. package/esm/state/weg_items.d.ts +36 -0
  46. package/esm/state/weg_items.d.ts.map +1 -0
  47. package/esm/state/weg_items.js +8 -0
  48. package/esm/state/widget.d.ts +4 -0
  49. package/esm/state/widget.d.ts.map +1 -0
  50. package/esm/state/widget.js +3 -0
  51. package/esm/state/wm_layout.d.ts +56 -0
  52. package/esm/state/wm_layout.d.ts.map +1 -0
  53. package/esm/state/wm_layout.js +18 -0
  54. package/esm/system_state/index.d.ts +19 -0
  55. package/esm/system_state/index.d.ts.map +1 -0
  56. package/esm/system_state/index.js +40 -0
  57. package/esm/utils/hooks.d.ts +2 -0
  58. package/esm/utils/hooks.d.ts.map +1 -0
  59. package/esm/utils/hooks.js +43 -0
  60. package/esm/utils/index.d.ts +17 -0
  61. package/esm/utils/index.d.ts.map +1 -0
  62. package/esm/utils/index.js +57 -0
  63. package/esm/utils/layered_hitbox.d.ts +2 -0
  64. package/esm/utils/layered_hitbox.d.ts.map +1 -0
  65. package/esm/utils/layered_hitbox.js +55 -0
  66. package/package.json +26 -0
  67. package/readme.md +7 -0
  68. package/script/_dnt.shims.d.ts +5 -0
  69. package/script/_dnt.shims.d.ts.map +1 -0
  70. package/script/_dnt.shims.js +65 -0
  71. package/script/handlers/events.d.ts +53 -0
  72. package/script/handlers/events.d.ts.map +1 -0
  73. package/script/handlers/events.js +57 -0
  74. package/script/handlers/index.d.ts +11 -0
  75. package/script/handlers/index.d.ts.map +1 -0
  76. package/script/handlers/index.js +33 -0
  77. package/script/handlers/invokers.d.ts +75 -0
  78. package/script/handlers/invokers.d.ts.map +1 -0
  79. package/script/handlers/invokers.js +81 -0
  80. package/script/lib.d.ts +5 -0
  81. package/script/lib.d.ts.map +1 -0
  82. package/script/lib.js +20 -0
  83. package/script/package.json +3 -0
  84. package/script/state/icon_pack.d.ts +6 -0
  85. package/script/state/icon_pack.d.ts.map +1 -0
  86. package/script/state/icon_pack.js +9 -0
  87. package/script/state/index.d.ts +24 -0
  88. package/script/state/index.d.ts.map +1 -0
  89. package/script/state/index.js +47 -0
  90. package/script/state/placeholder.d.ts +91 -0
  91. package/script/state/placeholder.d.ts.map +1 -0
  92. package/script/state/placeholder.js +36 -0
  93. package/script/state/plugin.d.ts +17 -0
  94. package/script/state/plugin.d.ts.map +1 -0
  95. package/script/state/plugin.js +36 -0
  96. package/script/state/profile.d.ts +16 -0
  97. package/script/state/profile.d.ts.map +1 -0
  98. package/script/state/profile.js +17 -0
  99. package/script/state/settings.d.ts +175 -0
  100. package/script/state/settings.d.ts.map +1 -0
  101. package/script/state/settings.js +234 -0
  102. package/script/state/settings_by_app.d.ts +44 -0
  103. package/script/state/settings_by_app.d.ts.map +1 -0
  104. package/script/state/settings_by_app.js +53 -0
  105. package/script/state/settings_by_monitor.d.ts +43 -0
  106. package/script/state/settings_by_monitor.d.ts.map +1 -0
  107. package/script/state/settings_by_monitor.js +56 -0
  108. package/script/state/theme.d.ts +31 -0
  109. package/script/state/theme.d.ts.map +1 -0
  110. package/script/state/theme.js +2 -0
  111. package/script/state/weg_items.d.ts +36 -0
  112. package/script/state/weg_items.d.ts.map +1 -0
  113. package/script/state/weg_items.js +11 -0
  114. package/script/state/widget.d.ts +4 -0
  115. package/script/state/widget.d.ts.map +1 -0
  116. package/script/state/widget.js +7 -0
  117. package/script/state/wm_layout.d.ts +56 -0
  118. package/script/state/wm_layout.d.ts.map +1 -0
  119. package/script/state/wm_layout.js +21 -0
  120. package/script/system_state/index.d.ts +19 -0
  121. package/script/system_state/index.d.ts.map +1 -0
  122. package/script/system_state/index.js +44 -0
  123. package/script/utils/hooks.d.ts +2 -0
  124. package/script/utils/hooks.d.ts.map +1 -0
  125. package/script/utils/hooks.js +44 -0
  126. package/script/utils/index.d.ts +17 -0
  127. package/script/utils/index.d.ts.map +1 -0
  128. package/script/utils/index.js +78 -0
  129. package/script/utils/layered_hitbox.d.ts +2 -0
  130. package/script/utils/layered_hitbox.d.ts.map +1 -0
  131. package/script/utils/layered_hitbox.js +58 -0
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.dntGlobalThis = exports.crypto = void 0;
4
+ const shim_crypto_1 = require("@deno/shim-crypto");
5
+ var shim_crypto_2 = require("@deno/shim-crypto");
6
+ Object.defineProperty(exports, "crypto", { enumerable: true, get: function () { return shim_crypto_2.crypto; } });
7
+ const dntGlobals = {
8
+ crypto: shim_crypto_1.crypto,
9
+ };
10
+ exports.dntGlobalThis = createMergeProxy(globalThis, dntGlobals);
11
+ function createMergeProxy(baseObj, extObj) {
12
+ return new Proxy(baseObj, {
13
+ get(_target, prop, _receiver) {
14
+ if (prop in extObj) {
15
+ return extObj[prop];
16
+ }
17
+ else {
18
+ return baseObj[prop];
19
+ }
20
+ },
21
+ set(_target, prop, value) {
22
+ if (prop in extObj) {
23
+ delete extObj[prop];
24
+ }
25
+ baseObj[prop] = value;
26
+ return true;
27
+ },
28
+ deleteProperty(_target, prop) {
29
+ let success = false;
30
+ if (prop in extObj) {
31
+ delete extObj[prop];
32
+ success = true;
33
+ }
34
+ if (prop in baseObj) {
35
+ delete baseObj[prop];
36
+ success = true;
37
+ }
38
+ return success;
39
+ },
40
+ ownKeys(_target) {
41
+ const baseKeys = Reflect.ownKeys(baseObj);
42
+ const extKeys = Reflect.ownKeys(extObj);
43
+ const extKeysSet = new Set(extKeys);
44
+ return [...baseKeys.filter((k) => !extKeysSet.has(k)), ...extKeys];
45
+ },
46
+ defineProperty(_target, prop, desc) {
47
+ if (prop in extObj) {
48
+ delete extObj[prop];
49
+ }
50
+ Reflect.defineProperty(baseObj, prop, desc);
51
+ return true;
52
+ },
53
+ getOwnPropertyDescriptor(_target, prop) {
54
+ if (prop in extObj) {
55
+ return Reflect.getOwnPropertyDescriptor(extObj, prop);
56
+ }
57
+ else {
58
+ return Reflect.getOwnPropertyDescriptor(baseObj, prop);
59
+ }
60
+ },
61
+ has(_target, prop) {
62
+ return prop in extObj || prop in baseObj;
63
+ },
64
+ });
65
+ }
@@ -0,0 +1,53 @@
1
+ export declare enum SeelenEvent {
2
+ WorkspacesChanged = "workspaces-changed",
3
+ ActiveWorkspaceChanged = "active-workspace-changed",
4
+ GlobalFocusChanged = "global-focus-changed",
5
+ GlobalMouseMove = "global-mouse-move",
6
+ GlobalMonitorsChanged = "global-monitors-changed",
7
+ HandleLayeredHitboxes = "handle-layered",
8
+ MediaSessions = "media-sessions",
9
+ MediaInputs = "media-inputs",
10
+ MediaOutputs = "media-outputs",
11
+ NetworkDefaultLocalIp = "network-default-local-ip",
12
+ NetworkAdapters = "network-adapters",
13
+ NetworkInternetConnection = "network-internet-connection",
14
+ NetworkWlanScanned = "wlan-scanned",
15
+ Notifications = "notifications",
16
+ PowerStatus = "power-status",
17
+ BatteriesStatus = "batteries-status",
18
+ ColorsChanged = "colors-changed",
19
+ TrayInfo = "tray-info",
20
+ ToolbarOverlaped = "set-auto-hide",
21
+ WegOverlaped = "set-auto-hide",
22
+ WegSetFocusedHandle = "set-focused-handle",
23
+ WegSetFocusedExecutable = "set-focused-executable",
24
+ WegUpdateOpenAppInfo = "update-open-app-info",
25
+ WegAddOpenApp = "add-open-app",
26
+ WegRemoveOpenApp = "remove-open-app",
27
+ WMSetReservation = "set-reservation",
28
+ WMUpdateHeight = "update-height",
29
+ WMUpdateWidth = "update-width",
30
+ WMResetWorkspaceSize = "reset-workspace-size",
31
+ WMFocus = "focus",
32
+ WMSetActiveWorkspace = "set-active-workspace",
33
+ WMAddWindow = "add-window",
34
+ WMUpdateWindow = "update-window",
35
+ WMRemoveWindow = "remove-window",
36
+ WMForceRetiling = "wm-force-retiling",
37
+ WMSetLayout = "wm-set-layout",
38
+ WMSetOverlayVisibility = "wm-set-overlay-visibility",
39
+ WMSetActiveWindow = "wm-set-active-window",
40
+ WallStop = "wall-stop",
41
+ StateSettingsChanged = "settings-changed",
42
+ StateWegItemsChanged = "weg-items",
43
+ StateThemesChanged = "themes",
44
+ StatePlaceholdersChanged = "placeholders",
45
+ StateLayoutsChanged = "layouts",
46
+ StateSettingsByAppChanged = "settings-by-app",
47
+ StateHistoryChanged = "history",
48
+ StateIconPacksChanged = "icon-packs",
49
+ StatePluginsChanged = "plugins-changed",
50
+ StateWidgetsChanged = "widgets-changed",
51
+ StateProfilesChanged = "profiles-changed"
52
+ }
53
+ //# sourceMappingURL=events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/handlers/events.ts"],"names":[],"mappings":"AACA,oBAAY,WAAW;IACrB,iBAAiB,uBAAuB;IACxC,sBAAsB,6BAA6B;IACnD,kBAAkB,yBAAyB;IAC3C,eAAe,sBAAsB;IACrC,qBAAqB,4BAA4B;IACjD,qBAAqB,mBAAmB;IACxC,aAAa,mBAAmB;IAChC,WAAW,iBAAiB;IAC5B,YAAY,kBAAkB;IAC9B,qBAAqB,6BAA6B;IAClD,eAAe,qBAAqB;IACpC,yBAAyB,gCAAgC;IACzD,kBAAkB,iBAAiB;IACnC,aAAa,kBAAkB;IAC/B,WAAW,iBAAiB;IAC5B,eAAe,qBAAqB;IACpC,aAAa,mBAAmB;IAChC,QAAQ,cAAc;IACtB,gBAAgB,kBAAkB;IAClC,YAAY,kBAAkB;IAC9B,mBAAmB,uBAAuB;IAC1C,uBAAuB,2BAA2B;IAClD,oBAAoB,yBAAyB;IAC7C,aAAa,iBAAiB;IAC9B,gBAAgB,oBAAoB;IACpC,gBAAgB,oBAAoB;IACpC,cAAc,kBAAkB;IAChC,aAAa,iBAAiB;IAC9B,oBAAoB,yBAAyB;IAC7C,OAAO,UAAU;IACjB,oBAAoB,yBAAyB;IAC7C,WAAW,eAAe;IAC1B,cAAc,kBAAkB;IAChC,cAAc,kBAAkB;IAChC,eAAe,sBAAsB;IACrC,WAAW,kBAAkB;IAC7B,sBAAsB,8BAA8B;IACpD,iBAAiB,yBAAyB;IAC1C,QAAQ,cAAc;IACtB,oBAAoB,qBAAqB;IACzC,oBAAoB,cAAc;IAClC,kBAAkB,WAAW;IAC7B,wBAAwB,iBAAiB;IACzC,mBAAmB,YAAY;IAC/B,yBAAyB,oBAAoB;IAC7C,mBAAmB,YAAY;IAC/B,qBAAqB,eAAe;IACpC,mBAAmB,oBAAoB;IACvC,mBAAmB,oBAAoB;IACvC,oBAAoB,qBAAqB;CAC1C"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SeelenEvent = void 0;
4
+ // This file was generated via rust macros. Don't modify manually.
5
+ var SeelenEvent;
6
+ (function (SeelenEvent) {
7
+ SeelenEvent["WorkspacesChanged"] = "workspaces-changed";
8
+ SeelenEvent["ActiveWorkspaceChanged"] = "active-workspace-changed";
9
+ SeelenEvent["GlobalFocusChanged"] = "global-focus-changed";
10
+ SeelenEvent["GlobalMouseMove"] = "global-mouse-move";
11
+ SeelenEvent["GlobalMonitorsChanged"] = "global-monitors-changed";
12
+ SeelenEvent["HandleLayeredHitboxes"] = "handle-layered";
13
+ SeelenEvent["MediaSessions"] = "media-sessions";
14
+ SeelenEvent["MediaInputs"] = "media-inputs";
15
+ SeelenEvent["MediaOutputs"] = "media-outputs";
16
+ SeelenEvent["NetworkDefaultLocalIp"] = "network-default-local-ip";
17
+ SeelenEvent["NetworkAdapters"] = "network-adapters";
18
+ SeelenEvent["NetworkInternetConnection"] = "network-internet-connection";
19
+ SeelenEvent["NetworkWlanScanned"] = "wlan-scanned";
20
+ SeelenEvent["Notifications"] = "notifications";
21
+ SeelenEvent["PowerStatus"] = "power-status";
22
+ SeelenEvent["BatteriesStatus"] = "batteries-status";
23
+ SeelenEvent["ColorsChanged"] = "colors-changed";
24
+ SeelenEvent["TrayInfo"] = "tray-info";
25
+ SeelenEvent["ToolbarOverlaped"] = "set-auto-hide";
26
+ SeelenEvent["WegOverlaped"] = "set-auto-hide";
27
+ SeelenEvent["WegSetFocusedHandle"] = "set-focused-handle";
28
+ SeelenEvent["WegSetFocusedExecutable"] = "set-focused-executable";
29
+ SeelenEvent["WegUpdateOpenAppInfo"] = "update-open-app-info";
30
+ SeelenEvent["WegAddOpenApp"] = "add-open-app";
31
+ SeelenEvent["WegRemoveOpenApp"] = "remove-open-app";
32
+ SeelenEvent["WMSetReservation"] = "set-reservation";
33
+ SeelenEvent["WMUpdateHeight"] = "update-height";
34
+ SeelenEvent["WMUpdateWidth"] = "update-width";
35
+ SeelenEvent["WMResetWorkspaceSize"] = "reset-workspace-size";
36
+ SeelenEvent["WMFocus"] = "focus";
37
+ SeelenEvent["WMSetActiveWorkspace"] = "set-active-workspace";
38
+ SeelenEvent["WMAddWindow"] = "add-window";
39
+ SeelenEvent["WMUpdateWindow"] = "update-window";
40
+ SeelenEvent["WMRemoveWindow"] = "remove-window";
41
+ SeelenEvent["WMForceRetiling"] = "wm-force-retiling";
42
+ SeelenEvent["WMSetLayout"] = "wm-set-layout";
43
+ SeelenEvent["WMSetOverlayVisibility"] = "wm-set-overlay-visibility";
44
+ SeelenEvent["WMSetActiveWindow"] = "wm-set-active-window";
45
+ SeelenEvent["WallStop"] = "wall-stop";
46
+ SeelenEvent["StateSettingsChanged"] = "settings-changed";
47
+ SeelenEvent["StateWegItemsChanged"] = "weg-items";
48
+ SeelenEvent["StateThemesChanged"] = "themes";
49
+ SeelenEvent["StatePlaceholdersChanged"] = "placeholders";
50
+ SeelenEvent["StateLayoutsChanged"] = "layouts";
51
+ SeelenEvent["StateSettingsByAppChanged"] = "settings-by-app";
52
+ SeelenEvent["StateHistoryChanged"] = "history";
53
+ SeelenEvent["StateIconPacksChanged"] = "icon-packs";
54
+ SeelenEvent["StatePluginsChanged"] = "plugins-changed";
55
+ SeelenEvent["StateWidgetsChanged"] = "widgets-changed";
56
+ SeelenEvent["StateProfilesChanged"] = "profiles-changed";
57
+ })(SeelenEvent || (exports.SeelenEvent = SeelenEvent = {}));
@@ -0,0 +1,11 @@
1
+ export * from './invokers.js';
2
+ export * from './events.js';
3
+ import type { SeelenEvent } from './events.js';
4
+ import type { SeelenCommand } from './invokers.js';
5
+ interface _Obtainable<T> {
6
+ new (): object;
7
+ getAsync(): Promise<T>;
8
+ onChange(cb: (value: T) => void): Promise<() => void>;
9
+ }
10
+ export declare function Obtainable<T>(invokeKey: SeelenCommand, eventKey: SeelenEvent): _Obtainable<T>;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/handlers/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAK5B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,UAAU,WAAW,CAAC,CAAC;IACrB,QAAQ,MAAM,CAAC;IACf,QAAQ,IAAI,OAAO,CAAC,CAAC,CAAC,CAAC;IACvB,QAAQ,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,MAAM,IAAI,CAAC,CAAC;CACvD;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,GAAG,WAAW,CAAC,CAAC,CAAC,CAY7F"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.Obtainable = Obtainable;
18
+ __exportStar(require("./invokers.js"), exports);
19
+ __exportStar(require("./events.js"), exports);
20
+ const core_1 = require("@tauri-apps/api/core");
21
+ const event_1 = require("@tauri-apps/api/event");
22
+ function Obtainable(invokeKey, eventKey) {
23
+ return class {
24
+ static async getAsync() {
25
+ return await (0, core_1.invoke)(invokeKey);
26
+ }
27
+ static async onChange(cb) {
28
+ return await (0, event_1.listen)(eventKey, (event) => {
29
+ cb(event.payload);
30
+ });
31
+ }
32
+ };
33
+ }
@@ -0,0 +1,75 @@
1
+ import { type InvokeArgs, type InvokeOptions } from '@tauri-apps/api/core';
2
+ import type { Plugin } from '../state/plugin.js';
3
+ import type { Profile } from '../state/profile.js';
4
+ export declare enum SeelenCommand {
5
+ Run = "run",
6
+ IsDevMode = "is_dev_mode",
7
+ OpenFile = "open_file",
8
+ RunAsAdmin = "run_as_admin",
9
+ SelectFileOnExplorer = "select_file_on_explorer",
10
+ IsVirtualDesktopSupported = "is_virtual_desktop_supported",
11
+ GetUserEnvs = "get_user_envs",
12
+ ShowAppSettings = "show_app_settings",
13
+ SwitchWorkspace = "switch_workspace",
14
+ SendKeys = "send_keys",
15
+ GetIcon = "get_icon",
16
+ GetSystemColors = "get_system_colors",
17
+ SimulateFullscreen = "simulate_fullscreen",
18
+ CheckForUpdates = "check_for_updates",
19
+ /** Restart the app after install the update so it returns a promise resolved with `never` */
20
+ InstallLastAvailableUpdate = "install_last_available_update",
21
+ SetAutoStart = "set_auto_start",
22
+ GetAutoStartStatus = "get_auto_start_status",
23
+ StateGetThemes = "state_get_themes",
24
+ StateGetPlaceholders = "state_get_placeholders",
25
+ StateGetLayouts = "state_get_layouts",
26
+ StateGetWegItems = "state_get_weg_items",
27
+ StateGetSettings = "state_get_settings",
28
+ StateGetSpecificAppsConfigurations = "state_get_specific_apps_configurations",
29
+ StateGetWallpaper = "state_get_wallpaper",
30
+ StateSetWallpaper = "state_set_wallpaper",
31
+ StateGetHistory = "state_get_history",
32
+ StateGetPlugins = "state_get_plugins",
33
+ StateGetWidgets = "state_get_widgets",
34
+ stateGetProfiles = "state_get_profiles",
35
+ MediaPrev = "media_prev",
36
+ MediaTogglePlayPause = "media_toggle_play_pause",
37
+ MediaNext = "media_next",
38
+ SetVolumeLevel = "set_volume_level",
39
+ MediaToggleMute = "media_toggle_mute",
40
+ MediaSetDefaultDevice = "media_set_default_device",
41
+ GetMainMonitorBrightness = "get_main_monitor_brightness",
42
+ SetMainMonitorBrightness = "set_main_monitor_brightness",
43
+ LogOut = "log_out",
44
+ Suspend = "suspend",
45
+ Restart = "restart",
46
+ Shutdown = "shutdown",
47
+ WegCloseApp = "weg_close_app",
48
+ WegToggleWindowState = "weg_toggle_window_state",
49
+ WegRequestUpdatePreviews = "weg_request_update_previews",
50
+ WegPinItem = "weg_pin_item",
51
+ SetWindowPosition = "set_window_position",
52
+ RequestFocus = "request_focus",
53
+ LauncherGetApps = "launcher_get_apps",
54
+ TempGetByEventTrayInfo = "temp_get_by_event_tray_info",
55
+ OnClickTrayIcon = "on_click_tray_icon",
56
+ OnContextMenuTrayIcon = "on_context_menu_tray_icon",
57
+ WlanGetProfiles = "wlan_get_profiles",
58
+ WlanStartScanning = "wlan_start_scanning",
59
+ WlanStopScanning = "wlan_stop_scanning",
60
+ WlanConnect = "wlan_connect",
61
+ WlanDisconnect = "wlan_disconnect",
62
+ NotificationsClose = "notifications_close",
63
+ NotificationsCloseAll = "notifications_close_all"
64
+ }
65
+ type ReturnTypeByCommand = Record<SeelenCommand, unknown> & {
66
+ [SeelenCommand.IsDevMode]: boolean;
67
+ [SeelenCommand.CheckForUpdates]: boolean;
68
+ [SeelenCommand.InstallLastAvailableUpdate]: never;
69
+ [SeelenCommand.StateGetPlugins]: Plugin[];
70
+ [SeelenCommand.stateGetProfiles]: Profile[];
71
+ };
72
+ export type SeelenCommandReturn<T extends SeelenCommand> = ReturnTypeByCommand[T];
73
+ export declare function invoke<T extends SeelenCommand>(command: T, args?: InvokeArgs, options?: InvokeOptions): Promise<SeelenCommandReturn<T>>;
74
+ export {};
75
+ //# sourceMappingURL=invokers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invokers.d.ts","sourceRoot":"","sources":["../../src/handlers/invokers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAElG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAEnD,oBAAY,aAAa;IAEvB,GAAG,QAAQ;IACX,SAAS,gBAAgB;IACzB,QAAQ,cAAc;IACtB,UAAU,iBAAiB;IAC3B,oBAAoB,4BAA4B;IAChD,yBAAyB,iCAAiC;IAC1D,WAAW,kBAAkB;IAC7B,eAAe,sBAAsB;IACrC,eAAe,qBAAqB;IACpC,QAAQ,cAAc;IACtB,OAAO,aAAa;IACpB,eAAe,sBAAsB;IACrC,kBAAkB,wBAAwB;IAC1C,eAAe,sBAAsB;IACrC,6FAA6F;IAC7F,0BAA0B,kCAAkC;IAG5D,YAAY,mBAAmB;IAC/B,kBAAkB,0BAA0B;IAC5C,cAAc,qBAAqB;IACnC,oBAAoB,2BAA2B;IAC/C,eAAe,sBAAsB;IACrC,gBAAgB,wBAAwB;IACxC,gBAAgB,uBAAuB;IACvC,kCAAkC,2CAA2C;IAC7E,iBAAiB,wBAAwB;IACzC,iBAAiB,wBAAwB;IACzC,eAAe,sBAAsB;IACrC,eAAe,sBAAsB;IACrC,eAAe,sBAAsB;IACrC,gBAAgB,uBAAuB;IAGvC,SAAS,eAAe;IACxB,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,CAAC,CAAC,CAEjC"}
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SeelenCommand = void 0;
4
+ exports.invoke = invoke;
5
+ const core_1 = require("@tauri-apps/api/core");
6
+ var SeelenCommand;
7
+ (function (SeelenCommand) {
8
+ // General
9
+ SeelenCommand["Run"] = "run";
10
+ SeelenCommand["IsDevMode"] = "is_dev_mode";
11
+ SeelenCommand["OpenFile"] = "open_file";
12
+ SeelenCommand["RunAsAdmin"] = "run_as_admin";
13
+ SeelenCommand["SelectFileOnExplorer"] = "select_file_on_explorer";
14
+ SeelenCommand["IsVirtualDesktopSupported"] = "is_virtual_desktop_supported";
15
+ SeelenCommand["GetUserEnvs"] = "get_user_envs";
16
+ SeelenCommand["ShowAppSettings"] = "show_app_settings";
17
+ SeelenCommand["SwitchWorkspace"] = "switch_workspace";
18
+ SeelenCommand["SendKeys"] = "send_keys";
19
+ SeelenCommand["GetIcon"] = "get_icon";
20
+ SeelenCommand["GetSystemColors"] = "get_system_colors";
21
+ SeelenCommand["SimulateFullscreen"] = "simulate_fullscreen";
22
+ SeelenCommand["CheckForUpdates"] = "check_for_updates";
23
+ /** Restart the app after install the update so it returns a promise resolved with `never` */
24
+ SeelenCommand["InstallLastAvailableUpdate"] = "install_last_available_update";
25
+ // Seelen Settings
26
+ SeelenCommand["SetAutoStart"] = "set_auto_start";
27
+ SeelenCommand["GetAutoStartStatus"] = "get_auto_start_status";
28
+ SeelenCommand["StateGetThemes"] = "state_get_themes";
29
+ SeelenCommand["StateGetPlaceholders"] = "state_get_placeholders";
30
+ SeelenCommand["StateGetLayouts"] = "state_get_layouts";
31
+ SeelenCommand["StateGetWegItems"] = "state_get_weg_items";
32
+ SeelenCommand["StateGetSettings"] = "state_get_settings";
33
+ SeelenCommand["StateGetSpecificAppsConfigurations"] = "state_get_specific_apps_configurations";
34
+ SeelenCommand["StateGetWallpaper"] = "state_get_wallpaper";
35
+ SeelenCommand["StateSetWallpaper"] = "state_set_wallpaper";
36
+ SeelenCommand["StateGetHistory"] = "state_get_history";
37
+ SeelenCommand["StateGetPlugins"] = "state_get_plugins";
38
+ SeelenCommand["StateGetWidgets"] = "state_get_widgets";
39
+ SeelenCommand["stateGetProfiles"] = "state_get_profiles";
40
+ // Media
41
+ SeelenCommand["MediaPrev"] = "media_prev";
42
+ SeelenCommand["MediaTogglePlayPause"] = "media_toggle_play_pause";
43
+ SeelenCommand["MediaNext"] = "media_next";
44
+ SeelenCommand["SetVolumeLevel"] = "set_volume_level";
45
+ SeelenCommand["MediaToggleMute"] = "media_toggle_mute";
46
+ SeelenCommand["MediaSetDefaultDevice"] = "media_set_default_device";
47
+ // Brightness
48
+ SeelenCommand["GetMainMonitorBrightness"] = "get_main_monitor_brightness";
49
+ SeelenCommand["SetMainMonitorBrightness"] = "set_main_monitor_brightness";
50
+ // Power
51
+ SeelenCommand["LogOut"] = "log_out";
52
+ SeelenCommand["Suspend"] = "suspend";
53
+ SeelenCommand["Restart"] = "restart";
54
+ SeelenCommand["Shutdown"] = "shutdown";
55
+ // SeelenWeg
56
+ SeelenCommand["WegCloseApp"] = "weg_close_app";
57
+ SeelenCommand["WegToggleWindowState"] = "weg_toggle_window_state";
58
+ SeelenCommand["WegRequestUpdatePreviews"] = "weg_request_update_previews";
59
+ SeelenCommand["WegPinItem"] = "weg_pin_item";
60
+ // Windows Manager
61
+ SeelenCommand["SetWindowPosition"] = "set_window_position";
62
+ SeelenCommand["RequestFocus"] = "request_focus";
63
+ // App Launcher
64
+ SeelenCommand["LauncherGetApps"] = "launcher_get_apps";
65
+ // Tray Icons
66
+ SeelenCommand["TempGetByEventTrayInfo"] = "temp_get_by_event_tray_info";
67
+ SeelenCommand["OnClickTrayIcon"] = "on_click_tray_icon";
68
+ SeelenCommand["OnContextMenuTrayIcon"] = "on_context_menu_tray_icon";
69
+ // Network
70
+ SeelenCommand["WlanGetProfiles"] = "wlan_get_profiles";
71
+ SeelenCommand["WlanStartScanning"] = "wlan_start_scanning";
72
+ SeelenCommand["WlanStopScanning"] = "wlan_stop_scanning";
73
+ SeelenCommand["WlanConnect"] = "wlan_connect";
74
+ SeelenCommand["WlanDisconnect"] = "wlan_disconnect";
75
+ // Notifications
76
+ SeelenCommand["NotificationsClose"] = "notifications_close";
77
+ SeelenCommand["NotificationsCloseAll"] = "notifications_close_all";
78
+ })(SeelenCommand || (exports.SeelenCommand = SeelenCommand = {}));
79
+ function invoke(command, args, options) {
80
+ return (0, core_1.invoke)(command, args, options);
81
+ }
@@ -0,0 +1,5 @@
1
+ export * from './state/index.js';
2
+ export * from './system_state/index.js';
3
+ export * from './utils/index.js';
4
+ export * from './handlers/index.js';
5
+ //# sourceMappingURL=lib.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC"}
package/script/lib.js ADDED
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./state/index.js"), exports);
18
+ __exportStar(require("./system_state/index.js"), exports);
19
+ __exportStar(require("./utils/index.js"), exports);
20
+ __exportStar(require("./handlers/index.js"), exports);
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -0,0 +1,6 @@
1
+ import { ResourceMetadata } from './index.js';
2
+ export declare class IconPack {
3
+ info: ResourceMetadata;
4
+ apps: Record<string, string>;
5
+ }
6
+ //# sourceMappingURL=icon_pack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon_pack.d.ts","sourceRoot":"","sources":["../../src/state/icon_pack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,qBAAa,QAAQ;IACnB,IAAI,EAAE,gBAAgB,CAA0B;IAChD,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAM;CACnC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IconPack = void 0;
4
+ const index_js_1 = require("./index.js");
5
+ class IconPack {
6
+ info = new index_js_1.ResourceMetadata();
7
+ apps = {};
8
+ }
9
+ exports.IconPack = IconPack;
@@ -0,0 +1,24 @@
1
+ export * from './theme.js';
2
+ export * from './settings.js';
3
+ export * from './weg_items.js';
4
+ export * from './wm_layout.js';
5
+ export * from './placeholder.js';
6
+ export * from './settings_by_app.js';
7
+ export * from './settings_by_monitor.js';
8
+ export * from './icon_pack.js';
9
+ export * from './plugin.js';
10
+ export * from './widget.js';
11
+ export * from './profile.js';
12
+ export declare class LauncherHistory {
13
+ [x: string]: string[];
14
+ static getAsync(): Promise<LauncherHistory>;
15
+ static onChange(cb: (value: LauncherHistory) => void): Promise<() => void>;
16
+ }
17
+ export declare class ResourceMetadata {
18
+ displayName: string;
19
+ author: string;
20
+ description: string;
21
+ filename: string;
22
+ tags: string[];
23
+ }
24
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/state/index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAO7B,qBAAa,eAAe;IAC1B,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;WAET,QAAQ,IAAI,OAAO,CAAC,eAAe,CAAC;WAIpC,QAAQ,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,GAAG,OAAO,CAAC,MAAM,IAAI,CAAC;CAGjF;AAED,qBAAa,gBAAgB;IAC3B,WAAW,EAAE,MAAM,CAAa;IAChC,MAAM,EAAE,MAAM,CAAa;IAC3B,WAAW,EAAE,MAAM,CAAM;IACzB,QAAQ,EAAE,MAAM,CAAM;IACtB,IAAI,EAAE,MAAM,EAAE,CAAM;CACrB"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.ResourceMetadata = exports.LauncherHistory = void 0;
18
+ const index_js_1 = require("../handlers/index.js");
19
+ __exportStar(require("./theme.js"), exports);
20
+ __exportStar(require("./settings.js"), exports);
21
+ __exportStar(require("./weg_items.js"), exports);
22
+ __exportStar(require("./wm_layout.js"), exports);
23
+ __exportStar(require("./placeholder.js"), exports);
24
+ __exportStar(require("./settings_by_app.js"), exports);
25
+ __exportStar(require("./settings_by_monitor.js"), exports);
26
+ __exportStar(require("./icon_pack.js"), exports);
27
+ __exportStar(require("./plugin.js"), exports);
28
+ __exportStar(require("./widget.js"), exports);
29
+ __exportStar(require("./profile.js"), exports);
30
+ const _LauncherHistory = (0, index_js_1.Obtainable)(index_js_1.SeelenCommand.StateGetHistory, index_js_1.SeelenEvent.StateHistoryChanged);
31
+ class LauncherHistory {
32
+ static async getAsync() {
33
+ return await _LauncherHistory.getAsync();
34
+ }
35
+ static async onChange(cb) {
36
+ return await _LauncherHistory.onChange(cb);
37
+ }
38
+ }
39
+ exports.LauncherHistory = LauncherHistory;
40
+ class ResourceMetadata {
41
+ displayName = 'Unknown';
42
+ author = 'Unknown';
43
+ description = '';
44
+ filename = '';
45
+ tags = [];
46
+ }
47
+ exports.ResourceMetadata = ResourceMetadata;
@@ -0,0 +1,91 @@
1
+ export declare enum ToolbarModuleType {
2
+ Generic = "generic",
3
+ Text = "text",
4
+ Date = "date",
5
+ Power = "power",
6
+ Settings = "settings",
7
+ Network = "network",
8
+ Workspaces = "workspaces",
9
+ Media = "media",
10
+ Tray = "tray",
11
+ Device = "device",
12
+ Notifications = "notifications"
13
+ }
14
+ export declare enum WorkspaceTMMode {
15
+ Dotted = "dotted",
16
+ Named = "named",
17
+ Numbered = "numbered"
18
+ }
19
+ export declare enum TimeUnit {
20
+ SECOND = "second",
21
+ MINUTE = "minute",
22
+ HOUR = "hour",
23
+ DAY = "day"
24
+ }
25
+ export declare enum DeviceTMSubType {
26
+ Disk = "disk",
27
+ CPU = "cpu",
28
+ Memory = "memory"
29
+ }
30
+ export interface BaseToolbarModule {
31
+ id: string;
32
+ type: ToolbarModuleType;
33
+ template: string;
34
+ tooltip: string | null;
35
+ badge: string | null;
36
+ /** @deprecated, use `onClickV2` instead */
37
+ onClick: string | null;
38
+ onClickV2: string | null;
39
+ style: Record<string, string | number>;
40
+ }
41
+ export interface GenericToolbarModule extends BaseToolbarModule {
42
+ type: ToolbarModuleType.Generic | ToolbarModuleType.Text;
43
+ }
44
+ export interface TrayTM extends BaseToolbarModule {
45
+ type: ToolbarModuleType.Tray;
46
+ }
47
+ export interface DateToolbarModule extends BaseToolbarModule {
48
+ type: ToolbarModuleType.Date;
49
+ /** @deprecated v2 uses settings date format instead (it will perform the minimal updates) */
50
+ each: TimeUnit;
51
+ /** @deprecated v2 uses settings date format instead */
52
+ format: string;
53
+ }
54
+ export interface PowerToolbarModule extends BaseToolbarModule {
55
+ type: ToolbarModuleType.Power;
56
+ }
57
+ export interface NetworkTM extends BaseToolbarModule {
58
+ type: ToolbarModuleType.Network;
59
+ withWlanSelector: boolean;
60
+ }
61
+ export interface MediaTM extends BaseToolbarModule {
62
+ type: ToolbarModuleType.Media;
63
+ withMediaControls: boolean;
64
+ }
65
+ export interface NotificationsTM extends BaseToolbarModule {
66
+ type: ToolbarModuleType.Notifications;
67
+ }
68
+ export interface DeviceTM extends BaseToolbarModule {
69
+ type: ToolbarModuleType.Device;
70
+ }
71
+ export interface SettingsToolbarModule extends BaseToolbarModule {
72
+ type: ToolbarModuleType.Settings;
73
+ }
74
+ export interface WorkspacesTM extends BaseToolbarModule {
75
+ type: ToolbarModuleType.Workspaces;
76
+ mode: WorkspaceTMMode;
77
+ }
78
+ export type ToolbarModule = GenericToolbarModule | DateToolbarModule | PowerToolbarModule | SettingsToolbarModule | WorkspacesTM | TrayTM | NetworkTM | MediaTM | DeviceTM | NotificationsTM;
79
+ export interface CreatorInfo {
80
+ displayName: string;
81
+ author: string;
82
+ description: string;
83
+ filename: string;
84
+ }
85
+ export interface Placeholder {
86
+ info: CreatorInfo;
87
+ left: (string | ToolbarModule)[];
88
+ center: (string | ToolbarModule)[];
89
+ right: (string | ToolbarModule)[];
90
+ }
91
+ //# sourceMappingURL=placeholder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../src/state/placeholder.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,aAAa,kBAAkB;CAChC;AAED,oBAAY,eAAe;IACzB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED,oBAAY,QAAQ;IAClB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ;AAED,oBAAY,eAAe;IACzB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,MAAM,WAAW;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,iBAAiB,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,2CAA2C;IAC3C,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;CACxC;AAED,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,IAAI,EAAE,iBAAiB,CAAC,OAAO,GAAG,iBAAiB,CAAC,IAAI,CAAC;CAC1D;AAED,MAAM,WAAW,MAAO,SAAQ,iBAAiB;IAC/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