diff --git a/.obsidian/plugins/emoji-shortcodes/main.js b/.obsidian/plugins/emoji-shortcodes/main.js
index ec77b7a3..d6c70204 100644
--- a/.obsidian/plugins/emoji-shortcodes/main.js
+++ b/.obsidian/plugins/emoji-shortcodes/main.js
@@ -3,9 +3,9 @@ THIS IS A GENERATED/BUNDLED FILE BY ROLLUP
if you want to view the source visit the plugins github repository
*/
-"use strict";
+'use strict'
-var obsidian = require("obsidian");
+var obsidian = require('obsidian')
/******************************************************************************
Copyright (c) Microsoft Corporation.
@@ -27,31 +27,31 @@ function __awaiter(thisArg, _arguments, P, generator) {
return value instanceof P
? value
: new P(function (resolve) {
- resolve(value);
- });
+ resolve(value)
+ })
}
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) {
try {
- step(generator.next(value));
+ step(generator.next(value))
} catch (e) {
- reject(e);
+ reject(e)
}
}
function rejected(value) {
try {
- step(generator["throw"](value));
+ step(generator['throw'](value))
} catch (e) {
- reject(e);
+ reject(e)
}
}
function step(result) {
result.done
? resolve(result.value)
- : adopt(result.value).then(fulfilled, rejected);
+ : adopt(result.value).then(fulfilled, rejected)
}
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
+ step((generator = generator.apply(thisArg, _arguments || [])).next())
+ })
}
// Generated from: https://api.github.com/emojis
@@ -1911,33 +1911,33 @@ const emoji = JSON.parse(`{
":zombie_man:": "🧟♂",
":zombie_woman:": "🧟♀",
":zzz:": "💤"
-}`);
+}`)
class EmojiMarkdownPostProcessor {
static emojiReplace(shortcode, el) {
- var _a;
+ var _a
if (
- typeof el.tagName === "string" &&
- (el.tagName.indexOf("CODE") !== -1 || el.tagName.indexOf("MJX") !== -1)
+ typeof el.tagName === 'string' &&
+ (el.tagName.indexOf('CODE') !== -1 || el.tagName.indexOf('MJX') !== -1)
) {
- return false;
+ return false
}
if (el.hasChildNodes()) {
- el.childNodes.forEach((child) => this.emojiReplace(shortcode, child));
+ el.childNodes.forEach((child) => this.emojiReplace(shortcode, child))
} else {
el.textContent = el.textContent.replace(
shortcode,
- (_a = emoji[shortcode]) !== null && _a !== void 0 ? _a : shortcode,
- );
+ (_a = emoji[shortcode]) !== null && _a !== void 0 ? _a : shortcode
+ )
}
}
}
EmojiMarkdownPostProcessor.emojiProcessor = (el) => {
- var _a;
- (_a = el.innerText.match(/[:][^\s:][^ \n:]*[:]/g)) === null || _a === void 0
+ var _a
+ ;(_a = el.innerText.match(/[:][^\s:][^ \n:]*[:]/g)) === null || _a === void 0
? void 0
- : _a.forEach((e) => EmojiMarkdownPostProcessor.emojiReplace(e, el));
-};
+ : _a.forEach((e) => EmojiMarkdownPostProcessor.emojiReplace(e, el))
+}
const DEFAULT_SETTINGS = {
immediateReplace: true,
@@ -1945,148 +1945,144 @@ const DEFAULT_SETTINGS = {
historyPriority: true,
historyLimit: 100,
history: [],
-};
+}
class EmojiPluginSettingTab extends obsidian.PluginSettingTab {
constructor(app, plugin) {
- super(app, plugin);
- this.plugin = plugin;
+ super(app, plugin)
+ this.plugin = plugin
}
display() {
- let { containerEl } = this;
- containerEl.empty();
- containerEl.createEl("h2", { text: "Emoji Shortcodes Plugin" });
+ let { containerEl } = this
+ containerEl.empty()
+ containerEl.createEl('h2', { text: 'Emoji Shortcodes Plugin' })
new obsidian.Setting(containerEl)
- .setName("Immediate Emoji Replace")
+ .setName('Immediate Emoji Replace')
.setDesc(
- "If this is turned on, Emoji shortcodes will be immediately replaced after typing. Otherwise they are still stored as a shortcode and you only see the Emoji in Preview Mode.",
+ 'If this is turned on, Emoji shortcodes will be immediately replaced after typing. Otherwise they are still stored as a shortcode and you only see the Emoji in Preview Mode.'
)
.addToggle((cb) => {
cb.setValue(this.plugin.settings.immediateReplace).onChange((value) =>
__awaiter(this, void 0, void 0, function* () {
- this.plugin.settings.immediateReplace = value;
- yield this.plugin.saveSettings();
- }),
- );
- });
+ this.plugin.settings.immediateReplace = value
+ yield this.plugin.saveSettings()
+ })
+ )
+ })
new obsidian.Setting(containerEl)
- .setName("Emoji Suggester")
+ .setName('Emoji Suggester')
.setDesc(
- "If this is turned on, a Suggester will appear everytime you type : followed by a letter. This will help you insert Emojis. (Doesn't work on mobile)",
+ "If this is turned on, a Suggester will appear everytime you type : followed by a letter. This will help you insert Emojis. (Doesn't work on mobile)"
)
.addToggle((cb) => {
cb.setValue(this.plugin.settings.suggester).onChange((value) =>
__awaiter(this, void 0, void 0, function* () {
- this.plugin.settings.suggester = value;
- yield this.plugin.saveSettings();
- }),
- );
- });
+ this.plugin.settings.suggester = value
+ yield this.plugin.saveSettings()
+ })
+ )
+ })
new obsidian.Setting(containerEl)
- .setName("Use History Priority")
- .setDesc("Suggester gives priority to recently used emoji.")
+ .setName('Use History Priority')
+ .setDesc('Suggester gives priority to recently used emoji.')
.addToggle((cb) => {
cb.setValue(this.plugin.settings.historyPriority).onChange((value) =>
__awaiter(this, void 0, void 0, function* () {
- this.plugin.settings.historyPriority = value;
- yield this.plugin.saveSettings();
- this.display();
- }),
- );
- });
+ this.plugin.settings.historyPriority = value
+ yield this.plugin.saveSettings()
+ this.display()
+ })
+ )
+ })
if (this.plugin.settings.historyPriority) {
new obsidian.Setting(containerEl)
- .setName("History Limit")
- .setClass("ES-sub-setting")
+ .setName('History Limit')
+ .setClass('ES-sub-setting')
.addText((cb) => {
cb.setPlaceholder(String(DEFAULT_SETTINGS.historyLimit))
.setValue(String(this.plugin.settings.historyLimit))
.onChange((value) =>
__awaiter(this, void 0, void 0, function* () {
this.plugin.settings.historyLimit =
- value !== "" ? Number(value) : DEFAULT_SETTINGS.historyLimit;
- yield this.plugin.saveSettings();
- }),
- );
- });
+ value !== '' ? Number(value) : DEFAULT_SETTINGS.historyLimit
+ yield this.plugin.saveSettings()
+ })
+ )
+ })
new obsidian.Setting(containerEl)
- .setName("Clear History")
- .setClass("ES-sub-setting")
+ .setName('Clear History')
+ .setClass('ES-sub-setting')
.addButton((cb) => {
- cb.setButtonText("Clear").onClick(() =>
+ cb.setButtonText('Clear').onClick(() =>
__awaiter(this, void 0, void 0, function* () {
- this.plugin.settings.history = [];
- yield this.plugin.saveSettings();
- }),
- );
- });
+ this.plugin.settings.history = []
+ yield this.plugin.saveSettings()
+ })
+ )
+ })
}
new obsidian.Setting(containerEl)
- .setName("Donate")
+ .setName('Donate')
.setDesc(
- "If you like this Plugin, consider donating to support continued development:",
+ 'If you like this Plugin, consider donating to support continued development:'
)
.addButton((bt) => {
- bt.buttonEl.outerHTML = `
`;
- });
+ bt.buttonEl.outerHTML = `
`
+ })
}
}
class EmojiShortcodesPlugin extends obsidian.Plugin {
onload() {
return __awaiter(this, void 0, void 0, function* () {
- yield this.loadSettings();
- this.addSettingTab(new EmojiPluginSettingTab(this.app, this));
- this.registerEditorSuggest(new EmojiSuggester(this));
+ yield this.loadSettings()
+ this.addSettingTab(new EmojiPluginSettingTab(this.app, this))
+ this.registerEditorSuggest(new EmojiSuggester(this))
this.registerMarkdownPostProcessor(
- EmojiMarkdownPostProcessor.emojiProcessor,
- );
+ EmojiMarkdownPostProcessor.emojiProcessor
+ )
//this.registerMarkdownPostProcessor(DefinitionListPostProcessor.definitionListProcessor);
- });
+ })
}
loadSettings() {
return __awaiter(this, void 0, void 0, function* () {
- this.settings = Object.assign(
- {},
- DEFAULT_SETTINGS,
- yield this.loadData(),
- );
- this.updateEmojiList();
- });
+ this.settings = Object.assign({}, DEFAULT_SETTINGS, yield this.loadData())
+ this.updateEmojiList()
+ })
}
saveSettings() {
return __awaiter(this, void 0, void 0, function* () {
- yield this.saveData(this.settings);
- this.updateEmojiList();
- });
+ yield this.saveData(this.settings)
+ this.updateEmojiList()
+ })
}
updateEmojiList() {
- const set = new Set(this.settings.history);
+ const set = new Set(this.settings.history)
this.emojiList = [
...this.settings.history,
...Object.keys(emoji).filter((e) => !set.has(e)),
- ];
+ ]
}
updateHistory(suggestion) {
- if (!this.settings.historyPriority) return;
- const set = new Set([suggestion, ...this.settings.history]);
- const history = [...set].slice(0, this.settings.historyLimit);
- this.settings = Object.assign(this.settings, { history });
- this.saveSettings();
+ if (!this.settings.historyPriority) return
+ const set = new Set([suggestion, ...this.settings.history])
+ const history = [...set].slice(0, this.settings.historyLimit)
+ this.settings = Object.assign(this.settings, { history })
+ this.saveSettings()
}
}
class EmojiSuggester extends obsidian.EditorSuggest {
constructor(plugin) {
- super(plugin.app);
- this.plugin = plugin;
+ super(plugin.app)
+ this.plugin = plugin
}
onTrigger(cursor, editor, _) {
- var _a;
+ var _a
if (this.plugin.settings.suggester) {
- const sub = editor.getLine(cursor.line).substring(0, cursor.ch);
+ const sub = editor.getLine(cursor.line).substring(0, cursor.ch)
const match =
(_a = sub.match(/:\S+$/)) === null || _a === void 0
? void 0
- : _a.first();
+ : _a.first()
if (match) {
return {
end: cursor,
@@ -2095,22 +2091,22 @@ class EmojiSuggester extends obsidian.EditorSuggest {
line: cursor.line,
},
query: match,
- };
+ }
}
}
- return null;
+ return null
}
getSuggestions(context) {
- let emoji_query = context.query.replace(":", "").toLowerCase();
- return this.plugin.emojiList.filter((p) => p.includes(emoji_query));
+ let emoji_query = context.query.replace(':', '').toLowerCase()
+ return this.plugin.emojiList.filter((p) => p.includes(emoji_query))
}
renderSuggestion(suggestion, el) {
- const outer = el.createDiv({ cls: "ES-suggester-container" });
+ const outer = el.createDiv({ cls: 'ES-suggester-container' })
outer
- .createDiv({ cls: "ES-shortcode" })
- .setText(suggestion.replace(/:/g, ""));
+ .createDiv({ cls: 'ES-shortcode' })
+ .setText(suggestion.replace(/:/g, ''))
//@ts-expect-error
- outer.createDiv({ cls: "ES-emoji" }).setText(emoji[suggestion]);
+ outer.createDiv({ cls: 'ES-emoji' }).setText(emoji[suggestion])
}
selectSuggestion(suggestion) {
if (this.context) {
@@ -2119,13 +2115,13 @@ class EmojiSuggester extends obsidian.EditorSuggest {
? emoji[suggestion]
: `${suggestion} `,
this.context.start,
- this.context.end,
- );
- this.plugin.updateHistory(suggestion);
+ this.context.end
+ )
+ this.plugin.updateHistory(suggestion)
}
}
}
-module.exports = EmojiShortcodesPlugin;
+module.exports = EmojiShortcodesPlugin
/* nosourcemap */
diff --git a/.obsidian/plugins/obsidian-excalidraw-plugin/main.js b/.obsidian/plugins/obsidian-excalidraw-plugin/main.js
index 9fce9b28..4d99b975 100644
--- a/.obsidian/plugins/obsidian-excalidraw-plugin/main.js
+++ b/.obsidian/plugins/obsidian-excalidraw-plugin/main.js
@@ -1,62 +1,62 @@
-"use strict";
-var obsidian_module = require("obsidian"),
- state = require("@codemirror/state"),
- view = require("@codemirror/view");
-const INITIAL_TIMESTAMP = Date.now();
+'use strict'
+var obsidian_module = require('obsidian'),
+ state = require('@codemirror/state'),
+ view = require('@codemirror/view')
+const INITIAL_TIMESTAMP = Date.now()
var LZString = (function () {
var r = String.fromCharCode,
- o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
- n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",
- e = {};
+ o = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=',
+ n = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$',
+ e = {}
function t(r, o) {
if (!e[r]) {
- e[r] = {};
- for (var n = 0; n < r.length; n++) e[r][r.charAt(n)] = n;
+ e[r] = {}
+ for (var n = 0; n < r.length; n++) e[r][r.charAt(n)] = n
}
- return e[r][o];
+ return e[r][o]
}
var i = {
compressToBase64: function (r) {
- if (null == r) return "";
+ if (null == r) return ''
var n = i._compress(r, 6, function (r) {
- return o.charAt(r);
- });
+ return o.charAt(r)
+ })
switch (n.length % 4) {
default:
case 0:
- return n;
+ return n
case 1:
- return n + "===";
+ return n + '==='
case 2:
- return n + "==";
+ return n + '=='
case 3:
- return n + "=";
+ return n + '='
}
},
decompressFromBase64: function (r) {
return null == r
- ? ""
- : "" == r
+ ? ''
+ : '' == r
? null
: i._decompress(r.length, 32, function (n) {
- return t(o, r.charAt(n));
- });
+ return t(o, r.charAt(n))
+ })
},
compressToUTF16: function (o) {
return null == o
- ? ""
+ ? ''
: i._compress(o, 15, function (o) {
- return r(o + 32);
- }) + " ";
+ return r(o + 32)
+ }) + ' '
},
decompressFromUTF16: function (r) {
return null == r
- ? ""
- : "" == r
+ ? ''
+ : '' == r
? null
: i._decompress(r.length, 16384, function (o) {
- return r.charCodeAt(o) - 32;
- });
+ return r.charCodeAt(o) - 32
+ })
},
compressToUint8Array: function (r) {
for (
@@ -67,61 +67,61 @@ var LZString = (function () {
e < t;
e++
) {
- var s = o.charCodeAt(e);
- ((n[2 * e] = s >>> 8), (n[2 * e + 1] = s % 256));
+ var s = o.charCodeAt(e)
+ ;((n[2 * e] = s >>> 8), (n[2 * e + 1] = s % 256))
}
- return n;
+ return n
},
decompressFromUint8Array: function (o) {
- if (null == o) return i.decompress(o);
+ if (null == o) return i.decompress(o)
for (var n = new Array(o.length / 2), e = 0, t = n.length; e < t; e++)
- n[e] = 256 * o[2 * e] + o[2 * e + 1];
- var s = [];
+ n[e] = 256 * o[2 * e] + o[2 * e + 1]
+ var s = []
return (
n.forEach(function (o) {
- s.push(r(o));
+ s.push(r(o))
}),
- i.decompress(s.join(""))
- );
+ i.decompress(s.join(''))
+ )
},
compressToEncodedURIComponent: function (r) {
return null == r
- ? ""
+ ? ''
: i._compress(r, 6, function (r) {
- return n.charAt(r);
- });
+ return n.charAt(r)
+ })
},
decompressFromEncodedURIComponent: function (r) {
return null == r
- ? ""
- : "" == r
+ ? ''
+ : '' == r
? null
- : ((r = r.replace(/ /g, "+")),
+ : ((r = r.replace(/ /g, '+')),
i._decompress(r.length, 32, function (o) {
- return t(n, r.charAt(o));
- }));
+ return t(n, r.charAt(o))
+ }))
},
compress: function (o) {
return i._compress(o, 16, function (o) {
- return r(o);
- });
+ return r(o)
+ })
},
_compress: function (r, o, n) {
- if (null == r) return "";
+ if (null == r) return ''
var e,
t,
i,
s = {},
u = {},
- a = "",
- p = "",
- c = "",
+ a = '',
+ p = '',
+ c = '',
l = 2,
f = 3,
h = 2,
d = [],
m = 0,
- v = 0;
+ v = 0
for (i = 0; i < r.length; i += 1)
if (
((a = r.charAt(i)),
@@ -130,85 +130,84 @@ var LZString = (function () {
(p = c + a),
Object.prototype.hasOwnProperty.call(s, p))
)
- c = p;
+ c = p
else {
if (Object.prototype.hasOwnProperty.call(u, c)) {
if (c.charCodeAt(0) < 256) {
for (e = 0; e < h; e++)
- ((m <<= 1),
- v == o - 1 ? ((v = 0), d.push(n(m)), (m = 0)) : v++);
+ ((m <<= 1), v == o - 1 ? ((v = 0), d.push(n(m)), (m = 0)) : v++)
for (t = c.charCodeAt(0), e = 0; e < 8; e++)
((m = (m << 1) | (1 & t)),
v == o - 1 ? ((v = 0), d.push(n(m)), (m = 0)) : v++,
- (t >>= 1));
+ (t >>= 1))
} else {
for (t = 1, e = 0; e < h; e++)
((m = (m << 1) | t),
v == o - 1 ? ((v = 0), d.push(n(m)), (m = 0)) : v++,
- (t = 0));
+ (t = 0))
for (t = c.charCodeAt(0), e = 0; e < 16; e++)
((m = (m << 1) | (1 & t)),
v == o - 1 ? ((v = 0), d.push(n(m)), (m = 0)) : v++,
- (t >>= 1));
+ (t >>= 1))
}
- (0 == --l && ((l = Math.pow(2, h)), h++), delete u[c]);
+ ;(0 == --l && ((l = Math.pow(2, h)), h++), delete u[c])
} else
for (t = s[c], e = 0; e < h; e++)
((m = (m << 1) | (1 & t)),
v == o - 1 ? ((v = 0), d.push(n(m)), (m = 0)) : v++,
- (t >>= 1));
- (0 == --l && ((l = Math.pow(2, h)), h++),
+ (t >>= 1))
+ ;(0 == --l && ((l = Math.pow(2, h)), h++),
(s[p] = f++),
- (c = String(a)));
+ (c = String(a)))
}
- if ("" !== c) {
+ if ('' !== c) {
if (Object.prototype.hasOwnProperty.call(u, c)) {
if (c.charCodeAt(0) < 256) {
for (e = 0; e < h; e++)
- ((m <<= 1), v == o - 1 ? ((v = 0), d.push(n(m)), (m = 0)) : v++);
+ ((m <<= 1), v == o - 1 ? ((v = 0), d.push(n(m)), (m = 0)) : v++)
for (t = c.charCodeAt(0), e = 0; e < 8; e++)
((m = (m << 1) | (1 & t)),
v == o - 1 ? ((v = 0), d.push(n(m)), (m = 0)) : v++,
- (t >>= 1));
+ (t >>= 1))
} else {
for (t = 1, e = 0; e < h; e++)
((m = (m << 1) | t),
v == o - 1 ? ((v = 0), d.push(n(m)), (m = 0)) : v++,
- (t = 0));
+ (t = 0))
for (t = c.charCodeAt(0), e = 0; e < 16; e++)
((m = (m << 1) | (1 & t)),
v == o - 1 ? ((v = 0), d.push(n(m)), (m = 0)) : v++,
- (t >>= 1));
+ (t >>= 1))
}
- (0 == --l && ((l = Math.pow(2, h)), h++), delete u[c]);
+ ;(0 == --l && ((l = Math.pow(2, h)), h++), delete u[c])
} else
for (t = s[c], e = 0; e < h; e++)
((m = (m << 1) | (1 & t)),
v == o - 1 ? ((v = 0), d.push(n(m)), (m = 0)) : v++,
- (t >>= 1));
- 0 == --l && ((l = Math.pow(2, h)), h++);
+ (t >>= 1))
+ 0 == --l && ((l = Math.pow(2, h)), h++)
}
for (t = 2, e = 0; e < h; e++)
((m = (m << 1) | (1 & t)),
v == o - 1 ? ((v = 0), d.push(n(m)), (m = 0)) : v++,
- (t >>= 1));
+ (t >>= 1))
for (;;) {
if (((m <<= 1), v == o - 1)) {
- d.push(n(m));
- break;
+ d.push(n(m))
+ break
}
- v++;
+ v++
}
- return d.join("");
+ return d.join('')
},
decompress: function (r) {
return null == r
- ? ""
- : "" == r
+ ? ''
+ : '' == r
? null
: i._decompress(r.length, 32768, function (o) {
- return r.charCodeAt(o);
- });
+ return r.charCodeAt(o)
+ })
},
_decompress: function (o, n, e) {
var t,
@@ -222,16 +221,16 @@ var LZString = (function () {
f = 4,
h = 4,
d = 3,
- m = "",
+ m = '',
v = [],
- g = { val: e(0), position: n, index: 1 };
- for (t = 0; t < 3; t += 1) l[t] = t;
+ g = { val: e(0), position: n, index: 1 }
+ for (t = 0; t < 3; t += 1) l[t] = t
for (s = 0, a = Math.pow(2, 2), p = 1; p != a; )
((u = g.val & g.position),
(g.position >>= 1),
0 == g.position && ((g.position = n), (g.val = e(g.index++))),
(s |= (u > 0 ? 1 : 0) * p),
- (p <<= 1));
+ (p <<= 1))
switch (s) {
case 0:
for (s = 0, a = Math.pow(2, 8), p = 1; p != a; )
@@ -239,29 +238,29 @@ var LZString = (function () {
(g.position >>= 1),
0 == g.position && ((g.position = n), (g.val = e(g.index++))),
(s |= (u > 0 ? 1 : 0) * p),
- (p <<= 1));
- c = r(s);
- break;
+ (p <<= 1))
+ c = r(s)
+ break
case 1:
for (s = 0, a = Math.pow(2, 16), p = 1; p != a; )
((u = g.val & g.position),
(g.position >>= 1),
0 == g.position && ((g.position = n), (g.val = e(g.index++))),
(s |= (u > 0 ? 1 : 0) * p),
- (p <<= 1));
- c = r(s);
- break;
+ (p <<= 1))
+ c = r(s)
+ break
case 2:
- return "";
+ return ''
}
for (l[3] = c, i = c, v.push(c); ; ) {
- if (g.index > o) return "";
+ if (g.index > o) return ''
for (s = 0, a = Math.pow(2, d), p = 1; p != a; )
((u = g.val & g.position),
(g.position >>= 1),
0 == g.position && ((g.position = n), (g.val = e(g.index++))),
(s |= (u > 0 ? 1 : 0) * p),
- (p <<= 1));
+ (p <<= 1))
switch ((c = s)) {
case 0:
for (s = 0, a = Math.pow(2, 8), p = 1; p != a; )
@@ -269,73 +268,73 @@ var LZString = (function () {
(g.position >>= 1),
0 == g.position && ((g.position = n), (g.val = e(g.index++))),
(s |= (u > 0 ? 1 : 0) * p),
- (p <<= 1));
- ((l[h++] = r(s)), (c = h - 1), f--);
- break;
+ (p <<= 1))
+ ;((l[h++] = r(s)), (c = h - 1), f--)
+ break
case 1:
for (s = 0, a = Math.pow(2, 16), p = 1; p != a; )
((u = g.val & g.position),
(g.position >>= 1),
0 == g.position && ((g.position = n), (g.val = e(g.index++))),
(s |= (u > 0 ? 1 : 0) * p),
- (p <<= 1));
- ((l[h++] = r(s)), (c = h - 1), f--);
- break;
+ (p <<= 1))
+ ;((l[h++] = r(s)), (c = h - 1), f--)
+ break
case 2:
- return v.join("");
+ return v.join('')
}
- if ((0 == f && ((f = Math.pow(2, d)), d++), l[c])) m = l[c];
+ if ((0 == f && ((f = Math.pow(2, d)), d++), l[c])) m = l[c]
else {
- if (c !== h) return null;
- m = i + i.charAt(0);
+ if (c !== h) return null
+ m = i + i.charAt(0)
}
- (v.push(m),
+ ;(v.push(m),
(l[h++] = i + m.charAt(0)),
(i = m),
- 0 == --f && ((f = Math.pow(2, d)), d++));
+ 0 == --f && ((f = Math.pow(2, d)), d++))
}
},
- };
- return i;
-})();
-"function" == typeof define && define.amd
+ }
+ return i
+})()
+'function' == typeof define && define.amd
? define(function () {
- return LZString;
+ return LZString
})
- : "undefined" != typeof module && null != module
+ : 'undefined' != typeof module && null != module
? (module.exports = LZString)
- : "undefined" != typeof angular &&
+ : 'undefined' != typeof angular &&
null != angular &&
- angular.module("LZString", []).factory("LZString", function () {
- return LZString;
- });
-let REACT_PACKAGES = `!function(){var e,t;e=this,t=function(e){function M(e){return null!==e&&"object"==typeof e&&"function"==typeof(e=ee&&e[ee]||e["@@iterator"])?e:null}function t(e,t,n){this.props=e,this.context=t,this.refs=re,this.updater=n||te}function n(){}function r(e,t,n){this.props=e,this.context=t,this.refs=re,this.updater=n||te}function o(e,t,n){var r,o={},u=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(u=""+t.key),t)ue.call(t,r)&&!ae.hasOwnProperty(r)&&(o[r]=t[r]);var i=arguments.length-2;if(1===i)o.children=n;else if(1>>1,o=e[r];if(!(0
>>1;rt)||e&&!q());){var r,o=R.callback;"function"==typeof o?(R.callback=null,P=R.priorityLevel,r=o(R.expirationTime<=t),t=v(),"function"==typeof r?R.callback=r:R===i(C)&&l(C),y(t)):l(C),R=i(C)}var u,a=null!==R||(null!==(u=i(E))&&_(d,u.startTime-t),!1);return a}finally{R=null,P=n,$=!1}}function q(){return!(v()-ye