944 lines
133 KiB
JavaScript
944 lines
133 KiB
JavaScript
/*
|
|
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
|
if you want to view the source, please visit the github repository of this plugin
|
|
*/
|
|
|
|
var __create = Object.create;
|
|
var __defProp = Object.defineProperty;
|
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
var __getProtoOf = Object.getPrototypeOf;
|
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
var __export = (target, all) => {
|
|
__markAsModule(target);
|
|
for (var name in all)
|
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
};
|
|
var __reExport = (target, module2, desc) => {
|
|
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
for (let key of __getOwnPropNames(module2))
|
|
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
}
|
|
return target;
|
|
};
|
|
var __toModule = (module2) => {
|
|
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
};
|
|
var __async = (__this, __arguments, generator) => {
|
|
return new Promise((resolve, reject) => {
|
|
var fulfilled = (value) => {
|
|
try {
|
|
step(generator.next(value));
|
|
} catch (e) {
|
|
reject(e);
|
|
}
|
|
};
|
|
var rejected = (value) => {
|
|
try {
|
|
step(generator.throw(value));
|
|
} catch (e) {
|
|
reject(e);
|
|
}
|
|
};
|
|
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
});
|
|
};
|
|
|
|
// main.ts
|
|
__export(exports, {
|
|
default: () => MinimalTheme
|
|
});
|
|
var import_obsidian = __toModule(require("obsidian"));
|
|
var MinimalTheme = class extends import_obsidian.Plugin {
|
|
onload() {
|
|
return __async(this, null, function* () {
|
|
yield this.loadSettings();
|
|
this.addSettingTab(new MinimalSettingTab(this.app, this));
|
|
this.addStyle();
|
|
let media = window.matchMedia("(prefers-color-scheme: dark)");
|
|
let updateSystemTheme = () => {
|
|
if (media.matches && this.settings.useSystemTheme) {
|
|
console.log("Dark mode active");
|
|
this.updateDarkStyle();
|
|
} else if (this.settings.useSystemTheme) {
|
|
console.log("Light mode active");
|
|
this.updateLightStyle();
|
|
}
|
|
};
|
|
media.addEventListener("change", updateSystemTheme);
|
|
this.register(() => media.removeEventListener("change", updateSystemTheme));
|
|
updateSystemTheme();
|
|
let settingsUpdate = () => {
|
|
const fontSize = this.app.vault.getConfig("baseFontSize");
|
|
this.settings.textNormal = fontSize;
|
|
if (this.app.vault.getConfig("foldHeading")) {
|
|
this.settings.folding = true;
|
|
this.saveData(this.settings);
|
|
console.log("Folding is on");
|
|
} else {
|
|
this.settings.folding = false;
|
|
this.saveData(this.settings);
|
|
console.log("Folding is off");
|
|
}
|
|
document.body.classList.toggle("minimal-folding", this.settings.folding);
|
|
if (this.app.vault.getConfig("showLineNumber")) {
|
|
this.settings.lineNumbers = true;
|
|
this.saveData(this.settings);
|
|
console.log("Line numbers are on");
|
|
} else {
|
|
this.settings.lineNumbers = false;
|
|
this.saveData(this.settings);
|
|
console.log("Line numbers are off");
|
|
}
|
|
document.body.classList.toggle("minimal-line-nums", this.settings.lineNumbers);
|
|
if (this.app.vault.getConfig("readableLineLength")) {
|
|
this.settings.readableLineLength = true;
|
|
this.saveData(this.settings);
|
|
console.log("Readable line length is on");
|
|
} else {
|
|
this.settings.readableLineLength = false;
|
|
this.saveData(this.settings);
|
|
console.log("Readable line length is off");
|
|
}
|
|
document.body.classList.toggle("minimal-readable", this.settings.readableLineLength);
|
|
document.body.classList.toggle("minimal-readable-off", !this.settings.readableLineLength);
|
|
};
|
|
let sidebarUpdate = () => {
|
|
const sidebarEl = document.getElementsByClassName("mod-left-split")[0];
|
|
const ribbonEl = document.getElementsByClassName("side-dock-ribbon")[0];
|
|
if (sidebarEl && ribbonEl && this.app.vault.getConfig("theme") == "moonstone" && this.settings.lightStyle == "minimal-light-contrast") {
|
|
sidebarEl.addClass("theme-dark");
|
|
ribbonEl.addClass("theme-dark");
|
|
} else if (sidebarEl && ribbonEl) {
|
|
sidebarEl.removeClass("theme-dark");
|
|
ribbonEl.removeClass("theme-dark");
|
|
}
|
|
};
|
|
this.registerEvent(app.vault.on("config-changed", settingsUpdate));
|
|
this.registerEvent(app.workspace.on("css-change", sidebarUpdate));
|
|
settingsUpdate();
|
|
app.workspace.onLayoutReady(() => {
|
|
sidebarUpdate();
|
|
});
|
|
const lightStyles = ["minimal-light", "minimal-light-tonal", "minimal-light-contrast", "minimal-light-white"];
|
|
const darkStyles = ["minimal-dark", "minimal-dark-tonal", "minimal-dark-black"];
|
|
const imgGridStyles = ["img-grid", "img-grid-ratio", "img-nogrid"];
|
|
const tableWidthStyles = ["table-100", "table-default-width", "table-wide", "table-max"];
|
|
const iframeWidthStyles = ["iframe-100", "iframe-default-width", "iframe-wide", "iframe-max"];
|
|
const imgWidthStyles = ["img-100", "img-default-width", "img-wide", "img-max"];
|
|
const mapWidthStyles = ["map-100", "map-default-width", "map-wide", "map-max"];
|
|
const chartWidthStyles = ["chart-100", "chart-default-width", "chart-wide", "chart-max"];
|
|
const theme = ["moonstone", "obsidian"];
|
|
this.addCommand({
|
|
id: "increase-body-font-size",
|
|
name: "Increase body font size",
|
|
callback: () => {
|
|
this.settings.textNormal = this.settings.textNormal + 0.5;
|
|
this.saveData(this.settings);
|
|
this.setFontSize();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "decrease-body-font-size",
|
|
name: "Decrease body font size",
|
|
callback: () => {
|
|
this.settings.textNormal = this.settings.textNormal - 0.5;
|
|
this.saveData(this.settings);
|
|
this.setFontSize();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-dark-cycle",
|
|
name: "Cycle between dark mode styles",
|
|
callback: () => {
|
|
this.settings.darkStyle = darkStyles[(darkStyles.indexOf(this.settings.darkStyle) + 1) % darkStyles.length];
|
|
this.saveData(this.settings);
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-light-cycle",
|
|
name: "Cycle between light mode styles",
|
|
callback: () => {
|
|
this.settings.lightStyle = lightStyles[(lightStyles.indexOf(this.settings.lightStyle) + 1) % lightStyles.length];
|
|
this.saveData(this.settings);
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-hidden-borders",
|
|
name: "Toggle sidebar borders",
|
|
callback: () => {
|
|
this.settings.bordersToggle = !this.settings.bordersToggle;
|
|
this.saveData(this.settings);
|
|
this.refresh();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-colorful-headings",
|
|
name: "Toggle colorful headings",
|
|
callback: () => {
|
|
this.settings.colorfulHeadings = !this.settings.colorfulHeadings;
|
|
this.saveData(this.settings);
|
|
this.refresh();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-focus-mode",
|
|
name: "Toggle focus mode",
|
|
callback: () => {
|
|
this.settings.focusMode = !this.settings.focusMode;
|
|
this.saveData(this.settings);
|
|
this.refresh();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-colorful-frame",
|
|
name: "Toggle colorful window frame",
|
|
callback: () => {
|
|
this.settings.colorfulFrame = !this.settings.colorfulFrame;
|
|
this.saveData(this.settings);
|
|
this.refresh();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "cycle-minimal-table-width",
|
|
name: "Cycle between table width options",
|
|
callback: () => {
|
|
this.settings.tableWidth = tableWidthStyles[(tableWidthStyles.indexOf(this.settings.tableWidth) + 1) % tableWidthStyles.length];
|
|
this.saveData(this.settings);
|
|
this.refresh();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "cycle-minimal-image-width",
|
|
name: "Cycle between image width options",
|
|
callback: () => {
|
|
this.settings.imgWidth = imgWidthStyles[(imgWidthStyles.indexOf(this.settings.imgWidth) + 1) % imgWidthStyles.length];
|
|
this.saveData(this.settings);
|
|
this.refresh();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "cycle-minimal-iframe-width",
|
|
name: "Cycle between iframe width options",
|
|
callback: () => {
|
|
this.settings.iframeWidth = iframeWidthStyles[(iframeWidthStyles.indexOf(this.settings.iframeWidth) + 1) % iframeWidthStyles.length];
|
|
this.saveData(this.settings);
|
|
this.refresh();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "cycle-minimal-chart-width",
|
|
name: "Cycle between chart width options",
|
|
callback: () => {
|
|
this.settings.chartWidth = chartWidthStyles[(chartWidthStyles.indexOf(this.settings.chartWidth) + 1) % chartWidthStyles.length];
|
|
this.saveData(this.settings);
|
|
this.refresh();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "cycle-minimal-map-width",
|
|
name: "Cycle between map width options",
|
|
callback: () => {
|
|
this.settings.mapWidth = mapWidthStyles[(mapWidthStyles.indexOf(this.settings.mapWidth) + 1) % mapWidthStyles.length];
|
|
this.saveData(this.settings);
|
|
this.refresh();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-img-grid",
|
|
name: "Toggle image grids",
|
|
callback: () => {
|
|
this.settings.imgGrid = !this.settings.imgGrid;
|
|
this.saveData(this.settings);
|
|
this.refresh();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-switch",
|
|
name: "Switch between light and dark mode",
|
|
callback: () => {
|
|
this.settings.theme = theme[(theme.indexOf(this.settings.theme) + 1) % theme.length];
|
|
this.saveData(this.settings);
|
|
this.updateTheme();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-light-default",
|
|
name: "Use light mode (default)",
|
|
callback: () => {
|
|
this.settings.lightStyle = "minimal-light";
|
|
this.saveData(this.settings);
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-light-white",
|
|
name: "Use light mode (all white)",
|
|
callback: () => {
|
|
this.settings.lightStyle = "minimal-light-white";
|
|
this.saveData(this.settings);
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-light-tonal",
|
|
name: "Use light mode (low contrast)",
|
|
callback: () => {
|
|
this.settings.lightStyle = "minimal-light-tonal";
|
|
this.saveData(this.settings);
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-light-contrast",
|
|
name: "Use light mode (high contrast)",
|
|
callback: () => {
|
|
this.settings.lightStyle = "minimal-light-contrast";
|
|
this.saveData(this.settings);
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-dark-default",
|
|
name: "Use dark mode (default)",
|
|
callback: () => {
|
|
this.settings.darkStyle = "minimal-dark";
|
|
this.saveData(this.settings);
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-dark-tonal",
|
|
name: "Use dark mode (low contrast)",
|
|
callback: () => {
|
|
this.settings.darkStyle = "minimal-dark-tonal";
|
|
this.saveData(this.settings);
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-dark-black",
|
|
name: "Use dark mode (true black)",
|
|
callback: () => {
|
|
this.settings.darkStyle = "minimal-dark-black";
|
|
this.saveData(this.settings);
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-atom-light",
|
|
name: "Switch light color scheme to Atom (light)",
|
|
callback: () => {
|
|
this.settings.lightScheme = "minimal-atom-light";
|
|
this.saveData(this.settings);
|
|
this.updateLightScheme();
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-ayu-light",
|
|
name: "Switch light color scheme to Ayu (light)",
|
|
callback: () => {
|
|
this.settings.lightScheme = "minimal-ayu-light";
|
|
this.saveData(this.settings);
|
|
this.updateLightScheme();
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-catppuccin-light",
|
|
name: "Switch light color scheme to Catppuccin (light)",
|
|
callback: () => {
|
|
this.settings.lightScheme = "minimal-catppuccin-light";
|
|
this.saveData(this.settings);
|
|
this.updateLightScheme();
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-default-light",
|
|
name: "Switch light color scheme to default (light)",
|
|
callback: () => {
|
|
this.settings.lightScheme = "minimal-default-light";
|
|
this.saveData(this.settings);
|
|
this.updateLightScheme();
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-gruvbox-light",
|
|
name: "Switch light color scheme to Gruvbox (light)",
|
|
callback: () => {
|
|
this.settings.lightScheme = "minimal-gruvbox-light";
|
|
this.saveData(this.settings);
|
|
this.updateLightScheme();
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-eink-light",
|
|
name: "Switch light color scheme to Eink (light)",
|
|
callback: () => {
|
|
this.settings.lightScheme = "minimal-eink-light";
|
|
this.saveData(this.settings);
|
|
this.updateLightScheme();
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-everforest-light",
|
|
name: "Switch light color scheme to Everforest (light)",
|
|
callback: () => {
|
|
this.settings.lightScheme = "minimal-everforest-light";
|
|
this.saveData(this.settings);
|
|
this.updateLightScheme();
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-macos-light",
|
|
name: "Switch light color scheme to macOS (light)",
|
|
callback: () => {
|
|
this.settings.lightScheme = "minimal-macos-light";
|
|
this.saveData(this.settings);
|
|
this.updateLightScheme();
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-notion-light",
|
|
name: "Switch light color scheme to Notion (light)",
|
|
callback: () => {
|
|
this.settings.lightScheme = "minimal-notion-light";
|
|
this.saveData(this.settings);
|
|
this.updateLightScheme();
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-nord-light",
|
|
name: "Switch light color scheme to Nord (light)",
|
|
callback: () => {
|
|
this.settings.lightScheme = "minimal-nord-light";
|
|
this.saveData(this.settings);
|
|
this.updateLightScheme();
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-rose-pine-light",
|
|
name: "Switch light color scheme to Ros\xE9 Pine (light)",
|
|
callback: () => {
|
|
this.settings.lightScheme = "minimal-rose-pine-light";
|
|
this.saveData(this.settings);
|
|
this.updateLightScheme();
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-solarized-light",
|
|
name: "Switch light color scheme to Solarized (light)",
|
|
callback: () => {
|
|
this.settings.lightScheme = "minimal-solarized-light";
|
|
this.saveData(this.settings);
|
|
this.updateLightScheme();
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-things-light",
|
|
name: "Switch light color scheme to Things (light)",
|
|
callback: () => {
|
|
this.settings.lightScheme = "minimal-things-light";
|
|
this.saveData(this.settings);
|
|
this.updateLightScheme();
|
|
this.updateLightStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-atom-dark",
|
|
name: "Switch dark color scheme to Atom (dark)",
|
|
callback: () => {
|
|
this.settings.darkScheme = "minimal-atom-dark";
|
|
this.saveData(this.settings);
|
|
this.updateDarkScheme();
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-ayu-dark",
|
|
name: "Switch dark color scheme to Ayu (dark)",
|
|
callback: () => {
|
|
this.settings.darkScheme = "minimal-ayu-dark";
|
|
this.saveData(this.settings);
|
|
this.updateDarkScheme();
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-catppuccin-dark",
|
|
name: "Switch dark color scheme to Catppuccin (dark)",
|
|
callback: () => {
|
|
this.settings.darkScheme = "minimal-catppuccin-dark";
|
|
this.saveData(this.settings);
|
|
this.updateDarkScheme();
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-dracula-dark",
|
|
name: "Switch dark color scheme to Dracula (dark)",
|
|
callback: () => {
|
|
this.settings.darkScheme = "minimal-dracula-dark";
|
|
this.saveData(this.settings);
|
|
this.updateDarkScheme();
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-default-dark",
|
|
name: "Switch dark color scheme to default (dark)",
|
|
callback: () => {
|
|
this.settings.darkScheme = "minimal-default-dark";
|
|
this.saveData(this.settings);
|
|
this.updateDarkScheme();
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-gruvbox-dark",
|
|
name: "Switch dark color scheme to Gruvbox (dark)",
|
|
callback: () => {
|
|
this.settings.darkScheme = "minimal-gruvbox-dark";
|
|
this.saveData(this.settings);
|
|
this.updateDarkScheme();
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-eink-dark",
|
|
name: "Switch dark color scheme to Eink (dark)",
|
|
callback: () => {
|
|
this.settings.darkScheme = "minimal-eink-dark";
|
|
this.saveData(this.settings);
|
|
this.updateDarkScheme();
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-macos-dark",
|
|
name: "Switch dark color scheme to macOS (dark)",
|
|
callback: () => {
|
|
this.settings.darkScheme = "minimal-macos-dark";
|
|
this.saveData(this.settings);
|
|
this.updateDarkScheme();
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-nord-dark",
|
|
name: "Switch dark color scheme to Nord (dark)",
|
|
callback: () => {
|
|
this.settings.darkScheme = "minimal-nord-dark";
|
|
this.saveData(this.settings);
|
|
this.updateDarkScheme();
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-notion-dark",
|
|
name: "Switch dark color scheme to Notion (dark)",
|
|
callback: () => {
|
|
this.settings.darkScheme = "minimal-notion-dark";
|
|
this.saveData(this.settings);
|
|
this.updateDarkScheme();
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-rose-pine-dark",
|
|
name: "Switch dark color scheme to Ros\xE9 Pine (dark)",
|
|
callback: () => {
|
|
this.settings.darkScheme = "minimal-rose-pine-dark";
|
|
this.saveData(this.settings);
|
|
this.updateDarkScheme();
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-solarized-dark",
|
|
name: "Switch dark color scheme to Solarized (dark)",
|
|
callback: () => {
|
|
this.settings.darkScheme = "minimal-solarized-dark";
|
|
this.saveData(this.settings);
|
|
this.updateDarkScheme();
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-things-dark",
|
|
name: "Switch dark color scheme to Things (dark)",
|
|
callback: () => {
|
|
this.settings.darkScheme = "minimal-things-dark";
|
|
this.saveData(this.settings);
|
|
this.updateDarkScheme();
|
|
this.updateDarkStyle();
|
|
}
|
|
});
|
|
this.addCommand({
|
|
id: "toggle-minimal-dev-block-width",
|
|
name: "Dev \u2014 Show block widths",
|
|
callback: () => {
|
|
this.settings.devBlockWidth = !this.settings.devBlockWidth;
|
|
this.saveData(this.settings);
|
|
this.refresh();
|
|
}
|
|
});
|
|
this.refresh();
|
|
});
|
|
}
|
|
onunload() {
|
|
console.log("Unloading Minimal Theme Settings plugin");
|
|
}
|
|
loadSettings() {
|
|
return __async(this, null, function* () {
|
|
this.settings = Object.assign(DEFAULT_SETTINGS, yield this.loadData());
|
|
});
|
|
}
|
|
saveSettings() {
|
|
return __async(this, null, function* () {
|
|
yield this.saveData(this.settings);
|
|
});
|
|
}
|
|
refresh() {
|
|
this.updateStyle();
|
|
}
|
|
addStyle() {
|
|
const css = document.createElement("style");
|
|
css.id = "minimal-theme";
|
|
document.getElementsByTagName("head")[0].appendChild(css);
|
|
document.body.classList.add("minimal-theme");
|
|
this.updateStyle();
|
|
}
|
|
setFontSize() {
|
|
this.app.vault.setConfig("baseFontSize", this.settings.textNormal);
|
|
this.app.updateFontSize();
|
|
}
|
|
updateStyle() {
|
|
this.removeStyle();
|
|
document.body.addClass(this.settings.darkScheme);
|
|
document.body.addClass(this.settings.lightScheme);
|
|
document.body.classList.toggle("borders-none", !this.settings.bordersToggle);
|
|
document.body.classList.toggle("colorful-headings", this.settings.colorfulHeadings);
|
|
document.body.classList.toggle("colorful-frame", this.settings.colorfulFrame);
|
|
document.body.classList.toggle("colorful-active", this.settings.colorfulActiveStates);
|
|
document.body.classList.toggle("minimal-focus-mode", this.settings.focusMode);
|
|
document.body.classList.toggle("links-int-on", this.settings.underlineInternal);
|
|
document.body.classList.toggle("links-ext-on", this.settings.underlineExternal);
|
|
document.body.classList.toggle("system-shade", this.settings.useSystemTheme);
|
|
document.body.classList.toggle("full-width-media", this.settings.fullWidthMedia);
|
|
document.body.classList.toggle("img-grid", this.settings.imgGrid);
|
|
document.body.classList.toggle("minimal-dev-block-width", this.settings.devBlockWidth);
|
|
document.body.classList.toggle("minimal-status-off", !this.settings.minimalStatus);
|
|
document.body.classList.toggle("full-file-names", !this.settings.trimNames);
|
|
document.body.classList.toggle("labeled-nav", this.settings.labeledNav);
|
|
document.body.classList.toggle("minimal-folding", this.settings.folding);
|
|
document.body.removeClass("table-wide", "table-max", "table-100", "table-default-width", "iframe-wide", "iframe-max", "iframe-100", "iframe-default-width", "img-wide", "img-max", "img-100", "img-default-width", "chart-wide", "chart-max", "chart-100", "chart-default-width", "map-wide", "map-max", "map-100", "map-default-width");
|
|
document.body.addClass(this.settings.chartWidth);
|
|
document.body.addClass(this.settings.tableWidth);
|
|
document.body.addClass(this.settings.imgWidth);
|
|
document.body.addClass(this.settings.iframeWidth);
|
|
document.body.addClass(this.settings.mapWidth);
|
|
const el = document.getElementById("minimal-theme");
|
|
if (!el)
|
|
throw "minimal-theme element not found!";
|
|
else {
|
|
el.innerText = "body.minimal-theme{--font-ui-small:" + this.settings.textSmall + "px;--line-height:" + this.settings.lineHeight + ";--line-width:" + this.settings.lineWidth + "rem;--line-width-wide:" + this.settings.lineWidthWide + "rem;--max-width:" + this.settings.maxWidth + "%;--font-editor-override:" + this.settings.editorFont + ";";
|
|
}
|
|
}
|
|
refreshSystemTheme() {
|
|
const isDarkMode = window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
if (isDarkMode && this.settings.useSystemTheme) {
|
|
console.log("Dark mode active");
|
|
this.updateDarkStyle();
|
|
} else if (this.settings.useSystemTheme) {
|
|
console.log("Light mode active");
|
|
this.updateLightStyle();
|
|
}
|
|
}
|
|
updateDarkStyle() {
|
|
document.body.removeClass("theme-light", "minimal-dark", "minimal-dark-tonal", "minimal-dark-black");
|
|
document.body.addClass(this.settings.darkStyle);
|
|
this.app.setTheme("obsidian");
|
|
this.app.vault.setConfig("theme", "obsidian");
|
|
this.app.workspace.trigger("css-change");
|
|
}
|
|
updateLightStyle() {
|
|
document.body.removeClass("theme-dark", "minimal-light", "minimal-light-tonal", "minimal-light-contrast", "minimal-light-white");
|
|
document.body.addClass(this.settings.lightStyle);
|
|
this.app.setTheme("moonstone");
|
|
this.app.vault.setConfig("theme", "moonstone");
|
|
this.app.workspace.trigger("css-change");
|
|
}
|
|
updateDarkScheme() {
|
|
document.body.removeClass("minimal-atom-dark", "minimal-ayu-dark", "minimal-catppuccin-dark", "minimal-default-dark", "minimal-dracula-dark", "minimal-eink-dark", "minimal-everforest-dark", "minimal-gruvbox-dark", "minimal-macos-dark", "minimal-nord-dark", "minimal-notion-dark", "minimal-rose-pine-dark", "minimal-solarized-dark", "minimal-things-dark");
|
|
document.body.addClass(this.settings.darkScheme);
|
|
}
|
|
updateLightScheme() {
|
|
document.body.removeClass("minimal-atom-light", "minimal-ayu-light", "minimal-catppuccin-light", "minimal-default-light", "minimal-eink-light", "minimal-everforest-light", "minimal-gruvbox-light", "minimal-macos-light", "minimal-nord-light", "minimal-notion-light", "minimal-rose-pine-light", "minimal-solarized-light", "minimal-things-light");
|
|
document.body.addClass(this.settings.lightScheme);
|
|
}
|
|
updateTheme() {
|
|
this.app.setTheme(this.settings.theme);
|
|
this.app.vault.setConfig("theme", this.settings.theme);
|
|
this.app.workspace.trigger("css-change");
|
|
}
|
|
removeStyle() {
|
|
document.body.removeClass("minimal-light", "minimal-light-tonal", "minimal-light-contrast", "minimal-light-white", "minimal-dark", "minimal-dark-tonal", "minimal-dark-black");
|
|
document.body.addClass(this.settings.lightStyle, this.settings.darkStyle);
|
|
}
|
|
};
|
|
var DEFAULT_SETTINGS = {
|
|
theme: "moonstone",
|
|
lightStyle: "minimal-light",
|
|
darkStyle: "minimal-dark",
|
|
lightScheme: "minimal-default-light",
|
|
darkScheme: "minimal-default-dark",
|
|
editorFont: "",
|
|
lineHeight: 1.5,
|
|
lineWidth: 40,
|
|
lineWidthWide: 50,
|
|
maxWidth: 88,
|
|
textNormal: 16,
|
|
textSmall: 13,
|
|
imgGrid: false,
|
|
imgWidth: "img-default-width",
|
|
tableWidth: "table-default-width",
|
|
iframeWidth: "iframe-default-width",
|
|
mapWidth: "map-default-width",
|
|
chartWidth: "chart-default-width",
|
|
colorfulHeadings: false,
|
|
colorfulFrame: false,
|
|
colorfulActiveStates: false,
|
|
trimNames: true,
|
|
labeledNav: false,
|
|
fullWidthMedia: true,
|
|
bordersToggle: true,
|
|
minimalStatus: true,
|
|
focusMode: false,
|
|
underlineInternal: true,
|
|
underlineExternal: true,
|
|
useSystemTheme: false,
|
|
folding: true,
|
|
lineNumbers: false,
|
|
readableLineLength: false,
|
|
devBlockWidth: false
|
|
};
|
|
var MinimalSettingTab = class extends import_obsidian.PluginSettingTab {
|
|
constructor(app2, plugin) {
|
|
super(app2, plugin);
|
|
this.plugin = plugin;
|
|
}
|
|
display() {
|
|
let { containerEl } = this;
|
|
containerEl.empty();
|
|
containerEl.createEl("h3", { text: "Minimal Theme Settings" });
|
|
const mainDesc = containerEl.createEl("p");
|
|
mainDesc.appendText("For help, ");
|
|
mainDesc.appendChild(createEl("a", {
|
|
text: "see documentation",
|
|
href: "https://minimal.guide"
|
|
}));
|
|
mainDesc.appendText(" or join ");
|
|
mainDesc.appendChild(createEl("strong", {
|
|
text: "#minimal"
|
|
}));
|
|
mainDesc.appendText(" in the ");
|
|
mainDesc.appendChild(createEl("a", {
|
|
text: "Obsidian Discord",
|
|
href: "https://obsidian.md/community"
|
|
}));
|
|
mainDesc.appendText(" community.");
|
|
containerEl.createEl("br");
|
|
containerEl.createEl("h3", { text: "Color scheme" });
|
|
const colorDesc = containerEl.createEl("p");
|
|
colorDesc.appendChild(createEl("span", {
|
|
text: "To create a custom color scheme use the "
|
|
}));
|
|
colorDesc.appendChild(createEl("a", {
|
|
text: "Style Settings",
|
|
href: "obsidian://show-plugin?id=obsidian-style-settings"
|
|
}));
|
|
colorDesc.appendText(" plugin.");
|
|
new import_obsidian.Setting(containerEl).setName("Light mode color scheme").setDesc("Preset color options for light mode.").addDropdown((dropdown) => dropdown.addOption("minimal-default-light", "Default").addOption("minimal-atom-light", "Atom").addOption("minimal-ayu-light", "Ayu").addOption("minimal-catppuccin-light", "Catppuccin").addOption("minimal-eink-light", "Eink (beta)").addOption("minimal-everforest-light", "Everforest").addOption("minimal-gruvbox-light", "Gruvbox").addOption("minimal-macos-light", "macOS").addOption("minimal-nord-light", "Nord").addOption("minimal-notion-light", "Notion").addOption("minimal-rose-pine-light", "Ros\xE9 Pine").addOption("minimal-solarized-light", "Solarized").addOption("minimal-things-light", "Things").setValue(this.plugin.settings.lightScheme).onChange((value) => {
|
|
this.plugin.settings.lightScheme = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.updateLightScheme();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Light mode background contrast").setDesc("Level of contrast between sidebar and main content.").addDropdown((dropdown) => dropdown.addOption("minimal-light", "Default").addOption("minimal-light-white", "All white").addOption("minimal-light-tonal", "Low contrast").addOption("minimal-light-contrast", "High contrast").setValue(this.plugin.settings.lightStyle).onChange((value) => {
|
|
this.plugin.settings.lightStyle = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.updateLightStyle();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Dark mode color scheme").setDesc("Preset colors options for dark mode.").addDropdown((dropdown) => dropdown.addOption("minimal-default-dark", "Default").addOption("minimal-atom-dark", "Atom").addOption("minimal-ayu-dark", "Ayu").addOption("minimal-catppuccin-dark", "Catppuccin").addOption("minimal-dracula-dark", "Dracula").addOption("minimal-eink-dark", "Eink (beta)").addOption("minimal-everforest-dark", "Everforest").addOption("minimal-gruvbox-dark", "Gruvbox").addOption("minimal-macos-dark", "macOS").addOption("minimal-nord-dark", "Nord").addOption("minimal-notion-dark", "Notion").addOption("minimal-rose-pine-dark", "Ros\xE9 Pine").addOption("minimal-solarized-dark", "Solarized").addOption("minimal-things-dark", "Things").setValue(this.plugin.settings.darkScheme).onChange((value) => {
|
|
this.plugin.settings.darkScheme = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.updateDarkScheme();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Dark mode background contrast").setDesc("Level of contrast between sidebar and main content.").addDropdown((dropdown) => dropdown.addOption("minimal-dark", "Default").addOption("minimal-dark-tonal", "Low contrast").addOption("minimal-dark-black", "True black").setValue(this.plugin.settings.darkStyle).onChange((value) => {
|
|
this.plugin.settings.darkStyle = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.updateDarkStyle();
|
|
}));
|
|
containerEl.createEl("br");
|
|
containerEl.createEl("h3");
|
|
containerEl.createEl("h3", { text: "Features" });
|
|
new import_obsidian.Setting(containerEl).setName("Match system setting for light or dark mode").setDesc("Automatically switch based on your OS setting.").addToggle((toggle) => toggle.setValue(this.plugin.settings.useSystemTheme).onChange((value) => {
|
|
this.plugin.settings.useSystemTheme = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refreshSystemTheme();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Text labels for primary navigation").setDesc("Navigation items in the left sidebar uses text labels.").addToggle((toggle) => toggle.setValue(this.plugin.settings.labeledNav).onChange((value) => {
|
|
this.plugin.settings.labeledNav = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Colorful window frame").setDesc("The top area of the app uses your accent color.").addToggle((toggle) => toggle.setValue(this.plugin.settings.colorfulFrame).onChange((value) => {
|
|
this.plugin.settings.colorfulFrame = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Colorful active states").setDesc("Active file and menu items use your accent color.").addToggle((toggle) => toggle.setValue(this.plugin.settings.colorfulActiveStates).onChange((value) => {
|
|
this.plugin.settings.colorfulActiveStates = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Colorful headings").setDesc("Headings use a different color for each size.").addToggle((toggle) => toggle.setValue(this.plugin.settings.colorfulHeadings).onChange((value) => {
|
|
this.plugin.settings.colorfulHeadings = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Minimal status bar").setDesc("Turn off to use full-width status bar.").addToggle((toggle) => toggle.setValue(this.plugin.settings.minimalStatus).onChange((value) => {
|
|
this.plugin.settings.minimalStatus = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Trim file names in sidebars").setDesc("Use ellipses to fit file names on a single line.").addToggle((toggle) => toggle.setValue(this.plugin.settings.trimNames).onChange((value) => {
|
|
this.plugin.settings.trimNames = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Workspace borders").setDesc("Display divider lines between workspace elements.").addToggle((toggle) => toggle.setValue(this.plugin.settings.bordersToggle).onChange((value) => {
|
|
this.plugin.settings.bordersToggle = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Focus mode").setDesc("Hide tab bar and status bar, hover to display. Can be toggled via hotkey.").addToggle((toggle) => toggle.setValue(this.plugin.settings.focusMode).onChange((value) => {
|
|
this.plugin.settings.focusMode = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Underline internal links").setDesc("Show underlines on internal links.").addToggle((toggle) => toggle.setValue(this.plugin.settings.underlineInternal).onChange((value) => {
|
|
this.plugin.settings.underlineInternal = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Underline external links").setDesc("Show underlines on external links.").addToggle((toggle) => toggle.setValue(this.plugin.settings.underlineExternal).onChange((value) => {
|
|
this.plugin.settings.underlineExternal = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Maximize media").setDesc("Images and videos fill the width of the line.").addToggle((toggle) => toggle.setValue(this.plugin.settings.fullWidthMedia).onChange((value) => {
|
|
this.plugin.settings.fullWidthMedia = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
containerEl.createEl("br");
|
|
containerEl.createEl("h3");
|
|
containerEl.createEl("h3", { text: "Layout" });
|
|
const layoutDesc = containerEl.createEl("p");
|
|
layoutDesc.appendChild(createEl("span", {
|
|
text: "These options can also be defined on a per-file basis, "
|
|
}));
|
|
layoutDesc.appendChild(createEl("a", {
|
|
text: "see documentation",
|
|
href: "https://minimal.guide/Features/Block+width"
|
|
}));
|
|
layoutDesc.appendText(" for details.");
|
|
new import_obsidian.Setting(containerEl).setName("Image grids").setDesc("Turn consecutive images into columns \u2014 to make a new row, add an extra line break between images.").addToggle((toggle) => toggle.setValue(this.plugin.settings.imgGrid).onChange((value) => {
|
|
this.plugin.settings.imgGrid = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Chart width").setDesc("Default width for chart blocks.").addDropdown((dropdown) => dropdown.addOption("chart-default-width", "Default").addOption("chart-wide", "Wide line width").addOption("chart-max", "Maximum line width").addOption("chart-100", "100% pane width").setValue(this.plugin.settings.chartWidth).onChange((value) => {
|
|
this.plugin.settings.chartWidth = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Iframe width").setDesc("Default width for iframe blocks.").addDropdown((dropdown) => dropdown.addOption("iframe-default-width", "Default").addOption("iframe-wide", "Wide line width").addOption("iframe-max", "Maximum line width").addOption("iframe-100", "100% pane width").setValue(this.plugin.settings.iframeWidth).onChange((value) => {
|
|
this.plugin.settings.iframeWidth = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Image width").setDesc("Default width for image blocks.").addDropdown((dropdown) => dropdown.addOption("img-default-width", "Default").addOption("img-wide", "Wide line width").addOption("img-max", "Maximum line width").addOption("img-100", "100% pane width").setValue(this.plugin.settings.imgWidth).onChange((value) => {
|
|
this.plugin.settings.imgWidth = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Map width").setDesc("Default width for map blocks.").addDropdown((dropdown) => dropdown.addOption("map-default-width", "Default").addOption("map-wide", "Wide line width").addOption("map-max", "Maximum line width").addOption("map-100", "100% pane width").setValue(this.plugin.settings.mapWidth).onChange((value) => {
|
|
this.plugin.settings.mapWidth = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Table width").setDesc("Default width for table and Dataview blocks.").addDropdown((dropdown) => dropdown.addOption("table-default-width", "Default").addOption("table-wide", "Wide line width").addOption("table-max", "Maximum line width").addOption("table-100", "100% pane width").setValue(this.plugin.settings.tableWidth).onChange((value) => {
|
|
this.plugin.settings.tableWidth = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
containerEl.createEl("br");
|
|
containerEl.createEl("h3");
|
|
containerEl.createEl("h3", { text: "Typography" });
|
|
new import_obsidian.Setting(containerEl).setName("Text font size").setDesc("Used for the main text (default 16).").addText((text) => text.setPlaceholder("16").setValue((this.plugin.settings.textNormal || "") + "").onChange((value) => {
|
|
this.plugin.settings.textNormal = parseFloat(value);
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.setFontSize();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Small font size").setDesc("Used for text in the sidebars and tabs (default 13).").addText((text) => text.setPlaceholder("13").setValue((this.plugin.settings.textSmall || "") + "").onChange((value) => {
|
|
this.plugin.settings.textSmall = parseFloat(value);
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Line height").setDesc("Line height of text (default 1.5).").addText((text) => text.setPlaceholder("1.5").setValue((this.plugin.settings.lineHeight || "") + "").onChange((value) => {
|
|
this.plugin.settings.lineHeight = parseFloat(value);
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Normal line width").setDesc("Number of characters per line (default 40).").addText((text) => text.setPlaceholder("40").setValue((this.plugin.settings.lineWidth || "") + "").onChange((value) => {
|
|
this.plugin.settings.lineWidth = parseInt(value.trim());
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Wide line width").setDesc("Number of characters per line for wide elements (default 50).").addText((text) => text.setPlaceholder("50").setValue((this.plugin.settings.lineWidthWide || "") + "").onChange((value) => {
|
|
this.plugin.settings.lineWidthWide = parseInt(value.trim());
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Maximum line width %").setDesc("Percentage of space inside a pane that a line can fill (default 88).").addText((text) => text.setPlaceholder("88").setValue((this.plugin.settings.maxWidth || "") + "").onChange((value) => {
|
|
this.plugin.settings.maxWidth = parseInt(value.trim());
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
new import_obsidian.Setting(containerEl).setName("Editor font").setDesc("Overrides the text font defined in Obsidian Appearance settings when in edit mode.").addText((text) => text.setPlaceholder("").setValue((this.plugin.settings.editorFont || "") + "").onChange((value) => {
|
|
this.plugin.settings.editorFont = value;
|
|
this.plugin.saveData(this.plugin.settings);
|
|
this.plugin.refresh();
|
|
}));
|
|
}
|
|
};
|
|
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsibWFpbi50cyJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiaW1wb3J0IHsgQXBwLCBXb3Jrc3BhY2UsIE1vZGFsLCBOb3RpY2UsIFBsdWdpbiwgUGx1Z2luU2V0dGluZ1Rh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ICAgICAgIC5hZGRPcHRpb24oJ21pbmltYWwtbm9yZC1kYXJrJywnTm9yZCcpXHJcbiAgICAgICAgICAuYWRkT3B0aW9uKCdtaW5pbWFsLW5vdGlvbi1kYXJrJywnTm90aW9uJylcclxuICAgICAgICAgIC5hZGRPcHRpb24oJ21pbmltYWwtcm9zZS1waW5lLWRhcmsnLCdSb3NcdTAwRTkgUGluZScpXHJcbiAgICAgICAgICAuYWRkT3B0aW9uKCdtaW5pbWFsLXNvbGFyaXplZC1kYXJrJywnU29sYXJpemVkJylcclxuICAgICAgICAgIC5hZGRPcHRpb24oJ21pbmltYWwtdGhpbmdzLWRhcmsnLCdUaGluZ3MnKVxyXG4gICAgICAgICAgLnNldFZhbHVlKHRoaXMucGx1Z2luLnNldHRpbmdzLmRhcmtTY2hlbWUpXHJcbiAgICAgICAgICAub25DaGFuZ2UoKHZhbHVlKSA9PiB7XHJcbiAgICAgICAgICAgIHRoaXMucGx1Z2luLnNldHRpbmdzLmRhcmtTY2hlbWUgPSB2YWx1ZTtcclxuICAgICAgICAgICAgdGhpcy5wbHVnaW4uc2F2ZURhdGEodGhpcy5wbHVnaW4uc2V0dGluZ3MpO1xyXG4gICAgICAgICAgICB0aGlzLnBsdWdpbi51cGRhdGVEYXJrU2NoZW1lKCk7XHJcbiAgICAgICAgICB9KSk7XHJcblxyXG4gICAgICBuZXcgU2V0dGluZyhjb250YWluZXJFbClcclxuICAgICAgICAuc2V0TmFtZSgnRGFyayBtb2RlIGJhY2tncm91bmQgY29udHJhc3QnKVxyXG4gICAgICAgIC5zZXREZXNjKCdMZXZlbCBvZiBjb250cmFzdCBiZXR3ZWVuIHNpZGViYXIgYW5kIG1haW4gY29udGVudC4nKVxyXG4gICAgICAgIC5hZGREcm9wZG93bihkcm9wZG93biA9PiBkcm9wZG93blxyXG4gICAgICAgICAgLmFkZE9wdGlvbignbWluaW1hbC1kYXJrJywnRGVmYXVsdCcpXHJcbiAgICAgICAgICAuYWRkT3B0aW9uKCdtaW5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2V0dGluZ3MuZnVsbFdpZHRoTWVkaWEgPSB2YWx1ZTtcclxuICAgICAgICAgICAgdGhpcy5wbHVnaW4uc2F2ZURhdGEodGhpcy5wbHVnaW4uc2V0dGluZ3MpO1xyXG4gICAgICAgICAgICB0aGlzLnBsdWdpbi5yZWZyZXNoKCk7XHJcbiAgICAgICAgICB9KSk7XHJcblxyXG4gICAgY29udGFpbmVyRWwuY3JlYXRlRWwoJ2JyJyk7XHJcbiAgICBjb250YWluZXJFbC5jcmVhdGVFbCgnaDMnKTtcclxuICAgIGNvbnRhaW5lckVsLmNyZWF0ZUVsKCdoMycsIHt0ZXh0OiAnTGF5b3V0J30pO1xyXG5cclxuICAgIGNvbnN0IGxheW91dERlc2MgPSBjb250YWluZXJFbC5jcmVhdGVFbCgncCcpO1xyXG5cclxuICAgICAgbGF5b3V0RGVzYy5hcHBlbmRDaGlsZChcclxuICAgICAgICBjcmVhdGVFbCgnc3BhbicsIHtcclxuICAgICAgICAgIHRleHQ6ICdUaGVzZSBvcHRpb25zIGNhbiBhbHNvIGJlIGRlZmluZWQgb24gYSBwZXItZmlsZSBiYXNpcywgJ1xyXG4gICAgICAgICAgfSlcclxuICAgICAgICApO1xyXG4gICAgICBsYXlvdXREZXNjLmFwcGVuZENoaWxkKFxyXG4gICAgICAgIGNyZWF0ZUVsKCdhJywge1xyXG4gICAgICAgICAgdGV4dDogXCJzZWUgZG9jdW1lbnRhdGlvblwiLFxyXG4gICAgICAgICAgaHJlZjogXCJodHRwczovL21pbmltYWwuZ3VpZGUvRmVhdHVyZXMvQmxvY2srd2lkdGhcIixcclxuICAgICAgICB9KVxyXG4gICAgICApO1xyXG4gICAgICBsYXlvdXREZXNjLmFwcGVuZFRleHQoJyBmb3IgZGV0YWlscy4nKTtcclxuXHJcbiAgICBuZXcgU2V0dGluZyhjb250YWluZXJFbClcclxuICAgICAgLnNldE5hbWUoJ0ltYWdlIGdyaWRzJylcclxuICAgICAgLnNldERlc2MoJ1R1cm4gY29uc2V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