diff --git a/data/student_040/New_Obsidian Vault/.DS_Store b/data/student_040/New_Obsidian Vault/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..9aaa27ae178b3965da6414daa00396a80895e6aa Binary files /dev/null and b/data/student_040/New_Obsidian Vault/.DS_Store differ diff --git a/data/student_040/New_Obsidian Vault/.obsidian/app.json b/data/student_040/New_Obsidian Vault/.obsidian/app.json new file mode 100644 index 0000000000000000000000000000000000000000..9e26dfeeb6e641a33dae4961196235bdb965b21b --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/app.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/data/student_040/New_Obsidian Vault/.obsidian/appearance.json b/data/student_040/New_Obsidian Vault/.obsidian/appearance.json new file mode 100644 index 0000000000000000000000000000000000000000..9e26dfeeb6e641a33dae4961196235bdb965b21b --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/appearance.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/data/student_040/New_Obsidian Vault/.obsidian/community-plugins.json b/data/student_040/New_Obsidian Vault/.obsidian/community-plugins.json new file mode 100644 index 0000000000000000000000000000000000000000..c72111402737a440a935217b745f593d9d24c78d --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/community-plugins.json @@ -0,0 +1,5 @@ +[ + "templater-obsidian", + "periodic-notes", + "calendar" +] \ No newline at end of file diff --git a/data/student_040/New_Obsidian Vault/.obsidian/core-plugins.json b/data/student_040/New_Obsidian Vault/.obsidian/core-plugins.json new file mode 100644 index 0000000000000000000000000000000000000000..2538e6163d5e35797c9bd4e7574f4d6e311149cf --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/core-plugins.json @@ -0,0 +1,33 @@ +{ + "file-explorer": true, + "global-search": true, + "switcher": true, + "graph": true, + "backlink": true, + "canvas": true, + "outgoing-link": true, + "tag-pane": true, + "footnotes": false, + "properties": true, + "page-preview": true, + "daily-notes": false, + "templates": true, + "note-composer": true, + "command-palette": true, + "slash-command": false, + "editor-status": true, + "bookmarks": true, + "markdown-importer": false, + "zk-prefixer": false, + "random-note": false, + "outline": true, + "word-count": true, + "slides": false, + "audio-recorder": false, + "workspaces": false, + "file-recovery": true, + "publish": false, + "sync": true, + "bases": true, + "webviewer": false +} \ No newline at end of file diff --git a/data/student_040/New_Obsidian Vault/.obsidian/graph.json b/data/student_040/New_Obsidian Vault/.obsidian/graph.json new file mode 100644 index 0000000000000000000000000000000000000000..42a46ecafa5be07ad794ed16685f35e44f55ad29 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/graph.json @@ -0,0 +1,22 @@ +{ + "collapse-filter": true, + "search": "", + "showTags": false, + "showAttachments": false, + "hideUnresolved": false, + "showOrphans": true, + "collapse-color-groups": true, + "colorGroups": [], + "collapse-display": true, + "showArrow": false, + "textFadeMultiplier": 0, + "nodeSizeMultiplier": 1, + "lineSizeMultiplier": 1, + "collapse-forces": true, + "centerStrength": 0.518713248970312, + "repelStrength": 10, + "linkStrength": 1, + "linkDistance": 250, + "scale": 1, + "close": true +} \ No newline at end of file diff --git a/data/student_040/New_Obsidian Vault/.obsidian/plugins/calendar/data.json b/data/student_040/New_Obsidian Vault/.obsidian/plugins/calendar/data.json new file mode 100644 index 0000000000000000000000000000000000000000..b03e21ddf8d86ad1094d99f4012be7ec364404da --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/plugins/calendar/data.json @@ -0,0 +1,10 @@ +{ + "shouldConfirmBeforeCreate": true, + "weekStart": "locale", + "wordsPerDot": 250, + "showWeeklyNote": false, + "weeklyNoteFormat": "", + "weeklyNoteTemplate": "", + "weeklyNoteFolder": "", + "localeOverride": "system-default" +} \ No newline at end of file diff --git a/data/student_040/New_Obsidian Vault/.obsidian/plugins/calendar/main.js b/data/student_040/New_Obsidian Vault/.obsidian/plugins/calendar/main.js new file mode 100644 index 0000000000000000000000000000000000000000..ed6cea3c8bb17c873403edaeaa93706f2e68c65b --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/plugins/calendar/main.js @@ -0,0 +1,4459 @@ +'use strict'; + +var obsidian = require('obsidian'); + +function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } + +var obsidian__default = /*#__PURE__*/_interopDefaultLegacy(obsidian); + +const DEFAULT_WEEK_FORMAT = "gggg-[W]ww"; +const DEFAULT_WORDS_PER_DOT = 250; +const VIEW_TYPE_CALENDAR = "calendar"; +const TRIGGER_ON_OPEN = "calendar:open"; + +const DEFAULT_DAILY_NOTE_FORMAT = "YYYY-MM-DD"; +const DEFAULT_WEEKLY_NOTE_FORMAT = "gggg-[W]ww"; +const DEFAULT_MONTHLY_NOTE_FORMAT = "YYYY-MM"; + +function shouldUsePeriodicNotesSettings(periodicity) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const periodicNotes = window.app.plugins.getPlugin("periodic-notes"); + return periodicNotes && periodicNotes.settings?.[periodicity]?.enabled; +} +/** + * Read the user settings for the `daily-notes` plugin + * to keep behavior of creating a new note in-sync. + */ +function getDailyNoteSettings() { + try { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const { internalPlugins, plugins } = window.app; + if (shouldUsePeriodicNotesSettings("daily")) { + const { format, folder, template } = plugins.getPlugin("periodic-notes")?.settings?.daily || {}; + return { + format: format || DEFAULT_DAILY_NOTE_FORMAT, + folder: folder?.trim() || "", + template: template?.trim() || "", + }; + } + const { folder, format, template } = internalPlugins.getPluginById("daily-notes")?.instance?.options || {}; + return { + format: format || DEFAULT_DAILY_NOTE_FORMAT, + folder: folder?.trim() || "", + template: template?.trim() || "", + }; + } + catch (err) { + console.info("No custom daily note settings found!", err); + } +} +/** + * Read the user settings for the `weekly-notes` plugin + * to keep behavior of creating a new note in-sync. + */ +function getWeeklyNoteSettings() { + try { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginManager = window.app.plugins; + const calendarSettings = pluginManager.getPlugin("calendar")?.options; + const periodicNotesSettings = pluginManager.getPlugin("periodic-notes") + ?.settings?.weekly; + if (shouldUsePeriodicNotesSettings("weekly")) { + return { + format: periodicNotesSettings.format || DEFAULT_WEEKLY_NOTE_FORMAT, + folder: periodicNotesSettings.folder?.trim() || "", + template: periodicNotesSettings.template?.trim() || "", + }; + } + const settings = calendarSettings || {}; + return { + format: settings.weeklyNoteFormat || DEFAULT_WEEKLY_NOTE_FORMAT, + folder: settings.weeklyNoteFolder?.trim() || "", + template: settings.weeklyNoteTemplate?.trim() || "", + }; + } + catch (err) { + console.info("No custom weekly note settings found!", err); + } +} +/** + * Read the user settings for the `periodic-notes` plugin + * to keep behavior of creating a new note in-sync. + */ +function getMonthlyNoteSettings() { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginManager = window.app.plugins; + try { + const settings = (shouldUsePeriodicNotesSettings("monthly") && + pluginManager.getPlugin("periodic-notes")?.settings?.monthly) || + {}; + return { + format: settings.format || DEFAULT_MONTHLY_NOTE_FORMAT, + folder: settings.folder?.trim() || "", + template: settings.template?.trim() || "", + }; + } + catch (err) { + console.info("No custom monthly note settings found!", err); + } +} + +/** + * dateUID is a way of weekly identifying daily/weekly/monthly notes. + * They are prefixed with the granularity to avoid ambiguity. + */ +function getDateUID$1(date, granularity = "day") { + const ts = date.clone().startOf(granularity).format(); + return `${granularity}-${ts}`; +} +function removeEscapedCharacters(format) { + return format.replace(/\[[^\]]*\]/g, ""); // remove everything within brackets +} +/** + * XXX: When parsing dates that contain both week numbers and months, + * Moment choses to ignore the week numbers. For the week dateUID, we + * want the opposite behavior. Strip the MMM from the format to patch. + */ +function isFormatAmbiguous(format, granularity) { + if (granularity === "week") { + const cleanFormat = removeEscapedCharacters(format); + return (/w{1,2}/i.test(cleanFormat) && + (/M{1,4}/.test(cleanFormat) || /D{1,4}/.test(cleanFormat))); + } + return false; +} +function getDateFromFile(file, granularity) { + const getSettings = { + day: getDailyNoteSettings, + week: getWeeklyNoteSettings, + month: getMonthlyNoteSettings, + }; + const format = getSettings[granularity]().format.split("/").pop(); + const noteDate = window.moment(file.basename, format, true); + if (!noteDate.isValid()) { + return null; + } + if (isFormatAmbiguous(format, granularity)) { + if (granularity === "week") { + const cleanFormat = removeEscapedCharacters(format); + if (/w{1,2}/i.test(cleanFormat)) { + return window.moment(file.basename, + // If format contains week, remove day & month formatting + format.replace(/M{1,4}/g, "").replace(/D{1,4}/g, ""), false); + } + } + } + return noteDate; +} + +// Credit: @creationix/path.js +function join(...partSegments) { + // Split the inputs into a list of path commands. + let parts = []; + for (let i = 0, l = partSegments.length; i < l; i++) { + parts = parts.concat(partSegments[i].split("/")); + } + // Interpret the path commands to get the new resolved path. + const newParts = []; + for (let i = 0, l = parts.length; i < l; i++) { + const part = parts[i]; + // Remove leading and trailing slashes + // Also remove "." segments + if (!part || part === ".") + continue; + // Push new path segments. + else + newParts.push(part); + } + // Preserve the initial slash if there was one. + if (parts[0] === "") + newParts.unshift(""); + // Turn back into a single string path. + return newParts.join("/"); +} +async function ensureFolderExists(path) { + const dirs = path.replace(/\\/g, "/").split("/"); + dirs.pop(); // remove basename + if (dirs.length) { + const dir = join(...dirs); + if (!window.app.vault.getAbstractFileByPath(dir)) { + await window.app.vault.createFolder(dir); + } + } +} +async function getNotePath(directory, filename) { + if (!filename.endsWith(".md")) { + filename += ".md"; + } + const path = obsidian__default['default'].normalizePath(join(directory, filename)); + await ensureFolderExists(path); + return path; +} +async function getTemplateInfo(template) { + const { metadataCache, vault } = window.app; + const templatePath = obsidian__default['default'].normalizePath(template); + if (templatePath === "/") { + return Promise.resolve(["", null]); + } + try { + const templateFile = metadataCache.getFirstLinkpathDest(templatePath, ""); + const contents = await vault.cachedRead(templateFile); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const IFoldInfo = window.app.foldManager.load(templateFile); + return [contents, IFoldInfo]; + } + catch (err) { + console.error(`Failed to read the daily note template '${templatePath}'`, err); + new obsidian__default['default'].Notice("Failed to read the daily note template"); + return ["", null]; + } +} + +class DailyNotesFolderMissingError extends Error { +} +/** + * This function mimics the behavior of the daily-notes plugin + * so it will replace {{date}}, {{title}}, and {{time}} with the + * formatted timestamp. + * + * Note: it has an added bonus that it's not 'today' specific. + */ +async function createDailyNote(date) { + const app = window.app; + const { vault } = app; + const moment = window.moment; + const { template, format, folder } = getDailyNoteSettings(); + const [templateContents, IFoldInfo] = await getTemplateInfo(template); + const filename = date.format(format); + const normalizedPath = await getNotePath(folder, filename); + try { + const createdFile = await vault.create(normalizedPath, templateContents + .replace(/{{\s*date\s*}}/gi, filename) + .replace(/{{\s*time\s*}}/gi, moment().format("HH:mm")) + .replace(/{{\s*title\s*}}/gi, filename) + .replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi, (_, _timeOrDate, calc, timeDelta, unit, momentFormat) => { + const now = moment(); + const currentDate = date.clone().set({ + hour: now.get("hour"), + minute: now.get("minute"), + second: now.get("second"), + }); + if (calc) { + currentDate.add(parseInt(timeDelta, 10), unit); + } + if (momentFormat) { + return currentDate.format(momentFormat.substring(1).trim()); + } + return currentDate.format(format); + }) + .replace(/{{\s*yesterday\s*}}/gi, date.clone().subtract(1, "day").format(format)) + .replace(/{{\s*tomorrow\s*}}/gi, date.clone().add(1, "d").format(format))); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + app.foldManager.save(createdFile, IFoldInfo); + return createdFile; + } + catch (err) { + console.error(`Failed to create file: '${normalizedPath}'`, err); + new obsidian__default['default'].Notice("Unable to create new file."); + } +} +function getDailyNote(date, dailyNotes) { + return dailyNotes[getDateUID$1(date, "day")] ?? null; +} +function getAllDailyNotes() { + /** + * Find all daily notes in the daily note folder + */ + const { vault } = window.app; + const { folder } = getDailyNoteSettings(); + const dailyNotesFolder = vault.getAbstractFileByPath(obsidian__default['default'].normalizePath(folder)); + if (!dailyNotesFolder) { + throw new DailyNotesFolderMissingError("Failed to find daily notes folder"); + } + const dailyNotes = {}; + obsidian__default['default'].Vault.recurseChildren(dailyNotesFolder, (note) => { + if (note instanceof obsidian__default['default'].TFile) { + const date = getDateFromFile(note, "day"); + if (date) { + const dateString = getDateUID$1(date, "day"); + dailyNotes[dateString] = note; + } + } + }); + return dailyNotes; +} + +class WeeklyNotesFolderMissingError extends Error { +} +function getDaysOfWeek$1() { + const { moment } = window; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + let weekStart = moment.localeData()._week.dow; + const daysOfWeek = [ + "sunday", + "monday", + "tuesday", + "wednesday", + "thursday", + "friday", + "saturday", + ]; + while (weekStart) { + daysOfWeek.push(daysOfWeek.shift()); + weekStart--; + } + return daysOfWeek; +} +function getDayOfWeekNumericalValue(dayOfWeekName) { + return getDaysOfWeek$1().indexOf(dayOfWeekName.toLowerCase()); +} +async function createWeeklyNote(date) { + const { vault } = window.app; + const { template, format, folder } = getWeeklyNoteSettings(); + const [templateContents, IFoldInfo] = await getTemplateInfo(template); + const filename = date.format(format); + const normalizedPath = await getNotePath(folder, filename); + try { + const createdFile = await vault.create(normalizedPath, templateContents + .replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi, (_, _timeOrDate, calc, timeDelta, unit, momentFormat) => { + const now = window.moment(); + const currentDate = date.clone().set({ + hour: now.get("hour"), + minute: now.get("minute"), + second: now.get("second"), + }); + if (calc) { + currentDate.add(parseInt(timeDelta, 10), unit); + } + if (momentFormat) { + return currentDate.format(momentFormat.substring(1).trim()); + } + return currentDate.format(format); + }) + .replace(/{{\s*title\s*}}/gi, filename) + .replace(/{{\s*time\s*}}/gi, window.moment().format("HH:mm")) + .replace(/{{\s*(sunday|monday|tuesday|wednesday|thursday|friday|saturday)\s*:(.*?)}}/gi, (_, dayOfWeek, momentFormat) => { + const day = getDayOfWeekNumericalValue(dayOfWeek); + return date.weekday(day).format(momentFormat.trim()); + })); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + window.app.foldManager.save(createdFile, IFoldInfo); + return createdFile; + } + catch (err) { + console.error(`Failed to create file: '${normalizedPath}'`, err); + new obsidian__default['default'].Notice("Unable to create new file."); + } +} +function getWeeklyNote(date, weeklyNotes) { + return weeklyNotes[getDateUID$1(date, "week")] ?? null; +} +function getAllWeeklyNotes() { + const { vault } = window.app; + const { folder } = getWeeklyNoteSettings(); + const weeklyNotesFolder = vault.getAbstractFileByPath(obsidian__default['default'].normalizePath(folder)); + if (!weeklyNotesFolder) { + throw new WeeklyNotesFolderMissingError("Failed to find weekly notes folder"); + } + const weeklyNotes = {}; + obsidian__default['default'].Vault.recurseChildren(weeklyNotesFolder, (note) => { + if (note instanceof obsidian__default['default'].TFile) { + const date = getDateFromFile(note, "week"); + if (date) { + const dateString = getDateUID$1(date, "week"); + weeklyNotes[dateString] = note; + } + } + }); + return weeklyNotes; +} + +function appHasDailyNotesPluginLoaded() { + const { app } = window; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const dailyNotesPlugin = app.internalPlugins.plugins["daily-notes"]; + if (dailyNotesPlugin && dailyNotesPlugin.enabled) { + return true; + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const periodicNotes = app.plugins.getPlugin("periodic-notes"); + return periodicNotes && periodicNotes.settings?.daily?.enabled; +} +var appHasDailyNotesPluginLoaded_1 = appHasDailyNotesPluginLoaded; +var createDailyNote_1 = createDailyNote; +var createWeeklyNote_1 = createWeeklyNote; +var getAllDailyNotes_1 = getAllDailyNotes; +var getAllWeeklyNotes_1 = getAllWeeklyNotes; +var getDailyNote_1 = getDailyNote; +var getDailyNoteSettings_1 = getDailyNoteSettings; +var getDateFromFile_1 = getDateFromFile; +var getDateUID_1$1 = getDateUID$1; +var getWeeklyNote_1 = getWeeklyNote; +var getWeeklyNoteSettings_1 = getWeeklyNoteSettings; + +function noop$1() { } +function run$1(fn) { + return fn(); +} +function blank_object$1() { + return Object.create(null); +} +function run_all$1(fns) { + fns.forEach(run$1); +} +function is_function$1(thing) { + return typeof thing === 'function'; +} +function safe_not_equal$1(a, b) { + return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function'); +} +function not_equal$1(a, b) { + return a != a ? b == b : a !== b; +} +function is_empty$1(obj) { + return Object.keys(obj).length === 0; +} +function subscribe(store, ...callbacks) { + if (store == null) { + return noop$1; + } + const unsub = store.subscribe(...callbacks); + return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub; +} +function get_store_value(store) { + let value; + subscribe(store, _ => value = _)(); + return value; +} +function component_subscribe(component, store, callback) { + component.$$.on_destroy.push(subscribe(store, callback)); +} +function detach$1(node) { + node.parentNode.removeChild(node); +} +function children$1(element) { + return Array.from(element.childNodes); +} + +let current_component$1; +function set_current_component$1(component) { + current_component$1 = component; +} +function get_current_component$1() { + if (!current_component$1) + throw new Error('Function called outside component initialization'); + return current_component$1; +} +function onDestroy(fn) { + get_current_component$1().$$.on_destroy.push(fn); +} + +const dirty_components$1 = []; +const binding_callbacks$1 = []; +const render_callbacks$1 = []; +const flush_callbacks$1 = []; +const resolved_promise$1 = Promise.resolve(); +let update_scheduled$1 = false; +function schedule_update$1() { + if (!update_scheduled$1) { + update_scheduled$1 = true; + resolved_promise$1.then(flush$1); + } +} +function add_render_callback$1(fn) { + render_callbacks$1.push(fn); +} +function add_flush_callback(fn) { + flush_callbacks$1.push(fn); +} +let flushing$1 = false; +const seen_callbacks$1 = new Set(); +function flush$1() { + if (flushing$1) + return; + flushing$1 = true; + do { + // first, call beforeUpdate functions + // and update components + for (let i = 0; i < dirty_components$1.length; i += 1) { + const component = dirty_components$1[i]; + set_current_component$1(component); + update$1(component.$$); + } + set_current_component$1(null); + dirty_components$1.length = 0; + while (binding_callbacks$1.length) + binding_callbacks$1.pop()(); + // then, once components are updated, call + // afterUpdate functions. This may cause + // subsequent updates... + for (let i = 0; i < render_callbacks$1.length; i += 1) { + const callback = render_callbacks$1[i]; + if (!seen_callbacks$1.has(callback)) { + // ...so guard against infinite loops + seen_callbacks$1.add(callback); + callback(); + } + } + render_callbacks$1.length = 0; + } while (dirty_components$1.length); + while (flush_callbacks$1.length) { + flush_callbacks$1.pop()(); + } + update_scheduled$1 = false; + flushing$1 = false; + seen_callbacks$1.clear(); +} +function update$1($$) { + if ($$.fragment !== null) { + $$.update(); + run_all$1($$.before_update); + const dirty = $$.dirty; + $$.dirty = [-1]; + $$.fragment && $$.fragment.p($$.ctx, dirty); + $$.after_update.forEach(add_render_callback$1); + } +} +const outroing$1 = new Set(); +let outros$1; +function transition_in$1(block, local) { + if (block && block.i) { + outroing$1.delete(block); + block.i(local); + } +} +function transition_out$1(block, local, detach, callback) { + if (block && block.o) { + if (outroing$1.has(block)) + return; + outroing$1.add(block); + outros$1.c.push(() => { + outroing$1.delete(block); + if (callback) { + if (detach) + block.d(1); + callback(); + } + }); + block.o(local); + } +} + +function bind(component, name, callback) { + const index = component.$$.props[name]; + if (index !== undefined) { + component.$$.bound[index] = callback; + callback(component.$$.ctx[index]); + } +} +function create_component$1(block) { + block && block.c(); +} +function mount_component$1(component, target, anchor, customElement) { + const { fragment, on_mount, on_destroy, after_update } = component.$$; + fragment && fragment.m(target, anchor); + if (!customElement) { + // onMount happens before the initial afterUpdate + add_render_callback$1(() => { + const new_on_destroy = on_mount.map(run$1).filter(is_function$1); + if (on_destroy) { + on_destroy.push(...new_on_destroy); + } + else { + // Edge case - component was destroyed immediately, + // most likely as a result of a binding initialising + run_all$1(new_on_destroy); + } + component.$$.on_mount = []; + }); + } + after_update.forEach(add_render_callback$1); +} +function destroy_component$1(component, detaching) { + const $$ = component.$$; + if ($$.fragment !== null) { + run_all$1($$.on_destroy); + $$.fragment && $$.fragment.d(detaching); + // TODO null out other refs, including component.$$ (but need to + // preserve final state?) + $$.on_destroy = $$.fragment = null; + $$.ctx = []; + } +} +function make_dirty$1(component, i) { + if (component.$$.dirty[0] === -1) { + dirty_components$1.push(component); + schedule_update$1(); + component.$$.dirty.fill(0); + } + component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31)); +} +function init$1(component, options, instance, create_fragment, not_equal, props, dirty = [-1]) { + const parent_component = current_component$1; + set_current_component$1(component); + const $$ = component.$$ = { + fragment: null, + ctx: null, + // state + props, + update: noop$1, + not_equal, + bound: blank_object$1(), + // lifecycle + on_mount: [], + on_destroy: [], + on_disconnect: [], + before_update: [], + after_update: [], + context: new Map(parent_component ? parent_component.$$.context : []), + // everything else + callbacks: blank_object$1(), + dirty, + skip_bound: false + }; + let ready = false; + $$.ctx = instance + ? instance(component, options.props || {}, (i, ret, ...rest) => { + const value = rest.length ? rest[0] : ret; + if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) { + if (!$$.skip_bound && $$.bound[i]) + $$.bound[i](value); + if (ready) + make_dirty$1(component, i); + } + return ret; + }) + : []; + $$.update(); + ready = true; + run_all$1($$.before_update); + // `false` as a special case of no DOM component + $$.fragment = create_fragment ? create_fragment($$.ctx) : false; + if (options.target) { + if (options.hydrate) { + const nodes = children$1(options.target); + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + $$.fragment && $$.fragment.l(nodes); + nodes.forEach(detach$1); + } + else { + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + $$.fragment && $$.fragment.c(); + } + if (options.intro) + transition_in$1(component.$$.fragment); + mount_component$1(component, options.target, options.anchor, options.customElement); + flush$1(); + } + set_current_component$1(parent_component); +} +/** + * Base class for Svelte components. Used when dev=false. + */ +class SvelteComponent$1 { + $destroy() { + destroy_component$1(this, 1); + this.$destroy = noop$1; + } + $on(type, callback) { + const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = [])); + callbacks.push(callback); + return () => { + const index = callbacks.indexOf(callback); + if (index !== -1) + callbacks.splice(index, 1); + }; + } + $set($$props) { + if (this.$$set && !is_empty$1($$props)) { + this.$$.skip_bound = true; + this.$$set($$props); + this.$$.skip_bound = false; + } + } +} + +const subscriber_queue = []; +/** + * Create a `Writable` store that allows both updating and reading by subscription. + * @param {*=}value initial value + * @param {StartStopNotifier=}start start and stop notifications for subscriptions + */ +function writable(value, start = noop$1) { + let stop; + const subscribers = []; + function set(new_value) { + if (safe_not_equal$1(value, new_value)) { + value = new_value; + if (stop) { // store is ready + const run_queue = !subscriber_queue.length; + for (let i = 0; i < subscribers.length; i += 1) { + const s = subscribers[i]; + s[1](); + subscriber_queue.push(s, value); + } + if (run_queue) { + for (let i = 0; i < subscriber_queue.length; i += 2) { + subscriber_queue[i][0](subscriber_queue[i + 1]); + } + subscriber_queue.length = 0; + } + } + } + } + function update(fn) { + set(fn(value)); + } + function subscribe(run, invalidate = noop$1) { + const subscriber = [run, invalidate]; + subscribers.push(subscriber); + if (subscribers.length === 1) { + stop = start(set) || noop$1; + } + run(value); + return () => { + const index = subscribers.indexOf(subscriber); + if (index !== -1) { + subscribers.splice(index, 1); + } + if (subscribers.length === 0) { + stop(); + stop = null; + } + }; + } + return { set, update, subscribe }; +} + +const weekdays$1 = [ + "sunday", + "monday", + "tuesday", + "wednesday", + "thursday", + "friday", + "saturday", +]; +const defaultSettings = Object.freeze({ + shouldConfirmBeforeCreate: true, + weekStart: "locale", + wordsPerDot: DEFAULT_WORDS_PER_DOT, + showWeeklyNote: false, + weeklyNoteFormat: "", + weeklyNoteTemplate: "", + weeklyNoteFolder: "", + localeOverride: "system-default", +}); +function appHasPeriodicNotesPluginLoaded() { + var _a, _b; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const periodicNotes = window.app.plugins.getPlugin("periodic-notes"); + return periodicNotes && ((_b = (_a = periodicNotes.settings) === null || _a === void 0 ? void 0 : _a.weekly) === null || _b === void 0 ? void 0 : _b.enabled); +} +class CalendarSettingsTab extends obsidian.PluginSettingTab { + constructor(app, plugin) { + super(app, plugin); + this.plugin = plugin; + } + display() { + this.containerEl.empty(); + if (!appHasDailyNotesPluginLoaded_1()) { + this.containerEl.createDiv("settings-banner", (banner) => { + banner.createEl("h3", { + text: "⚠️ Daily Notes plugin not enabled", + }); + banner.createEl("p", { + cls: "setting-item-description", + text: "The calendar is best used in conjunction with either the Daily Notes plugin or the Periodic Notes plugin (available in the Community Plugins catalog).", + }); + }); + } + this.containerEl.createEl("h3", { + text: "General Settings", + }); + this.addDotThresholdSetting(); + this.addWeekStartSetting(); + this.addConfirmCreateSetting(); + this.addShowWeeklyNoteSetting(); + if (this.plugin.options.showWeeklyNote && + !appHasPeriodicNotesPluginLoaded()) { + this.containerEl.createEl("h3", { + text: "Weekly Note Settings", + }); + this.containerEl.createEl("p", { + cls: "setting-item-description", + text: "Note: Weekly Note settings are moving. You are encouraged to install the 'Periodic Notes' plugin to keep the functionality in the future.", + }); + this.addWeeklyNoteFormatSetting(); + this.addWeeklyNoteTemplateSetting(); + this.addWeeklyNoteFolderSetting(); + } + this.containerEl.createEl("h3", { + text: "Advanced Settings", + }); + this.addLocaleOverrideSetting(); + } + addDotThresholdSetting() { + new obsidian.Setting(this.containerEl) + .setName("Words per dot") + .setDesc("How many words should be represented by a single dot?") + .addText((textfield) => { + textfield.setPlaceholder(String(DEFAULT_WORDS_PER_DOT)); + textfield.inputEl.type = "number"; + textfield.setValue(String(this.plugin.options.wordsPerDot)); + textfield.onChange(async (value) => { + this.plugin.writeOptions(() => ({ + wordsPerDot: value !== "" ? Number(value) : undefined, + })); + }); + }); + } + addWeekStartSetting() { + const { moment } = window; + const localizedWeekdays = moment.weekdays(); + const localeWeekStartNum = window._bundledLocaleWeekSpec.dow; + const localeWeekStart = moment.weekdays()[localeWeekStartNum]; + new obsidian.Setting(this.containerEl) + .setName("Start week on:") + .setDesc("Choose what day of the week to start. Select 'Locale default' to use the default specified by moment.js") + .addDropdown((dropdown) => { + dropdown.addOption("locale", `Locale default (${localeWeekStart})`); + localizedWeekdays.forEach((day, i) => { + dropdown.addOption(weekdays$1[i], day); + }); + dropdown.setValue(this.plugin.options.weekStart); + dropdown.onChange(async (value) => { + this.plugin.writeOptions(() => ({ + weekStart: value, + })); + }); + }); + } + addConfirmCreateSetting() { + new obsidian.Setting(this.containerEl) + .setName("Confirm before creating new note") + .setDesc("Show a confirmation modal before creating a new note") + .addToggle((toggle) => { + toggle.setValue(this.plugin.options.shouldConfirmBeforeCreate); + toggle.onChange(async (value) => { + this.plugin.writeOptions(() => ({ + shouldConfirmBeforeCreate: value, + })); + }); + }); + } + addShowWeeklyNoteSetting() { + new obsidian.Setting(this.containerEl) + .setName("Show week number") + .setDesc("Enable this to add a column with the week number") + .addToggle((toggle) => { + toggle.setValue(this.plugin.options.showWeeklyNote); + toggle.onChange(async (value) => { + this.plugin.writeOptions(() => ({ showWeeklyNote: value })); + this.display(); // show/hide weekly settings + }); + }); + } + addWeeklyNoteFormatSetting() { + new obsidian.Setting(this.containerEl) + .setName("Weekly note format") + .setDesc("For more syntax help, refer to format reference") + .addText((textfield) => { + textfield.setValue(this.plugin.options.weeklyNoteFormat); + textfield.setPlaceholder(DEFAULT_WEEK_FORMAT); + textfield.onChange(async (value) => { + this.plugin.writeOptions(() => ({ weeklyNoteFormat: value })); + }); + }); + } + addWeeklyNoteTemplateSetting() { + new obsidian.Setting(this.containerEl) + .setName("Weekly note template") + .setDesc("Choose the file you want to use as the template for your weekly notes") + .addText((textfield) => { + textfield.setValue(this.plugin.options.weeklyNoteTemplate); + textfield.onChange(async (value) => { + this.plugin.writeOptions(() => ({ weeklyNoteTemplate: value })); + }); + }); + } + addWeeklyNoteFolderSetting() { + new obsidian.Setting(this.containerEl) + .setName("Weekly note folder") + .setDesc("New weekly notes will be placed here") + .addText((textfield) => { + textfield.setValue(this.plugin.options.weeklyNoteFolder); + textfield.onChange(async (value) => { + this.plugin.writeOptions(() => ({ weeklyNoteFolder: value })); + }); + }); + } + addLocaleOverrideSetting() { + var _a; + const { moment } = window; + const sysLocale = (_a = navigator.language) === null || _a === void 0 ? void 0 : _a.toLowerCase(); + new obsidian.Setting(this.containerEl) + .setName("Override locale:") + .setDesc("Set this if you want to use a locale different from the default") + .addDropdown((dropdown) => { + dropdown.addOption("system-default", `Same as system (${sysLocale})`); + moment.locales().forEach((locale) => { + dropdown.addOption(locale, locale); + }); + dropdown.setValue(this.plugin.options.localeOverride); + dropdown.onChange(async (value) => { + this.plugin.writeOptions(() => ({ + localeOverride: value, + })); + }); + }); + } +} + +const classList = (obj) => { + return Object.entries(obj) + .filter(([_k, v]) => !!v) + .map(([k, _k]) => k); +}; +function clamp(num, lowerBound, upperBound) { + return Math.min(Math.max(lowerBound, num), upperBound); +} +function partition(arr, predicate) { + const pass = []; + const fail = []; + arr.forEach((elem) => { + if (predicate(elem)) { + pass.push(elem); + } + else { + fail.push(elem); + } + }); + return [pass, fail]; +} +/** + * Lookup the dateUID for a given file. It compares the filename + * to the daily and weekly note formats to find a match. + * + * @param file + */ +function getDateUIDFromFile(file) { + if (!file) { + return null; + } + // TODO: I'm not checking the path! + let date = getDateFromFile_1(file, "day"); + if (date) { + return getDateUID_1$1(date, "day"); + } + date = getDateFromFile_1(file, "week"); + if (date) { + return getDateUID_1$1(date, "week"); + } + return null; +} +function getWordCount(text) { + const spaceDelimitedChars = /A-Za-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/ + .source; + const nonSpaceDelimitedWords = /\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u4E00-\u9FD5/ + .source; + const pattern = new RegExp([ + `(?:[0-9]+(?:(?:,|\\.)[0-9]+)*|[\\-${spaceDelimitedChars}])+`, + nonSpaceDelimitedWords, + ].join("|"), "g"); + return (text.match(pattern) || []).length; +} + +function createDailyNotesStore() { + let hasError = false; + const store = writable(null); + return Object.assign({ reindex: () => { + try { + const dailyNotes = getAllDailyNotes_1(); + store.set(dailyNotes); + hasError = false; + } + catch (err) { + if (!hasError) { + // Avoid error being shown multiple times + console.log("[Calendar] Failed to find daily notes folder", err); + } + store.set({}); + hasError = true; + } + } }, store); +} +function createWeeklyNotesStore() { + let hasError = false; + const store = writable(null); + return Object.assign({ reindex: () => { + try { + const weeklyNotes = getAllWeeklyNotes_1(); + store.set(weeklyNotes); + hasError = false; + } + catch (err) { + if (!hasError) { + // Avoid error being shown multiple times + console.log("[Calendar] Failed to find weekly notes folder", err); + } + store.set({}); + hasError = true; + } + } }, store); +} +const settings = writable(defaultSettings); +const dailyNotes = createDailyNotesStore(); +const weeklyNotes = createWeeklyNotesStore(); +function createSelectedFileStore() { + const store = writable(null); + return Object.assign({ setFile: (file) => { + const id = getDateUIDFromFile(file); + store.set(id); + } }, store); +} +const activeFile = createSelectedFileStore(); + +class ConfirmationModal extends obsidian.Modal { + constructor(app, config) { + super(app); + const { cta, onAccept, text, title } = config; + this.contentEl.createEl("h2", { text: title }); + this.contentEl.createEl("p", { text }); + this.contentEl.createDiv("modal-button-container", (buttonsEl) => { + buttonsEl + .createEl("button", { text: "Never mind" }) + .addEventListener("click", () => this.close()); + buttonsEl + .createEl("button", { + cls: "mod-cta", + text: cta, + }) + .addEventListener("click", async (e) => { + await onAccept(e); + this.close(); + }); + }); + } +} +function createConfirmationDialog({ cta, onAccept, text, title, }) { + new ConfirmationModal(window.app, { cta, onAccept, text, title }).open(); +} + +/** + * Create a Daily Note for a given date. + */ +async function tryToCreateDailyNote(date, inNewSplit, settings, cb) { + const { workspace } = window.app; + const { format } = getDailyNoteSettings_1(); + const filename = date.format(format); + const createFile = async () => { + const dailyNote = await createDailyNote_1(date); + const leaf = inNewSplit + ? workspace.splitActiveLeaf() + : workspace.getUnpinnedLeaf(); + await leaf.openFile(dailyNote); + cb === null || cb === void 0 ? void 0 : cb(dailyNote); + }; + if (settings.shouldConfirmBeforeCreate) { + createConfirmationDialog({ + cta: "Create", + onAccept: createFile, + text: `File ${filename} does not exist. Would you like to create it?`, + title: "New Daily Note", + }); + } + else { + await createFile(); + } +} + +/** + * Create a Weekly Note for a given date. + */ +async function tryToCreateWeeklyNote(date, inNewSplit, settings, cb) { + const { workspace } = window.app; + const { format } = getWeeklyNoteSettings_1(); + const filename = date.format(format); + const createFile = async () => { + const dailyNote = await createWeeklyNote_1(date); + const leaf = inNewSplit + ? workspace.splitActiveLeaf() + : workspace.getUnpinnedLeaf(); + await leaf.openFile(dailyNote); + cb === null || cb === void 0 ? void 0 : cb(dailyNote); + }; + if (settings.shouldConfirmBeforeCreate) { + createConfirmationDialog({ + cta: "Create", + onAccept: createFile, + text: `File ${filename} does not exist. Would you like to create it?`, + title: "New Weekly Note", + }); + } + else { + await createFile(); + } +} + +function noop() { } +function assign(tar, src) { + // @ts-ignore + for (const k in src) + tar[k] = src[k]; + return tar; +} +function is_promise(value) { + return value && typeof value === 'object' && typeof value.then === 'function'; +} +function run(fn) { + return fn(); +} +function blank_object() { + return Object.create(null); +} +function run_all(fns) { + fns.forEach(run); +} +function is_function(thing) { + return typeof thing === 'function'; +} +function safe_not_equal(a, b) { + return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function'); +} +function not_equal(a, b) { + return a != a ? b == b : a !== b; +} +function is_empty(obj) { + return Object.keys(obj).length === 0; +} +function create_slot(definition, ctx, $$scope, fn) { + if (definition) { + const slot_ctx = get_slot_context(definition, ctx, $$scope, fn); + return definition[0](slot_ctx); + } +} +function get_slot_context(definition, ctx, $$scope, fn) { + return definition[1] && fn + ? assign($$scope.ctx.slice(), definition[1](fn(ctx))) + : $$scope.ctx; +} +function get_slot_changes(definition, $$scope, dirty, fn) { + if (definition[2] && fn) { + const lets = definition[2](fn(dirty)); + if ($$scope.dirty === undefined) { + return lets; + } + if (typeof lets === 'object') { + const merged = []; + const len = Math.max($$scope.dirty.length, lets.length); + for (let i = 0; i < len; i += 1) { + merged[i] = $$scope.dirty[i] | lets[i]; + } + return merged; + } + return $$scope.dirty | lets; + } + return $$scope.dirty; +} +function update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) { + const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn); + if (slot_changes) { + const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn); + slot.p(slot_context, slot_changes); + } +} +function null_to_empty(value) { + return value == null ? '' : value; +} + +function append(target, node) { + target.appendChild(node); +} +function insert(target, node, anchor) { + target.insertBefore(node, anchor || null); +} +function detach(node) { + node.parentNode.removeChild(node); +} +function destroy_each(iterations, detaching) { + for (let i = 0; i < iterations.length; i += 1) { + if (iterations[i]) + iterations[i].d(detaching); + } +} +function element(name) { + return document.createElement(name); +} +function svg_element(name) { + return document.createElementNS('http://www.w3.org/2000/svg', name); +} +function text(data) { + return document.createTextNode(data); +} +function space() { + return text(' '); +} +function empty() { + return text(''); +} +function listen(node, event, handler, options) { + node.addEventListener(event, handler, options); + return () => node.removeEventListener(event, handler, options); +} +function attr(node, attribute, value) { + if (value == null) + node.removeAttribute(attribute); + else if (node.getAttribute(attribute) !== value) + node.setAttribute(attribute, value); +} +function set_attributes(node, attributes) { + // @ts-ignore + const descriptors = Object.getOwnPropertyDescriptors(node.__proto__); + for (const key in attributes) { + if (attributes[key] == null) { + node.removeAttribute(key); + } + else if (key === 'style') { + node.style.cssText = attributes[key]; + } + else if (key === '__value') { + node.value = node[key] = attributes[key]; + } + else if (descriptors[key] && descriptors[key].set) { + node[key] = attributes[key]; + } + else { + attr(node, key, attributes[key]); + } + } +} +function children(element) { + return Array.from(element.childNodes); +} +function set_data(text, data) { + data = '' + data; + if (text.wholeText !== data) + text.data = data; +} +function toggle_class(element, name, toggle) { + element.classList[toggle ? 'add' : 'remove'](name); +} + +let current_component; +function set_current_component(component) { + current_component = component; +} +function get_current_component() { + if (!current_component) + throw new Error('Function called outside component initialization'); + return current_component; +} + +const dirty_components = []; +const binding_callbacks = []; +const render_callbacks = []; +const flush_callbacks = []; +const resolved_promise = Promise.resolve(); +let update_scheduled = false; +function schedule_update() { + if (!update_scheduled) { + update_scheduled = true; + resolved_promise.then(flush); + } +} +function add_render_callback(fn) { + render_callbacks.push(fn); +} +let flushing = false; +const seen_callbacks = new Set(); +function flush() { + if (flushing) + return; + flushing = true; + do { + // first, call beforeUpdate functions + // and update components + for (let i = 0; i < dirty_components.length; i += 1) { + const component = dirty_components[i]; + set_current_component(component); + update(component.$$); + } + set_current_component(null); + dirty_components.length = 0; + while (binding_callbacks.length) + binding_callbacks.pop()(); + // then, once components are updated, call + // afterUpdate functions. This may cause + // subsequent updates... + for (let i = 0; i < render_callbacks.length; i += 1) { + const callback = render_callbacks[i]; + if (!seen_callbacks.has(callback)) { + // ...so guard against infinite loops + seen_callbacks.add(callback); + callback(); + } + } + render_callbacks.length = 0; + } while (dirty_components.length); + while (flush_callbacks.length) { + flush_callbacks.pop()(); + } + update_scheduled = false; + flushing = false; + seen_callbacks.clear(); +} +function update($$) { + if ($$.fragment !== null) { + $$.update(); + run_all($$.before_update); + const dirty = $$.dirty; + $$.dirty = [-1]; + $$.fragment && $$.fragment.p($$.ctx, dirty); + $$.after_update.forEach(add_render_callback); + } +} +const outroing = new Set(); +let outros; +function group_outros() { + outros = { + r: 0, + c: [], + p: outros // parent group + }; +} +function check_outros() { + if (!outros.r) { + run_all(outros.c); + } + outros = outros.p; +} +function transition_in(block, local) { + if (block && block.i) { + outroing.delete(block); + block.i(local); + } +} +function transition_out(block, local, detach, callback) { + if (block && block.o) { + if (outroing.has(block)) + return; + outroing.add(block); + outros.c.push(() => { + outroing.delete(block); + if (callback) { + if (detach) + block.d(1); + callback(); + } + }); + block.o(local); + } +} + +function handle_promise(promise, info) { + const token = info.token = {}; + function update(type, index, key, value) { + if (info.token !== token) + return; + info.resolved = value; + let child_ctx = info.ctx; + if (key !== undefined) { + child_ctx = child_ctx.slice(); + child_ctx[key] = value; + } + const block = type && (info.current = type)(child_ctx); + let needs_flush = false; + if (info.block) { + if (info.blocks) { + info.blocks.forEach((block, i) => { + if (i !== index && block) { + group_outros(); + transition_out(block, 1, 1, () => { + if (info.blocks[i] === block) { + info.blocks[i] = null; + } + }); + check_outros(); + } + }); + } + else { + info.block.d(1); + } + block.c(); + transition_in(block, 1); + block.m(info.mount(), info.anchor); + needs_flush = true; + } + info.block = block; + if (info.blocks) + info.blocks[index] = block; + if (needs_flush) { + flush(); + } + } + if (is_promise(promise)) { + const current_component = get_current_component(); + promise.then(value => { + set_current_component(current_component); + update(info.then, 1, info.value, value); + set_current_component(null); + }, error => { + set_current_component(current_component); + update(info.catch, 2, info.error, error); + set_current_component(null); + if (!info.hasCatch) { + throw error; + } + }); + // if we previously had a then/catch block, destroy it + if (info.current !== info.pending) { + update(info.pending, 0); + return true; + } + } + else { + if (info.current !== info.then) { + update(info.then, 1, info.value, promise); + return true; + } + info.resolved = promise; + } +} +function outro_and_destroy_block(block, lookup) { + transition_out(block, 1, 1, () => { + lookup.delete(block.key); + }); +} +function update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) { + let o = old_blocks.length; + let n = list.length; + let i = o; + const old_indexes = {}; + while (i--) + old_indexes[old_blocks[i].key] = i; + const new_blocks = []; + const new_lookup = new Map(); + const deltas = new Map(); + i = n; + while (i--) { + const child_ctx = get_context(ctx, list, i); + const key = get_key(child_ctx); + let block = lookup.get(key); + if (!block) { + block = create_each_block(key, child_ctx); + block.c(); + } + else if (dynamic) { + block.p(child_ctx, dirty); + } + new_lookup.set(key, new_blocks[i] = block); + if (key in old_indexes) + deltas.set(key, Math.abs(i - old_indexes[key])); + } + const will_move = new Set(); + const did_move = new Set(); + function insert(block) { + transition_in(block, 1); + block.m(node, next); + lookup.set(block.key, block); + next = block.first; + n--; + } + while (o && n) { + const new_block = new_blocks[n - 1]; + const old_block = old_blocks[o - 1]; + const new_key = new_block.key; + const old_key = old_block.key; + if (new_block === old_block) { + // do nothing + next = new_block.first; + o--; + n--; + } + else if (!new_lookup.has(old_key)) { + // remove old block + destroy(old_block, lookup); + o--; + } + else if (!lookup.has(new_key) || will_move.has(new_key)) { + insert(new_block); + } + else if (did_move.has(old_key)) { + o--; + } + else if (deltas.get(new_key) > deltas.get(old_key)) { + did_move.add(new_key); + insert(new_block); + } + else { + will_move.add(old_key); + o--; + } + } + while (o--) { + const old_block = old_blocks[o]; + if (!new_lookup.has(old_block.key)) + destroy(old_block, lookup); + } + while (n) + insert(new_blocks[n - 1]); + return new_blocks; +} + +function get_spread_update(levels, updates) { + const update = {}; + const to_null_out = {}; + const accounted_for = { $$scope: 1 }; + let i = levels.length; + while (i--) { + const o = levels[i]; + const n = updates[i]; + if (n) { + for (const key in o) { + if (!(key in n)) + to_null_out[key] = 1; + } + for (const key in n) { + if (!accounted_for[key]) { + update[key] = n[key]; + accounted_for[key] = 1; + } + } + levels[i] = n; + } + else { + for (const key in o) { + accounted_for[key] = 1; + } + } + } + for (const key in to_null_out) { + if (!(key in update)) + update[key] = undefined; + } + return update; +} +function get_spread_object(spread_props) { + return typeof spread_props === 'object' && spread_props !== null ? spread_props : {}; +} +function create_component(block) { + block && block.c(); +} +function mount_component(component, target, anchor, customElement) { + const { fragment, on_mount, on_destroy, after_update } = component.$$; + fragment && fragment.m(target, anchor); + if (!customElement) { + // onMount happens before the initial afterUpdate + add_render_callback(() => { + const new_on_destroy = on_mount.map(run).filter(is_function); + if (on_destroy) { + on_destroy.push(...new_on_destroy); + } + else { + // Edge case - component was destroyed immediately, + // most likely as a result of a binding initialising + run_all(new_on_destroy); + } + component.$$.on_mount = []; + }); + } + after_update.forEach(add_render_callback); +} +function destroy_component(component, detaching) { + const $$ = component.$$; + if ($$.fragment !== null) { + run_all($$.on_destroy); + $$.fragment && $$.fragment.d(detaching); + // TODO null out other refs, including component.$$ (but need to + // preserve final state?) + $$.on_destroy = $$.fragment = null; + $$.ctx = []; + } +} +function make_dirty(component, i) { + if (component.$$.dirty[0] === -1) { + dirty_components.push(component); + schedule_update(); + component.$$.dirty.fill(0); + } + component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31)); +} +function init(component, options, instance, create_fragment, not_equal, props, dirty = [-1]) { + const parent_component = current_component; + set_current_component(component); + const $$ = component.$$ = { + fragment: null, + ctx: null, + // state + props, + update: noop, + not_equal, + bound: blank_object(), + // lifecycle + on_mount: [], + on_destroy: [], + on_disconnect: [], + before_update: [], + after_update: [], + context: new Map(parent_component ? parent_component.$$.context : []), + // everything else + callbacks: blank_object(), + dirty, + skip_bound: false + }; + let ready = false; + $$.ctx = instance + ? instance(component, options.props || {}, (i, ret, ...rest) => { + const value = rest.length ? rest[0] : ret; + if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) { + if (!$$.skip_bound && $$.bound[i]) + $$.bound[i](value); + if (ready) + make_dirty(component, i); + } + return ret; + }) + : []; + $$.update(); + ready = true; + run_all($$.before_update); + // `false` as a special case of no DOM component + $$.fragment = create_fragment ? create_fragment($$.ctx) : false; + if (options.target) { + if (options.hydrate) { + const nodes = children(options.target); + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + $$.fragment && $$.fragment.l(nodes); + nodes.forEach(detach); + } + else { + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + $$.fragment && $$.fragment.c(); + } + if (options.intro) + transition_in(component.$$.fragment); + mount_component(component, options.target, options.anchor, options.customElement); + flush(); + } + set_current_component(parent_component); +} +/** + * Base class for Svelte components. Used when dev=false. + */ +class SvelteComponent { + $destroy() { + destroy_component(this, 1); + this.$destroy = noop; + } + $on(type, callback) { + const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = [])); + callbacks.push(callback); + return () => { + const index = callbacks.indexOf(callback); + if (index !== -1) + callbacks.splice(index, 1); + }; + } + $set($$props) { + if (this.$$set && !is_empty($$props)) { + this.$$.skip_bound = true; + this.$$set($$props); + this.$$.skip_bound = false; + } + } +} + +/** + * dateUID is a way of weekly identifying daily/weekly/monthly notes. + * They are prefixed with the granularity to avoid ambiguity. + */ +function getDateUID(date, granularity = "day") { + const ts = date.clone().startOf(granularity).format(); + return `${granularity}-${ts}`; +} +var getDateUID_1 = getDateUID; + +/* src/components/Dot.svelte generated by Svelte v3.35.0 */ + +function add_css$5() { + var style = element("style"); + style.id = "svelte-1widvzq-style"; + style.textContent = ".dot.svelte-1widvzq,.hollow.svelte-1widvzq{display:inline-block;height:6px;width:6px;margin:0 1px}.filled.svelte-1widvzq{fill:var(--color-dot)}.active.filled.svelte-1widvzq{fill:var(--text-on-accent)}.hollow.svelte-1widvzq{fill:none;stroke:var(--color-dot)}.active.hollow.svelte-1widvzq{fill:none;stroke:var(--text-on-accent)}"; + append(document.head, style); +} + +// (14:0) {:else} +function create_else_block$1(ctx) { + let svg; + let circle; + let svg_class_value; + + return { + c() { + svg = svg_element("svg"); + circle = svg_element("circle"); + attr(circle, "cx", "3"); + attr(circle, "cy", "3"); + attr(circle, "r", "2"); + attr(svg, "class", svg_class_value = "" + (null_to_empty(`hollow ${/*className*/ ctx[0]}`) + " svelte-1widvzq")); + attr(svg, "viewBox", "0 0 6 6"); + attr(svg, "xmlns", "http://www.w3.org/2000/svg"); + toggle_class(svg, "active", /*isActive*/ ctx[2]); + }, + m(target, anchor) { + insert(target, svg, anchor); + append(svg, circle); + }, + p(ctx, dirty) { + if (dirty & /*className*/ 1 && svg_class_value !== (svg_class_value = "" + (null_to_empty(`hollow ${/*className*/ ctx[0]}`) + " svelte-1widvzq"))) { + attr(svg, "class", svg_class_value); + } + + if (dirty & /*className, isActive*/ 5) { + toggle_class(svg, "active", /*isActive*/ ctx[2]); + } + }, + d(detaching) { + if (detaching) detach(svg); + } + }; +} + +// (6:0) {#if isFilled} +function create_if_block$2(ctx) { + let svg; + let circle; + let svg_class_value; + + return { + c() { + svg = svg_element("svg"); + circle = svg_element("circle"); + attr(circle, "cx", "3"); + attr(circle, "cy", "3"); + attr(circle, "r", "2"); + attr(svg, "class", svg_class_value = "" + (null_to_empty(`dot filled ${/*className*/ ctx[0]}`) + " svelte-1widvzq")); + attr(svg, "viewBox", "0 0 6 6"); + attr(svg, "xmlns", "http://www.w3.org/2000/svg"); + toggle_class(svg, "active", /*isActive*/ ctx[2]); + }, + m(target, anchor) { + insert(target, svg, anchor); + append(svg, circle); + }, + p(ctx, dirty) { + if (dirty & /*className*/ 1 && svg_class_value !== (svg_class_value = "" + (null_to_empty(`dot filled ${/*className*/ ctx[0]}`) + " svelte-1widvzq"))) { + attr(svg, "class", svg_class_value); + } + + if (dirty & /*className, isActive*/ 5) { + toggle_class(svg, "active", /*isActive*/ ctx[2]); + } + }, + d(detaching) { + if (detaching) detach(svg); + } + }; +} + +function create_fragment$6(ctx) { + let if_block_anchor; + + function select_block_type(ctx, dirty) { + if (/*isFilled*/ ctx[1]) return create_if_block$2; + return create_else_block$1; + } + + let current_block_type = select_block_type(ctx); + let if_block = current_block_type(ctx); + + return { + c() { + if_block.c(); + if_block_anchor = empty(); + }, + m(target, anchor) { + if_block.m(target, anchor); + insert(target, if_block_anchor, anchor); + }, + p(ctx, [dirty]) { + if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) { + if_block.p(ctx, dirty); + } else { + if_block.d(1); + if_block = current_block_type(ctx); + + if (if_block) { + if_block.c(); + if_block.m(if_block_anchor.parentNode, if_block_anchor); + } + } + }, + i: noop, + o: noop, + d(detaching) { + if_block.d(detaching); + if (detaching) detach(if_block_anchor); + } + }; +} + +function instance$6($$self, $$props, $$invalidate) { + let { className = "" } = $$props; + let { isFilled } = $$props; + let { isActive } = $$props; + + $$self.$$set = $$props => { + if ("className" in $$props) $$invalidate(0, className = $$props.className); + if ("isFilled" in $$props) $$invalidate(1, isFilled = $$props.isFilled); + if ("isActive" in $$props) $$invalidate(2, isActive = $$props.isActive); + }; + + return [className, isFilled, isActive]; +} + +class Dot extends SvelteComponent { + constructor(options) { + super(); + if (!document.getElementById("svelte-1widvzq-style")) add_css$5(); + init(this, options, instance$6, create_fragment$6, safe_not_equal, { className: 0, isFilled: 1, isActive: 2 }); + } +} + +/* src/components/MetadataResolver.svelte generated by Svelte v3.35.0 */ + +const get_default_slot_changes_1 = dirty => ({}); +const get_default_slot_context_1 = ctx => ({ metadata: null }); +const get_default_slot_changes = dirty => ({ metadata: dirty & /*metadata*/ 1 }); +const get_default_slot_context = ctx => ({ metadata: /*resolvedMeta*/ ctx[3] }); + +// (11:0) {:else} +function create_else_block(ctx) { + let current; + const default_slot_template = /*#slots*/ ctx[2].default; + const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[1], get_default_slot_context_1); + + return { + c() { + if (default_slot) default_slot.c(); + }, + m(target, anchor) { + if (default_slot) { + default_slot.m(target, anchor); + } + + current = true; + }, + p(ctx, dirty) { + if (default_slot) { + if (default_slot.p && dirty & /*$$scope*/ 2) { + update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[1], dirty, get_default_slot_changes_1, get_default_slot_context_1); + } + } + }, + i(local) { + if (current) return; + transition_in(default_slot, local); + current = true; + }, + o(local) { + transition_out(default_slot, local); + current = false; + }, + d(detaching) { + if (default_slot) default_slot.d(detaching); + } + }; +} + +// (7:0) {#if metadata} +function create_if_block$1(ctx) { + let await_block_anchor; + let promise; + let current; + + let info = { + ctx, + current: null, + token: null, + hasCatch: false, + pending: create_pending_block, + then: create_then_block, + catch: create_catch_block, + value: 3, + blocks: [,,,] + }; + + handle_promise(promise = /*metadata*/ ctx[0], info); + + return { + c() { + await_block_anchor = empty(); + info.block.c(); + }, + m(target, anchor) { + insert(target, await_block_anchor, anchor); + info.block.m(target, info.anchor = anchor); + info.mount = () => await_block_anchor.parentNode; + info.anchor = await_block_anchor; + current = true; + }, + p(new_ctx, dirty) { + ctx = new_ctx; + info.ctx = ctx; + + if (dirty & /*metadata*/ 1 && promise !== (promise = /*metadata*/ ctx[0]) && handle_promise(promise, info)) ; else { + const child_ctx = ctx.slice(); + child_ctx[3] = info.resolved; + info.block.p(child_ctx, dirty); + } + }, + i(local) { + if (current) return; + transition_in(info.block); + current = true; + }, + o(local) { + for (let i = 0; i < 3; i += 1) { + const block = info.blocks[i]; + transition_out(block); + } + + current = false; + }, + d(detaching) { + if (detaching) detach(await_block_anchor); + info.block.d(detaching); + info.token = null; + info = null; + } + }; +} + +// (1:0) {#if metadata} +function create_catch_block(ctx) { + return { + c: noop, + m: noop, + p: noop, + i: noop, + o: noop, + d: noop + }; +} + +// (8:37) ; export let metadata; {#if metadata} +function create_pending_block(ctx) { + return { + c: noop, + m: noop, + p: noop, + i: noop, + o: noop, + d: noop + }; +} + +function create_fragment$5(ctx) { + let current_block_type_index; + let if_block; + let if_block_anchor; + let current; + const if_block_creators = [create_if_block$1, create_else_block]; + const if_blocks = []; + + function select_block_type(ctx, dirty) { + if (/*metadata*/ ctx[0]) return 0; + return 1; + } + + current_block_type_index = select_block_type(ctx); + if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); + + return { + c() { + if_block.c(); + if_block_anchor = empty(); + }, + m(target, anchor) { + if_blocks[current_block_type_index].m(target, anchor); + insert(target, if_block_anchor, anchor); + current = true; + }, + p(ctx, [dirty]) { + let previous_block_index = current_block_type_index; + current_block_type_index = select_block_type(ctx); + + if (current_block_type_index === previous_block_index) { + if_blocks[current_block_type_index].p(ctx, dirty); + } else { + group_outros(); + + transition_out(if_blocks[previous_block_index], 1, 1, () => { + if_blocks[previous_block_index] = null; + }); + + check_outros(); + if_block = if_blocks[current_block_type_index]; + + if (!if_block) { + if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); + if_block.c(); + } else { + if_block.p(ctx, dirty); + } + + transition_in(if_block, 1); + if_block.m(if_block_anchor.parentNode, if_block_anchor); + } + }, + i(local) { + if (current) return; + transition_in(if_block); + current = true; + }, + o(local) { + transition_out(if_block); + current = false; + }, + d(detaching) { + if_blocks[current_block_type_index].d(detaching); + if (detaching) detach(if_block_anchor); + } + }; +} + +function instance$5($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + + let { metadata } = $$props; + + $$self.$$set = $$props => { + if ("metadata" in $$props) $$invalidate(0, metadata = $$props.metadata); + if ("$$scope" in $$props) $$invalidate(1, $$scope = $$props.$$scope); + }; + + return [metadata, $$scope, slots]; +} + +class MetadataResolver extends SvelteComponent { + constructor(options) { + super(); + init(this, options, instance$5, create_fragment$5, not_equal, { metadata: 0 }); + } +} + +function isMacOS() { + return navigator.appVersion.indexOf("Mac") !== -1; +} +function isMetaPressed(e) { + return isMacOS() ? e.metaKey : e.ctrlKey; +} +function getDaysOfWeek(..._args) { + return window.moment.weekdaysShort(true); +} +function isWeekend(date) { + return date.isoWeekday() === 6 || date.isoWeekday() === 7; +} +function getStartOfWeek(days) { + return days[0].weekday(0); +} +/** + * Generate a 2D array of daily information to power + * the calendar view. + */ +function getMonth(displayedMonth, ..._args) { + const locale = window.moment().locale(); + const month = []; + let week; + const startOfMonth = displayedMonth.clone().locale(locale).date(1); + const startOffset = startOfMonth.weekday(); + let date = startOfMonth.clone().subtract(startOffset, "days"); + for (let _day = 0; _day < 42; _day++) { + if (_day % 7 === 0) { + week = { + days: [], + weekNum: date.week(), + }; + month.push(week); + } + week.days.push(date); + date = date.clone().add(1, "days"); + } + return month; +} + +/* src/components/Day.svelte generated by Svelte v3.35.0 */ + +function add_css$4() { + var style = element("style"); + style.id = "svelte-q3wqg9-style"; + style.textContent = ".day.svelte-q3wqg9{background-color:var(--color-background-day);border-radius:4px;color:var(--color-text-day);cursor:pointer;font-size:0.8em;height:100%;padding:4px;position:relative;text-align:center;transition:background-color 0.1s ease-in, color 0.1s ease-in;vertical-align:baseline}.day.svelte-q3wqg9:hover{background-color:var(--interactive-hover)}.day.active.svelte-q3wqg9:hover{background-color:var(--interactive-accent-hover)}.adjacent-month.svelte-q3wqg9{opacity:0.25}.today.svelte-q3wqg9{color:var(--color-text-today)}.day.svelte-q3wqg9:active,.active.svelte-q3wqg9,.active.today.svelte-q3wqg9{color:var(--text-on-accent);background-color:var(--interactive-accent)}.dot-container.svelte-q3wqg9{display:flex;flex-wrap:wrap;justify-content:center;line-height:6px;min-height:6px}"; + append(document.head, style); +} + +function get_each_context$2(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[11] = list[i]; + return child_ctx; +} + +// (36:8) {#each metadata.dots as dot} +function create_each_block$2(ctx) { + let dot; + let current; + const dot_spread_levels = [/*dot*/ ctx[11]]; + let dot_props = {}; + + for (let i = 0; i < dot_spread_levels.length; i += 1) { + dot_props = assign(dot_props, dot_spread_levels[i]); + } + + dot = new Dot({ props: dot_props }); + + return { + c() { + create_component(dot.$$.fragment); + }, + m(target, anchor) { + mount_component(dot, target, anchor); + current = true; + }, + p(ctx, dirty) { + const dot_changes = (dirty & /*metadata*/ 128) + ? get_spread_update(dot_spread_levels, [get_spread_object(/*dot*/ ctx[11])]) + : {}; + + dot.$set(dot_changes); + }, + i(local) { + if (current) return; + transition_in(dot.$$.fragment, local); + current = true; + }, + o(local) { + transition_out(dot.$$.fragment, local); + current = false; + }, + d(detaching) { + destroy_component(dot, detaching); + } + }; +} + +// (22:2) +function create_default_slot$1(ctx) { + let div1; + let t0_value = /*date*/ ctx[0].format("D") + ""; + let t0; + let t1; + let div0; + let div1_class_value; + let current; + let mounted; + let dispose; + let each_value = /*metadata*/ ctx[7].dots; + let each_blocks = []; + + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i)); + } + + const out = i => transition_out(each_blocks[i], 1, 1, () => { + each_blocks[i] = null; + }); + + let div1_levels = [ + { + class: div1_class_value = `day ${/*metadata*/ ctx[7].classes.join(" ")}` + }, + /*metadata*/ ctx[7].dataAttributes || {} + ]; + + let div1_data = {}; + + for (let i = 0; i < div1_levels.length; i += 1) { + div1_data = assign(div1_data, div1_levels[i]); + } + + return { + c() { + div1 = element("div"); + t0 = text(t0_value); + t1 = space(); + div0 = element("div"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + attr(div0, "class", "dot-container svelte-q3wqg9"); + set_attributes(div1, div1_data); + toggle_class(div1, "active", /*selectedId*/ ctx[6] === getDateUID_1(/*date*/ ctx[0], "day")); + toggle_class(div1, "adjacent-month", !/*date*/ ctx[0].isSame(/*displayedMonth*/ ctx[5], "month")); + toggle_class(div1, "today", /*date*/ ctx[0].isSame(/*today*/ ctx[4], "day")); + toggle_class(div1, "svelte-q3wqg9", true); + }, + m(target, anchor) { + insert(target, div1, anchor); + append(div1, t0); + append(div1, t1); + append(div1, div0); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(div0, null); + } + + current = true; + + if (!mounted) { + dispose = [ + listen(div1, "click", function () { + if (is_function(/*onClick*/ ctx[2] && /*click_handler*/ ctx[8])) (/*onClick*/ ctx[2] && /*click_handler*/ ctx[8]).apply(this, arguments); + }), + listen(div1, "contextmenu", function () { + if (is_function(/*onContextMenu*/ ctx[3] && /*contextmenu_handler*/ ctx[9])) (/*onContextMenu*/ ctx[3] && /*contextmenu_handler*/ ctx[9]).apply(this, arguments); + }), + listen(div1, "pointerover", function () { + if (is_function(/*onHover*/ ctx[1] && /*pointerover_handler*/ ctx[10])) (/*onHover*/ ctx[1] && /*pointerover_handler*/ ctx[10]).apply(this, arguments); + }) + ]; + + mounted = true; + } + }, + p(new_ctx, dirty) { + ctx = new_ctx; + if ((!current || dirty & /*date*/ 1) && t0_value !== (t0_value = /*date*/ ctx[0].format("D") + "")) set_data(t0, t0_value); + + if (dirty & /*metadata*/ 128) { + each_value = /*metadata*/ ctx[7].dots; + let i; + + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context$2(ctx, each_value, i); + + if (each_blocks[i]) { + each_blocks[i].p(child_ctx, dirty); + transition_in(each_blocks[i], 1); + } else { + each_blocks[i] = create_each_block$2(child_ctx); + each_blocks[i].c(); + transition_in(each_blocks[i], 1); + each_blocks[i].m(div0, null); + } + } + + group_outros(); + + for (i = each_value.length; i < each_blocks.length; i += 1) { + out(i); + } + + check_outros(); + } + + set_attributes(div1, div1_data = get_spread_update(div1_levels, [ + (!current || dirty & /*metadata*/ 128 && div1_class_value !== (div1_class_value = `day ${/*metadata*/ ctx[7].classes.join(" ")}`)) && { class: div1_class_value }, + dirty & /*metadata*/ 128 && (/*metadata*/ ctx[7].dataAttributes || {}) + ])); + + toggle_class(div1, "active", /*selectedId*/ ctx[6] === getDateUID_1(/*date*/ ctx[0], "day")); + toggle_class(div1, "adjacent-month", !/*date*/ ctx[0].isSame(/*displayedMonth*/ ctx[5], "month")); + toggle_class(div1, "today", /*date*/ ctx[0].isSame(/*today*/ ctx[4], "day")); + toggle_class(div1, "svelte-q3wqg9", true); + }, + i(local) { + if (current) return; + + for (let i = 0; i < each_value.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + o(local) { + each_blocks = each_blocks.filter(Boolean); + + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + d(detaching) { + if (detaching) detach(div1); + destroy_each(each_blocks, detaching); + mounted = false; + run_all(dispose); + } + }; +} + +function create_fragment$4(ctx) { + let td; + let metadataresolver; + let current; + + metadataresolver = new MetadataResolver({ + props: { + metadata: /*metadata*/ ctx[7], + $$slots: { + default: [ + create_default_slot$1, + ({ metadata }) => ({ 7: metadata }), + ({ metadata }) => metadata ? 128 : 0 + ] + }, + $$scope: { ctx } + } + }); + + return { + c() { + td = element("td"); + create_component(metadataresolver.$$.fragment); + }, + m(target, anchor) { + insert(target, td, anchor); + mount_component(metadataresolver, td, null); + current = true; + }, + p(ctx, [dirty]) { + const metadataresolver_changes = {}; + if (dirty & /*metadata*/ 128) metadataresolver_changes.metadata = /*metadata*/ ctx[7]; + + if (dirty & /*$$scope, metadata, selectedId, date, displayedMonth, today, onClick, onContextMenu, onHover*/ 16639) { + metadataresolver_changes.$$scope = { dirty, ctx }; + } + + metadataresolver.$set(metadataresolver_changes); + }, + i(local) { + if (current) return; + transition_in(metadataresolver.$$.fragment, local); + current = true; + }, + o(local) { + transition_out(metadataresolver.$$.fragment, local); + current = false; + }, + d(detaching) { + if (detaching) detach(td); + destroy_component(metadataresolver); + } + }; +} + +function instance$4($$self, $$props, $$invalidate) { + + + let { date } = $$props; + let { metadata } = $$props; + let { onHover } = $$props; + let { onClick } = $$props; + let { onContextMenu } = $$props; + let { today } = $$props; + let { displayedMonth = null } = $$props; + let { selectedId = null } = $$props; + const click_handler = e => onClick(date, isMetaPressed(e)); + const contextmenu_handler = e => onContextMenu(date, e); + const pointerover_handler = e => onHover(date, e.target, isMetaPressed(e)); + + $$self.$$set = $$props => { + if ("date" in $$props) $$invalidate(0, date = $$props.date); + if ("metadata" in $$props) $$invalidate(7, metadata = $$props.metadata); + if ("onHover" in $$props) $$invalidate(1, onHover = $$props.onHover); + if ("onClick" in $$props) $$invalidate(2, onClick = $$props.onClick); + if ("onContextMenu" in $$props) $$invalidate(3, onContextMenu = $$props.onContextMenu); + if ("today" in $$props) $$invalidate(4, today = $$props.today); + if ("displayedMonth" in $$props) $$invalidate(5, displayedMonth = $$props.displayedMonth); + if ("selectedId" in $$props) $$invalidate(6, selectedId = $$props.selectedId); + }; + + return [ + date, + onHover, + onClick, + onContextMenu, + today, + displayedMonth, + selectedId, + metadata, + click_handler, + contextmenu_handler, + pointerover_handler + ]; +} + +class Day extends SvelteComponent { + constructor(options) { + super(); + if (!document.getElementById("svelte-q3wqg9-style")) add_css$4(); + + init(this, options, instance$4, create_fragment$4, not_equal, { + date: 0, + metadata: 7, + onHover: 1, + onClick: 2, + onContextMenu: 3, + today: 4, + displayedMonth: 5, + selectedId: 6 + }); + } +} + +/* src/components/Arrow.svelte generated by Svelte v3.35.0 */ + +function add_css$3() { + var style = element("style"); + style.id = "svelte-156w7na-style"; + style.textContent = ".arrow.svelte-156w7na.svelte-156w7na{align-items:center;cursor:pointer;display:flex;justify-content:center;width:24px}.arrow.is-mobile.svelte-156w7na.svelte-156w7na{width:32px}.right.svelte-156w7na.svelte-156w7na{transform:rotate(180deg)}.arrow.svelte-156w7na svg.svelte-156w7na{color:var(--color-arrow);height:16px;width:16px}"; + append(document.head, style); +} + +function create_fragment$3(ctx) { + let div; + let svg; + let path; + let mounted; + let dispose; + + return { + c() { + div = element("div"); + svg = svg_element("svg"); + path = svg_element("path"); + attr(path, "fill", "currentColor"); + attr(path, "d", "M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"); + attr(svg, "focusable", "false"); + attr(svg, "role", "img"); + attr(svg, "xmlns", "http://www.w3.org/2000/svg"); + attr(svg, "viewBox", "0 0 320 512"); + attr(svg, "class", "svelte-156w7na"); + attr(div, "class", "arrow svelte-156w7na"); + attr(div, "aria-label", /*tooltip*/ ctx[1]); + toggle_class(div, "is-mobile", /*isMobile*/ ctx[3]); + toggle_class(div, "right", /*direction*/ ctx[2] === "right"); + }, + m(target, anchor) { + insert(target, div, anchor); + append(div, svg); + append(svg, path); + + if (!mounted) { + dispose = listen(div, "click", function () { + if (is_function(/*onClick*/ ctx[0])) /*onClick*/ ctx[0].apply(this, arguments); + }); + + mounted = true; + } + }, + p(new_ctx, [dirty]) { + ctx = new_ctx; + + if (dirty & /*tooltip*/ 2) { + attr(div, "aria-label", /*tooltip*/ ctx[1]); + } + + if (dirty & /*direction*/ 4) { + toggle_class(div, "right", /*direction*/ ctx[2] === "right"); + } + }, + i: noop, + o: noop, + d(detaching) { + if (detaching) detach(div); + mounted = false; + dispose(); + } + }; +} + +function instance$3($$self, $$props, $$invalidate) { + let { onClick } = $$props; + let { tooltip } = $$props; + let { direction } = $$props; + + // eslint-disable-next-line @typescript-eslint/no-explicit-any + let isMobile = window.app.isMobile; + + $$self.$$set = $$props => { + if ("onClick" in $$props) $$invalidate(0, onClick = $$props.onClick); + if ("tooltip" in $$props) $$invalidate(1, tooltip = $$props.tooltip); + if ("direction" in $$props) $$invalidate(2, direction = $$props.direction); + }; + + return [onClick, tooltip, direction, isMobile]; +} + +class Arrow extends SvelteComponent { + constructor(options) { + super(); + if (!document.getElementById("svelte-156w7na-style")) add_css$3(); + init(this, options, instance$3, create_fragment$3, safe_not_equal, { onClick: 0, tooltip: 1, direction: 2 }); + } +} + +/* src/components/Nav.svelte generated by Svelte v3.35.0 */ + +function add_css$2() { + var style = element("style"); + style.id = "svelte-1vwr9dd-style"; + style.textContent = ".nav.svelte-1vwr9dd.svelte-1vwr9dd{align-items:center;display:flex;margin:0.6em 0 1em;padding:0 8px;width:100%}.nav.is-mobile.svelte-1vwr9dd.svelte-1vwr9dd{padding:0}.title.svelte-1vwr9dd.svelte-1vwr9dd{color:var(--color-text-title);font-size:1.5em;margin:0}.is-mobile.svelte-1vwr9dd .title.svelte-1vwr9dd{font-size:1.3em}.month.svelte-1vwr9dd.svelte-1vwr9dd{font-weight:500;text-transform:capitalize}.year.svelte-1vwr9dd.svelte-1vwr9dd{color:var(--interactive-accent)}.right-nav.svelte-1vwr9dd.svelte-1vwr9dd{display:flex;justify-content:center;margin-left:auto}.reset-button.svelte-1vwr9dd.svelte-1vwr9dd{cursor:pointer;border-radius:4px;color:var(--text-muted);font-size:0.7em;font-weight:600;letter-spacing:1px;margin:0 4px;padding:0px 4px;text-transform:uppercase}.is-mobile.svelte-1vwr9dd .reset-button.svelte-1vwr9dd{display:none}"; + append(document.head, style); +} + +function create_fragment$2(ctx) { + let div2; + let h3; + let span0; + let t0_value = /*displayedMonth*/ ctx[0].format("MMM") + ""; + let t0; + let t1; + let span1; + let t2_value = /*displayedMonth*/ ctx[0].format("YYYY") + ""; + let t2; + let t3; + let div1; + let arrow0; + let t4; + let div0; + let t6; + let arrow1; + let current; + let mounted; + let dispose; + + arrow0 = new Arrow({ + props: { + direction: "left", + onClick: /*decrementDisplayedMonth*/ ctx[3], + tooltip: "Previous Month" + } + }); + + arrow1 = new Arrow({ + props: { + direction: "right", + onClick: /*incrementDisplayedMonth*/ ctx[2], + tooltip: "Next Month" + } + }); + + return { + c() { + div2 = element("div"); + h3 = element("h3"); + span0 = element("span"); + t0 = text(t0_value); + t1 = space(); + span1 = element("span"); + t2 = text(t2_value); + t3 = space(); + div1 = element("div"); + create_component(arrow0.$$.fragment); + t4 = space(); + div0 = element("div"); + div0.textContent = `${/*todayDisplayStr*/ ctx[4]}`; + t6 = space(); + create_component(arrow1.$$.fragment); + attr(span0, "class", "month svelte-1vwr9dd"); + attr(span1, "class", "year svelte-1vwr9dd"); + attr(h3, "class", "title svelte-1vwr9dd"); + attr(div0, "class", "reset-button svelte-1vwr9dd"); + attr(div1, "class", "right-nav svelte-1vwr9dd"); + attr(div2, "class", "nav svelte-1vwr9dd"); + toggle_class(div2, "is-mobile", /*isMobile*/ ctx[5]); + }, + m(target, anchor) { + insert(target, div2, anchor); + append(div2, h3); + append(h3, span0); + append(span0, t0); + append(h3, t1); + append(h3, span1); + append(span1, t2); + append(div2, t3); + append(div2, div1); + mount_component(arrow0, div1, null); + append(div1, t4); + append(div1, div0); + append(div1, t6); + mount_component(arrow1, div1, null); + current = true; + + if (!mounted) { + dispose = [ + listen(h3, "click", function () { + if (is_function(/*resetDisplayedMonth*/ ctx[1])) /*resetDisplayedMonth*/ ctx[1].apply(this, arguments); + }), + listen(div0, "click", function () { + if (is_function(/*resetDisplayedMonth*/ ctx[1])) /*resetDisplayedMonth*/ ctx[1].apply(this, arguments); + }) + ]; + + mounted = true; + } + }, + p(new_ctx, [dirty]) { + ctx = new_ctx; + if ((!current || dirty & /*displayedMonth*/ 1) && t0_value !== (t0_value = /*displayedMonth*/ ctx[0].format("MMM") + "")) set_data(t0, t0_value); + if ((!current || dirty & /*displayedMonth*/ 1) && t2_value !== (t2_value = /*displayedMonth*/ ctx[0].format("YYYY") + "")) set_data(t2, t2_value); + const arrow0_changes = {}; + if (dirty & /*decrementDisplayedMonth*/ 8) arrow0_changes.onClick = /*decrementDisplayedMonth*/ ctx[3]; + arrow0.$set(arrow0_changes); + const arrow1_changes = {}; + if (dirty & /*incrementDisplayedMonth*/ 4) arrow1_changes.onClick = /*incrementDisplayedMonth*/ ctx[2]; + arrow1.$set(arrow1_changes); + }, + i(local) { + if (current) return; + transition_in(arrow0.$$.fragment, local); + transition_in(arrow1.$$.fragment, local); + current = true; + }, + o(local) { + transition_out(arrow0.$$.fragment, local); + transition_out(arrow1.$$.fragment, local); + current = false; + }, + d(detaching) { + if (detaching) detach(div2); + destroy_component(arrow0); + destroy_component(arrow1); + mounted = false; + run_all(dispose); + } + }; +} + +function instance$2($$self, $$props, $$invalidate) { + + let { displayedMonth } = $$props; + let { today } = $$props; + let { resetDisplayedMonth } = $$props; + let { incrementDisplayedMonth } = $$props; + let { decrementDisplayedMonth } = $$props; + + // Get the word 'Today' but localized to the current language + const todayDisplayStr = today.calendar().split(/\d|\s/)[0]; + + // eslint-disable-next-line @typescript-eslint/no-explicit-any + let isMobile = window.app.isMobile; + + $$self.$$set = $$props => { + if ("displayedMonth" in $$props) $$invalidate(0, displayedMonth = $$props.displayedMonth); + if ("today" in $$props) $$invalidate(6, today = $$props.today); + if ("resetDisplayedMonth" in $$props) $$invalidate(1, resetDisplayedMonth = $$props.resetDisplayedMonth); + if ("incrementDisplayedMonth" in $$props) $$invalidate(2, incrementDisplayedMonth = $$props.incrementDisplayedMonth); + if ("decrementDisplayedMonth" in $$props) $$invalidate(3, decrementDisplayedMonth = $$props.decrementDisplayedMonth); + }; + + return [ + displayedMonth, + resetDisplayedMonth, + incrementDisplayedMonth, + decrementDisplayedMonth, + todayDisplayStr, + isMobile, + today + ]; +} + +class Nav extends SvelteComponent { + constructor(options) { + super(); + if (!document.getElementById("svelte-1vwr9dd-style")) add_css$2(); + + init(this, options, instance$2, create_fragment$2, safe_not_equal, { + displayedMonth: 0, + today: 6, + resetDisplayedMonth: 1, + incrementDisplayedMonth: 2, + decrementDisplayedMonth: 3 + }); + } +} + +/* src/components/WeekNum.svelte generated by Svelte v3.35.0 */ + +function add_css$1() { + var style = element("style"); + style.id = "svelte-egt0yd-style"; + style.textContent = "td.svelte-egt0yd{border-right:1px solid var(--background-modifier-border)}.week-num.svelte-egt0yd{background-color:var(--color-background-weeknum);border-radius:4px;color:var(--color-text-weeknum);cursor:pointer;font-size:0.65em;height:100%;padding:4px;text-align:center;transition:background-color 0.1s ease-in, color 0.1s ease-in;vertical-align:baseline}.week-num.svelte-egt0yd:hover{background-color:var(--interactive-hover)}.week-num.active.svelte-egt0yd:hover{background-color:var(--interactive-accent-hover)}.active.svelte-egt0yd{color:var(--text-on-accent);background-color:var(--interactive-accent)}.dot-container.svelte-egt0yd{display:flex;flex-wrap:wrap;justify-content:center;line-height:6px;min-height:6px}"; + append(document.head, style); +} + +function get_each_context$1(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[11] = list[i]; + return child_ctx; +} + +// (35:8) {#each metadata.dots as dot} +function create_each_block$1(ctx) { + let dot; + let current; + const dot_spread_levels = [/*dot*/ ctx[11]]; + let dot_props = {}; + + for (let i = 0; i < dot_spread_levels.length; i += 1) { + dot_props = assign(dot_props, dot_spread_levels[i]); + } + + dot = new Dot({ props: dot_props }); + + return { + c() { + create_component(dot.$$.fragment); + }, + m(target, anchor) { + mount_component(dot, target, anchor); + current = true; + }, + p(ctx, dirty) { + const dot_changes = (dirty & /*metadata*/ 64) + ? get_spread_update(dot_spread_levels, [get_spread_object(/*dot*/ ctx[11])]) + : {}; + + dot.$set(dot_changes); + }, + i(local) { + if (current) return; + transition_in(dot.$$.fragment, local); + current = true; + }, + o(local) { + transition_out(dot.$$.fragment, local); + current = false; + }, + d(detaching) { + destroy_component(dot, detaching); + } + }; +} + +// (24:2) +function create_default_slot(ctx) { + let div1; + let t0; + let t1; + let div0; + let div1_class_value; + let current; + let mounted; + let dispose; + let each_value = /*metadata*/ ctx[6].dots; + let each_blocks = []; + + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i)); + } + + const out = i => transition_out(each_blocks[i], 1, 1, () => { + each_blocks[i] = null; + }); + + return { + c() { + div1 = element("div"); + t0 = text(/*weekNum*/ ctx[0]); + t1 = space(); + div0 = element("div"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + attr(div0, "class", "dot-container svelte-egt0yd"); + attr(div1, "class", div1_class_value = "" + (null_to_empty(`week-num ${/*metadata*/ ctx[6].classes.join(" ")}`) + " svelte-egt0yd")); + toggle_class(div1, "active", /*selectedId*/ ctx[5] === getDateUID_1(/*days*/ ctx[1][0], "week")); + }, + m(target, anchor) { + insert(target, div1, anchor); + append(div1, t0); + append(div1, t1); + append(div1, div0); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(div0, null); + } + + current = true; + + if (!mounted) { + dispose = [ + listen(div1, "click", function () { + if (is_function(/*onClick*/ ctx[3] && /*click_handler*/ ctx[8])) (/*onClick*/ ctx[3] && /*click_handler*/ ctx[8]).apply(this, arguments); + }), + listen(div1, "contextmenu", function () { + if (is_function(/*onContextMenu*/ ctx[4] && /*contextmenu_handler*/ ctx[9])) (/*onContextMenu*/ ctx[4] && /*contextmenu_handler*/ ctx[9]).apply(this, arguments); + }), + listen(div1, "pointerover", function () { + if (is_function(/*onHover*/ ctx[2] && /*pointerover_handler*/ ctx[10])) (/*onHover*/ ctx[2] && /*pointerover_handler*/ ctx[10]).apply(this, arguments); + }) + ]; + + mounted = true; + } + }, + p(new_ctx, dirty) { + ctx = new_ctx; + if (!current || dirty & /*weekNum*/ 1) set_data(t0, /*weekNum*/ ctx[0]); + + if (dirty & /*metadata*/ 64) { + each_value = /*metadata*/ ctx[6].dots; + let i; + + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context$1(ctx, each_value, i); + + if (each_blocks[i]) { + each_blocks[i].p(child_ctx, dirty); + transition_in(each_blocks[i], 1); + } else { + each_blocks[i] = create_each_block$1(child_ctx); + each_blocks[i].c(); + transition_in(each_blocks[i], 1); + each_blocks[i].m(div0, null); + } + } + + group_outros(); + + for (i = each_value.length; i < each_blocks.length; i += 1) { + out(i); + } + + check_outros(); + } + + if (!current || dirty & /*metadata*/ 64 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`week-num ${/*metadata*/ ctx[6].classes.join(" ")}`) + " svelte-egt0yd"))) { + attr(div1, "class", div1_class_value); + } + + if (dirty & /*metadata, selectedId, getDateUID, days*/ 98) { + toggle_class(div1, "active", /*selectedId*/ ctx[5] === getDateUID_1(/*days*/ ctx[1][0], "week")); + } + }, + i(local) { + if (current) return; + + for (let i = 0; i < each_value.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + o(local) { + each_blocks = each_blocks.filter(Boolean); + + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + d(detaching) { + if (detaching) detach(div1); + destroy_each(each_blocks, detaching); + mounted = false; + run_all(dispose); + } + }; +} + +function create_fragment$1(ctx) { + let td; + let metadataresolver; + let current; + + metadataresolver = new MetadataResolver({ + props: { + metadata: /*metadata*/ ctx[6], + $$slots: { + default: [ + create_default_slot, + ({ metadata }) => ({ 6: metadata }), + ({ metadata }) => metadata ? 64 : 0 + ] + }, + $$scope: { ctx } + } + }); + + return { + c() { + td = element("td"); + create_component(metadataresolver.$$.fragment); + attr(td, "class", "svelte-egt0yd"); + }, + m(target, anchor) { + insert(target, td, anchor); + mount_component(metadataresolver, td, null); + current = true; + }, + p(ctx, [dirty]) { + const metadataresolver_changes = {}; + if (dirty & /*metadata*/ 64) metadataresolver_changes.metadata = /*metadata*/ ctx[6]; + + if (dirty & /*$$scope, metadata, selectedId, days, onClick, startOfWeek, onContextMenu, onHover, weekNum*/ 16639) { + metadataresolver_changes.$$scope = { dirty, ctx }; + } + + metadataresolver.$set(metadataresolver_changes); + }, + i(local) { + if (current) return; + transition_in(metadataresolver.$$.fragment, local); + current = true; + }, + o(local) { + transition_out(metadataresolver.$$.fragment, local); + current = false; + }, + d(detaching) { + if (detaching) detach(td); + destroy_component(metadataresolver); + } + }; +} + +function instance$1($$self, $$props, $$invalidate) { + + + let { weekNum } = $$props; + let { days } = $$props; + let { metadata } = $$props; + let { onHover } = $$props; + let { onClick } = $$props; + let { onContextMenu } = $$props; + let { selectedId = null } = $$props; + let startOfWeek; + const click_handler = e => onClick(startOfWeek, isMetaPressed(e)); + const contextmenu_handler = e => onContextMenu(days[0], e); + const pointerover_handler = e => onHover(startOfWeek, e.target, isMetaPressed(e)); + + $$self.$$set = $$props => { + if ("weekNum" in $$props) $$invalidate(0, weekNum = $$props.weekNum); + if ("days" in $$props) $$invalidate(1, days = $$props.days); + if ("metadata" in $$props) $$invalidate(6, metadata = $$props.metadata); + if ("onHover" in $$props) $$invalidate(2, onHover = $$props.onHover); + if ("onClick" in $$props) $$invalidate(3, onClick = $$props.onClick); + if ("onContextMenu" in $$props) $$invalidate(4, onContextMenu = $$props.onContextMenu); + if ("selectedId" in $$props) $$invalidate(5, selectedId = $$props.selectedId); + }; + + $$self.$$.update = () => { + if ($$self.$$.dirty & /*days*/ 2) { + $$invalidate(7, startOfWeek = getStartOfWeek(days)); + } + }; + + return [ + weekNum, + days, + onHover, + onClick, + onContextMenu, + selectedId, + metadata, + startOfWeek, + click_handler, + contextmenu_handler, + pointerover_handler + ]; +} + +class WeekNum extends SvelteComponent { + constructor(options) { + super(); + if (!document.getElementById("svelte-egt0yd-style")) add_css$1(); + + init(this, options, instance$1, create_fragment$1, not_equal, { + weekNum: 0, + days: 1, + metadata: 6, + onHover: 2, + onClick: 3, + onContextMenu: 4, + selectedId: 5 + }); + } +} + +async function metadataReducer(promisedMetadata) { + const meta = { + dots: [], + classes: [], + dataAttributes: {}, + }; + const metas = await Promise.all(promisedMetadata); + return metas.reduce((acc, meta) => ({ + classes: [...acc.classes, ...(meta.classes || [])], + dataAttributes: Object.assign(acc.dataAttributes, meta.dataAttributes), + dots: [...acc.dots, ...(meta.dots || [])], + }), meta); +} +function getDailyMetadata(sources, date, ..._args) { + return metadataReducer(sources.map((source) => source.getDailyMetadata(date))); +} +function getWeeklyMetadata(sources, date, ..._args) { + return metadataReducer(sources.map((source) => source.getWeeklyMetadata(date))); +} + +/* src/components/Calendar.svelte generated by Svelte v3.35.0 */ + +function add_css() { + var style = element("style"); + style.id = "svelte-pcimu8-style"; + style.textContent = ".container.svelte-pcimu8{--color-background-heading:transparent;--color-background-day:transparent;--color-background-weeknum:transparent;--color-background-weekend:transparent;--color-dot:var(--text-muted);--color-arrow:var(--text-muted);--color-button:var(--text-muted);--color-text-title:var(--text-normal);--color-text-heading:var(--text-muted);--color-text-day:var(--text-normal);--color-text-today:var(--interactive-accent);--color-text-weeknum:var(--text-muted)}.container.svelte-pcimu8{padding:0 8px}.container.is-mobile.svelte-pcimu8{padding:0}th.svelte-pcimu8{text-align:center}.weekend.svelte-pcimu8{background-color:var(--color-background-weekend)}.calendar.svelte-pcimu8{border-collapse:collapse;width:100%}th.svelte-pcimu8{background-color:var(--color-background-heading);color:var(--color-text-heading);font-size:0.6em;letter-spacing:1px;padding:4px;text-transform:uppercase}"; + append(document.head, style); +} + +function get_each_context(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[18] = list[i]; + return child_ctx; +} + +function get_each_context_1(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[21] = list[i]; + return child_ctx; +} + +function get_each_context_2(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[24] = list[i]; + return child_ctx; +} + +function get_each_context_3(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[27] = list[i]; + return child_ctx; +} + +// (55:6) {#if showWeekNums} +function create_if_block_2(ctx) { + let col; + + return { + c() { + col = element("col"); + }, + m(target, anchor) { + insert(target, col, anchor); + }, + d(detaching) { + if (detaching) detach(col); + } + }; +} + +// (58:6) {#each month[1].days as date} +function create_each_block_3(ctx) { + let col; + + return { + c() { + col = element("col"); + attr(col, "class", "svelte-pcimu8"); + toggle_class(col, "weekend", isWeekend(/*date*/ ctx[27])); + }, + m(target, anchor) { + insert(target, col, anchor); + }, + p(ctx, dirty) { + if (dirty & /*isWeekend, month*/ 16384) { + toggle_class(col, "weekend", isWeekend(/*date*/ ctx[27])); + } + }, + d(detaching) { + if (detaching) detach(col); + } + }; +} + +// (64:8) {#if showWeekNums} +function create_if_block_1(ctx) { + let th; + + return { + c() { + th = element("th"); + th.textContent = "W"; + attr(th, "class", "svelte-pcimu8"); + }, + m(target, anchor) { + insert(target, th, anchor); + }, + d(detaching) { + if (detaching) detach(th); + } + }; +} + +// (67:8) {#each daysOfWeek as dayOfWeek} +function create_each_block_2(ctx) { + let th; + let t_value = /*dayOfWeek*/ ctx[24] + ""; + let t; + + return { + c() { + th = element("th"); + t = text(t_value); + attr(th, "class", "svelte-pcimu8"); + }, + m(target, anchor) { + insert(target, th, anchor); + append(th, t); + }, + p(ctx, dirty) { + if (dirty & /*daysOfWeek*/ 32768 && t_value !== (t_value = /*dayOfWeek*/ ctx[24] + "")) set_data(t, t_value); + }, + d(detaching) { + if (detaching) detach(th); + } + }; +} + +// (75:10) {#if showWeekNums} +function create_if_block(ctx) { + let weeknum; + let current; + + const weeknum_spread_levels = [ + /*week*/ ctx[18], + { + metadata: getWeeklyMetadata(/*sources*/ ctx[8], /*week*/ ctx[18].days[0], /*today*/ ctx[10]) + }, + { onClick: /*onClickWeek*/ ctx[7] }, + { + onContextMenu: /*onContextMenuWeek*/ ctx[5] + }, + { onHover: /*onHoverWeek*/ ctx[3] }, + { selectedId: /*selectedId*/ ctx[9] } + ]; + + let weeknum_props = {}; + + for (let i = 0; i < weeknum_spread_levels.length; i += 1) { + weeknum_props = assign(weeknum_props, weeknum_spread_levels[i]); + } + + weeknum = new WeekNum({ props: weeknum_props }); + + return { + c() { + create_component(weeknum.$$.fragment); + }, + m(target, anchor) { + mount_component(weeknum, target, anchor); + current = true; + }, + p(ctx, dirty) { + const weeknum_changes = (dirty & /*month, getWeeklyMetadata, sources, today, onClickWeek, onContextMenuWeek, onHoverWeek, selectedId*/ 18344) + ? get_spread_update(weeknum_spread_levels, [ + dirty & /*month*/ 16384 && get_spread_object(/*week*/ ctx[18]), + dirty & /*getWeeklyMetadata, sources, month, today*/ 17664 && { + metadata: getWeeklyMetadata(/*sources*/ ctx[8], /*week*/ ctx[18].days[0], /*today*/ ctx[10]) + }, + dirty & /*onClickWeek*/ 128 && { onClick: /*onClickWeek*/ ctx[7] }, + dirty & /*onContextMenuWeek*/ 32 && { + onContextMenu: /*onContextMenuWeek*/ ctx[5] + }, + dirty & /*onHoverWeek*/ 8 && { onHover: /*onHoverWeek*/ ctx[3] }, + dirty & /*selectedId*/ 512 && { selectedId: /*selectedId*/ ctx[9] } + ]) + : {}; + + weeknum.$set(weeknum_changes); + }, + i(local) { + if (current) return; + transition_in(weeknum.$$.fragment, local); + current = true; + }, + o(local) { + transition_out(weeknum.$$.fragment, local); + current = false; + }, + d(detaching) { + destroy_component(weeknum, detaching); + } + }; +} + +// (85:10) {#each week.days as day (day.format())} +function create_each_block_1(key_1, ctx) { + let first; + let day; + let current; + + day = new Day({ + props: { + date: /*day*/ ctx[21], + today: /*today*/ ctx[10], + displayedMonth: /*displayedMonth*/ ctx[0], + onClick: /*onClickDay*/ ctx[6], + onContextMenu: /*onContextMenuDay*/ ctx[4], + onHover: /*onHoverDay*/ ctx[2], + metadata: getDailyMetadata(/*sources*/ ctx[8], /*day*/ ctx[21], /*today*/ ctx[10]), + selectedId: /*selectedId*/ ctx[9] + } + }); + + return { + key: key_1, + first: null, + c() { + first = empty(); + create_component(day.$$.fragment); + this.first = first; + }, + m(target, anchor) { + insert(target, first, anchor); + mount_component(day, target, anchor); + current = true; + }, + p(new_ctx, dirty) { + ctx = new_ctx; + const day_changes = {}; + if (dirty & /*month*/ 16384) day_changes.date = /*day*/ ctx[21]; + if (dirty & /*today*/ 1024) day_changes.today = /*today*/ ctx[10]; + if (dirty & /*displayedMonth*/ 1) day_changes.displayedMonth = /*displayedMonth*/ ctx[0]; + if (dirty & /*onClickDay*/ 64) day_changes.onClick = /*onClickDay*/ ctx[6]; + if (dirty & /*onContextMenuDay*/ 16) day_changes.onContextMenu = /*onContextMenuDay*/ ctx[4]; + if (dirty & /*onHoverDay*/ 4) day_changes.onHover = /*onHoverDay*/ ctx[2]; + if (dirty & /*sources, month, today*/ 17664) day_changes.metadata = getDailyMetadata(/*sources*/ ctx[8], /*day*/ ctx[21], /*today*/ ctx[10]); + if (dirty & /*selectedId*/ 512) day_changes.selectedId = /*selectedId*/ ctx[9]; + day.$set(day_changes); + }, + i(local) { + if (current) return; + transition_in(day.$$.fragment, local); + current = true; + }, + o(local) { + transition_out(day.$$.fragment, local); + current = false; + }, + d(detaching) { + if (detaching) detach(first); + destroy_component(day, detaching); + } + }; +} + +// (73:6) {#each month as week (week.weekNum)} +function create_each_block(key_1, ctx) { + let tr; + let t0; + let each_blocks = []; + let each_1_lookup = new Map(); + let t1; + let current; + let if_block = /*showWeekNums*/ ctx[1] && create_if_block(ctx); + let each_value_1 = /*week*/ ctx[18].days; + const get_key = ctx => /*day*/ ctx[21].format(); + + for (let i = 0; i < each_value_1.length; i += 1) { + let child_ctx = get_each_context_1(ctx, each_value_1, i); + let key = get_key(child_ctx); + each_1_lookup.set(key, each_blocks[i] = create_each_block_1(key, child_ctx)); + } + + return { + key: key_1, + first: null, + c() { + tr = element("tr"); + if (if_block) if_block.c(); + t0 = space(); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + t1 = space(); + this.first = tr; + }, + m(target, anchor) { + insert(target, tr, anchor); + if (if_block) if_block.m(tr, null); + append(tr, t0); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(tr, null); + } + + append(tr, t1); + current = true; + }, + p(new_ctx, dirty) { + ctx = new_ctx; + + if (/*showWeekNums*/ ctx[1]) { + if (if_block) { + if_block.p(ctx, dirty); + + if (dirty & /*showWeekNums*/ 2) { + transition_in(if_block, 1); + } + } else { + if_block = create_if_block(ctx); + if_block.c(); + transition_in(if_block, 1); + if_block.m(tr, t0); + } + } else if (if_block) { + group_outros(); + + transition_out(if_block, 1, 1, () => { + if_block = null; + }); + + check_outros(); + } + + if (dirty & /*month, today, displayedMonth, onClickDay, onContextMenuDay, onHoverDay, getDailyMetadata, sources, selectedId*/ 18261) { + each_value_1 = /*week*/ ctx[18].days; + group_outros(); + each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value_1, each_1_lookup, tr, outro_and_destroy_block, create_each_block_1, t1, get_each_context_1); + check_outros(); + } + }, + i(local) { + if (current) return; + transition_in(if_block); + + for (let i = 0; i < each_value_1.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + o(local) { + transition_out(if_block); + + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + d(detaching) { + if (detaching) detach(tr); + if (if_block) if_block.d(); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].d(); + } + } + }; +} + +function create_fragment$7(ctx) { + let div; + let nav; + let t0; + let table; + let colgroup; + let t1; + let t2; + let thead; + let tr; + let t3; + let t4; + let tbody; + let each_blocks = []; + let each2_lookup = new Map(); + let current; + + nav = new Nav({ + props: { + today: /*today*/ ctx[10], + displayedMonth: /*displayedMonth*/ ctx[0], + incrementDisplayedMonth: /*incrementDisplayedMonth*/ ctx[11], + decrementDisplayedMonth: /*decrementDisplayedMonth*/ ctx[12], + resetDisplayedMonth: /*resetDisplayedMonth*/ ctx[13] + } + }); + + let if_block0 = /*showWeekNums*/ ctx[1] && create_if_block_2(); + let each_value_3 = /*month*/ ctx[14][1].days; + let each_blocks_2 = []; + + for (let i = 0; i < each_value_3.length; i += 1) { + each_blocks_2[i] = create_each_block_3(get_each_context_3(ctx, each_value_3, i)); + } + + let if_block1 = /*showWeekNums*/ ctx[1] && create_if_block_1(); + let each_value_2 = /*daysOfWeek*/ ctx[15]; + let each_blocks_1 = []; + + for (let i = 0; i < each_value_2.length; i += 1) { + each_blocks_1[i] = create_each_block_2(get_each_context_2(ctx, each_value_2, i)); + } + + let each_value = /*month*/ ctx[14]; + const get_key = ctx => /*week*/ ctx[18].weekNum; + + for (let i = 0; i < each_value.length; i += 1) { + let child_ctx = get_each_context(ctx, each_value, i); + let key = get_key(child_ctx); + each2_lookup.set(key, each_blocks[i] = create_each_block(key, child_ctx)); + } + + return { + c() { + div = element("div"); + create_component(nav.$$.fragment); + t0 = space(); + table = element("table"); + colgroup = element("colgroup"); + if (if_block0) if_block0.c(); + t1 = space(); + + for (let i = 0; i < each_blocks_2.length; i += 1) { + each_blocks_2[i].c(); + } + + t2 = space(); + thead = element("thead"); + tr = element("tr"); + if (if_block1) if_block1.c(); + t3 = space(); + + for (let i = 0; i < each_blocks_1.length; i += 1) { + each_blocks_1[i].c(); + } + + t4 = space(); + tbody = element("tbody"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + attr(table, "class", "calendar svelte-pcimu8"); + attr(div, "id", "calendar-container"); + attr(div, "class", "container svelte-pcimu8"); + toggle_class(div, "is-mobile", /*isMobile*/ ctx[16]); + }, + m(target, anchor) { + insert(target, div, anchor); + mount_component(nav, div, null); + append(div, t0); + append(div, table); + append(table, colgroup); + if (if_block0) if_block0.m(colgroup, null); + append(colgroup, t1); + + for (let i = 0; i < each_blocks_2.length; i += 1) { + each_blocks_2[i].m(colgroup, null); + } + + append(table, t2); + append(table, thead); + append(thead, tr); + if (if_block1) if_block1.m(tr, null); + append(tr, t3); + + for (let i = 0; i < each_blocks_1.length; i += 1) { + each_blocks_1[i].m(tr, null); + } + + append(table, t4); + append(table, tbody); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(tbody, null); + } + + current = true; + }, + p(ctx, [dirty]) { + const nav_changes = {}; + if (dirty & /*today*/ 1024) nav_changes.today = /*today*/ ctx[10]; + if (dirty & /*displayedMonth*/ 1) nav_changes.displayedMonth = /*displayedMonth*/ ctx[0]; + nav.$set(nav_changes); + + if (/*showWeekNums*/ ctx[1]) { + if (if_block0) ; else { + if_block0 = create_if_block_2(); + if_block0.c(); + if_block0.m(colgroup, t1); + } + } else if (if_block0) { + if_block0.d(1); + if_block0 = null; + } + + if (dirty & /*isWeekend, month*/ 16384) { + each_value_3 = /*month*/ ctx[14][1].days; + let i; + + for (i = 0; i < each_value_3.length; i += 1) { + const child_ctx = get_each_context_3(ctx, each_value_3, i); + + if (each_blocks_2[i]) { + each_blocks_2[i].p(child_ctx, dirty); + } else { + each_blocks_2[i] = create_each_block_3(child_ctx); + each_blocks_2[i].c(); + each_blocks_2[i].m(colgroup, null); + } + } + + for (; i < each_blocks_2.length; i += 1) { + each_blocks_2[i].d(1); + } + + each_blocks_2.length = each_value_3.length; + } + + if (/*showWeekNums*/ ctx[1]) { + if (if_block1) ; else { + if_block1 = create_if_block_1(); + if_block1.c(); + if_block1.m(tr, t3); + } + } else if (if_block1) { + if_block1.d(1); + if_block1 = null; + } + + if (dirty & /*daysOfWeek*/ 32768) { + each_value_2 = /*daysOfWeek*/ ctx[15]; + let i; + + for (i = 0; i < each_value_2.length; i += 1) { + const child_ctx = get_each_context_2(ctx, each_value_2, i); + + if (each_blocks_1[i]) { + each_blocks_1[i].p(child_ctx, dirty); + } else { + each_blocks_1[i] = create_each_block_2(child_ctx); + each_blocks_1[i].c(); + each_blocks_1[i].m(tr, null); + } + } + + for (; i < each_blocks_1.length; i += 1) { + each_blocks_1[i].d(1); + } + + each_blocks_1.length = each_value_2.length; + } + + if (dirty & /*month, today, displayedMonth, onClickDay, onContextMenuDay, onHoverDay, getDailyMetadata, sources, selectedId, getWeeklyMetadata, onClickWeek, onContextMenuWeek, onHoverWeek, showWeekNums*/ 18431) { + each_value = /*month*/ ctx[14]; + group_outros(); + each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each2_lookup, tbody, outro_and_destroy_block, create_each_block, null, get_each_context); + check_outros(); + } + }, + i(local) { + if (current) return; + transition_in(nav.$$.fragment, local); + + for (let i = 0; i < each_value.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + o(local) { + transition_out(nav.$$.fragment, local); + + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + d(detaching) { + if (detaching) detach(div); + destroy_component(nav); + if (if_block0) if_block0.d(); + destroy_each(each_blocks_2, detaching); + if (if_block1) if_block1.d(); + destroy_each(each_blocks_1, detaching); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].d(); + } + } + }; +} + +function instance$7($$self, $$props, $$invalidate) { + + + let { localeData } = $$props; + let { showWeekNums = false } = $$props; + let { onHoverDay } = $$props; + let { onHoverWeek } = $$props; + let { onContextMenuDay } = $$props; + let { onContextMenuWeek } = $$props; + let { onClickDay } = $$props; + let { onClickWeek } = $$props; + let { sources = [] } = $$props; + let { selectedId } = $$props; + let { today = window.moment() } = $$props; + let { displayedMonth = today } = $$props; + let month; + let daysOfWeek; + + // eslint-disable-next-line @typescript-eslint/no-explicit-any + let isMobile = window.app.isMobile; + + function incrementDisplayedMonth() { + $$invalidate(0, displayedMonth = displayedMonth.clone().add(1, "month")); + } + + function decrementDisplayedMonth() { + $$invalidate(0, displayedMonth = displayedMonth.clone().subtract(1, "month")); + } + + function resetDisplayedMonth() { + $$invalidate(0, displayedMonth = today.clone()); + } + + $$self.$$set = $$props => { + if ("localeData" in $$props) $$invalidate(17, localeData = $$props.localeData); + if ("showWeekNums" in $$props) $$invalidate(1, showWeekNums = $$props.showWeekNums); + if ("onHoverDay" in $$props) $$invalidate(2, onHoverDay = $$props.onHoverDay); + if ("onHoverWeek" in $$props) $$invalidate(3, onHoverWeek = $$props.onHoverWeek); + if ("onContextMenuDay" in $$props) $$invalidate(4, onContextMenuDay = $$props.onContextMenuDay); + if ("onContextMenuWeek" in $$props) $$invalidate(5, onContextMenuWeek = $$props.onContextMenuWeek); + if ("onClickDay" in $$props) $$invalidate(6, onClickDay = $$props.onClickDay); + if ("onClickWeek" in $$props) $$invalidate(7, onClickWeek = $$props.onClickWeek); + if ("sources" in $$props) $$invalidate(8, sources = $$props.sources); + if ("selectedId" in $$props) $$invalidate(9, selectedId = $$props.selectedId); + if ("today" in $$props) $$invalidate(10, today = $$props.today); + if ("displayedMonth" in $$props) $$invalidate(0, displayedMonth = $$props.displayedMonth); + }; + + $$self.$$.update = () => { + if ($$self.$$.dirty & /*displayedMonth, localeData*/ 131073) { + $$invalidate(14, month = getMonth(displayedMonth, localeData)); + } + + if ($$self.$$.dirty & /*today, localeData*/ 132096) { + $$invalidate(15, daysOfWeek = getDaysOfWeek(today, localeData)); + } + }; + + return [ + displayedMonth, + showWeekNums, + onHoverDay, + onHoverWeek, + onContextMenuDay, + onContextMenuWeek, + onClickDay, + onClickWeek, + sources, + selectedId, + today, + incrementDisplayedMonth, + decrementDisplayedMonth, + resetDisplayedMonth, + month, + daysOfWeek, + isMobile, + localeData + ]; +} + +class Calendar$1 extends SvelteComponent { + constructor(options) { + super(); + if (!document.getElementById("svelte-pcimu8-style")) add_css(); + + init(this, options, instance$7, create_fragment$7, not_equal, { + localeData: 17, + showWeekNums: 1, + onHoverDay: 2, + onHoverWeek: 3, + onContextMenuDay: 4, + onContextMenuWeek: 5, + onClickDay: 6, + onClickWeek: 7, + sources: 8, + selectedId: 9, + today: 10, + displayedMonth: 0, + incrementDisplayedMonth: 11, + decrementDisplayedMonth: 12, + resetDisplayedMonth: 13 + }); + } + + get incrementDisplayedMonth() { + return this.$$.ctx[11]; + } + + get decrementDisplayedMonth() { + return this.$$.ctx[12]; + } + + get resetDisplayedMonth() { + return this.$$.ctx[13]; + } +} + +const langToMomentLocale = { + en: "en-gb", + zh: "zh-cn", + "zh-TW": "zh-tw", + ru: "ru", + ko: "ko", + it: "it", + id: "id", + ro: "ro", + "pt-BR": "pt-br", + cz: "cs", + da: "da", + de: "de", + es: "es", + fr: "fr", + no: "nn", + pl: "pl", + pt: "pt", + tr: "tr", + hi: "hi", + nl: "nl", + ar: "ar", + ja: "ja", +}; +const weekdays = [ + "sunday", + "monday", + "tuesday", + "wednesday", + "thursday", + "friday", + "saturday", +]; +function overrideGlobalMomentWeekStart(weekStart) { + const { moment } = window; + const currentLocale = moment.locale(); + // Save the initial locale weekspec so that we can restore + // it when toggling between the different options in settings. + if (!window._bundledLocaleWeekSpec) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + window._bundledLocaleWeekSpec = moment.localeData()._week; + } + if (weekStart === "locale") { + moment.updateLocale(currentLocale, { + week: window._bundledLocaleWeekSpec, + }); + } + else { + moment.updateLocale(currentLocale, { + week: { + dow: weekdays.indexOf(weekStart) || 0, + }, + }); + } +} +/** + * Sets the locale used by the calendar. This allows the calendar to + * default to the user's locale (e.g. Start Week on Sunday/Monday/Friday) + * + * @param localeOverride locale string (e.g. "en-US") + */ +function configureGlobalMomentLocale(localeOverride = "system-default", weekStart = "locale") { + var _a; + const obsidianLang = localStorage.getItem("language") || "en"; + const systemLang = (_a = navigator.language) === null || _a === void 0 ? void 0 : _a.toLowerCase(); + let momentLocale = langToMomentLocale[obsidianLang]; + if (localeOverride !== "system-default") { + momentLocale = localeOverride; + } + else if (systemLang.startsWith(obsidianLang)) { + // If the system locale is more specific (en-gb vs en), use the system locale. + momentLocale = systemLang; + } + const currentLocale = window.moment.locale(momentLocale); + console.debug(`[Calendar] Trying to switch Moment.js global locale to ${momentLocale}, got ${currentLocale}`); + overrideGlobalMomentWeekStart(weekStart); + return currentLocale; +} + +/* src/ui/Calendar.svelte generated by Svelte v3.35.0 */ + +function create_fragment(ctx) { + let calendarbase; + let updating_displayedMonth; + let current; + + function calendarbase_displayedMonth_binding(value) { + /*calendarbase_displayedMonth_binding*/ ctx[12](value); + } + + let calendarbase_props = { + sources: /*sources*/ ctx[1], + today: /*today*/ ctx[9], + onHoverDay: /*onHoverDay*/ ctx[2], + onHoverWeek: /*onHoverWeek*/ ctx[3], + onContextMenuDay: /*onContextMenuDay*/ ctx[6], + onContextMenuWeek: /*onContextMenuWeek*/ ctx[7], + onClickDay: /*onClickDay*/ ctx[4], + onClickWeek: /*onClickWeek*/ ctx[5], + localeData: /*today*/ ctx[9].localeData(), + selectedId: /*$activeFile*/ ctx[10], + showWeekNums: /*$settings*/ ctx[8].showWeeklyNote + }; + + if (/*displayedMonth*/ ctx[0] !== void 0) { + calendarbase_props.displayedMonth = /*displayedMonth*/ ctx[0]; + } + + calendarbase = new Calendar$1({ props: calendarbase_props }); + binding_callbacks$1.push(() => bind(calendarbase, "displayedMonth", calendarbase_displayedMonth_binding)); + + return { + c() { + create_component$1(calendarbase.$$.fragment); + }, + m(target, anchor) { + mount_component$1(calendarbase, target, anchor); + current = true; + }, + p(ctx, [dirty]) { + const calendarbase_changes = {}; + if (dirty & /*sources*/ 2) calendarbase_changes.sources = /*sources*/ ctx[1]; + if (dirty & /*today*/ 512) calendarbase_changes.today = /*today*/ ctx[9]; + if (dirty & /*onHoverDay*/ 4) calendarbase_changes.onHoverDay = /*onHoverDay*/ ctx[2]; + if (dirty & /*onHoverWeek*/ 8) calendarbase_changes.onHoverWeek = /*onHoverWeek*/ ctx[3]; + if (dirty & /*onContextMenuDay*/ 64) calendarbase_changes.onContextMenuDay = /*onContextMenuDay*/ ctx[6]; + if (dirty & /*onContextMenuWeek*/ 128) calendarbase_changes.onContextMenuWeek = /*onContextMenuWeek*/ ctx[7]; + if (dirty & /*onClickDay*/ 16) calendarbase_changes.onClickDay = /*onClickDay*/ ctx[4]; + if (dirty & /*onClickWeek*/ 32) calendarbase_changes.onClickWeek = /*onClickWeek*/ ctx[5]; + if (dirty & /*today*/ 512) calendarbase_changes.localeData = /*today*/ ctx[9].localeData(); + if (dirty & /*$activeFile*/ 1024) calendarbase_changes.selectedId = /*$activeFile*/ ctx[10]; + if (dirty & /*$settings*/ 256) calendarbase_changes.showWeekNums = /*$settings*/ ctx[8].showWeeklyNote; + + if (!updating_displayedMonth && dirty & /*displayedMonth*/ 1) { + updating_displayedMonth = true; + calendarbase_changes.displayedMonth = /*displayedMonth*/ ctx[0]; + add_flush_callback(() => updating_displayedMonth = false); + } + + calendarbase.$set(calendarbase_changes); + }, + i(local) { + if (current) return; + transition_in$1(calendarbase.$$.fragment, local); + current = true; + }, + o(local) { + transition_out$1(calendarbase.$$.fragment, local); + current = false; + }, + d(detaching) { + destroy_component$1(calendarbase, detaching); + } + }; +} + +function instance($$self, $$props, $$invalidate) { + let $settings; + let $activeFile; + component_subscribe($$self, settings, $$value => $$invalidate(8, $settings = $$value)); + component_subscribe($$self, activeFile, $$value => $$invalidate(10, $activeFile = $$value)); + + + let today; + let { displayedMonth = today } = $$props; + let { sources } = $$props; + let { onHoverDay } = $$props; + let { onHoverWeek } = $$props; + let { onClickDay } = $$props; + let { onClickWeek } = $$props; + let { onContextMenuDay } = $$props; + let { onContextMenuWeek } = $$props; + + function tick() { + $$invalidate(9, today = window.moment()); + } + + function getToday(settings) { + configureGlobalMomentLocale(settings.localeOverride, settings.weekStart); + dailyNotes.reindex(); + weeklyNotes.reindex(); + return window.moment(); + } + + // 1 minute heartbeat to keep `today` reflecting the current day + let heartbeat = setInterval( + () => { + tick(); + const isViewingCurrentMonth = displayedMonth.isSame(today, "day"); + + if (isViewingCurrentMonth) { + // if it's midnight on the last day of the month, this will + // update the display to show the new month. + $$invalidate(0, displayedMonth = today); + } + }, + 1000 * 60 + ); + + onDestroy(() => { + clearInterval(heartbeat); + }); + + function calendarbase_displayedMonth_binding(value) { + displayedMonth = value; + $$invalidate(0, displayedMonth); + } + + $$self.$$set = $$props => { + if ("displayedMonth" in $$props) $$invalidate(0, displayedMonth = $$props.displayedMonth); + if ("sources" in $$props) $$invalidate(1, sources = $$props.sources); + if ("onHoverDay" in $$props) $$invalidate(2, onHoverDay = $$props.onHoverDay); + if ("onHoverWeek" in $$props) $$invalidate(3, onHoverWeek = $$props.onHoverWeek); + if ("onClickDay" in $$props) $$invalidate(4, onClickDay = $$props.onClickDay); + if ("onClickWeek" in $$props) $$invalidate(5, onClickWeek = $$props.onClickWeek); + if ("onContextMenuDay" in $$props) $$invalidate(6, onContextMenuDay = $$props.onContextMenuDay); + if ("onContextMenuWeek" in $$props) $$invalidate(7, onContextMenuWeek = $$props.onContextMenuWeek); + }; + + $$self.$$.update = () => { + if ($$self.$$.dirty & /*$settings*/ 256) { + $$invalidate(9, today = getToday($settings)); + } + }; + + return [ + displayedMonth, + sources, + onHoverDay, + onHoverWeek, + onClickDay, + onClickWeek, + onContextMenuDay, + onContextMenuWeek, + $settings, + today, + $activeFile, + tick, + calendarbase_displayedMonth_binding + ]; +} + +class Calendar extends SvelteComponent$1 { + constructor(options) { + super(); + + init$1(this, options, instance, create_fragment, not_equal$1, { + displayedMonth: 0, + sources: 1, + onHoverDay: 2, + onHoverWeek: 3, + onClickDay: 4, + onClickWeek: 5, + onContextMenuDay: 6, + onContextMenuWeek: 7, + tick: 11 + }); + } + + get tick() { + return this.$$.ctx[11]; + } +} + +function showFileMenu(app, file, position) { + const fileMenu = new obsidian.Menu(app); + fileMenu.addItem((item) => item + .setTitle("Delete") + .setIcon("trash") + .onClick(() => { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + app.fileManager.promptForFileDeletion(file); + })); + app.workspace.trigger("file-menu", fileMenu, file, "calendar-context-menu", null); + fileMenu.showAtPosition(position); +} + +const getStreakClasses = (file) => { + return classList({ + "has-note": !!file, + }); +}; +const streakSource = { + getDailyMetadata: async (date) => { + const file = getDailyNote_1(date, get_store_value(dailyNotes)); + return { + classes: getStreakClasses(file), + dots: [], + }; + }, + getWeeklyMetadata: async (date) => { + const file = getWeeklyNote_1(date, get_store_value(weeklyNotes)); + return { + classes: getStreakClasses(file), + dots: [], + }; + }, +}; + +function getNoteTags(note) { + var _a; + if (!note) { + return []; + } + const { metadataCache } = window.app; + const frontmatter = (_a = metadataCache.getFileCache(note)) === null || _a === void 0 ? void 0 : _a.frontmatter; + const tags = []; + if (frontmatter) { + const frontmatterTags = obsidian.parseFrontMatterTags(frontmatter) || []; + tags.push(...frontmatterTags); + } + // strip the '#' at the beginning + return tags.map((tag) => tag.substring(1)); +} +function getFormattedTagAttributes(note) { + const attrs = {}; + const tags = getNoteTags(note); + const [emojiTags, nonEmojiTags] = partition(tags, (tag) => /(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff]|[\u0023-\u0039]\ufe0f?\u20e3|\u3299|\u3297|\u303d|\u3030|\u24c2|\ud83c[\udd70-\udd71]|\ud83c[\udd7e-\udd7f]|\ud83c\udd8e|\ud83c[\udd91-\udd9a]|\ud83c[\udde6-\uddff]|\ud83c[\ude01-\ude02]|\ud83c\ude1a|\ud83c\ude2f|\ud83c[\ude32-\ude3a]|\ud83c[\ude50-\ude51]|\u203c|\u2049|[\u25aa-\u25ab]|\u25b6|\u25c0|[\u25fb-\u25fe]|\u00a9|\u00ae|\u2122|\u2139|\ud83c\udc04|[\u2600-\u26FF]|\u2b05|\u2b06|\u2b07|\u2b1b|\u2b1c|\u2b50|\u2b55|\u231a|\u231b|\u2328|\u23cf|[\u23e9-\u23f3]|[\u23f8-\u23fa]|\ud83c\udccf|\u2934|\u2935|[\u2190-\u21ff])/.test(tag)); + if (nonEmojiTags) { + attrs["data-tags"] = nonEmojiTags.join(" "); + } + if (emojiTags) { + attrs["data-emoji-tag"] = emojiTags[0]; + } + return attrs; +} +const customTagsSource = { + getDailyMetadata: async (date) => { + const file = getDailyNote_1(date, get_store_value(dailyNotes)); + return { + dataAttributes: getFormattedTagAttributes(file), + dots: [], + }; + }, + getWeeklyMetadata: async (date) => { + const file = getWeeklyNote_1(date, get_store_value(weeklyNotes)); + return { + dataAttributes: getFormattedTagAttributes(file), + dots: [], + }; + }, +}; + +async function getNumberOfRemainingTasks(note) { + if (!note) { + return 0; + } + const { vault } = window.app; + const fileContents = await vault.cachedRead(note); + return (fileContents.match(/(-|\*) \[ \]/g) || []).length; +} +async function getDotsForDailyNote$1(dailyNote) { + if (!dailyNote) { + return []; + } + const numTasks = await getNumberOfRemainingTasks(dailyNote); + const dots = []; + if (numTasks) { + dots.push({ + className: "task", + color: "default", + isFilled: false, + }); + } + return dots; +} +const tasksSource = { + getDailyMetadata: async (date) => { + const file = getDailyNote_1(date, get_store_value(dailyNotes)); + const dots = await getDotsForDailyNote$1(file); + return { + dots, + }; + }, + getWeeklyMetadata: async (date) => { + const file = getWeeklyNote_1(date, get_store_value(weeklyNotes)); + const dots = await getDotsForDailyNote$1(file); + return { + dots, + }; + }, +}; + +const NUM_MAX_DOTS = 5; +async function getWordLengthAsDots(note) { + const { wordsPerDot = DEFAULT_WORDS_PER_DOT } = get_store_value(settings); + if (!note || wordsPerDot <= 0) { + return 0; + } + const fileContents = await window.app.vault.cachedRead(note); + const wordCount = getWordCount(fileContents); + const numDots = wordCount / wordsPerDot; + return clamp(Math.floor(numDots), 1, NUM_MAX_DOTS); +} +async function getDotsForDailyNote(dailyNote) { + if (!dailyNote) { + return []; + } + const numSolidDots = await getWordLengthAsDots(dailyNote); + const dots = []; + for (let i = 0; i < numSolidDots; i++) { + dots.push({ + color: "default", + isFilled: true, + }); + } + return dots; +} +const wordCountSource = { + getDailyMetadata: async (date) => { + const file = getDailyNote_1(date, get_store_value(dailyNotes)); + const dots = await getDotsForDailyNote(file); + return { + dots, + }; + }, + getWeeklyMetadata: async (date) => { + const file = getWeeklyNote_1(date, get_store_value(weeklyNotes)); + const dots = await getDotsForDailyNote(file); + return { + dots, + }; + }, +}; + +class CalendarView extends obsidian.ItemView { + constructor(leaf) { + super(leaf); + this.openOrCreateDailyNote = this.openOrCreateDailyNote.bind(this); + this.openOrCreateWeeklyNote = this.openOrCreateWeeklyNote.bind(this); + this.onNoteSettingsUpdate = this.onNoteSettingsUpdate.bind(this); + this.onFileCreated = this.onFileCreated.bind(this); + this.onFileDeleted = this.onFileDeleted.bind(this); + this.onFileModified = this.onFileModified.bind(this); + this.onFileOpen = this.onFileOpen.bind(this); + this.onHoverDay = this.onHoverDay.bind(this); + this.onHoverWeek = this.onHoverWeek.bind(this); + this.onContextMenuDay = this.onContextMenuDay.bind(this); + this.onContextMenuWeek = this.onContextMenuWeek.bind(this); + this.registerEvent( + // eslint-disable-next-line @typescript-eslint/no-explicit-any + this.app.workspace.on("periodic-notes:settings-updated", this.onNoteSettingsUpdate)); + this.registerEvent(this.app.vault.on("create", this.onFileCreated)); + this.registerEvent(this.app.vault.on("delete", this.onFileDeleted)); + this.registerEvent(this.app.vault.on("modify", this.onFileModified)); + this.registerEvent(this.app.workspace.on("file-open", this.onFileOpen)); + this.settings = null; + settings.subscribe((val) => { + this.settings = val; + // Refresh the calendar if settings change + if (this.calendar) { + this.calendar.tick(); + } + }); + } + getViewType() { + return VIEW_TYPE_CALENDAR; + } + getDisplayText() { + return "Calendar"; + } + getIcon() { + return "calendar-with-checkmark"; + } + onClose() { + if (this.calendar) { + this.calendar.$destroy(); + } + return Promise.resolve(); + } + async onOpen() { + // Integration point: external plugins can listen for `calendar:open` + // to feed in additional sources. + const sources = [ + customTagsSource, + streakSource, + wordCountSource, + tasksSource, + ]; + this.app.workspace.trigger(TRIGGER_ON_OPEN, sources); + this.calendar = new Calendar({ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + target: this.contentEl, + props: { + onClickDay: this.openOrCreateDailyNote, + onClickWeek: this.openOrCreateWeeklyNote, + onHoverDay: this.onHoverDay, + onHoverWeek: this.onHoverWeek, + onContextMenuDay: this.onContextMenuDay, + onContextMenuWeek: this.onContextMenuWeek, + sources, + }, + }); + } + onHoverDay(date, targetEl, isMetaPressed) { + if (!isMetaPressed) { + return; + } + const { format } = getDailyNoteSettings_1(); + const note = getDailyNote_1(date, get_store_value(dailyNotes)); + this.app.workspace.trigger("link-hover", this, targetEl, date.format(format), note === null || note === void 0 ? void 0 : note.path); + } + onHoverWeek(date, targetEl, isMetaPressed) { + if (!isMetaPressed) { + return; + } + const note = getWeeklyNote_1(date, get_store_value(weeklyNotes)); + const { format } = getWeeklyNoteSettings_1(); + this.app.workspace.trigger("link-hover", this, targetEl, date.format(format), note === null || note === void 0 ? void 0 : note.path); + } + onContextMenuDay(date, event) { + const note = getDailyNote_1(date, get_store_value(dailyNotes)); + if (!note) { + // If no file exists for a given day, show nothing. + return; + } + showFileMenu(this.app, note, { + x: event.pageX, + y: event.pageY, + }); + } + onContextMenuWeek(date, event) { + const note = getWeeklyNote_1(date, get_store_value(weeklyNotes)); + if (!note) { + // If no file exists for a given day, show nothing. + return; + } + showFileMenu(this.app, note, { + x: event.pageX, + y: event.pageY, + }); + } + onNoteSettingsUpdate() { + dailyNotes.reindex(); + weeklyNotes.reindex(); + this.updateActiveFile(); + } + async onFileDeleted(file) { + if (getDateFromFile_1(file, "day")) { + dailyNotes.reindex(); + this.updateActiveFile(); + } + if (getDateFromFile_1(file, "week")) { + weeklyNotes.reindex(); + this.updateActiveFile(); + } + } + async onFileModified(file) { + const date = getDateFromFile_1(file, "day") || getDateFromFile_1(file, "week"); + if (date && this.calendar) { + this.calendar.tick(); + } + } + onFileCreated(file) { + if (this.app.workspace.layoutReady && this.calendar) { + if (getDateFromFile_1(file, "day")) { + dailyNotes.reindex(); + this.calendar.tick(); + } + if (getDateFromFile_1(file, "week")) { + weeklyNotes.reindex(); + this.calendar.tick(); + } + } + } + onFileOpen(_file) { + if (this.app.workspace.layoutReady) { + this.updateActiveFile(); + } + } + updateActiveFile() { + const { view } = this.app.workspace.activeLeaf; + let file = null; + if (view instanceof obsidian.FileView) { + file = view.file; + } + activeFile.setFile(file); + if (this.calendar) { + this.calendar.tick(); + } + } + revealActiveNote() { + const { moment } = window; + const { activeLeaf } = this.app.workspace; + if (activeLeaf.view instanceof obsidian.FileView) { + // Check to see if the active note is a daily-note + let date = getDateFromFile_1(activeLeaf.view.file, "day"); + if (date) { + this.calendar.$set({ displayedMonth: date }); + return; + } + // Check to see if the active note is a weekly-note + const { format } = getWeeklyNoteSettings_1(); + date = moment(activeLeaf.view.file.basename, format, true); + if (date.isValid()) { + this.calendar.$set({ displayedMonth: date }); + return; + } + } + } + async openOrCreateWeeklyNote(date, inNewSplit) { + const { workspace } = this.app; + const startOfWeek = date.clone().startOf("week"); + const existingFile = getWeeklyNote_1(date, get_store_value(weeklyNotes)); + if (!existingFile) { + // File doesn't exist + tryToCreateWeeklyNote(startOfWeek, inNewSplit, this.settings, (file) => { + activeFile.setFile(file); + }); + return; + } + const leaf = inNewSplit + ? workspace.splitActiveLeaf() + : workspace.getUnpinnedLeaf(); + await leaf.openFile(existingFile); + activeFile.setFile(existingFile); + } + async openOrCreateDailyNote(date, inNewSplit) { + const { workspace } = this.app; + const existingFile = getDailyNote_1(date, get_store_value(dailyNotes)); + if (!existingFile) { + // File doesn't exist + tryToCreateDailyNote(date, inNewSplit, this.settings, (dailyNote) => { + activeFile.setFile(dailyNote); + }); + return; + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const mode = this.app.vault.getConfig("defaultViewMode"); + const leaf = inNewSplit + ? workspace.splitActiveLeaf() + : workspace.getUnpinnedLeaf(); + await leaf.openFile(existingFile, { mode }); + activeFile.setFile(existingFile); + } +} + +class CalendarPlugin extends obsidian.Plugin { + onunload() { + this.app.workspace + .getLeavesOfType(VIEW_TYPE_CALENDAR) + .forEach((leaf) => leaf.detach()); + } + async onload() { + this.register(settings.subscribe((value) => { + this.options = value; + })); + this.registerView(VIEW_TYPE_CALENDAR, (leaf) => (this.view = new CalendarView(leaf))); + this.addCommand({ + id: "show-calendar-view", + name: "Open view", + checkCallback: (checking) => { + if (checking) { + return (this.app.workspace.getLeavesOfType(VIEW_TYPE_CALENDAR).length === 0); + } + this.initLeaf(); + }, + }); + this.addCommand({ + id: "open-weekly-note", + name: "Open Weekly Note", + checkCallback: (checking) => { + if (checking) { + return !appHasPeriodicNotesPluginLoaded(); + } + this.view.openOrCreateWeeklyNote(window.moment(), false); + }, + }); + this.addCommand({ + id: "reveal-active-note", + name: "Reveal active note", + callback: () => this.view.revealActiveNote(), + }); + await this.loadOptions(); + this.addSettingTab(new CalendarSettingsTab(this.app, this)); + if (this.app.workspace.layoutReady) { + this.initLeaf(); + } + else { + this.registerEvent(this.app.workspace.on("layout-ready", this.initLeaf.bind(this))); + } + } + initLeaf() { + if (this.app.workspace.getLeavesOfType(VIEW_TYPE_CALENDAR).length) { + return; + } + this.app.workspace.getRightLeaf(false).setViewState({ + type: VIEW_TYPE_CALENDAR, + }); + } + async loadOptions() { + const options = await this.loadData(); + settings.update((old) => { + return Object.assign(Object.assign({}, old), (options || {})); + }); + await this.saveData(this.options); + } + async writeOptions(changeOpts) { + settings.update((old) => (Object.assign(Object.assign({}, old), changeOpts(old)))); + await this.saveData(this.options); + } +} + +module.exports = CalendarPlugin; + +/* nosourcemap */ \ No newline at end of file diff --git a/data/student_040/New_Obsidian Vault/.obsidian/plugins/calendar/manifest.json b/data/student_040/New_Obsidian Vault/.obsidian/plugins/calendar/manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..028bfa5077de882fa2a945c4917dc08ccd04f906 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/plugins/calendar/manifest.json @@ -0,0 +1,10 @@ +{ + "id": "calendar", + "name": "Calendar", + "description": "Calendar view of your daily notes", + "version": "1.5.10", + "author": "Liam Cain", + "authorUrl": "https://github.com/liamcain/", + "isDesktopOnly": false, + "minAppVersion": "0.9.11" +} diff --git a/data/student_040/New_Obsidian Vault/.obsidian/plugins/periodic-notes/data.json b/data/student_040/New_Obsidian Vault/.obsidian/plugins/periodic-notes/data.json new file mode 100644 index 0000000000000000000000000000000000000000..fd2791824d7b56db588c136fe7082891288c7c72 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/plugins/periodic-notes/data.json @@ -0,0 +1,31 @@ +{ + "showGettingStartedBanner": true, + "hasMigratedDailyNoteSettings": false, + "hasMigratedWeeklyNoteSettings": false, + "daily": { + "format": "YYYY-MM-DD (ddd)", + "template": "99. Setting/Templates/감정일기템플릿_v2.md", + "folder": "1. Connect/1-1. 성찰 일지", + "enabled": true + }, + "weekly": { + "format": "", + "template": "", + "folder": "" + }, + "monthly": { + "format": "", + "template": "", + "folder": "" + }, + "quarterly": { + "format": "", + "template": "", + "folder": "" + }, + "yearly": { + "format": "", + "template": "", + "folder": "" + } +} \ No newline at end of file diff --git a/data/student_040/New_Obsidian Vault/.obsidian/plugins/periodic-notes/main.js b/data/student_040/New_Obsidian Vault/.obsidian/plugins/periodic-notes/main.js new file mode 100644 index 0000000000000000000000000000000000000000..64325e69b78111c3d0d6f12a724dd0a0dc430ba4 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/plugins/periodic-notes/main.js @@ -0,0 +1,5561 @@ +'use strict'; + +var obsidian = require('obsidian'); + +function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } + +var obsidian__default = /*#__PURE__*/_interopDefaultLegacy(obsidian); + +const DEFAULT_DAILY_NOTE_FORMAT = "YYYY-MM-DD"; +const DEFAULT_WEEKLY_NOTE_FORMAT = "gggg-[W]ww"; +const DEFAULT_MONTHLY_NOTE_FORMAT = "YYYY-MM"; +const DEFAULT_QUARTERLY_NOTE_FORMAT = "YYYY-[Q]Q"; +const DEFAULT_YEARLY_NOTE_FORMAT = "YYYY"; + +function shouldUsePeriodicNotesSettings(periodicity) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const periodicNotes = window.app.plugins.getPlugin("periodic-notes"); + return periodicNotes && periodicNotes.settings?.[periodicity]?.enabled; +} +/** + * Read the user settings for the `daily-notes` plugin + * to keep behavior of creating a new note in-sync. + */ +function getDailyNoteSettings() { + try { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const { internalPlugins, plugins } = window.app; + if (shouldUsePeriodicNotesSettings("daily")) { + const { format, folder, template } = plugins.getPlugin("periodic-notes")?.settings?.daily || {}; + return { + format: format || DEFAULT_DAILY_NOTE_FORMAT, + folder: folder?.trim() || "", + template: template?.trim() || "", + }; + } + const { folder, format, template } = internalPlugins.getPluginById("daily-notes")?.instance?.options || {}; + return { + format: format || DEFAULT_DAILY_NOTE_FORMAT, + folder: folder?.trim() || "", + template: template?.trim() || "", + }; + } + catch (err) { + console.info("No custom daily note settings found!", err); + } +} +/** + * Read the user settings for the `weekly-notes` plugin + * to keep behavior of creating a new note in-sync. + */ +function getWeeklyNoteSettings() { + try { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginManager = window.app.plugins; + const calendarSettings = pluginManager.getPlugin("calendar")?.options; + const periodicNotesSettings = pluginManager.getPlugin("periodic-notes")?.settings?.weekly; + if (shouldUsePeriodicNotesSettings("weekly")) { + return { + format: periodicNotesSettings.format || DEFAULT_WEEKLY_NOTE_FORMAT, + folder: periodicNotesSettings.folder?.trim() || "", + template: periodicNotesSettings.template?.trim() || "", + }; + } + const settings = calendarSettings || {}; + return { + format: settings.weeklyNoteFormat || DEFAULT_WEEKLY_NOTE_FORMAT, + folder: settings.weeklyNoteFolder?.trim() || "", + template: settings.weeklyNoteTemplate?.trim() || "", + }; + } + catch (err) { + console.info("No custom weekly note settings found!", err); + } +} +/** + * Read the user settings for the `periodic-notes` plugin + * to keep behavior of creating a new note in-sync. + */ +function getMonthlyNoteSettings() { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginManager = window.app.plugins; + try { + const settings = (shouldUsePeriodicNotesSettings("monthly") && + pluginManager.getPlugin("periodic-notes")?.settings?.monthly) || + {}; + return { + format: settings.format || DEFAULT_MONTHLY_NOTE_FORMAT, + folder: settings.folder?.trim() || "", + template: settings.template?.trim() || "", + }; + } + catch (err) { + console.info("No custom monthly note settings found!", err); + } +} +/** + * Read the user settings for the `periodic-notes` plugin + * to keep behavior of creating a new note in-sync. + */ +function getQuarterlyNoteSettings() { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginManager = window.app.plugins; + try { + const settings = (shouldUsePeriodicNotesSettings("quarterly") && + pluginManager.getPlugin("periodic-notes")?.settings?.quarterly) || + {}; + return { + format: settings.format || DEFAULT_QUARTERLY_NOTE_FORMAT, + folder: settings.folder?.trim() || "", + template: settings.template?.trim() || "", + }; + } + catch (err) { + console.info("No custom quarterly note settings found!", err); + } +} +/** + * Read the user settings for the `periodic-notes` plugin + * to keep behavior of creating a new note in-sync. + */ +function getYearlyNoteSettings() { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginManager = window.app.plugins; + try { + const settings = (shouldUsePeriodicNotesSettings("yearly") && + pluginManager.getPlugin("periodic-notes")?.settings?.yearly) || + {}; + return { + format: settings.format || DEFAULT_YEARLY_NOTE_FORMAT, + folder: settings.folder?.trim() || "", + template: settings.template?.trim() || "", + }; + } + catch (err) { + console.info("No custom yearly note settings found!", err); + } +} + +// Credit: @creationix/path.js +function join(...partSegments) { + // Split the inputs into a list of path commands. + let parts = []; + for (let i = 0, l = partSegments.length; i < l; i++) { + parts = parts.concat(partSegments[i].split("/")); + } + // Interpret the path commands to get the new resolved path. + const newParts = []; + for (let i = 0, l = parts.length; i < l; i++) { + const part = parts[i]; + // Remove leading and trailing slashes + // Also remove "." segments + if (!part || part === ".") + continue; + // Push new path segments. + else + newParts.push(part); + } + // Preserve the initial slash if there was one. + if (parts[0] === "") + newParts.unshift(""); + // Turn back into a single string path. + return newParts.join("/"); +} +async function ensureFolderExists(path) { + const dirs = path.replace(/\\/g, "/").split("/"); + dirs.pop(); // remove basename + if (dirs.length) { + const dir = join(...dirs); + if (!window.app.vault.getAbstractFileByPath(dir)) { + await window.app.vault.createFolder(dir); + } + } +} +async function getNotePath(directory, filename) { + if (!filename.endsWith(".md")) { + filename += ".md"; + } + const path = obsidian__default['default'].normalizePath(join(directory, filename)); + await ensureFolderExists(path); + return path; +} +async function getTemplateInfo(template) { + const { metadataCache, vault } = window.app; + const templatePath = obsidian__default['default'].normalizePath(template); + if (templatePath === "/") { + return Promise.resolve(["", null]); + } + try { + const templateFile = metadataCache.getFirstLinkpathDest(templatePath, ""); + const contents = await vault.cachedRead(templateFile); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const IFoldInfo = window.app.foldManager.load(templateFile); + return [contents, IFoldInfo]; + } + catch (err) { + console.error(`Failed to read the daily note template '${templatePath}'`, err); + new obsidian__default['default'].Notice("Failed to read the daily note template"); + return ["", null]; + } +} + +/** + * dateUID is a way of weekly identifying daily/weekly/monthly notes. + * They are prefixed with the granularity to avoid ambiguity. + */ +function getDateUID(date, granularity = "day") { + const ts = date.clone().startOf(granularity).format(); + return `${granularity}-${ts}`; +} +function removeEscapedCharacters(format) { + return format.replace(/\[[^\]]*\]/g, ""); // remove everything within brackets +} +/** + * XXX: When parsing dates that contain both week numbers and months, + * Moment choses to ignore the week numbers. For the week dateUID, we + * want the opposite behavior. Strip the MMM from the format to patch. + */ +function isFormatAmbiguous(format, granularity) { + if (granularity === "week") { + const cleanFormat = removeEscapedCharacters(format); + return (/w{1,2}/i.test(cleanFormat) && + (/M{1,4}/.test(cleanFormat) || /D{1,4}/.test(cleanFormat))); + } + return false; +} +function getDateFromFile(file, granularity) { + return getDateFromFilename(file.basename, granularity); +} +function getDateFromFilename(filename, granularity) { + const getSettings = { + day: getDailyNoteSettings, + week: getWeeklyNoteSettings, + month: getMonthlyNoteSettings, + quarter: getQuarterlyNoteSettings, + year: getYearlyNoteSettings, + }; + const format = getSettings[granularity]().format.split("/").pop(); + const noteDate = window.moment(filename, format, true); + if (!noteDate.isValid()) { + return null; + } + if (isFormatAmbiguous(format, granularity)) { + if (granularity === "week") { + const cleanFormat = removeEscapedCharacters(format); + if (/w{1,2}/i.test(cleanFormat)) { + return window.moment(filename, + // If format contains week, remove day & month formatting + format.replace(/M{1,4}/g, "").replace(/D{1,4}/g, ""), false); + } + } + } + return noteDate; +} + +class DailyNotesFolderMissingError extends Error { +} +/** + * This function mimics the behavior of the daily-notes plugin + * so it will replace {{date}}, {{title}}, and {{time}} with the + * formatted timestamp. + * + * Note: it has an added bonus that it's not 'today' specific. + */ +async function createDailyNote(date) { + const app = window.app; + const { vault } = app; + const moment = window.moment; + const { template, format, folder } = getDailyNoteSettings(); + const [templateContents, IFoldInfo] = await getTemplateInfo(template); + const filename = date.format(format); + const normalizedPath = await getNotePath(folder, filename); + try { + const createdFile = await vault.create(normalizedPath, templateContents + .replace(/{{\s*date\s*}}/gi, filename) + .replace(/{{\s*time\s*}}/gi, moment().format("HH:mm")) + .replace(/{{\s*title\s*}}/gi, filename) + .replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi, (_, _timeOrDate, calc, timeDelta, unit, momentFormat) => { + const now = moment(); + const currentDate = date.clone().set({ + hour: now.get("hour"), + minute: now.get("minute"), + second: now.get("second"), + }); + if (calc) { + currentDate.add(parseInt(timeDelta, 10), unit); + } + if (momentFormat) { + return currentDate.format(momentFormat.substring(1).trim()); + } + return currentDate.format(format); + }) + .replace(/{{\s*yesterday\s*}}/gi, date.clone().subtract(1, "day").format(format)) + .replace(/{{\s*tomorrow\s*}}/gi, date.clone().add(1, "d").format(format))); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + app.foldManager.save(createdFile, IFoldInfo); + return createdFile; + } + catch (err) { + console.error(`Failed to create file: '${normalizedPath}'`, err); + new obsidian__default['default'].Notice("Unable to create new file."); + } +} +function getDailyNote(date, dailyNotes) { + return dailyNotes[getDateUID(date, "day")] ?? null; +} +function getAllDailyNotes() { + /** + * Find all daily notes in the daily note folder + */ + const { vault } = window.app; + const { folder } = getDailyNoteSettings(); + const dailyNotesFolder = vault.getAbstractFileByPath(obsidian__default['default'].normalizePath(folder)); + if (!dailyNotesFolder) { + throw new DailyNotesFolderMissingError("Failed to find daily notes folder"); + } + const dailyNotes = {}; + obsidian__default['default'].Vault.recurseChildren(dailyNotesFolder, (note) => { + if (note instanceof obsidian__default['default'].TFile) { + const date = getDateFromFile(note, "day"); + if (date) { + const dateString = getDateUID(date, "day"); + dailyNotes[dateString] = note; + } + } + }); + return dailyNotes; +} + +class WeeklyNotesFolderMissingError extends Error { +} +function getDaysOfWeek() { + const { moment } = window; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + let weekStart = moment.localeData()._week.dow; + const daysOfWeek = [ + "sunday", + "monday", + "tuesday", + "wednesday", + "thursday", + "friday", + "saturday", + ]; + while (weekStart) { + daysOfWeek.push(daysOfWeek.shift()); + weekStart--; + } + return daysOfWeek; +} +function getDayOfWeekNumericalValue(dayOfWeekName) { + return getDaysOfWeek().indexOf(dayOfWeekName.toLowerCase()); +} +async function createWeeklyNote(date) { + const { vault } = window.app; + const { template, format, folder } = getWeeklyNoteSettings(); + const [templateContents, IFoldInfo] = await getTemplateInfo(template); + const filename = date.format(format); + const normalizedPath = await getNotePath(folder, filename); + try { + const createdFile = await vault.create(normalizedPath, templateContents + .replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi, (_, _timeOrDate, calc, timeDelta, unit, momentFormat) => { + const now = window.moment(); + const currentDate = date.clone().set({ + hour: now.get("hour"), + minute: now.get("minute"), + second: now.get("second"), + }); + if (calc) { + currentDate.add(parseInt(timeDelta, 10), unit); + } + if (momentFormat) { + return currentDate.format(momentFormat.substring(1).trim()); + } + return currentDate.format(format); + }) + .replace(/{{\s*title\s*}}/gi, filename) + .replace(/{{\s*time\s*}}/gi, window.moment().format("HH:mm")) + .replace(/{{\s*(sunday|monday|tuesday|wednesday|thursday|friday|saturday)\s*:(.*?)}}/gi, (_, dayOfWeek, momentFormat) => { + const day = getDayOfWeekNumericalValue(dayOfWeek); + return date.weekday(day).format(momentFormat.trim()); + })); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + window.app.foldManager.save(createdFile, IFoldInfo); + return createdFile; + } + catch (err) { + console.error(`Failed to create file: '${normalizedPath}'`, err); + new obsidian__default['default'].Notice("Unable to create new file."); + } +} +function getWeeklyNote(date, weeklyNotes) { + return weeklyNotes[getDateUID(date, "week")] ?? null; +} +function getAllWeeklyNotes() { + const weeklyNotes = {}; + if (!appHasWeeklyNotesPluginLoaded()) { + return weeklyNotes; + } + const { vault } = window.app; + const { folder } = getWeeklyNoteSettings(); + const weeklyNotesFolder = vault.getAbstractFileByPath(obsidian__default['default'].normalizePath(folder)); + if (!weeklyNotesFolder) { + throw new WeeklyNotesFolderMissingError("Failed to find weekly notes folder"); + } + obsidian__default['default'].Vault.recurseChildren(weeklyNotesFolder, (note) => { + if (note instanceof obsidian__default['default'].TFile) { + const date = getDateFromFile(note, "week"); + if (date) { + const dateString = getDateUID(date, "week"); + weeklyNotes[dateString] = note; + } + } + }); + return weeklyNotes; +} + +class MonthlyNotesFolderMissingError extends Error { +} +/** + * This function mimics the behavior of the daily-notes plugin + * so it will replace {{date}}, {{title}}, and {{time}} with the + * formatted timestamp. + * + * Note: it has an added bonus that it's not 'today' specific. + */ +async function createMonthlyNote(date) { + const { vault } = window.app; + const { template, format, folder } = getMonthlyNoteSettings(); + const [templateContents, IFoldInfo] = await getTemplateInfo(template); + const filename = date.format(format); + const normalizedPath = await getNotePath(folder, filename); + try { + const createdFile = await vault.create(normalizedPath, templateContents + .replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi, (_, _timeOrDate, calc, timeDelta, unit, momentFormat) => { + const now = window.moment(); + const currentDate = date.clone().set({ + hour: now.get("hour"), + minute: now.get("minute"), + second: now.get("second"), + }); + if (calc) { + currentDate.add(parseInt(timeDelta, 10), unit); + } + if (momentFormat) { + return currentDate.format(momentFormat.substring(1).trim()); + } + return currentDate.format(format); + }) + .replace(/{{\s*date\s*}}/gi, filename) + .replace(/{{\s*time\s*}}/gi, window.moment().format("HH:mm")) + .replace(/{{\s*title\s*}}/gi, filename)); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + window.app.foldManager.save(createdFile, IFoldInfo); + return createdFile; + } + catch (err) { + console.error(`Failed to create file: '${normalizedPath}'`, err); + new obsidian__default['default'].Notice("Unable to create new file."); + } +} +function getMonthlyNote(date, monthlyNotes) { + return monthlyNotes[getDateUID(date, "month")] ?? null; +} +function getAllMonthlyNotes() { + const monthlyNotes = {}; + if (!appHasMonthlyNotesPluginLoaded()) { + return monthlyNotes; + } + const { vault } = window.app; + const { folder } = getMonthlyNoteSettings(); + const monthlyNotesFolder = vault.getAbstractFileByPath(obsidian__default['default'].normalizePath(folder)); + if (!monthlyNotesFolder) { + throw new MonthlyNotesFolderMissingError("Failed to find monthly notes folder"); + } + obsidian__default['default'].Vault.recurseChildren(monthlyNotesFolder, (note) => { + if (note instanceof obsidian__default['default'].TFile) { + const date = getDateFromFile(note, "month"); + if (date) { + const dateString = getDateUID(date, "month"); + monthlyNotes[dateString] = note; + } + } + }); + return monthlyNotes; +} + +class QuarterlyNotesFolderMissingError extends Error { +} +/** + * This function mimics the behavior of the daily-notes plugin + * so it will replace {{date}}, {{title}}, and {{time}} with the + * formatted timestamp. + * + * Note: it has an added bonus that it's not 'today' specific. + */ +async function createQuarterlyNote(date) { + const { vault } = window.app; + const { template, format, folder } = getQuarterlyNoteSettings(); + const [templateContents, IFoldInfo] = await getTemplateInfo(template); + const filename = date.format(format); + const normalizedPath = await getNotePath(folder, filename); + try { + const createdFile = await vault.create(normalizedPath, templateContents + .replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi, (_, _timeOrDate, calc, timeDelta, unit, momentFormat) => { + const now = window.moment(); + const currentDate = date.clone().set({ + hour: now.get("hour"), + minute: now.get("minute"), + second: now.get("second"), + }); + if (calc) { + currentDate.add(parseInt(timeDelta, 10), unit); + } + if (momentFormat) { + return currentDate.format(momentFormat.substring(1).trim()); + } + return currentDate.format(format); + }) + .replace(/{{\s*date\s*}}/gi, filename) + .replace(/{{\s*time\s*}}/gi, window.moment().format("HH:mm")) + .replace(/{{\s*title\s*}}/gi, filename)); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + window.app.foldManager.save(createdFile, IFoldInfo); + return createdFile; + } + catch (err) { + console.error(`Failed to create file: '${normalizedPath}'`, err); + new obsidian__default['default'].Notice("Unable to create new file."); + } +} +function getQuarterlyNote(date, quarterly) { + return quarterly[getDateUID(date, "quarter")] ?? null; +} +function getAllQuarterlyNotes() { + const quarterly = {}; + if (!appHasQuarterlyNotesPluginLoaded()) { + return quarterly; + } + const { vault } = window.app; + const { folder } = getQuarterlyNoteSettings(); + const quarterlyFolder = vault.getAbstractFileByPath(obsidian__default['default'].normalizePath(folder)); + if (!quarterlyFolder) { + throw new QuarterlyNotesFolderMissingError("Failed to find quarterly notes folder"); + } + obsidian__default['default'].Vault.recurseChildren(quarterlyFolder, (note) => { + if (note instanceof obsidian__default['default'].TFile) { + const date = getDateFromFile(note, "quarter"); + if (date) { + const dateString = getDateUID(date, "quarter"); + quarterly[dateString] = note; + } + } + }); + return quarterly; +} + +class YearlyNotesFolderMissingError extends Error { +} +/** + * This function mimics the behavior of the daily-notes plugin + * so it will replace {{date}}, {{title}}, and {{time}} with the + * formatted timestamp. + * + * Note: it has an added bonus that it's not 'today' specific. + */ +async function createYearlyNote(date) { + const { vault } = window.app; + const { template, format, folder } = getYearlyNoteSettings(); + const [templateContents, IFoldInfo] = await getTemplateInfo(template); + const filename = date.format(format); + const normalizedPath = await getNotePath(folder, filename); + try { + const createdFile = await vault.create(normalizedPath, templateContents + .replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi, (_, _timeOrDate, calc, timeDelta, unit, momentFormat) => { + const now = window.moment(); + const currentDate = date.clone().set({ + hour: now.get("hour"), + minute: now.get("minute"), + second: now.get("second"), + }); + if (calc) { + currentDate.add(parseInt(timeDelta, 10), unit); + } + if (momentFormat) { + return currentDate.format(momentFormat.substring(1).trim()); + } + return currentDate.format(format); + }) + .replace(/{{\s*date\s*}}/gi, filename) + .replace(/{{\s*time\s*}}/gi, window.moment().format("HH:mm")) + .replace(/{{\s*title\s*}}/gi, filename)); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + window.app.foldManager.save(createdFile, IFoldInfo); + return createdFile; + } + catch (err) { + console.error(`Failed to create file: '${normalizedPath}'`, err); + new obsidian__default['default'].Notice("Unable to create new file."); + } +} +function getYearlyNote(date, yearlyNotes) { + return yearlyNotes[getDateUID(date, "year")] ?? null; +} +function getAllYearlyNotes() { + const yearlyNotes = {}; + if (!appHasYearlyNotesPluginLoaded()) { + return yearlyNotes; + } + const { vault } = window.app; + const { folder } = getYearlyNoteSettings(); + const yearlyNotesFolder = vault.getAbstractFileByPath(obsidian__default['default'].normalizePath(folder)); + if (!yearlyNotesFolder) { + throw new YearlyNotesFolderMissingError("Failed to find yearly notes folder"); + } + obsidian__default['default'].Vault.recurseChildren(yearlyNotesFolder, (note) => { + if (note instanceof obsidian__default['default'].TFile) { + const date = getDateFromFile(note, "year"); + if (date) { + const dateString = getDateUID(date, "year"); + yearlyNotes[dateString] = note; + } + } + }); + return yearlyNotes; +} + +function appHasDailyNotesPluginLoaded() { + const { app } = window; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const dailyNotesPlugin = app.internalPlugins.plugins["daily-notes"]; + if (dailyNotesPlugin && dailyNotesPlugin.enabled) { + return true; + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const periodicNotes = app.plugins.getPlugin("periodic-notes"); + return periodicNotes && periodicNotes.settings?.daily?.enabled; +} +/** + * XXX: "Weekly Notes" live in either the Calendar plugin or the periodic-notes plugin. + * Check both until the weekly notes feature is removed from the Calendar plugin. + */ +function appHasWeeklyNotesPluginLoaded() { + const { app } = window; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + if (app.plugins.getPlugin("calendar")) { + return true; + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const periodicNotes = app.plugins.getPlugin("periodic-notes"); + return periodicNotes && periodicNotes.settings?.weekly?.enabled; +} +function appHasMonthlyNotesPluginLoaded() { + const { app } = window; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const periodicNotes = app.plugins.getPlugin("periodic-notes"); + return periodicNotes && periodicNotes.settings?.monthly?.enabled; +} +function appHasQuarterlyNotesPluginLoaded() { + const { app } = window; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const periodicNotes = app.plugins.getPlugin("periodic-notes"); + return periodicNotes && periodicNotes.settings?.quarterly?.enabled; +} +function appHasYearlyNotesPluginLoaded() { + const { app } = window; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const periodicNotes = app.plugins.getPlugin("periodic-notes"); + return periodicNotes && periodicNotes.settings?.yearly?.enabled; +} + +var DEFAULT_DAILY_NOTE_FORMAT_1 = DEFAULT_DAILY_NOTE_FORMAT; +var DEFAULT_MONTHLY_NOTE_FORMAT_1 = DEFAULT_MONTHLY_NOTE_FORMAT; +var DEFAULT_QUARTERLY_NOTE_FORMAT_1 = DEFAULT_QUARTERLY_NOTE_FORMAT; +var DEFAULT_WEEKLY_NOTE_FORMAT_1 = DEFAULT_WEEKLY_NOTE_FORMAT; +var DEFAULT_YEARLY_NOTE_FORMAT_1 = DEFAULT_YEARLY_NOTE_FORMAT; +var appHasDailyNotesPluginLoaded_1 = appHasDailyNotesPluginLoaded; +var createDailyNote_1 = createDailyNote; +var createMonthlyNote_1 = createMonthlyNote; +var createQuarterlyNote_1 = createQuarterlyNote; +var createWeeklyNote_1 = createWeeklyNote; +var createYearlyNote_1 = createYearlyNote; +var getAllDailyNotes_1 = getAllDailyNotes; +var getAllMonthlyNotes_1 = getAllMonthlyNotes; +var getAllQuarterlyNotes_1 = getAllQuarterlyNotes; +var getAllWeeklyNotes_1 = getAllWeeklyNotes; +var getAllYearlyNotes_1 = getAllYearlyNotes; +var getDailyNote_1 = getDailyNote; +var getDateFromFile_1 = getDateFromFile; +var getMonthlyNote_1 = getMonthlyNote; +var getQuarterlyNote_1 = getQuarterlyNote; +var getWeeklyNote_1 = getWeeklyNote; +var getYearlyNote_1 = getYearlyNote; + +const wrapAround = (value, size) => { + return ((value % size) + size) % size; +}; +function orderedValues(unordered) { + return Object.keys(unordered) + .sort() + .reduce((acc, key) => { + acc.push(unordered[key]); + return acc; + }, []); +} +function getCalendarPlugin() { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + return window.app.plugins.getPlugin("calendar"); +} +function getDailyNotesPlugin() { + var _a; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const { internalPlugins } = window.app; + return (_a = internalPlugins.getPluginById("daily-notes")) === null || _a === void 0 ? void 0 : _a.instance; +} +function capitalize(text) { + return text.charAt(0).toUpperCase() + text.slice(1); +} +function hasLegacyDailyNoteSettings() { + var _a; + if (!appHasDailyNotesPluginLoaded_1()) { + return false; + } + const options = (_a = getDailyNotesPlugin()) === null || _a === void 0 ? void 0 : _a.options; + return !!(options.format || options.folder || options.template); +} +function getLegacyDailyNoteSettings() { + var _a, _b; + const options = getDailyNotesPlugin().options || {}; + return { + format: options.format, + folder: (_a = options.folder) === null || _a === void 0 ? void 0 : _a.trim(), + template: (_b = options.template) === null || _b === void 0 ? void 0 : _b.trim(), + }; +} +function hasLegacyWeeklyNoteSettings() { + const calendarPlugin = getCalendarPlugin(); + if (!calendarPlugin) { + return false; + } + const options = calendarPlugin.options || {}; + return !!(options.weeklyNoteFormat || + options.weeklyNoteFolder || + options.weeklyNoteTemplate); +} +function getLegacyWeeklyNoteSettings() { + var _a, _b; + const options = getCalendarPlugin().options || {}; + return { + format: options.weeklyNoteFormat || "", + folder: ((_a = options.weeklyNoteFolder) === null || _a === void 0 ? void 0 : _a.trim()) || "", + template: ((_b = options.weeklyNoteTemplate) === null || _b === void 0 ? void 0 : _b.trim()) || "", + }; +} +function isMacOS() { + return navigator.appVersion.indexOf("Mac") !== -1; +} +function isMetaPressed(e) { + return isMacOS() ? e.metaKey : e.ctrlKey; +} + +const periodConfigs = { + daily: { + unitOfTime: "day", + relativeUnit: "today", + createNote: createDailyNote_1, + getNote: getDailyNote_1, + getAllNotes: getAllDailyNotes_1, + }, + weekly: { + unitOfTime: "week", + relativeUnit: "this week", + createNote: createWeeklyNote_1, + getNote: getWeeklyNote_1, + getAllNotes: getAllWeeklyNotes_1, + }, + monthly: { + unitOfTime: "month", + relativeUnit: "this month", + createNote: createMonthlyNote_1, + getNote: getMonthlyNote_1, + getAllNotes: getAllMonthlyNotes_1, + }, + quarterly: { + unitOfTime: "quarter", + relativeUnit: "this quarter", + createNote: createQuarterlyNote_1, + getNote: getQuarterlyNote_1, + getAllNotes: getAllQuarterlyNotes_1, + }, + yearly: { + unitOfTime: "year", + relativeUnit: "this year", + createNote: createYearlyNote_1, + getNote: getYearlyNote_1, + getAllNotes: getAllYearlyNotes_1, + }, +}; +async function openPeriodicNote(periodicity, date, inNewSplit) { + const config = periodConfigs[periodicity]; + const startOfPeriod = date.clone().startOf(config.unitOfTime); + let allNotes; + try { + allNotes = config.getAllNotes(); + } + catch (err) { + console.error(`failed to find your ${periodicity} notes folder`, err); + new obsidian.Notice(`Failed to find your ${periodicity} notes folder`); + return; + } + let periodicNote = config.getNote(startOfPeriod, allNotes); + if (!periodicNote) { + periodicNote = await config.createNote(startOfPeriod); + } + await openFile(periodicNote, inNewSplit); +} +function getActiveFile() { + const { workspace } = window.app; + const activeView = workspace.getActiveViewOfType(obsidian.MarkdownView); + return activeView === null || activeView === void 0 ? void 0 : activeView.file; +} +async function openFile(file, inNewSplit) { + const { workspace } = window.app; + const leaf = inNewSplit + ? workspace.splitActiveLeaf() + : workspace.getUnpinnedLeaf(); + await leaf.openFile(file, { active: true }); +} +async function openNextNote(periodicity) { + const config = periodConfigs[periodicity]; + const activeFile = getActiveFile(); + try { + const allNotes = orderedValues(config.getAllNotes()); + const activeNoteIndex = allNotes.findIndex((file) => file === activeFile); + const nextNote = allNotes[activeNoteIndex + 1]; + if (nextNote) { + await openFile(nextNote, false); + } + } + catch (err) { + console.error(`failed to find your ${periodicity} notes folder`, err); + new obsidian.Notice(`Failed to find your ${periodicity} notes folder`); + } +} +async function openPrevNote(periodicity) { + const config = periodConfigs[periodicity]; + const activeFile = getActiveFile(); + try { + const allNotes = orderedValues(config.getAllNotes()); + const activeNoteIndex = allNotes.findIndex((file) => file === activeFile); + const prevNote = allNotes[activeNoteIndex - 1]; + if (prevNote) { + await openFile(prevNote, false); + } + } + catch (err) { + console.error(`failed to find your ${periodicity} notes folder`, err); + new obsidian.Notice(`Failed to find your ${periodicity} notes folder`); + } +} +function getCommands(periodicity) { + const config = periodConfigs[periodicity]; + return [ + { + id: `open-${periodicity}-note`, + name: `Open ${periodicity} note`, + callback: () => openPeriodicNote(periodicity, window.moment(), false), + }, + { + id: `next-${periodicity}-note`, + name: `Open next ${periodicity} note`, + checkCallback: (checking) => { + if (checking) { + const activeFile = getActiveFile(); + return !!(activeFile && getDateFromFile_1(activeFile, config.unitOfTime)); + } + openNextNote(periodicity); + }, + }, + { + id: `prev-${periodicity}-note`, + name: `Open previous ${periodicity} note`, + checkCallback: (checking) => { + if (checking) { + const activeFile = getActiveFile(); + return !!(activeFile && getDateFromFile_1(activeFile, config.unitOfTime)); + } + openPrevNote(periodicity); + }, + }, + ]; +} + +const SETTINGS_UPDATED = "periodic-notes:settings-updated"; + +const calendarDayIcon = ` + + + + +`; +const calendarWeekIcon = ` + + + + +`; +const calendarMonthIcon = ` + + + + + +`; +const calendarQuarterIcon = ` + + + + +`; +const calendarYearIcon = ` + + + + +`; + +function showFileMenu(app, settings, position) { + const contextMenu = new obsidian.Menu(app); + ["daily", "weekly", "monthly"] + .filter((periodicity) => settings[periodicity].enabled) + .forEach((periodicity) => { + const config = periodConfigs[periodicity]; + contextMenu.addItem((item) => item + .setTitle(`Open ${config.relativeUnit}`) + .setIcon(`calendar-${config.unitOfTime}`) + .onClick(() => { + openPeriodicNote(periodicity, window.moment(), false); + })); + }); + contextMenu.showAtPosition(position); +} + +function noop() { } +const identity = x => x; +function run(fn) { + return fn(); +} +function blank_object() { + return Object.create(null); +} +function run_all(fns) { + fns.forEach(run); +} +function is_function(thing) { + return typeof thing === 'function'; +} +function safe_not_equal(a, b) { + return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function'); +} +function is_empty(obj) { + return Object.keys(obj).length === 0; +} +function subscribe(store, ...callbacks) { + if (store == null) { + return noop; + } + const unsub = store.subscribe(...callbacks); + return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub; +} +function component_subscribe(component, store, callback) { + component.$$.on_destroy.push(subscribe(store, callback)); +} +function set_store_value(store, ret, value = ret) { + store.set(value); + return ret; +} + +const is_client = typeof window !== 'undefined'; +let now = is_client + ? () => window.performance.now() + : () => Date.now(); +let raf = is_client ? cb => requestAnimationFrame(cb) : noop; + +const tasks = new Set(); +function run_tasks(now) { + tasks.forEach(task => { + if (!task.c(now)) { + tasks.delete(task); + task.f(); + } + }); + if (tasks.size !== 0) + raf(run_tasks); +} +/** + * Creates a new task that runs on each raf frame + * until it returns a falsy value or is aborted + */ +function loop(callback) { + let task; + if (tasks.size === 0) + raf(run_tasks); + return { + promise: new Promise(fulfill => { + tasks.add(task = { c: callback, f: fulfill }); + }), + abort() { + tasks.delete(task); + } + }; +} + +function append(target, node) { + target.appendChild(node); +} +function insert(target, node, anchor) { + target.insertBefore(node, anchor || null); +} +function detach(node) { + node.parentNode.removeChild(node); +} +function destroy_each(iterations, detaching) { + for (let i = 0; i < iterations.length; i += 1) { + if (iterations[i]) + iterations[i].d(detaching); + } +} +function element(name) { + return document.createElement(name); +} +function svg_element(name) { + return document.createElementNS('http://www.w3.org/2000/svg', name); +} +function text(data) { + return document.createTextNode(data); +} +function space() { + return text(' '); +} +function empty() { + return text(''); +} +function listen(node, event, handler, options) { + node.addEventListener(event, handler, options); + return () => node.removeEventListener(event, handler, options); +} +function attr(node, attribute, value) { + if (value == null) + node.removeAttribute(attribute); + else if (node.getAttribute(attribute) !== value) + node.setAttribute(attribute, value); +} +function children(element) { + return Array.from(element.childNodes); +} +function set_data(text, data) { + data = '' + data; + if (text.wholeText !== data) + text.data = data; +} +function set_input_value(input, value) { + input.value = value == null ? '' : value; +} +function toggle_class(element, name, toggle) { + element.classList[toggle ? 'add' : 'remove'](name); +} +function custom_event(type, detail) { + const e = document.createEvent('CustomEvent'); + e.initCustomEvent(type, false, false, detail); + return e; +} + +const active_docs = new Set(); +let active = 0; +// https://github.com/darkskyapp/string-hash/blob/master/index.js +function hash$2(str) { + let hash = 5381; + let i = str.length; + while (i--) + hash = ((hash << 5) - hash) ^ str.charCodeAt(i); + return hash >>> 0; +} +function create_rule(node, a, b, duration, delay, ease, fn, uid = 0) { + const step = 16.666 / duration; + let keyframes = '{\n'; + for (let p = 0; p <= 1; p += step) { + const t = a + (b - a) * ease(p); + keyframes += p * 100 + `%{${fn(t, 1 - t)}}\n`; + } + const rule = keyframes + `100% {${fn(b, 1 - b)}}\n}`; + const name = `__svelte_${hash$2(rule)}_${uid}`; + const doc = node.ownerDocument; + active_docs.add(doc); + const stylesheet = doc.__svelte_stylesheet || (doc.__svelte_stylesheet = doc.head.appendChild(element('style')).sheet); + const current_rules = doc.__svelte_rules || (doc.__svelte_rules = {}); + if (!current_rules[name]) { + current_rules[name] = true; + stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length); + } + const animation = node.style.animation || ''; + node.style.animation = `${animation ? `${animation}, ` : ''}${name} ${duration}ms linear ${delay}ms 1 both`; + active += 1; + return name; +} +function delete_rule(node, name) { + const previous = (node.style.animation || '').split(', '); + const next = previous.filter(name + ? anim => anim.indexOf(name) < 0 // remove specific animation + : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations + ); + const deleted = previous.length - next.length; + if (deleted) { + node.style.animation = next.join(', '); + active -= deleted; + if (!active) + clear_rules(); + } +} +function clear_rules() { + raf(() => { + if (active) + return; + active_docs.forEach(doc => { + const stylesheet = doc.__svelte_stylesheet; + let i = stylesheet.cssRules.length; + while (i--) + stylesheet.deleteRule(i); + doc.__svelte_rules = {}; + }); + active_docs.clear(); + }); +} + +let current_component; +function set_current_component(component) { + current_component = component; +} +function get_current_component() { + if (!current_component) + throw new Error('Function called outside component initialization'); + return current_component; +} +function onMount(fn) { + get_current_component().$$.on_mount.push(fn); +} +function onDestroy(fn) { + get_current_component().$$.on_destroy.push(fn); +} + +const dirty_components = []; +const binding_callbacks = []; +const render_callbacks = []; +const flush_callbacks = []; +const resolved_promise = Promise.resolve(); +let update_scheduled = false; +function schedule_update() { + if (!update_scheduled) { + update_scheduled = true; + resolved_promise.then(flush); + } +} +function add_render_callback(fn) { + render_callbacks.push(fn); +} +let flushing = false; +const seen_callbacks = new Set(); +function flush() { + if (flushing) + return; + flushing = true; + do { + // first, call beforeUpdate functions + // and update components + for (let i = 0; i < dirty_components.length; i += 1) { + const component = dirty_components[i]; + set_current_component(component); + update(component.$$); + } + set_current_component(null); + dirty_components.length = 0; + while (binding_callbacks.length) + binding_callbacks.pop()(); + // then, once components are updated, call + // afterUpdate functions. This may cause + // subsequent updates... + for (let i = 0; i < render_callbacks.length; i += 1) { + const callback = render_callbacks[i]; + if (!seen_callbacks.has(callback)) { + // ...so guard against infinite loops + seen_callbacks.add(callback); + callback(); + } + } + render_callbacks.length = 0; + } while (dirty_components.length); + while (flush_callbacks.length) { + flush_callbacks.pop()(); + } + update_scheduled = false; + flushing = false; + seen_callbacks.clear(); +} +function update($$) { + if ($$.fragment !== null) { + $$.update(); + run_all($$.before_update); + const dirty = $$.dirty; + $$.dirty = [-1]; + $$.fragment && $$.fragment.p($$.ctx, dirty); + $$.after_update.forEach(add_render_callback); + } +} + +let promise; +function wait() { + if (!promise) { + promise = Promise.resolve(); + promise.then(() => { + promise = null; + }); + } + return promise; +} +function dispatch(node, direction, kind) { + node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`)); +} +const outroing = new Set(); +let outros; +function group_outros() { + outros = { + r: 0, + c: [], + p: outros // parent group + }; +} +function check_outros() { + if (!outros.r) { + run_all(outros.c); + } + outros = outros.p; +} +function transition_in(block, local) { + if (block && block.i) { + outroing.delete(block); + block.i(local); + } +} +function transition_out(block, local, detach, callback) { + if (block && block.o) { + if (outroing.has(block)) + return; + outroing.add(block); + outros.c.push(() => { + outroing.delete(block); + if (callback) { + if (detach) + block.d(1); + callback(); + } + }); + block.o(local); + } +} +const null_transition = { duration: 0 }; +function create_in_transition(node, fn, params) { + let config = fn(node, params); + let running = false; + let animation_name; + let task; + let uid = 0; + function cleanup() { + if (animation_name) + delete_rule(node, animation_name); + } + function go() { + const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition; + if (css) + animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++); + tick(0, 1); + const start_time = now() + delay; + const end_time = start_time + duration; + if (task) + task.abort(); + running = true; + add_render_callback(() => dispatch(node, true, 'start')); + task = loop(now => { + if (running) { + if (now >= end_time) { + tick(1, 0); + dispatch(node, true, 'end'); + cleanup(); + return running = false; + } + if (now >= start_time) { + const t = easing((now - start_time) / duration); + tick(t, 1 - t); + } + } + return running; + }); + } + let started = false; + return { + start() { + if (started) + return; + delete_rule(node); + if (is_function(config)) { + config = config(); + wait().then(go); + } + else { + go(); + } + }, + invalidate() { + started = false; + }, + end() { + if (running) { + cleanup(); + running = false; + } + } + }; +} +function create_out_transition(node, fn, params) { + let config = fn(node, params); + let running = true; + let animation_name; + const group = outros; + group.r += 1; + function go() { + const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition; + if (css) + animation_name = create_rule(node, 1, 0, duration, delay, easing, css); + const start_time = now() + delay; + const end_time = start_time + duration; + add_render_callback(() => dispatch(node, false, 'start')); + loop(now => { + if (running) { + if (now >= end_time) { + tick(0, 1); + dispatch(node, false, 'end'); + if (!--group.r) { + // this will result in `end()` being called, + // so we don't need to clean up here + run_all(group.c); + } + return false; + } + if (now >= start_time) { + const t = easing((now - start_time) / duration); + tick(1 - t, t); + } + } + return running; + }); + } + if (is_function(config)) { + wait().then(() => { + // @ts-ignore + config = config(); + go(); + }); + } + else { + go(); + } + return { + end(reset) { + if (reset && config.tick) { + config.tick(1, 0); + } + if (running) { + if (animation_name) + delete_rule(node, animation_name); + running = false; + } + } + }; +} +function create_component(block) { + block && block.c(); +} +function mount_component(component, target, anchor, customElement) { + const { fragment, on_mount, on_destroy, after_update } = component.$$; + fragment && fragment.m(target, anchor); + if (!customElement) { + // onMount happens before the initial afterUpdate + add_render_callback(() => { + const new_on_destroy = on_mount.map(run).filter(is_function); + if (on_destroy) { + on_destroy.push(...new_on_destroy); + } + else { + // Edge case - component was destroyed immediately, + // most likely as a result of a binding initialising + run_all(new_on_destroy); + } + component.$$.on_mount = []; + }); + } + after_update.forEach(add_render_callback); +} +function destroy_component(component, detaching) { + const $$ = component.$$; + if ($$.fragment !== null) { + run_all($$.on_destroy); + $$.fragment && $$.fragment.d(detaching); + // TODO null out other refs, including component.$$ (but need to + // preserve final state?) + $$.on_destroy = $$.fragment = null; + $$.ctx = []; + } +} +function make_dirty(component, i) { + if (component.$$.dirty[0] === -1) { + dirty_components.push(component); + schedule_update(); + component.$$.dirty.fill(0); + } + component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31)); +} +function init(component, options, instance, create_fragment, not_equal, props, dirty = [-1]) { + const parent_component = current_component; + set_current_component(component); + const $$ = component.$$ = { + fragment: null, + ctx: null, + // state + props, + update: noop, + not_equal, + bound: blank_object(), + // lifecycle + on_mount: [], + on_destroy: [], + on_disconnect: [], + before_update: [], + after_update: [], + context: new Map(parent_component ? parent_component.$$.context : []), + // everything else + callbacks: blank_object(), + dirty, + skip_bound: false + }; + let ready = false; + $$.ctx = instance + ? instance(component, options.props || {}, (i, ret, ...rest) => { + const value = rest.length ? rest[0] : ret; + if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) { + if (!$$.skip_bound && $$.bound[i]) + $$.bound[i](value); + if (ready) + make_dirty(component, i); + } + return ret; + }) + : []; + $$.update(); + ready = true; + run_all($$.before_update); + // `false` as a special case of no DOM component + $$.fragment = create_fragment ? create_fragment($$.ctx) : false; + if (options.target) { + if (options.hydrate) { + const nodes = children(options.target); + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + $$.fragment && $$.fragment.l(nodes); + nodes.forEach(detach); + } + else { + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + $$.fragment && $$.fragment.c(); + } + if (options.intro) + transition_in(component.$$.fragment); + mount_component(component, options.target, options.anchor, options.customElement); + flush(); + } + set_current_component(parent_component); +} +/** + * Base class for Svelte components. Used when dev=false. + */ +class SvelteComponent { + $destroy() { + destroy_component(this, 1); + this.$destroy = noop; + } + $on(type, callback) { + const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = [])); + callbacks.push(callback); + return () => { + const index = callbacks.indexOf(callback); + if (index !== -1) + callbacks.splice(index, 1); + }; + } + $set($$props) { + if (this.$$set && !is_empty($$props)) { + this.$$.skip_bound = true; + this.$$set($$props); + this.$$.skip_bound = false; + } + } +} + +const subscriber_queue = []; +/** + * Create a `Writable` store that allows both updating and reading by subscription. + * @param {*=}value initial value + * @param {StartStopNotifier=}start start and stop notifications for subscriptions + */ +function writable(value, start = noop) { + let stop; + const subscribers = []; + function set(new_value) { + if (safe_not_equal(value, new_value)) { + value = new_value; + if (stop) { // store is ready + const run_queue = !subscriber_queue.length; + for (let i = 0; i < subscribers.length; i += 1) { + const s = subscribers[i]; + s[1](); + subscriber_queue.push(s, value); + } + if (run_queue) { + for (let i = 0; i < subscriber_queue.length; i += 2) { + subscriber_queue[i][0](subscriber_queue[i + 1]); + } + subscriber_queue.length = 0; + } + } + } + } + function update(fn) { + set(fn(value)); + } + function subscribe(run, invalidate = noop) { + const subscriber = [run, invalidate]; + subscribers.push(subscriber); + if (subscribers.length === 1) { + stop = start(set) || noop; + } + run(value); + return () => { + const index = subscribers.indexOf(subscriber); + if (index !== -1) { + subscribers.splice(index, 1); + } + if (subscribers.length === 0) { + stop(); + stop = null; + } + }; + } + return { set, update, subscribe }; +} + +function cubicOut(t) { + const f = t - 1.0; + return f * f * f + 1.0; +} + +function slide(node, { delay = 0, duration = 400, easing = cubicOut } = {}) { + const style = getComputedStyle(node); + const opacity = +style.opacity; + const height = parseFloat(style.height); + const padding_top = parseFloat(style.paddingTop); + const padding_bottom = parseFloat(style.paddingBottom); + const margin_top = parseFloat(style.marginTop); + const margin_bottom = parseFloat(style.marginBottom); + const border_top_width = parseFloat(style.borderTopWidth); + const border_bottom_width = parseFloat(style.borderBottomWidth); + return { + delay, + duration, + easing, + css: t => 'overflow: hidden;' + + `opacity: ${Math.min(t * 20, 1) * opacity};` + + `height: ${t * height}px;` + + `padding-top: ${t * padding_top}px;` + + `padding-bottom: ${t * padding_bottom}px;` + + `margin-top: ${t * margin_top}px;` + + `margin-bottom: ${t * margin_bottom}px;` + + `border-top-width: ${t * border_top_width}px;` + + `border-bottom-width: ${t * border_bottom_width}px;` + }; +} + +/* src/settings/Checkmark.svelte generated by Svelte v3.35.0 */ + +function add_css$1() { + var style = element("style"); + style.id = "svelte-1q3q9tf-style"; + style.textContent = ".check.svelte-1q3q9tf{margin-left:6px;width:12px;height:12px}"; + append(document.head, style); +} + +function create_fragment$5(ctx) { + let svg; + let path; + + return { + c() { + svg = svg_element("svg"); + path = svg_element("path"); + attr(path, "fill", "currentColor"); + attr(path, "d", "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"); + attr(svg, "aria-hidden", "true"); + attr(svg, "focusable", "false"); + attr(svg, "class", "check svelte-1q3q9tf"); + attr(svg, "data-icon", "check"); + attr(svg, "role", "img"); + attr(svg, "xmlns", "http://www.w3.org/2000/svg"); + attr(svg, "viewBox", "0 0 512 512"); + }, + m(target, anchor) { + insert(target, svg, anchor); + append(svg, path); + }, + p: noop, + i: noop, + o: noop, + d(detaching) { + if (detaching) detach(svg); + } + }; +} + +class Checkmark extends SvelteComponent { + constructor(options) { + super(); + if (!document.getElementById("svelte-1q3q9tf-style")) add_css$1(); + init(this, options, null, create_fragment$5, safe_not_equal, {}); + } +} + +/* src/settings/GettingStartedBanner.svelte generated by Svelte v3.35.0 */ + +function add_css() { + var style = element("style"); + style.id = "svelte-1alo0m9-style"; + style.textContent = "button.svelte-1alo0m9{display:flex;align-items:center}"; + append(document.head, style); +} + +// (20:2) {#if hasDailyNoteSettings} +function create_if_block_3(ctx) { + let div2; + let div0; + let h4; + let t1; + let t2; + let div1; + let current_block_type_index; + let if_block1; + let current; + + function select_block_type(ctx, dirty) { + if (/*$settings*/ ctx[5].hasMigratedDailyNoteSettings) return create_if_block_5; + return create_else_block_2; + } + + let current_block_type = select_block_type(ctx); + let if_block0 = current_block_type(ctx); + const if_block_creators = [create_if_block_4, create_else_block_1]; + const if_blocks = []; + + function select_block_type_1(ctx, dirty) { + if (/*$settings*/ ctx[5].hasMigratedDailyNoteSettings) return 0; + return 1; + } + + current_block_type_index = select_block_type_1(ctx); + if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); + + return { + c() { + div2 = element("div"); + div0 = element("div"); + h4 = element("h4"); + h4.textContent = "Daily Notes plugin is enabled"; + t1 = space(); + if_block0.c(); + t2 = space(); + div1 = element("div"); + if_block1.c(); + attr(div0, "class", "setting-item-info"); + attr(div1, "class", "setting-item-control"); + attr(div2, "class", "setting-item"); + }, + m(target, anchor) { + insert(target, div2, anchor); + append(div2, div0); + append(div0, h4); + append(div0, t1); + if_block0.m(div0, null); + append(div2, t2); + append(div2, div1); + if_blocks[current_block_type_index].m(div1, null); + current = true; + }, + p(ctx, dirty) { + if (current_block_type !== (current_block_type = select_block_type(ctx))) { + if_block0.d(1); + if_block0 = current_block_type(ctx); + + if (if_block0) { + if_block0.c(); + if_block0.m(div0, null); + } + } + + let previous_block_index = current_block_type_index; + current_block_type_index = select_block_type_1(ctx); + + if (current_block_type_index === previous_block_index) { + if_blocks[current_block_type_index].p(ctx, dirty); + } else { + group_outros(); + + transition_out(if_blocks[previous_block_index], 1, 1, () => { + if_blocks[previous_block_index] = null; + }); + + check_outros(); + if_block1 = if_blocks[current_block_type_index]; + + if (!if_block1) { + if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); + if_block1.c(); + } else { + if_block1.p(ctx, dirty); + } + + transition_in(if_block1, 1); + if_block1.m(div1, null); + } + }, + i(local) { + if (current) return; + transition_in(if_block1); + current = true; + }, + o(local) { + transition_out(if_block1); + current = false; + }, + d(detaching) { + if (detaching) detach(div2); + if_block0.d(); + if_blocks[current_block_type_index].d(); + } + }; +} + +// (31:8) {:else} +function create_else_block_2(ctx) { + let p; + + return { + c() { + p = element("p"); + p.textContent = "You are currently using the core Daily Notes plugin. You can migrate\n those settings over to Periodic Notes to enjoy the same\n functionality as well as some notable improvements"; + attr(p, "class", "setting-item-description"); + }, + m(target, anchor) { + insert(target, p, anchor); + }, + d(detaching) { + if (detaching) detach(p); + } + }; +} + +// (24:8) {#if $settings.hasMigratedDailyNoteSettings} +function create_if_block_5(ctx) { + let p; + + return { + c() { + p = element("p"); + + p.innerHTML = `You have successfully migrated your daily notes settings. You can + now disable the Daily Notes core plugin to avoid any confusion.
If you have an custom hotkeys for daily notes, make sure to update + them to use the new "Periodic Notes" commands.`; + + attr(p, "class", "setting-item-description"); + }, + m(target, anchor) { + insert(target, p, anchor); + }, + d(detaching) { + if (detaching) detach(p); + } + }; +} + +// (42:8) {:else} +function create_else_block_1(ctx) { + let button; + let mounted; + let dispose; + + return { + c() { + button = element("button"); + button.textContent = "Migrate"; + attr(button, "class", "mod-cta svelte-1alo0m9"); + }, + m(target, anchor) { + insert(target, button, anchor); + + if (!mounted) { + dispose = listen(button, "click", function () { + if (is_function(/*migrateDailyNoteSettings*/ ctx[2])) /*migrateDailyNoteSettings*/ ctx[2].apply(this, arguments); + }); + + mounted = true; + } + }, + p(new_ctx, dirty) { + ctx = new_ctx; + }, + i: noop, + o: noop, + d(detaching) { + if (detaching) detach(button); + mounted = false; + dispose(); + } + }; +} + +// (40:8) {#if $settings.hasMigratedDailyNoteSettings} +function create_if_block_4(ctx) { + let button; + let t; + let checkmark; + let current; + checkmark = new Checkmark({}); + + return { + c() { + button = element("button"); + t = text("Migrated "); + create_component(checkmark.$$.fragment); + button.disabled = true; + attr(button, "class", "svelte-1alo0m9"); + }, + m(target, anchor) { + insert(target, button, anchor); + append(button, t); + mount_component(checkmark, button, null); + current = true; + }, + p: noop, + i(local) { + if (current) return; + transition_in(checkmark.$$.fragment, local); + current = true; + }, + o(local) { + transition_out(checkmark.$$.fragment, local); + current = false; + }, + d(detaching) { + if (detaching) detach(button); + destroy_component(checkmark); + } + }; +} + +// (51:2) {#if hasWeeklyNoteSettings} +function create_if_block_1$2(ctx) { + let div2; + let div0; + let t3; + let div1; + let current_block_type_index; + let if_block; + let current; + const if_block_creators = [create_if_block_2, create_else_block]; + const if_blocks = []; + + function select_block_type_2(ctx, dirty) { + if (/*$settings*/ ctx[5].hasMigratedWeeklyNoteSettings) return 0; + return 1; + } + + current_block_type_index = select_block_type_2(ctx); + if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); + + return { + c() { + div2 = element("div"); + div0 = element("div"); + + div0.innerHTML = `

Weekly Note settings migrated

+

Your existing weekly-note settings from the Calendar plugin have been + migrated over automatically. The functionality will be removed from + the Calendar plugin in the future.

`; + + t3 = space(); + div1 = element("div"); + if_block.c(); + attr(div0, "class", "setting-item-info"); + attr(div1, "class", "setting-item-control"); + attr(div2, "class", "setting-item"); + }, + m(target, anchor) { + insert(target, div2, anchor); + append(div2, div0); + append(div2, t3); + append(div2, div1); + if_blocks[current_block_type_index].m(div1, null); + current = true; + }, + p(ctx, dirty) { + let previous_block_index = current_block_type_index; + current_block_type_index = select_block_type_2(ctx); + + if (current_block_type_index !== previous_block_index) { + group_outros(); + + transition_out(if_blocks[previous_block_index], 1, 1, () => { + if_blocks[previous_block_index] = null; + }); + + check_outros(); + if_block = if_blocks[current_block_type_index]; + + if (!if_block) { + if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); + if_block.c(); + } + + transition_in(if_block, 1); + if_block.m(div1, null); + } + }, + i(local) { + if (current) return; + transition_in(if_block); + current = true; + }, + o(local) { + transition_out(if_block); + current = false; + }, + d(detaching) { + if (detaching) detach(div2); + if_blocks[current_block_type_index].d(); + } + }; +} + +// (67:8) {:else} +function create_else_block(ctx) { + let button; + + return { + c() { + button = element("button"); + button.textContent = "Migrate"; + attr(button, "class", "mod-cta svelte-1alo0m9"); + }, + m(target, anchor) { + insert(target, button, anchor); + }, + i: noop, + o: noop, + d(detaching) { + if (detaching) detach(button); + } + }; +} + +// (62:8) {#if $settings.hasMigratedWeeklyNoteSettings} +function create_if_block_2(ctx) { + let button; + let t; + let checkmark; + let current; + checkmark = new Checkmark({}); + + return { + c() { + button = element("button"); + t = text("Migrated\n "); + create_component(checkmark.$$.fragment); + button.disabled = true; + attr(button, "class", "svelte-1alo0m9"); + }, + m(target, anchor) { + insert(target, button, anchor); + append(button, t); + mount_component(checkmark, button, null); + current = true; + }, + i(local) { + if (current) return; + transition_in(checkmark.$$.fragment, local); + current = true; + }, + o(local) { + transition_out(checkmark.$$.fragment, local); + current = false; + }, + d(detaching) { + if (detaching) detach(button); + destroy_component(checkmark); + } + }; +} + +// (74:2) {#if !hasDailyNoteSettings && !hasWeeklyNoteSettings} +function create_if_block$4(ctx) { + let p; + + return { + c() { + p = element("p"); + p.textContent = "With this plugin, you can quickly create and navigate to daily, weekly,\n and monthly notes. Enable them below to get started."; + }, + m(target, anchor) { + insert(target, p, anchor); + }, + d(detaching) { + if (detaching) detach(p); + } + }; +} + +function create_fragment$4(ctx) { + let div; + let h3; + let t1; + let t2; + let t3; + let t4; + let button; + let div_outro; + let current; + let mounted; + let dispose; + let if_block0 = /*hasDailyNoteSettings*/ ctx[3] && create_if_block_3(ctx); + let if_block1 = /*hasWeeklyNoteSettings*/ ctx[4] && create_if_block_1$2(ctx); + let if_block2 = !/*hasDailyNoteSettings*/ ctx[3] && !/*hasWeeklyNoteSettings*/ ctx[4] && create_if_block$4(); + + return { + c() { + div = element("div"); + h3 = element("h3"); + h3.textContent = "Getting Started"; + t1 = space(); + if (if_block0) if_block0.c(); + t2 = space(); + if (if_block1) if_block1.c(); + t3 = space(); + if (if_block2) if_block2.c(); + t4 = space(); + button = element("button"); + button.textContent = "Dismiss"; + attr(button, "class", "svelte-1alo0m9"); + attr(div, "class", "settings-banner"); + }, + m(target, anchor) { + insert(target, div, anchor); + append(div, h3); + append(div, t1); + if (if_block0) if_block0.m(div, null); + append(div, t2); + if (if_block1) if_block1.m(div, null); + append(div, t3); + if (if_block2) if_block2.m(div, null); + append(div, t4); + append(div, button); + current = true; + + if (!mounted) { + dispose = listen(button, "click", function () { + if (is_function(/*handleTeardown*/ ctx[1])) /*handleTeardown*/ ctx[1].apply(this, arguments); + }); + + mounted = true; + } + }, + p(new_ctx, [dirty]) { + ctx = new_ctx; + + if (/*hasDailyNoteSettings*/ ctx[3]) { + if (if_block0) { + if_block0.p(ctx, dirty); + + if (dirty & /*hasDailyNoteSettings*/ 8) { + transition_in(if_block0, 1); + } + } else { + if_block0 = create_if_block_3(ctx); + if_block0.c(); + transition_in(if_block0, 1); + if_block0.m(div, t2); + } + } else if (if_block0) { + group_outros(); + + transition_out(if_block0, 1, 1, () => { + if_block0 = null; + }); + + check_outros(); + } + + if (/*hasWeeklyNoteSettings*/ ctx[4]) { + if (if_block1) { + if_block1.p(ctx, dirty); + + if (dirty & /*hasWeeklyNoteSettings*/ 16) { + transition_in(if_block1, 1); + } + } else { + if_block1 = create_if_block_1$2(ctx); + if_block1.c(); + transition_in(if_block1, 1); + if_block1.m(div, t3); + } + } else if (if_block1) { + group_outros(); + + transition_out(if_block1, 1, 1, () => { + if_block1 = null; + }); + + check_outros(); + } + + if (!/*hasDailyNoteSettings*/ ctx[3] && !/*hasWeeklyNoteSettings*/ ctx[4]) { + if (if_block2) ; else { + if_block2 = create_if_block$4(); + if_block2.c(); + if_block2.m(div, t4); + } + } else if (if_block2) { + if_block2.d(1); + if_block2 = null; + } + }, + i(local) { + if (current) return; + transition_in(if_block0); + transition_in(if_block1); + if (div_outro) div_outro.end(1); + current = true; + }, + o(local) { + transition_out(if_block0); + transition_out(if_block1); + div_outro = create_out_transition(div, slide, {}); + current = false; + }, + d(detaching) { + if (detaching) detach(div); + if (if_block0) if_block0.d(); + if (if_block1) if_block1.d(); + if (if_block2) if_block2.d(); + if (detaching && div_outro) div_outro.end(); + mounted = false; + dispose(); + } + }; +} + +function instance$4($$self, $$props, $$invalidate) { + let $settings, + $$unsubscribe_settings = noop, + $$subscribe_settings = () => ($$unsubscribe_settings(), $$unsubscribe_settings = subscribe(settings, $$value => $$invalidate(5, $settings = $$value)), settings); + + $$self.$$.on_destroy.push(() => $$unsubscribe_settings()); + + + let { settings } = $$props; + $$subscribe_settings(); + let { handleTeardown } = $$props; + let { migrateDailyNoteSettings } = $$props; + let hasDailyNoteSettings; + let hasWeeklyNoteSettings; + + $$self.$$set = $$props => { + if ("settings" in $$props) $$subscribe_settings($$invalidate(0, settings = $$props.settings)); + if ("handleTeardown" in $$props) $$invalidate(1, handleTeardown = $$props.handleTeardown); + if ("migrateDailyNoteSettings" in $$props) $$invalidate(2, migrateDailyNoteSettings = $$props.migrateDailyNoteSettings); + }; + + { + $$invalidate(3, hasDailyNoteSettings = hasLegacyDailyNoteSettings()); + $$invalidate(4, hasWeeklyNoteSettings = hasLegacyWeeklyNoteSettings()); + } + + return [ + settings, + handleTeardown, + migrateDailyNoteSettings, + hasDailyNoteSettings, + hasWeeklyNoteSettings, + $settings + ]; +} + +class GettingStartedBanner extends SvelteComponent { + constructor(options) { + super(); + if (!document.getElementById("svelte-1alo0m9-style")) add_css(); + + init(this, options, instance$4, create_fragment$4, safe_not_equal, { + settings: 0, + handleTeardown: 1, + migrateDailyNoteSettings: 2 + }); + } +} + +function getBasename(format) { + const isTemplateNested = format.indexOf("/") !== -1; + return isTemplateNested ? format.split("/").pop() : format; +} +function isValidFilename(filename) { + const illegalRe = /[?<>\\:*|"]/g; + const controlRe = /[\x00-\x1f\x80-\x9f]/g; + const reservedRe = /^\.+$/; + const windowsReservedRe = /^(con|prn|aux|nul|com[0-9]|lpt[0-9])(\..*)?$/i; + return (!illegalRe.test(filename) && + !controlRe.test(filename) && + !reservedRe.test(filename) && + !windowsReservedRe.test(filename)); +} +function validateFormat(format, periodicity) { + if (!format) { + return ""; + } + if (!isValidFilename(format)) { + return "Format contains illegal characters"; + } + if (periodicity === "daily" && + !["m", "d", "y"].every((requiredChar) => getBasename(format) + .replace(/\[[^\]]*\]/g, "") // remove everything within brackets + .toLowerCase() + .indexOf(requiredChar) !== -1)) { + return "Filename must be unique"; + } +} +function validateTemplate(template) { + if (!template) { + return ""; + } + const { metadataCache } = window.app; + const file = metadataCache.getFirstLinkpathDest(template, ""); + if (!file) { + return "Template file not found"; + } + return ""; +} +function validateFolder(folder) { + if (!folder || folder === "/") { + return ""; + } + const { vault } = window.app; + if (!vault.getAbstractFileByPath(obsidian.normalizePath(folder))) { + return "Folder not found in vault"; + } + return ""; +} + +/* src/settings/NoteFormatSetting.svelte generated by Svelte v3.35.0 */ + +function create_if_block_1$1(ctx) { + let div; + let t0; + let strong0; + let t1; + let br; + let t2; + let strong1; + let t3; + + return { + c() { + div = element("div"); + t0 = text("New files will be created at "); + strong0 = element("strong"); + t1 = text(/*value*/ ctx[2]); + br = element("br"); + t2 = text("\n Format: "); + strong1 = element("strong"); + t3 = text(/*basename*/ ctx[7]); + }, + m(target, anchor) { + insert(target, div, anchor); + append(div, t0); + append(div, strong0); + append(strong0, t1); + append(div, br); + append(div, t2); + append(div, strong1); + append(strong1, t3); + }, + p(ctx, dirty) { + if (dirty & /*value*/ 4) set_data(t1, /*value*/ ctx[2]); + if (dirty & /*basename*/ 128) set_data(t3, /*basename*/ ctx[7]); + }, + d(detaching) { + if (detaching) detach(div); + } + }; +} + +// (56:4) {#if error} +function create_if_block$3(ctx) { + let div; + let t; + + return { + c() { + div = element("div"); + t = text(/*error*/ ctx[5]); + attr(div, "class", "has-error"); + }, + m(target, anchor) { + insert(target, div, anchor); + append(div, t); + }, + p(ctx, dirty) { + if (dirty & /*error*/ 32) set_data(t, /*error*/ ctx[5]); + }, + d(detaching) { + if (detaching) detach(div); + } + }; +} + +function create_fragment$3(ctx) { + let div5; + let div3; + let div0; + let t1; + let div2; + let a; + let t3; + let div1; + let t4; + let b; + let t5_value = window.moment().format(/*value*/ ctx[2] || /*defaultFormat*/ ctx[8]) + ""; + let t5; + let t6; + let t7; + let t8; + let div4; + let input; + let mounted; + let dispose; + let if_block0 = /*isTemplateNested*/ ctx[6] && create_if_block_1$1(ctx); + let if_block1 = /*error*/ ctx[5] && create_if_block$3(ctx); + + return { + c() { + div5 = element("div"); + div3 = element("div"); + div0 = element("div"); + div0.textContent = "Format"; + t1 = space(); + div2 = element("div"); + a = element("a"); + a.textContent = "Syntax Reference"; + t3 = space(); + div1 = element("div"); + t4 = text("Your current syntax looks like this: "); + b = element("b"); + t5 = text(t5_value); + t6 = space(); + if (if_block0) if_block0.c(); + t7 = space(); + if (if_block1) if_block1.c(); + t8 = space(); + div4 = element("div"); + input = element("input"); + attr(div0, "class", "setting-item-name"); + attr(a, "href", "https://momentjs.com/docs/#/displaying/format/"); + attr(b, "class", "u-pop"); + attr(div2, "class", "setting-item-description"); + attr(div3, "class", "setting-item-info"); + attr(input, "type", "text"); + attr(input, "spellcheck", false); + attr(input, "placeholder", /*defaultFormat*/ ctx[8]); + toggle_class(input, "has-error", !!/*error*/ ctx[5]); + attr(div4, "class", "setting-item-control"); + attr(div5, "class", "setting-item"); + }, + m(target, anchor) { + insert(target, div5, anchor); + append(div5, div3); + append(div3, div0); + append(div3, t1); + append(div3, div2); + append(div2, a); + append(div2, t3); + append(div2, div1); + append(div1, t4); + append(div1, b); + append(b, t5); + append(div2, t6); + if (if_block0) if_block0.m(div2, null); + append(div3, t7); + if (if_block1) if_block1.m(div3, null); + append(div5, t8); + append(div5, div4); + append(div4, input); + set_input_value(input, /*$settings*/ ctx[3][/*periodicity*/ ctx[1]].format); + /*input_binding*/ ctx[12](input); + + if (!mounted) { + dispose = [ + listen(input, "input", /*input_input_handler*/ ctx[11]), + listen(input, "change", /*onChange*/ ctx[10]), + listen(input, "input", /*clearError*/ ctx[9]) + ]; + + mounted = true; + } + }, + p(ctx, [dirty]) { + if (dirty & /*value*/ 4 && t5_value !== (t5_value = window.moment().format(/*value*/ ctx[2] || /*defaultFormat*/ ctx[8]) + "")) set_data(t5, t5_value); + + if (/*isTemplateNested*/ ctx[6]) { + if (if_block0) { + if_block0.p(ctx, dirty); + } else { + if_block0 = create_if_block_1$1(ctx); + if_block0.c(); + if_block0.m(div2, null); + } + } else if (if_block0) { + if_block0.d(1); + if_block0 = null; + } + + if (/*error*/ ctx[5]) { + if (if_block1) { + if_block1.p(ctx, dirty); + } else { + if_block1 = create_if_block$3(ctx); + if_block1.c(); + if_block1.m(div3, null); + } + } else if (if_block1) { + if_block1.d(1); + if_block1 = null; + } + + if (dirty & /*$settings, periodicity*/ 10 && input.value !== /*$settings*/ ctx[3][/*periodicity*/ ctx[1]].format) { + set_input_value(input, /*$settings*/ ctx[3][/*periodicity*/ ctx[1]].format); + } + + if (dirty & /*error*/ 32) { + toggle_class(input, "has-error", !!/*error*/ ctx[5]); + } + }, + i: noop, + o: noop, + d(detaching) { + if (detaching) detach(div5); + if (if_block0) if_block0.d(); + if (if_block1) if_block1.d(); + /*input_binding*/ ctx[12](null); + mounted = false; + run_all(dispose); + } + }; +} + +function instance$3($$self, $$props, $$invalidate) { + let $settings, + $$unsubscribe_settings = noop, + $$subscribe_settings = () => ($$unsubscribe_settings(), $$unsubscribe_settings = subscribe(settings, $$value => $$invalidate(3, $settings = $$value)), settings); + + $$self.$$.on_destroy.push(() => $$unsubscribe_settings()); + + + let { settings } = $$props; + $$subscribe_settings(); + let { periodicity } = $$props; + + const DEFAULT_FORMATS = { + daily: DEFAULT_DAILY_NOTE_FORMAT_1, + weekly: DEFAULT_WEEKLY_NOTE_FORMAT_1, + monthly: DEFAULT_MONTHLY_NOTE_FORMAT_1, + quarterly: DEFAULT_QUARTERLY_NOTE_FORMAT_1, + yearly: DEFAULT_YEARLY_NOTE_FORMAT_1 + }; + + const defaultFormat = DEFAULT_FORMATS[periodicity]; + let inputEl; + let value; + let error; + let isTemplateNested; + let basename; + + onMount(() => { + $$invalidate(5, error = validateFormat(inputEl.value, periodicity)); + }); + + function clearError() { + $$invalidate(5, error = ""); + } + + function onChange() { + $$invalidate(5, error = validateFormat(inputEl.value, periodicity)); + } + + function input_input_handler() { + $settings[periodicity].format = this.value; + settings.set($settings); + $$invalidate(1, periodicity); + } + + function input_binding($$value) { + binding_callbacks[$$value ? "unshift" : "push"](() => { + inputEl = $$value; + $$invalidate(4, inputEl); + }); + } + + $$self.$$set = $$props => { + if ("settings" in $$props) $$subscribe_settings($$invalidate(0, settings = $$props.settings)); + if ("periodicity" in $$props) $$invalidate(1, periodicity = $$props.periodicity); + }; + + $$self.$$.update = () => { + if ($$self.$$.dirty & /*$settings, periodicity, value*/ 14) { + { + $$invalidate(2, value = $settings[periodicity].format || ""); + $$invalidate(6, isTemplateNested = value.indexOf("/") !== -1); + $$invalidate(7, basename = getBasename(value)); + } + } + }; + + return [ + settings, + periodicity, + value, + $settings, + inputEl, + error, + isTemplateNested, + basename, + defaultFormat, + clearError, + onChange, + input_input_handler, + input_binding + ]; +} + +class NoteFormatSetting extends SvelteComponent { + constructor(options) { + super(); + init(this, options, instance$3, create_fragment$3, safe_not_equal, { settings: 0, periodicity: 1 }); + } +} + +var top = 'top'; +var bottom = 'bottom'; +var right = 'right'; +var left = 'left'; +var auto = 'auto'; +var basePlacements = [top, bottom, right, left]; +var start = 'start'; +var end = 'end'; +var clippingParents = 'clippingParents'; +var viewport = 'viewport'; +var popper = 'popper'; +var reference = 'reference'; +var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) { + return acc.concat([placement + "-" + start, placement + "-" + end]); +}, []); +var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) { + return acc.concat([placement, placement + "-" + start, placement + "-" + end]); +}, []); // modifiers that need to read the DOM + +var beforeRead = 'beforeRead'; +var read = 'read'; +var afterRead = 'afterRead'; // pure-logic modifiers + +var beforeMain = 'beforeMain'; +var main = 'main'; +var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state) + +var beforeWrite = 'beforeWrite'; +var write = 'write'; +var afterWrite = 'afterWrite'; +var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite]; + +function getNodeName(element) { + return element ? (element.nodeName || '').toLowerCase() : null; +} + +function getWindow(node) { + if (node == null) { + return window; + } + + if (node.toString() !== '[object Window]') { + var ownerDocument = node.ownerDocument; + return ownerDocument ? ownerDocument.defaultView || window : window; + } + + return node; +} + +function isElement(node) { + var OwnElement = getWindow(node).Element; + return node instanceof OwnElement || node instanceof Element; +} + +function isHTMLElement(node) { + var OwnElement = getWindow(node).HTMLElement; + return node instanceof OwnElement || node instanceof HTMLElement; +} + +function isShadowRoot(node) { + // IE 11 has no ShadowRoot + if (typeof ShadowRoot === 'undefined') { + return false; + } + + var OwnElement = getWindow(node).ShadowRoot; + return node instanceof OwnElement || node instanceof ShadowRoot; +} + +// and applies them to the HTMLElements such as popper and arrow + +function applyStyles(_ref) { + var state = _ref.state; + Object.keys(state.elements).forEach(function (name) { + var style = state.styles[name] || {}; + var attributes = state.attributes[name] || {}; + var element = state.elements[name]; // arrow is optional + virtual elements + + if (!isHTMLElement(element) || !getNodeName(element)) { + return; + } // Flow doesn't support to extend this property, but it's the most + // effective way to apply styles to an HTMLElement + // $FlowFixMe[cannot-write] + + + Object.assign(element.style, style); + Object.keys(attributes).forEach(function (name) { + var value = attributes[name]; + + if (value === false) { + element.removeAttribute(name); + } else { + element.setAttribute(name, value === true ? '' : value); + } + }); + }); +} + +function effect$2(_ref2) { + var state = _ref2.state; + var initialStyles = { + popper: { + position: state.options.strategy, + left: '0', + top: '0', + margin: '0' + }, + arrow: { + position: 'absolute' + }, + reference: {} + }; + Object.assign(state.elements.popper.style, initialStyles.popper); + state.styles = initialStyles; + + if (state.elements.arrow) { + Object.assign(state.elements.arrow.style, initialStyles.arrow); + } + + return function () { + Object.keys(state.elements).forEach(function (name) { + var element = state.elements[name]; + var attributes = state.attributes[name] || {}; + var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them + + var style = styleProperties.reduce(function (style, property) { + style[property] = ''; + return style; + }, {}); // arrow is optional + virtual elements + + if (!isHTMLElement(element) || !getNodeName(element)) { + return; + } + + Object.assign(element.style, style); + Object.keys(attributes).forEach(function (attribute) { + element.removeAttribute(attribute); + }); + }); + }; +} // eslint-disable-next-line import/no-unused-modules + + +var applyStyles$1 = { + name: 'applyStyles', + enabled: true, + phase: 'write', + fn: applyStyles, + effect: effect$2, + requires: ['computeStyles'] +}; + +function getBasePlacement(placement) { + return placement.split('-')[0]; +} + +function getBoundingClientRect(element) { + var rect = element.getBoundingClientRect(); + return { + width: rect.width, + height: rect.height, + top: rect.top, + right: rect.right, + bottom: rect.bottom, + left: rect.left, + x: rect.left, + y: rect.top + }; +} + +// means it doesn't take into account transforms. + +function getLayoutRect(element) { + var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed. + // Fixes https://github.com/popperjs/popper-core/issues/1223 + + var width = element.offsetWidth; + var height = element.offsetHeight; + + if (Math.abs(clientRect.width - width) <= 1) { + width = clientRect.width; + } + + if (Math.abs(clientRect.height - height) <= 1) { + height = clientRect.height; + } + + return { + x: element.offsetLeft, + y: element.offsetTop, + width: width, + height: height + }; +} + +function contains(parent, child) { + var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method + + if (parent.contains(child)) { + return true; + } // then fallback to custom implementation with Shadow DOM support + else if (rootNode && isShadowRoot(rootNode)) { + var next = child; + + do { + if (next && parent.isSameNode(next)) { + return true; + } // $FlowFixMe[prop-missing]: need a better way to handle this... + + + next = next.parentNode || next.host; + } while (next); + } // Give up, the result is false + + + return false; +} + +function getComputedStyle$1(element) { + return getWindow(element).getComputedStyle(element); +} + +function isTableElement(element) { + return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0; +} + +function getDocumentElement(element) { + // $FlowFixMe[incompatible-return]: assume body is always available + return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing] + element.document) || window.document).documentElement; +} + +function getParentNode(element) { + if (getNodeName(element) === 'html') { + return element; + } + + return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle + // $FlowFixMe[incompatible-return] + // $FlowFixMe[prop-missing] + element.assignedSlot || // step into the shadow DOM of the parent of a slotted node + element.parentNode || ( // DOM Element detected + isShadowRoot(element) ? element.host : null) || // ShadowRoot detected + // $FlowFixMe[incompatible-call]: HTMLElement is a Node + getDocumentElement(element) // fallback + + ); +} + +function getTrueOffsetParent(element) { + if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837 + getComputedStyle$1(element).position === 'fixed') { + return null; + } + + return element.offsetParent; +} // `.offsetParent` reports `null` for fixed elements, while absolute elements +// return the containing block + + +function getContainingBlock(element) { + var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1; + var currentNode = getParentNode(element); + + while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) { + var css = getComputedStyle$1(currentNode); // This is non-exhaustive but covers the most common CSS properties that + // create a containing block. + // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block + + if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') { + return currentNode; + } else { + currentNode = currentNode.parentNode; + } + } + + return null; +} // Gets the closest ancestor positioned element. Handles some edge cases, +// such as table ancestors and cross browser bugs. + + +function getOffsetParent(element) { + var window = getWindow(element); + var offsetParent = getTrueOffsetParent(element); + + while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') { + offsetParent = getTrueOffsetParent(offsetParent); + } + + if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static')) { + return window; + } + + return offsetParent || getContainingBlock(element) || window; +} + +function getMainAxisFromPlacement(placement) { + return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y'; +} + +var max = Math.max; +var min = Math.min; +var round = Math.round; + +function within(min$1, value, max$1) { + return max(min$1, min(value, max$1)); +} + +function getFreshSideObject() { + return { + top: 0, + right: 0, + bottom: 0, + left: 0 + }; +} + +function mergePaddingObject(paddingObject) { + return Object.assign({}, getFreshSideObject(), paddingObject); +} + +function expandToHashMap(value, keys) { + return keys.reduce(function (hashMap, key) { + hashMap[key] = value; + return hashMap; + }, {}); +} + +var toPaddingObject = function toPaddingObject(padding, state) { + padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, { + placement: state.placement + })) : padding; + return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements)); +}; + +function arrow(_ref) { + var _state$modifiersData$; + + var state = _ref.state, + name = _ref.name, + options = _ref.options; + var arrowElement = state.elements.arrow; + var popperOffsets = state.modifiersData.popperOffsets; + var basePlacement = getBasePlacement(state.placement); + var axis = getMainAxisFromPlacement(basePlacement); + var isVertical = [left, right].indexOf(basePlacement) >= 0; + var len = isVertical ? 'height' : 'width'; + + if (!arrowElement || !popperOffsets) { + return; + } + + var paddingObject = toPaddingObject(options.padding, state); + var arrowRect = getLayoutRect(arrowElement); + var minProp = axis === 'y' ? top : left; + var maxProp = axis === 'y' ? bottom : right; + var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len]; + var startDiff = popperOffsets[axis] - state.rects.reference[axis]; + var arrowOffsetParent = getOffsetParent(arrowElement); + var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0; + var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is + // outside of the popper bounds + + var min = paddingObject[minProp]; + var max = clientSize - arrowRect[len] - paddingObject[maxProp]; + var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference; + var offset = within(min, center, max); // Prevents breaking syntax highlighting... + + var axisProp = axis; + state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$); +} + +function effect$1(_ref2) { + var state = _ref2.state, + options = _ref2.options; + var _options$element = options.element, + arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element; + + if (arrowElement == null) { + return; + } // CSS selector + + + if (typeof arrowElement === 'string') { + arrowElement = state.elements.popper.querySelector(arrowElement); + + if (!arrowElement) { + return; + } + } + + if (process.env.NODE_ENV !== "production") { + if (!isHTMLElement(arrowElement)) { + console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' ')); + } + } + + if (!contains(state.elements.popper, arrowElement)) { + if (process.env.NODE_ENV !== "production") { + console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', 'element.'].join(' ')); + } + + return; + } + + state.elements.arrow = arrowElement; +} // eslint-disable-next-line import/no-unused-modules + + +var arrow$1 = { + name: 'arrow', + enabled: true, + phase: 'main', + fn: arrow, + effect: effect$1, + requires: ['popperOffsets'], + requiresIfExists: ['preventOverflow'] +}; + +var unsetSides = { + top: 'auto', + right: 'auto', + bottom: 'auto', + left: 'auto' +}; // Round the offsets to the nearest suitable subpixel based on the DPR. +// Zooming can change the DPR, but it seems to report a value that will +// cleanly divide the values into the appropriate subpixels. + +function roundOffsetsByDPR(_ref) { + var x = _ref.x, + y = _ref.y; + var win = window; + var dpr = win.devicePixelRatio || 1; + return { + x: round(round(x * dpr) / dpr) || 0, + y: round(round(y * dpr) / dpr) || 0 + }; +} + +function mapToStyles(_ref2) { + var _Object$assign2; + + var popper = _ref2.popper, + popperRect = _ref2.popperRect, + placement = _ref2.placement, + offsets = _ref2.offsets, + position = _ref2.position, + gpuAcceleration = _ref2.gpuAcceleration, + adaptive = _ref2.adaptive, + roundOffsets = _ref2.roundOffsets; + + var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets, + _ref3$x = _ref3.x, + x = _ref3$x === void 0 ? 0 : _ref3$x, + _ref3$y = _ref3.y, + y = _ref3$y === void 0 ? 0 : _ref3$y; + + var hasX = offsets.hasOwnProperty('x'); + var hasY = offsets.hasOwnProperty('y'); + var sideX = left; + var sideY = top; + var win = window; + + if (adaptive) { + var offsetParent = getOffsetParent(popper); + var heightProp = 'clientHeight'; + var widthProp = 'clientWidth'; + + if (offsetParent === getWindow(popper)) { + offsetParent = getDocumentElement(popper); + + if (getComputedStyle$1(offsetParent).position !== 'static') { + heightProp = 'scrollHeight'; + widthProp = 'scrollWidth'; + } + } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it + + + offsetParent = offsetParent; + + if (placement === top) { + sideY = bottom; // $FlowFixMe[prop-missing] + + y -= offsetParent[heightProp] - popperRect.height; + y *= gpuAcceleration ? 1 : -1; + } + + if (placement === left) { + sideX = right; // $FlowFixMe[prop-missing] + + x -= offsetParent[widthProp] - popperRect.width; + x *= gpuAcceleration ? 1 : -1; + } + } + + var commonStyles = Object.assign({ + position: position + }, adaptive && unsetSides); + + if (gpuAcceleration) { + var _Object$assign; + + return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign)); + } + + return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2)); +} + +function computeStyles(_ref4) { + var state = _ref4.state, + options = _ref4.options; + var _options$gpuAccelerat = options.gpuAcceleration, + gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat, + _options$adaptive = options.adaptive, + adaptive = _options$adaptive === void 0 ? true : _options$adaptive, + _options$roundOffsets = options.roundOffsets, + roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets; + + if (process.env.NODE_ENV !== "production") { + var transitionProperty = getComputedStyle$1(state.elements.popper).transitionProperty || ''; + + if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) { + return transitionProperty.indexOf(property) >= 0; + })) { + console.warn(['Popper: Detected CSS transitions on at least one of the following', 'CSS properties: "transform", "top", "right", "bottom", "left".', '\n\n', 'Disable the "computeStyles" modifier\'s `adaptive` option to allow', 'for smooth transitions, or remove these properties from the CSS', 'transition declaration on the popper element if only transitioning', 'opacity or background-color for example.', '\n\n', 'We recommend using the popper element as a wrapper around an inner', 'element that can have any CSS property transitioned for animations.'].join(' ')); + } + } + + var commonStyles = { + placement: getBasePlacement(state.placement), + popper: state.elements.popper, + popperRect: state.rects.popper, + gpuAcceleration: gpuAcceleration + }; + + if (state.modifiersData.popperOffsets != null) { + state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, { + offsets: state.modifiersData.popperOffsets, + position: state.options.strategy, + adaptive: adaptive, + roundOffsets: roundOffsets + }))); + } + + if (state.modifiersData.arrow != null) { + state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, { + offsets: state.modifiersData.arrow, + position: 'absolute', + adaptive: false, + roundOffsets: roundOffsets + }))); + } + + state.attributes.popper = Object.assign({}, state.attributes.popper, { + 'data-popper-placement': state.placement + }); +} // eslint-disable-next-line import/no-unused-modules + + +var computeStyles$1 = { + name: 'computeStyles', + enabled: true, + phase: 'beforeWrite', + fn: computeStyles, + data: {} +}; + +var passive = { + passive: true +}; + +function effect(_ref) { + var state = _ref.state, + instance = _ref.instance, + options = _ref.options; + var _options$scroll = options.scroll, + scroll = _options$scroll === void 0 ? true : _options$scroll, + _options$resize = options.resize, + resize = _options$resize === void 0 ? true : _options$resize; + var window = getWindow(state.elements.popper); + var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper); + + if (scroll) { + scrollParents.forEach(function (scrollParent) { + scrollParent.addEventListener('scroll', instance.update, passive); + }); + } + + if (resize) { + window.addEventListener('resize', instance.update, passive); + } + + return function () { + if (scroll) { + scrollParents.forEach(function (scrollParent) { + scrollParent.removeEventListener('scroll', instance.update, passive); + }); + } + + if (resize) { + window.removeEventListener('resize', instance.update, passive); + } + }; +} // eslint-disable-next-line import/no-unused-modules + + +var eventListeners = { + name: 'eventListeners', + enabled: true, + phase: 'write', + fn: function fn() {}, + effect: effect, + data: {} +}; + +var hash$1 = { + left: 'right', + right: 'left', + bottom: 'top', + top: 'bottom' +}; +function getOppositePlacement(placement) { + return placement.replace(/left|right|bottom|top/g, function (matched) { + return hash$1[matched]; + }); +} + +var hash = { + start: 'end', + end: 'start' +}; +function getOppositeVariationPlacement(placement) { + return placement.replace(/start|end/g, function (matched) { + return hash[matched]; + }); +} + +function getWindowScroll(node) { + var win = getWindow(node); + var scrollLeft = win.pageXOffset; + var scrollTop = win.pageYOffset; + return { + scrollLeft: scrollLeft, + scrollTop: scrollTop + }; +} + +function getWindowScrollBarX(element) { + // If has a CSS width greater than the viewport, then this will be + // incorrect for RTL. + // Popper 1 is broken in this case and never had a bug report so let's assume + // it's not an issue. I don't think anyone ever specifies width on + // anyway. + // Browsers where the left scrollbar doesn't cause an issue report `0` for + // this (e.g. Edge 2019, IE11, Safari) + return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft; +} + +function getViewportRect(element) { + var win = getWindow(element); + var html = getDocumentElement(element); + var visualViewport = win.visualViewport; + var width = html.clientWidth; + var height = html.clientHeight; + var x = 0; + var y = 0; // NB: This isn't supported on iOS <= 12. If the keyboard is open, the popper + // can be obscured underneath it. + // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even + // if it isn't open, so if this isn't available, the popper will be detected + // to overflow the bottom of the screen too early. + + if (visualViewport) { + width = visualViewport.width; + height = visualViewport.height; // Uses Layout Viewport (like Chrome; Safari does not currently) + // In Chrome, it returns a value very close to 0 (+/-) but contains rounding + // errors due to floating point numbers, so we need to check precision. + // Safari returns a number <= 0, usually < -1 when pinch-zoomed + // Feature detection fails in mobile emulation mode in Chrome. + // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) < + // 0.001 + // Fallback here: "Not Safari" userAgent + + if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) { + x = visualViewport.offsetLeft; + y = visualViewport.offsetTop; + } + } + + return { + width: width, + height: height, + x: x + getWindowScrollBarX(element), + y: y + }; +} + +// of the `` and `` rect bounds if horizontally scrollable + +function getDocumentRect(element) { + var _element$ownerDocumen; + + var html = getDocumentElement(element); + var winScroll = getWindowScroll(element); + var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body; + var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0); + var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0); + var x = -winScroll.scrollLeft + getWindowScrollBarX(element); + var y = -winScroll.scrollTop; + + if (getComputedStyle$1(body || html).direction === 'rtl') { + x += max(html.clientWidth, body ? body.clientWidth : 0) - width; + } + + return { + width: width, + height: height, + x: x, + y: y + }; +} + +function isScrollParent(element) { + // Firefox wants us to check `-x` and `-y` variations as well + var _getComputedStyle = getComputedStyle$1(element), + overflow = _getComputedStyle.overflow, + overflowX = _getComputedStyle.overflowX, + overflowY = _getComputedStyle.overflowY; + + return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX); +} + +function getScrollParent(node) { + if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) { + // $FlowFixMe[incompatible-return]: assume body is always available + return node.ownerDocument.body; + } + + if (isHTMLElement(node) && isScrollParent(node)) { + return node; + } + + return getScrollParent(getParentNode(node)); +} + +/* +given a DOM element, return the list of all scroll parents, up the list of ancesors +until we get to the top window object. This list is what we attach scroll listeners +to, because if any of these parent elements scroll, we'll need to re-calculate the +reference element's position. +*/ + +function listScrollParents(element, list) { + var _element$ownerDocumen; + + if (list === void 0) { + list = []; + } + + var scrollParent = getScrollParent(element); + var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body); + var win = getWindow(scrollParent); + var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent; + var updatedList = list.concat(target); + return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here + updatedList.concat(listScrollParents(getParentNode(target))); +} + +function rectToClientRect(rect) { + return Object.assign({}, rect, { + left: rect.x, + top: rect.y, + right: rect.x + rect.width, + bottom: rect.y + rect.height + }); +} + +function getInnerBoundingClientRect(element) { + var rect = getBoundingClientRect(element); + rect.top = rect.top + element.clientTop; + rect.left = rect.left + element.clientLeft; + rect.bottom = rect.top + element.clientHeight; + rect.right = rect.left + element.clientWidth; + rect.width = element.clientWidth; + rect.height = element.clientHeight; + rect.x = rect.left; + rect.y = rect.top; + return rect; +} + +function getClientRectFromMixedType(element, clippingParent) { + return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element))); +} // A "clipping parent" is an overflowable container with the characteristic of +// clipping (or hiding) overflowing elements with a position different from +// `initial` + + +function getClippingParents(element) { + var clippingParents = listScrollParents(getParentNode(element)); + var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle$1(element).position) >= 0; + var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element; + + if (!isElement(clipperElement)) { + return []; + } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414 + + + return clippingParents.filter(function (clippingParent) { + return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body'; + }); +} // Gets the maximum area that the element is visible in due to any number of +// clipping parents + + +function getClippingRect(element, boundary, rootBoundary) { + var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary); + var clippingParents = [].concat(mainClippingParents, [rootBoundary]); + var firstClippingParent = clippingParents[0]; + var clippingRect = clippingParents.reduce(function (accRect, clippingParent) { + var rect = getClientRectFromMixedType(element, clippingParent); + accRect.top = max(rect.top, accRect.top); + accRect.right = min(rect.right, accRect.right); + accRect.bottom = min(rect.bottom, accRect.bottom); + accRect.left = max(rect.left, accRect.left); + return accRect; + }, getClientRectFromMixedType(element, firstClippingParent)); + clippingRect.width = clippingRect.right - clippingRect.left; + clippingRect.height = clippingRect.bottom - clippingRect.top; + clippingRect.x = clippingRect.left; + clippingRect.y = clippingRect.top; + return clippingRect; +} + +function getVariation(placement) { + return placement.split('-')[1]; +} + +function computeOffsets(_ref) { + var reference = _ref.reference, + element = _ref.element, + placement = _ref.placement; + var basePlacement = placement ? getBasePlacement(placement) : null; + var variation = placement ? getVariation(placement) : null; + var commonX = reference.x + reference.width / 2 - element.width / 2; + var commonY = reference.y + reference.height / 2 - element.height / 2; + var offsets; + + switch (basePlacement) { + case top: + offsets = { + x: commonX, + y: reference.y - element.height + }; + break; + + case bottom: + offsets = { + x: commonX, + y: reference.y + reference.height + }; + break; + + case right: + offsets = { + x: reference.x + reference.width, + y: commonY + }; + break; + + case left: + offsets = { + x: reference.x - element.width, + y: commonY + }; + break; + + default: + offsets = { + x: reference.x, + y: reference.y + }; + } + + var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null; + + if (mainAxis != null) { + var len = mainAxis === 'y' ? 'height' : 'width'; + + switch (variation) { + case start: + offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2); + break; + + case end: + offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2); + break; + } + } + + return offsets; +} + +function detectOverflow(state, options) { + if (options === void 0) { + options = {}; + } + + var _options = options, + _options$placement = _options.placement, + placement = _options$placement === void 0 ? state.placement : _options$placement, + _options$boundary = _options.boundary, + boundary = _options$boundary === void 0 ? clippingParents : _options$boundary, + _options$rootBoundary = _options.rootBoundary, + rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary, + _options$elementConte = _options.elementContext, + elementContext = _options$elementConte === void 0 ? popper : _options$elementConte, + _options$altBoundary = _options.altBoundary, + altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary, + _options$padding = _options.padding, + padding = _options$padding === void 0 ? 0 : _options$padding; + var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements)); + var altContext = elementContext === popper ? reference : popper; + var referenceElement = state.elements.reference; + var popperRect = state.rects.popper; + var element = state.elements[altBoundary ? altContext : elementContext]; + var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary); + var referenceClientRect = getBoundingClientRect(referenceElement); + var popperOffsets = computeOffsets({ + reference: referenceClientRect, + element: popperRect, + strategy: 'absolute', + placement: placement + }); + var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets)); + var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect + // 0 or negative = within the clipping rect + + var overflowOffsets = { + top: clippingClientRect.top - elementClientRect.top + paddingObject.top, + bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom, + left: clippingClientRect.left - elementClientRect.left + paddingObject.left, + right: elementClientRect.right - clippingClientRect.right + paddingObject.right + }; + var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element + + if (elementContext === popper && offsetData) { + var offset = offsetData[placement]; + Object.keys(overflowOffsets).forEach(function (key) { + var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1; + var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x'; + overflowOffsets[key] += offset[axis] * multiply; + }); + } + + return overflowOffsets; +} + +function computeAutoPlacement(state, options) { + if (options === void 0) { + options = {}; + } + + var _options = options, + placement = _options.placement, + boundary = _options.boundary, + rootBoundary = _options.rootBoundary, + padding = _options.padding, + flipVariations = _options.flipVariations, + _options$allowedAutoP = _options.allowedAutoPlacements, + allowedAutoPlacements = _options$allowedAutoP === void 0 ? placements : _options$allowedAutoP; + var variation = getVariation(placement); + var placements$1 = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) { + return getVariation(placement) === variation; + }) : basePlacements; + var allowedPlacements = placements$1.filter(function (placement) { + return allowedAutoPlacements.indexOf(placement) >= 0; + }); + + if (allowedPlacements.length === 0) { + allowedPlacements = placements$1; + + if (process.env.NODE_ENV !== "production") { + console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(' ')); + } + } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions... + + + var overflows = allowedPlacements.reduce(function (acc, placement) { + acc[placement] = detectOverflow(state, { + placement: placement, + boundary: boundary, + rootBoundary: rootBoundary, + padding: padding + })[getBasePlacement(placement)]; + return acc; + }, {}); + return Object.keys(overflows).sort(function (a, b) { + return overflows[a] - overflows[b]; + }); +} + +function getExpandedFallbackPlacements(placement) { + if (getBasePlacement(placement) === auto) { + return []; + } + + var oppositePlacement = getOppositePlacement(placement); + return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)]; +} + +function flip(_ref) { + var state = _ref.state, + options = _ref.options, + name = _ref.name; + + if (state.modifiersData[name]._skip) { + return; + } + + var _options$mainAxis = options.mainAxis, + checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, + _options$altAxis = options.altAxis, + checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis, + specifiedFallbackPlacements = options.fallbackPlacements, + padding = options.padding, + boundary = options.boundary, + rootBoundary = options.rootBoundary, + altBoundary = options.altBoundary, + _options$flipVariatio = options.flipVariations, + flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio, + allowedAutoPlacements = options.allowedAutoPlacements; + var preferredPlacement = state.options.placement; + var basePlacement = getBasePlacement(preferredPlacement); + var isBasePlacement = basePlacement === preferredPlacement; + var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement)); + var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) { + return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, { + placement: placement, + boundary: boundary, + rootBoundary: rootBoundary, + padding: padding, + flipVariations: flipVariations, + allowedAutoPlacements: allowedAutoPlacements + }) : placement); + }, []); + var referenceRect = state.rects.reference; + var popperRect = state.rects.popper; + var checksMap = new Map(); + var makeFallbackChecks = true; + var firstFittingPlacement = placements[0]; + + for (var i = 0; i < placements.length; i++) { + var placement = placements[i]; + + var _basePlacement = getBasePlacement(placement); + + var isStartVariation = getVariation(placement) === start; + var isVertical = [top, bottom].indexOf(_basePlacement) >= 0; + var len = isVertical ? 'width' : 'height'; + var overflow = detectOverflow(state, { + placement: placement, + boundary: boundary, + rootBoundary: rootBoundary, + altBoundary: altBoundary, + padding: padding + }); + var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top; + + if (referenceRect[len] > popperRect[len]) { + mainVariationSide = getOppositePlacement(mainVariationSide); + } + + var altVariationSide = getOppositePlacement(mainVariationSide); + var checks = []; + + if (checkMainAxis) { + checks.push(overflow[_basePlacement] <= 0); + } + + if (checkAltAxis) { + checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0); + } + + if (checks.every(function (check) { + return check; + })) { + firstFittingPlacement = placement; + makeFallbackChecks = false; + break; + } + + checksMap.set(placement, checks); + } + + if (makeFallbackChecks) { + // `2` may be desired in some cases – research later + var numberOfChecks = flipVariations ? 3 : 1; + + var _loop = function _loop(_i) { + var fittingPlacement = placements.find(function (placement) { + var checks = checksMap.get(placement); + + if (checks) { + return checks.slice(0, _i).every(function (check) { + return check; + }); + } + }); + + if (fittingPlacement) { + firstFittingPlacement = fittingPlacement; + return "break"; + } + }; + + for (var _i = numberOfChecks; _i > 0; _i--) { + var _ret = _loop(_i); + + if (_ret === "break") break; + } + } + + if (state.placement !== firstFittingPlacement) { + state.modifiersData[name]._skip = true; + state.placement = firstFittingPlacement; + state.reset = true; + } +} // eslint-disable-next-line import/no-unused-modules + + +var flip$1 = { + name: 'flip', + enabled: true, + phase: 'main', + fn: flip, + requiresIfExists: ['offset'], + data: { + _skip: false + } +}; + +function getSideOffsets(overflow, rect, preventedOffsets) { + if (preventedOffsets === void 0) { + preventedOffsets = { + x: 0, + y: 0 + }; + } + + return { + top: overflow.top - rect.height - preventedOffsets.y, + right: overflow.right - rect.width + preventedOffsets.x, + bottom: overflow.bottom - rect.height + preventedOffsets.y, + left: overflow.left - rect.width - preventedOffsets.x + }; +} + +function isAnySideFullyClipped(overflow) { + return [top, right, bottom, left].some(function (side) { + return overflow[side] >= 0; + }); +} + +function hide(_ref) { + var state = _ref.state, + name = _ref.name; + var referenceRect = state.rects.reference; + var popperRect = state.rects.popper; + var preventedOffsets = state.modifiersData.preventOverflow; + var referenceOverflow = detectOverflow(state, { + elementContext: 'reference' + }); + var popperAltOverflow = detectOverflow(state, { + altBoundary: true + }); + var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect); + var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets); + var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets); + var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets); + state.modifiersData[name] = { + referenceClippingOffsets: referenceClippingOffsets, + popperEscapeOffsets: popperEscapeOffsets, + isReferenceHidden: isReferenceHidden, + hasPopperEscaped: hasPopperEscaped + }; + state.attributes.popper = Object.assign({}, state.attributes.popper, { + 'data-popper-reference-hidden': isReferenceHidden, + 'data-popper-escaped': hasPopperEscaped + }); +} // eslint-disable-next-line import/no-unused-modules + + +var hide$1 = { + name: 'hide', + enabled: true, + phase: 'main', + requiresIfExists: ['preventOverflow'], + fn: hide +}; + +function distanceAndSkiddingToXY(placement, rects, offset) { + var basePlacement = getBasePlacement(placement); + var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1; + + var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, { + placement: placement + })) : offset, + skidding = _ref[0], + distance = _ref[1]; + + skidding = skidding || 0; + distance = (distance || 0) * invertDistance; + return [left, right].indexOf(basePlacement) >= 0 ? { + x: distance, + y: skidding + } : { + x: skidding, + y: distance + }; +} + +function offset(_ref2) { + var state = _ref2.state, + options = _ref2.options, + name = _ref2.name; + var _options$offset = options.offset, + offset = _options$offset === void 0 ? [0, 0] : _options$offset; + var data = placements.reduce(function (acc, placement) { + acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset); + return acc; + }, {}); + var _data$state$placement = data[state.placement], + x = _data$state$placement.x, + y = _data$state$placement.y; + + if (state.modifiersData.popperOffsets != null) { + state.modifiersData.popperOffsets.x += x; + state.modifiersData.popperOffsets.y += y; + } + + state.modifiersData[name] = data; +} // eslint-disable-next-line import/no-unused-modules + + +var offset$1 = { + name: 'offset', + enabled: true, + phase: 'main', + requires: ['popperOffsets'], + fn: offset +}; + +function popperOffsets(_ref) { + var state = _ref.state, + name = _ref.name; + // Offsets are the actual position the popper needs to have to be + // properly positioned near its reference element + // This is the most basic placement, and will be adjusted by + // the modifiers in the next step + state.modifiersData[name] = computeOffsets({ + reference: state.rects.reference, + element: state.rects.popper, + strategy: 'absolute', + placement: state.placement + }); +} // eslint-disable-next-line import/no-unused-modules + + +var popperOffsets$1 = { + name: 'popperOffsets', + enabled: true, + phase: 'read', + fn: popperOffsets, + data: {} +}; + +function getAltAxis(axis) { + return axis === 'x' ? 'y' : 'x'; +} + +function preventOverflow(_ref) { + var state = _ref.state, + options = _ref.options, + name = _ref.name; + var _options$mainAxis = options.mainAxis, + checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, + _options$altAxis = options.altAxis, + checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis, + boundary = options.boundary, + rootBoundary = options.rootBoundary, + altBoundary = options.altBoundary, + padding = options.padding, + _options$tether = options.tether, + tether = _options$tether === void 0 ? true : _options$tether, + _options$tetherOffset = options.tetherOffset, + tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset; + var overflow = detectOverflow(state, { + boundary: boundary, + rootBoundary: rootBoundary, + padding: padding, + altBoundary: altBoundary + }); + var basePlacement = getBasePlacement(state.placement); + var variation = getVariation(state.placement); + var isBasePlacement = !variation; + var mainAxis = getMainAxisFromPlacement(basePlacement); + var altAxis = getAltAxis(mainAxis); + var popperOffsets = state.modifiersData.popperOffsets; + var referenceRect = state.rects.reference; + var popperRect = state.rects.popper; + var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, { + placement: state.placement + })) : tetherOffset; + var data = { + x: 0, + y: 0 + }; + + if (!popperOffsets) { + return; + } + + if (checkMainAxis || checkAltAxis) { + var mainSide = mainAxis === 'y' ? top : left; + var altSide = mainAxis === 'y' ? bottom : right; + var len = mainAxis === 'y' ? 'height' : 'width'; + var offset = popperOffsets[mainAxis]; + var min$1 = popperOffsets[mainAxis] + overflow[mainSide]; + var max$1 = popperOffsets[mainAxis] - overflow[altSide]; + var additive = tether ? -popperRect[len] / 2 : 0; + var minLen = variation === start ? referenceRect[len] : popperRect[len]; + var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go + // outside the reference bounds + + var arrowElement = state.elements.arrow; + var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : { + width: 0, + height: 0 + }; + var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject(); + var arrowPaddingMin = arrowPaddingObject[mainSide]; + var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want + // to include its full size in the calculation. If the reference is small + // and near the edge of a boundary, the popper can overflow even if the + // reference is not overflowing as well (e.g. virtual elements with no + // width or height) + + var arrowLen = within(0, referenceRect[len], arrowRect[len]); + var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue; + var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue; + var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow); + var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0; + var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0; + var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset; + var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue; + + if (checkMainAxis) { + var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1); + popperOffsets[mainAxis] = preventedOffset; + data[mainAxis] = preventedOffset - offset; + } + + if (checkAltAxis) { + var _mainSide = mainAxis === 'x' ? top : left; + + var _altSide = mainAxis === 'x' ? bottom : right; + + var _offset = popperOffsets[altAxis]; + + var _min = _offset + overflow[_mainSide]; + + var _max = _offset - overflow[_altSide]; + + var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max); + + popperOffsets[altAxis] = _preventedOffset; + data[altAxis] = _preventedOffset - _offset; + } + } + + state.modifiersData[name] = data; +} // eslint-disable-next-line import/no-unused-modules + + +var preventOverflow$1 = { + name: 'preventOverflow', + enabled: true, + phase: 'main', + fn: preventOverflow, + requiresIfExists: ['offset'] +}; + +function getHTMLElementScroll(element) { + return { + scrollLeft: element.scrollLeft, + scrollTop: element.scrollTop + }; +} + +function getNodeScroll(node) { + if (node === getWindow(node) || !isHTMLElement(node)) { + return getWindowScroll(node); + } else { + return getHTMLElementScroll(node); + } +} + +// Composite means it takes into account transforms as well as layout. + +function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) { + if (isFixed === void 0) { + isFixed = false; + } + + var documentElement = getDocumentElement(offsetParent); + var rect = getBoundingClientRect(elementOrVirtualElement); + var isOffsetParentAnElement = isHTMLElement(offsetParent); + var scroll = { + scrollLeft: 0, + scrollTop: 0 + }; + var offsets = { + x: 0, + y: 0 + }; + + if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) { + if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078 + isScrollParent(documentElement)) { + scroll = getNodeScroll(offsetParent); + } + + if (isHTMLElement(offsetParent)) { + offsets = getBoundingClientRect(offsetParent); + offsets.x += offsetParent.clientLeft; + offsets.y += offsetParent.clientTop; + } else if (documentElement) { + offsets.x = getWindowScrollBarX(documentElement); + } + } + + return { + x: rect.left + scroll.scrollLeft - offsets.x, + y: rect.top + scroll.scrollTop - offsets.y, + width: rect.width, + height: rect.height + }; +} + +function order(modifiers) { + var map = new Map(); + var visited = new Set(); + var result = []; + modifiers.forEach(function (modifier) { + map.set(modifier.name, modifier); + }); // On visiting object, check for its dependencies and visit them recursively + + function sort(modifier) { + visited.add(modifier.name); + var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []); + requires.forEach(function (dep) { + if (!visited.has(dep)) { + var depModifier = map.get(dep); + + if (depModifier) { + sort(depModifier); + } + } + }); + result.push(modifier); + } + + modifiers.forEach(function (modifier) { + if (!visited.has(modifier.name)) { + // check for visited object + sort(modifier); + } + }); + return result; +} + +function orderModifiers(modifiers) { + // order based on dependencies + var orderedModifiers = order(modifiers); // order based on phase + + return modifierPhases.reduce(function (acc, phase) { + return acc.concat(orderedModifiers.filter(function (modifier) { + return modifier.phase === phase; + })); + }, []); +} + +function debounce(fn) { + var pending; + return function () { + if (!pending) { + pending = new Promise(function (resolve) { + Promise.resolve().then(function () { + pending = undefined; + resolve(fn()); + }); + }); + } + + return pending; + }; +} + +function format(str) { + for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + + return [].concat(args).reduce(function (p, c) { + return p.replace(/%s/, c); + }, str); +} + +var INVALID_MODIFIER_ERROR = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s'; +var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available'; +var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options']; +function validateModifiers(modifiers) { + modifiers.forEach(function (modifier) { + Object.keys(modifier).forEach(function (key) { + switch (key) { + case 'name': + if (typeof modifier.name !== 'string') { + console.error(format(INVALID_MODIFIER_ERROR, String(modifier.name), '"name"', '"string"', "\"" + String(modifier.name) + "\"")); + } + + break; + + case 'enabled': + if (typeof modifier.enabled !== 'boolean') { + console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\"")); + } + + case 'phase': + if (modifierPhases.indexOf(modifier.phase) < 0) { + console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\"")); + } + + break; + + case 'fn': + if (typeof modifier.fn !== 'function') { + console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"fn"', '"function"', "\"" + String(modifier.fn) + "\"")); + } + + break; + + case 'effect': + if (typeof modifier.effect !== 'function') { + console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\"")); + } + + break; + + case 'requires': + if (!Array.isArray(modifier.requires)) { + console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\"")); + } + + break; + + case 'requiresIfExists': + if (!Array.isArray(modifier.requiresIfExists)) { + console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requiresIfExists"', '"array"', "\"" + String(modifier.requiresIfExists) + "\"")); + } + + break; + + case 'options': + case 'data': + break; + + default: + console.error("PopperJS: an invalid property has been provided to the \"" + modifier.name + "\" modifier, valid properties are " + VALID_PROPERTIES.map(function (s) { + return "\"" + s + "\""; + }).join(', ') + "; but \"" + key + "\" was provided."); + } + + modifier.requires && modifier.requires.forEach(function (requirement) { + if (modifiers.find(function (mod) { + return mod.name === requirement; + }) == null) { + console.error(format(MISSING_DEPENDENCY_ERROR, String(modifier.name), requirement, requirement)); + } + }); + }); + }); +} + +function uniqueBy(arr, fn) { + var identifiers = new Set(); + return arr.filter(function (item) { + var identifier = fn(item); + + if (!identifiers.has(identifier)) { + identifiers.add(identifier); + return true; + } + }); +} + +function mergeByName(modifiers) { + var merged = modifiers.reduce(function (merged, current) { + var existing = merged[current.name]; + merged[current.name] = existing ? Object.assign({}, existing, current, { + options: Object.assign({}, existing.options, current.options), + data: Object.assign({}, existing.data, current.data) + }) : current; + return merged; + }, {}); // IE11 does not support Object.values + + return Object.keys(merged).map(function (key) { + return merged[key]; + }); +} + +var INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.'; +var INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.'; +var DEFAULT_OPTIONS = { + placement: 'bottom', + modifiers: [], + strategy: 'absolute' +}; + +function areValidElements() { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + return !args.some(function (element) { + return !(element && typeof element.getBoundingClientRect === 'function'); + }); +} + +function popperGenerator(generatorOptions) { + if (generatorOptions === void 0) { + generatorOptions = {}; + } + + var _generatorOptions = generatorOptions, + _generatorOptions$def = _generatorOptions.defaultModifiers, + defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def, + _generatorOptions$def2 = _generatorOptions.defaultOptions, + defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2; + return function createPopper(reference, popper, options) { + if (options === void 0) { + options = defaultOptions; + } + + var state = { + placement: 'bottom', + orderedModifiers: [], + options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions), + modifiersData: {}, + elements: { + reference: reference, + popper: popper + }, + attributes: {}, + styles: {} + }; + var effectCleanupFns = []; + var isDestroyed = false; + var instance = { + state: state, + setOptions: function setOptions(options) { + cleanupModifierEffects(); + state.options = Object.assign({}, defaultOptions, state.options, options); + state.scrollParents = { + reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [], + popper: listScrollParents(popper) + }; // Orders the modifiers based on their dependencies and `phase` + // properties + + var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers + + state.orderedModifiers = orderedModifiers.filter(function (m) { + return m.enabled; + }); // Validate the provided modifiers so that the consumer will get warned + // if one of the modifiers is invalid for any reason + + if (process.env.NODE_ENV !== "production") { + var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref) { + var name = _ref.name; + return name; + }); + validateModifiers(modifiers); + + if (getBasePlacement(state.options.placement) === auto) { + var flipModifier = state.orderedModifiers.find(function (_ref2) { + var name = _ref2.name; + return name === 'flip'; + }); + + if (!flipModifier) { + console.error(['Popper: "auto" placements require the "flip" modifier be', 'present and enabled to work.'].join(' ')); + } + } + + var _getComputedStyle = getComputedStyle$1(popper), + marginTop = _getComputedStyle.marginTop, + marginRight = _getComputedStyle.marginRight, + marginBottom = _getComputedStyle.marginBottom, + marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can + // cause bugs with positioning, so we'll warn the consumer + + + if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) { + return parseFloat(margin); + })) { + console.warn(['Popper: CSS "margin" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' ')); + } + } + + runModifierEffects(); + return instance.update(); + }, + // Sync update – it will always be executed, even if not necessary. This + // is useful for low frequency updates where sync behavior simplifies the + // logic. + // For high frequency updates (e.g. `resize` and `scroll` events), always + // prefer the async Popper#update method + forceUpdate: function forceUpdate() { + if (isDestroyed) { + return; + } + + var _state$elements = state.elements, + reference = _state$elements.reference, + popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements + // anymore + + if (!areValidElements(reference, popper)) { + if (process.env.NODE_ENV !== "production") { + console.error(INVALID_ELEMENT_ERROR); + } + + return; + } // Store the reference and popper rects to be read by modifiers + + + state.rects = { + reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'), + popper: getLayoutRect(popper) + }; // Modifiers have the ability to reset the current update cycle. The + // most common use case for this is the `flip` modifier changing the + // placement, which then needs to re-run all the modifiers, because the + // logic was previously ran for the previous placement and is therefore + // stale/incorrect + + state.reset = false; + state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier + // is filled with the initial data specified by the modifier. This means + // it doesn't persist and is fresh on each update. + // To ensure persistent data, use `${name}#persistent` + + state.orderedModifiers.forEach(function (modifier) { + return state.modifiersData[modifier.name] = Object.assign({}, modifier.data); + }); + var __debug_loops__ = 0; + + for (var index = 0; index < state.orderedModifiers.length; index++) { + if (process.env.NODE_ENV !== "production") { + __debug_loops__ += 1; + + if (__debug_loops__ > 100) { + console.error(INFINITE_LOOP_ERROR); + break; + } + } + + if (state.reset === true) { + state.reset = false; + index = -1; + continue; + } + + var _state$orderedModifie = state.orderedModifiers[index], + fn = _state$orderedModifie.fn, + _state$orderedModifie2 = _state$orderedModifie.options, + _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2, + name = _state$orderedModifie.name; + + if (typeof fn === 'function') { + state = fn({ + state: state, + options: _options, + name: name, + instance: instance + }) || state; + } + } + }, + // Async and optimistically optimized update – it will not be executed if + // not necessary (debounced to run at most once-per-tick) + update: debounce(function () { + return new Promise(function (resolve) { + instance.forceUpdate(); + resolve(state); + }); + }), + destroy: function destroy() { + cleanupModifierEffects(); + isDestroyed = true; + } + }; + + if (!areValidElements(reference, popper)) { + if (process.env.NODE_ENV !== "production") { + console.error(INVALID_ELEMENT_ERROR); + } + + return instance; + } + + instance.setOptions(options).then(function (state) { + if (!isDestroyed && options.onFirstUpdate) { + options.onFirstUpdate(state); + } + }); // Modifiers have the ability to execute arbitrary code before the first + // update cycle runs. They will be executed in the same order as the update + // cycle. This is useful when a modifier adds some persistent data that + // other modifiers need to use, but the modifier is run after the dependent + // one. + + function runModifierEffects() { + state.orderedModifiers.forEach(function (_ref3) { + var name = _ref3.name, + _ref3$options = _ref3.options, + options = _ref3$options === void 0 ? {} : _ref3$options, + effect = _ref3.effect; + + if (typeof effect === 'function') { + var cleanupFn = effect({ + state: state, + name: name, + instance: instance, + options: options + }); + + var noopFn = function noopFn() {}; + + effectCleanupFns.push(cleanupFn || noopFn); + } + }); + } + + function cleanupModifierEffects() { + effectCleanupFns.forEach(function (fn) { + return fn(); + }); + effectCleanupFns = []; + } + + return instance; + }; +} + +var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1]; +var createPopper = /*#__PURE__*/popperGenerator({ + defaultModifiers: defaultModifiers +}); // eslint-disable-next-line import/no-unused-modules + +class Suggest { + constructor(owner, containerEl, scope) { + this.owner = owner; + this.containerEl = containerEl; + containerEl.on("click", ".suggestion-item", this.onSuggestionClick.bind(this)); + containerEl.on("mousemove", ".suggestion-item", this.onSuggestionMouseover.bind(this)); + scope.register([], "ArrowUp", (event) => { + if (!event.isComposing) { + this.setSelectedItem(this.selectedItem - 1, true); + return false; + } + }); + scope.register([], "ArrowDown", (event) => { + if (!event.isComposing) { + this.setSelectedItem(this.selectedItem + 1, true); + return false; + } + }); + scope.register([], "Enter", (event) => { + if (!event.isComposing) { + this.useSelectedItem(event); + return false; + } + }); + } + onSuggestionClick(event, el) { + event.preventDefault(); + const item = this.suggestions.indexOf(el); + this.setSelectedItem(item, false); + this.useSelectedItem(event); + } + onSuggestionMouseover(_event, el) { + const item = this.suggestions.indexOf(el); + this.setSelectedItem(item, false); + } + setSuggestions(values) { + this.containerEl.empty(); + const suggestionEls = []; + values.forEach((value) => { + const suggestionEl = this.containerEl.createDiv("suggestion-item"); + this.owner.renderSuggestion(value, suggestionEl); + suggestionEls.push(suggestionEl); + }); + this.values = values; + this.suggestions = suggestionEls; + this.setSelectedItem(0, false); + } + useSelectedItem(event) { + const currentValue = this.values[this.selectedItem]; + if (currentValue) { + this.owner.selectSuggestion(currentValue, event); + } + } + setSelectedItem(selectedIndex, scrollIntoView) { + const normalizedIndex = wrapAround(selectedIndex, this.suggestions.length); + const prevSelectedSuggestion = this.suggestions[this.selectedItem]; + const selectedSuggestion = this.suggestions[normalizedIndex]; + prevSelectedSuggestion === null || prevSelectedSuggestion === void 0 ? void 0 : prevSelectedSuggestion.removeClass("is-selected"); + selectedSuggestion === null || selectedSuggestion === void 0 ? void 0 : selectedSuggestion.addClass("is-selected"); + this.selectedItem = normalizedIndex; + if (scrollIntoView) { + selectedSuggestion.scrollIntoView(false); + } + } +} +class TextInputSuggest { + constructor(app, inputEl) { + this.app = app; + this.inputEl = inputEl; + this.scope = new obsidian.Scope(); + this.suggestEl = createDiv("suggestion-container"); + const suggestion = this.suggestEl.createDiv("suggestion"); + this.suggest = new Suggest(this, suggestion, this.scope); + this.scope.register([], "Escape", this.close.bind(this)); + this.inputEl.addEventListener("input", this.onInputChanged.bind(this)); + this.inputEl.addEventListener("focus", this.onInputChanged.bind(this)); + this.inputEl.addEventListener("blur", this.close.bind(this)); + this.suggestEl.on("mousedown", ".suggestion-container", (event) => { + event.preventDefault(); + }); + } + onInputChanged() { + const inputStr = this.inputEl.value; + const suggestions = this.getSuggestions(inputStr); + if (suggestions.length > 0) { + this.suggest.setSuggestions(suggestions); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + this.open(this.app.dom.appContainerEl, this.inputEl); + } + } + open(container, inputEl) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + this.app.keymap.pushScope(this.scope); + container.appendChild(this.suggestEl); + this.popper = createPopper(inputEl, this.suggestEl, { + placement: "bottom-start", + modifiers: [ + { + name: "sameWidth", + enabled: true, + fn: ({ state, instance }) => { + // Note: positioning needs to be calculated twice - + // first pass - positioning it according to the width of the popper + // second pass - position it with the width bound to the reference element + // we need to early exit to avoid an infinite loop + const targetWidth = `${state.rects.reference.width}px`; + if (state.styles.popper.width === targetWidth) { + return; + } + state.styles.popper.width = targetWidth; + instance.update(); + }, + phase: "beforeWrite", + requires: ["computeStyles"], + }, + ], + }); + } + close() { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + this.app.keymap.popScope(this.scope); + this.suggest.setSuggestions([]); + this.popper.destroy(); + this.suggestEl.detach(); + } +} + +class FileSuggest extends TextInputSuggest { + getSuggestions(inputStr) { + const abstractFiles = this.app.vault.getAllLoadedFiles(); + const files = []; + const lowerCaseInputStr = inputStr.toLowerCase(); + abstractFiles.forEach((file) => { + if (file instanceof obsidian.TFile && + file.extension === "md" && + file.path.toLowerCase().contains(lowerCaseInputStr)) { + files.push(file); + } + }); + return files; + } + renderSuggestion(file, el) { + el.setText(file.path); + } + selectSuggestion(file) { + this.inputEl.value = file.path; + this.inputEl.trigger("input"); + this.close(); + } +} +class FolderSuggest extends TextInputSuggest { + getSuggestions(inputStr) { + const abstractFiles = this.app.vault.getAllLoadedFiles(); + const folders = []; + const lowerCaseInputStr = inputStr.toLowerCase(); + abstractFiles.forEach((folder) => { + if (folder instanceof obsidian.TFolder && + folder.path.toLowerCase().contains(lowerCaseInputStr)) { + folders.push(folder); + } + }); + return folders; + } + renderSuggestion(file, el) { + el.setText(file.path); + } + selectSuggestion(file) { + this.inputEl.value = file.path; + this.inputEl.trigger("input"); + this.close(); + } +} + +/* src/settings/NoteTemplateSetting.svelte generated by Svelte v3.35.0 */ + +function create_if_block$2(ctx) { + let div; + let t; + + return { + c() { + div = element("div"); + t = text(/*error*/ ctx[3]); + attr(div, "class", "has-error"); + }, + m(target, anchor) { + insert(target, div, anchor); + append(div, t); + }, + p(ctx, dirty) { + if (dirty & /*error*/ 8) set_data(t, /*error*/ ctx[3]); + }, + d(detaching) { + if (detaching) detach(div); + } + }; +} + +function create_fragment$2(ctx) { + let div4; + let div2; + let div0; + let t0_value = capitalize(/*periodicity*/ ctx[1]) + ""; + let t0; + let t1; + let t2; + let div1; + let t4; + let t5; + let div3; + let input; + let mounted; + let dispose; + let if_block = /*error*/ ctx[3] && create_if_block$2(ctx); + + return { + c() { + div4 = element("div"); + div2 = element("div"); + div0 = element("div"); + t0 = text(t0_value); + t1 = text(" Note Template"); + t2 = space(); + div1 = element("div"); + div1.textContent = "Choose the file to use as a template"; + t4 = space(); + if (if_block) if_block.c(); + t5 = space(); + div3 = element("div"); + input = element("input"); + attr(div0, "class", "setting-item-name"); + attr(div1, "class", "setting-item-description"); + attr(div2, "class", "setting-item-info"); + attr(input, "type", "text"); + attr(input, "spellcheck", false); + attr(input, "placeholder", "Example: folder/note"); + toggle_class(input, "has-error", !!/*error*/ ctx[3]); + attr(div3, "class", "setting-item-control"); + attr(div4, "class", "setting-item"); + }, + m(target, anchor) { + insert(target, div4, anchor); + append(div4, div2); + append(div2, div0); + append(div0, t0); + append(div0, t1); + append(div2, t2); + append(div2, div1); + append(div2, t4); + if (if_block) if_block.m(div2, null); + append(div4, t5); + append(div4, div3); + append(div3, input); + /*input_binding*/ ctx[7](input); + set_input_value(input, /*$settings*/ ctx[2][/*periodicity*/ ctx[1]].template); + + if (!mounted) { + dispose = [ + listen(input, "input", /*input_input_handler*/ ctx[8]), + listen(input, "change", /*validateOnBlur*/ ctx[5]), + listen(input, "input", /*clearError*/ ctx[6]) + ]; + + mounted = true; + } + }, + p(ctx, [dirty]) { + if (dirty & /*periodicity*/ 2 && t0_value !== (t0_value = capitalize(/*periodicity*/ ctx[1]) + "")) set_data(t0, t0_value); + + if (/*error*/ ctx[3]) { + if (if_block) { + if_block.p(ctx, dirty); + } else { + if_block = create_if_block$2(ctx); + if_block.c(); + if_block.m(div2, null); + } + } else if (if_block) { + if_block.d(1); + if_block = null; + } + + if (dirty & /*$settings, periodicity*/ 6 && input.value !== /*$settings*/ ctx[2][/*periodicity*/ ctx[1]].template) { + set_input_value(input, /*$settings*/ ctx[2][/*periodicity*/ ctx[1]].template); + } + + if (dirty & /*error*/ 8) { + toggle_class(input, "has-error", !!/*error*/ ctx[3]); + } + }, + i: noop, + o: noop, + d(detaching) { + if (detaching) detach(div4); + if (if_block) if_block.d(); + /*input_binding*/ ctx[7](null); + mounted = false; + run_all(dispose); + } + }; +} + +function instance$2($$self, $$props, $$invalidate) { + let $settings, + $$unsubscribe_settings = noop, + $$subscribe_settings = () => ($$unsubscribe_settings(), $$unsubscribe_settings = subscribe(settings, $$value => $$invalidate(2, $settings = $$value)), settings); + + $$self.$$.on_destroy.push(() => $$unsubscribe_settings()); + + + let { settings } = $$props; + $$subscribe_settings(); + let { periodicity } = $$props; + let error; + let inputEl; + + function validateOnBlur() { + $$invalidate(3, error = validateTemplate(inputEl.value)); + } + + function clearError() { + $$invalidate(3, error = ""); + } + + onMount(() => { + $$invalidate(3, error = validateTemplate(inputEl.value)); + new FileSuggest(window.app, inputEl); + }); + + function input_binding($$value) { + binding_callbacks[$$value ? "unshift" : "push"](() => { + inputEl = $$value; + $$invalidate(4, inputEl); + }); + } + + function input_input_handler() { + $settings[periodicity].template = this.value; + settings.set($settings); + $$invalidate(1, periodicity); + } + + $$self.$$set = $$props => { + if ("settings" in $$props) $$subscribe_settings($$invalidate(0, settings = $$props.settings)); + if ("periodicity" in $$props) $$invalidate(1, periodicity = $$props.periodicity); + }; + + $$self.$$.update = () => { + if ($$self.$$.dirty & /*$settings, periodicity*/ 6) { + $settings[periodicity].template || ""; + } + }; + + return [ + settings, + periodicity, + $settings, + error, + inputEl, + validateOnBlur, + clearError, + input_binding, + input_input_handler + ]; +} + +class NoteTemplateSetting extends SvelteComponent { + constructor(options) { + super(); + init(this, options, instance$2, create_fragment$2, safe_not_equal, { settings: 0, periodicity: 1 }); + } +} + +/* src/settings/NoteFolderSetting.svelte generated by Svelte v3.35.0 */ + +function create_if_block$1(ctx) { + let div; + let t; + + return { + c() { + div = element("div"); + t = text(/*error*/ ctx[4]); + attr(div, "class", "has-error"); + }, + m(target, anchor) { + insert(target, div, anchor); + append(div, t); + }, + p(ctx, dirty) { + if (dirty & /*error*/ 16) set_data(t, /*error*/ ctx[4]); + }, + d(detaching) { + if (detaching) detach(div); + } + }; +} + +function create_fragment$1(ctx) { + let div4; + let div2; + let div0; + let t1; + let div1; + let t2; + let t3; + let t4; + let t5; + let t6; + let div3; + let input; + let mounted; + let dispose; + let if_block = /*error*/ ctx[4] && create_if_block$1(ctx); + + return { + c() { + div4 = element("div"); + div2 = element("div"); + div0 = element("div"); + div0.textContent = "Note Folder"; + t1 = space(); + div1 = element("div"); + t2 = text("New "); + t3 = text(/*periodicity*/ ctx[1]); + t4 = text(" notes will be placed here"); + t5 = space(); + if (if_block) if_block.c(); + t6 = space(); + div3 = element("div"); + input = element("input"); + attr(div0, "class", "setting-item-name"); + attr(div1, "class", "setting-item-description"); + attr(div2, "class", "setting-item-info"); + attr(input, "type", "text"); + attr(input, "spellcheck", false); + attr(input, "placeholder", "Example: folder 1/folder 2"); + toggle_class(input, "has-error", !!/*error*/ ctx[4]); + attr(div3, "class", "setting-item-control"); + attr(div4, "class", "setting-item"); + }, + m(target, anchor) { + insert(target, div4, anchor); + append(div4, div2); + append(div2, div0); + append(div2, t1); + append(div2, div1); + append(div1, t2); + append(div1, t3); + append(div1, t4); + append(div2, t5); + if (if_block) if_block.m(div2, null); + append(div4, t6); + append(div4, div3); + append(div3, input); + set_input_value(input, /*$settings*/ ctx[2][/*periodicity*/ ctx[1]].folder); + /*input_binding*/ ctx[8](input); + + if (!mounted) { + dispose = [ + listen(input, "input", /*input_input_handler*/ ctx[7]), + listen(input, "change", /*onChange*/ ctx[5]), + listen(input, "input", /*clearError*/ ctx[6]) + ]; + + mounted = true; + } + }, + p(ctx, [dirty]) { + if (dirty & /*periodicity*/ 2) set_data(t3, /*periodicity*/ ctx[1]); + + if (/*error*/ ctx[4]) { + if (if_block) { + if_block.p(ctx, dirty); + } else { + if_block = create_if_block$1(ctx); + if_block.c(); + if_block.m(div2, null); + } + } else if (if_block) { + if_block.d(1); + if_block = null; + } + + if (dirty & /*$settings, periodicity*/ 6 && input.value !== /*$settings*/ ctx[2][/*periodicity*/ ctx[1]].folder) { + set_input_value(input, /*$settings*/ ctx[2][/*periodicity*/ ctx[1]].folder); + } + + if (dirty & /*error*/ 16) { + toggle_class(input, "has-error", !!/*error*/ ctx[4]); + } + }, + i: noop, + o: noop, + d(detaching) { + if (detaching) detach(div4); + if (if_block) if_block.d(); + /*input_binding*/ ctx[8](null); + mounted = false; + run_all(dispose); + } + }; +} + +function instance$1($$self, $$props, $$invalidate) { + let $settings, + $$unsubscribe_settings = noop, + $$subscribe_settings = () => ($$unsubscribe_settings(), $$unsubscribe_settings = subscribe(settings, $$value => $$invalidate(2, $settings = $$value)), settings); + + $$self.$$.on_destroy.push(() => $$unsubscribe_settings()); + + + let { settings } = $$props; + $$subscribe_settings(); + let { periodicity } = $$props; + let inputEl; + let error; + + function onChange() { + $$invalidate(4, error = validateFolder(inputEl.value)); + } + + function clearError() { + $$invalidate(4, error = ""); + } + + onMount(() => { + $$invalidate(4, error = validateFolder(inputEl.value)); + new FolderSuggest(window.app, inputEl); + }); + + function input_input_handler() { + $settings[periodicity].folder = this.value; + settings.set($settings); + $$invalidate(1, periodicity); + } + + function input_binding($$value) { + binding_callbacks[$$value ? "unshift" : "push"](() => { + inputEl = $$value; + $$invalidate(3, inputEl); + }); + } + + $$self.$$set = $$props => { + if ("settings" in $$props) $$subscribe_settings($$invalidate(0, settings = $$props.settings)); + if ("periodicity" in $$props) $$invalidate(1, periodicity = $$props.periodicity); + }; + + $$self.$$.update = () => { + if ($$self.$$.dirty & /*$settings, periodicity*/ 6) { + $settings[periodicity].folder || ""; + } + }; + + return [ + settings, + periodicity, + $settings, + inputEl, + error, + onChange, + clearError, + input_input_handler, + input_binding + ]; +} + +class NoteFolderSetting extends SvelteComponent { + constructor(options) { + super(); + init(this, options, instance$1, create_fragment$1, safe_not_equal, { settings: 0, periodicity: 1 }); + } +} + +/* src/settings/SettingsTab.svelte generated by Svelte v3.35.0 */ + +function get_each_context(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[9] = list[i]; + return child_ctx; +} + +// (33:0) {#if $settingsStore.showGettingStartedBanner} +function create_if_block_1(ctx) { + let gettingstartedbanner; + let current; + + gettingstartedbanner = new GettingStartedBanner({ + props: { + migrateDailyNoteSettings: /*migrateDailyNoteSettings*/ ctx[2], + settings: /*settingsStore*/ ctx[1], + handleTeardown: /*func*/ ctx[6] + } + }); + + return { + c() { + create_component(gettingstartedbanner.$$.fragment); + }, + m(target, anchor) { + mount_component(gettingstartedbanner, target, anchor); + current = true; + }, + p(ctx, dirty) { + const gettingstartedbanner_changes = {}; + if (dirty & /*$settingsStore*/ 1) gettingstartedbanner_changes.handleTeardown = /*func*/ ctx[6]; + gettingstartedbanner.$set(gettingstartedbanner_changes); + }, + i(local) { + if (current) return; + transition_in(gettingstartedbanner.$$.fragment, local); + current = true; + }, + o(local) { + transition_out(gettingstartedbanner.$$.fragment, local); + current = false; + }, + d(detaching) { + destroy_component(gettingstartedbanner, detaching); + } + }; +} + +// (62:2) {#if $settingsStore[periodicity].enabled} +function create_if_block(ctx) { + let div; + let noteformatsetting; + let t0; + let notetemplatesetting; + let t1; + let notefoldersetting; + let t2; + let div_intro; + let div_outro; + let current; + + noteformatsetting = new NoteFormatSetting({ + props: { + periodicity: /*periodicity*/ ctx[9], + settings: /*settingsStore*/ ctx[1] + } + }); + + notetemplatesetting = new NoteTemplateSetting({ + props: { + periodicity: /*periodicity*/ ctx[9], + settings: /*settingsStore*/ ctx[1] + } + }); + + notefoldersetting = new NoteFolderSetting({ + props: { + periodicity: /*periodicity*/ ctx[9], + settings: /*settingsStore*/ ctx[1] + } + }); + + return { + c() { + div = element("div"); + create_component(noteformatsetting.$$.fragment); + t0 = space(); + create_component(notetemplatesetting.$$.fragment); + t1 = space(); + create_component(notefoldersetting.$$.fragment); + t2 = space(); + }, + m(target, anchor) { + insert(target, div, anchor); + mount_component(noteformatsetting, div, null); + append(div, t0); + mount_component(notetemplatesetting, div, null); + append(div, t1); + mount_component(notefoldersetting, div, null); + append(div, t2); + current = true; + }, + p: noop, + i(local) { + if (current) return; + transition_in(noteformatsetting.$$.fragment, local); + transition_in(notetemplatesetting.$$.fragment, local); + transition_in(notefoldersetting.$$.fragment, local); + + add_render_callback(() => { + if (div_outro) div_outro.end(1); + if (!div_intro) div_intro = create_in_transition(div, slide, {}); + div_intro.start(); + }); + + current = true; + }, + o(local) { + transition_out(noteformatsetting.$$.fragment, local); + transition_out(notetemplatesetting.$$.fragment, local); + transition_out(notefoldersetting.$$.fragment, local); + if (div_intro) div_intro.invalidate(); + div_outro = create_out_transition(div, slide, {}); + current = false; + }, + d(detaching) { + if (detaching) detach(div); + destroy_component(noteformatsetting); + destroy_component(notetemplatesetting); + destroy_component(notefoldersetting); + if (detaching && div_outro) div_outro.end(); + } + }; +} + +// (42:0) {#each periodicities as periodicity} +function create_each_block(ctx) { + let div4; + let div1; + let div0; + let h3; + let t0_value = capitalize(/*periodicity*/ ctx[9]) + ""; + let t0; + let t1; + let t2; + let div3; + let div2; + let t3; + let if_block_anchor; + let current; + let mounted; + let dispose; + + function click_handler() { + return /*click_handler*/ ctx[7](/*periodicity*/ ctx[9]); + } + + let if_block = /*$settingsStore*/ ctx[0][/*periodicity*/ ctx[9]].enabled && create_if_block(ctx); + + return { + c() { + div4 = element("div"); + div1 = element("div"); + div0 = element("div"); + h3 = element("h3"); + t0 = text(t0_value); + t1 = text(" Notes"); + t2 = space(); + div3 = element("div"); + div2 = element("div"); + t3 = space(); + if (if_block) if_block.c(); + if_block_anchor = empty(); + attr(div0, "class", "setting-item-name"); + attr(div1, "class", "setting-item-info"); + attr(div2, "class", "checkbox-container"); + toggle_class(div2, "is-enabled", /*$settingsStore*/ ctx[0][/*periodicity*/ ctx[9]].enabled); + attr(div3, "class", "setting-item-control"); + attr(div4, "class", "setting-item setting-item-heading"); + }, + m(target, anchor) { + insert(target, div4, anchor); + append(div4, div1); + append(div1, div0); + append(div0, h3); + append(h3, t0); + append(h3, t1); + append(div4, t2); + append(div4, div3); + append(div3, div2); + insert(target, t3, anchor); + if (if_block) if_block.m(target, anchor); + insert(target, if_block_anchor, anchor); + current = true; + + if (!mounted) { + dispose = listen(div2, "click", click_handler); + mounted = true; + } + }, + p(new_ctx, dirty) { + ctx = new_ctx; + + if (dirty & /*$settingsStore, periodicities*/ 9) { + toggle_class(div2, "is-enabled", /*$settingsStore*/ ctx[0][/*periodicity*/ ctx[9]].enabled); + } + + if (/*$settingsStore*/ ctx[0][/*periodicity*/ ctx[9]].enabled) { + if (if_block) { + if_block.p(ctx, dirty); + + if (dirty & /*$settingsStore*/ 1) { + transition_in(if_block, 1); + } + } else { + if_block = create_if_block(ctx); + if_block.c(); + transition_in(if_block, 1); + if_block.m(if_block_anchor.parentNode, if_block_anchor); + } + } else if (if_block) { + group_outros(); + + transition_out(if_block, 1, 1, () => { + if_block = null; + }); + + check_outros(); + } + }, + i(local) { + if (current) return; + transition_in(if_block); + current = true; + }, + o(local) { + transition_out(if_block); + current = false; + }, + d(detaching) { + if (detaching) detach(div4); + if (detaching) detach(t3); + if (if_block) if_block.d(detaching); + if (detaching) detach(if_block_anchor); + mounted = false; + dispose(); + } + }; +} + +function create_fragment(ctx) { + let t; + let each_1_anchor; + let current; + let if_block = /*$settingsStore*/ ctx[0].showGettingStartedBanner && create_if_block_1(ctx); + let each_value = /*periodicities*/ ctx[3]; + let each_blocks = []; + + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i)); + } + + const out = i => transition_out(each_blocks[i], 1, 1, () => { + each_blocks[i] = null; + }); + + return { + c() { + if (if_block) if_block.c(); + t = space(); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + each_1_anchor = empty(); + }, + m(target, anchor) { + if (if_block) if_block.m(target, anchor); + insert(target, t, anchor); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(target, anchor); + } + + insert(target, each_1_anchor, anchor); + current = true; + }, + p(ctx, [dirty]) { + if (/*$settingsStore*/ ctx[0].showGettingStartedBanner) { + if (if_block) { + if_block.p(ctx, dirty); + + if (dirty & /*$settingsStore*/ 1) { + transition_in(if_block, 1); + } + } else { + if_block = create_if_block_1(ctx); + if_block.c(); + transition_in(if_block, 1); + if_block.m(t.parentNode, t); + } + } else if (if_block) { + group_outros(); + + transition_out(if_block, 1, 1, () => { + if_block = null; + }); + + check_outros(); + } + + if (dirty & /*periodicities, settingsStore, $settingsStore, capitalize*/ 11) { + each_value = /*periodicities*/ ctx[3]; + let i; + + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context(ctx, each_value, i); + + if (each_blocks[i]) { + each_blocks[i].p(child_ctx, dirty); + transition_in(each_blocks[i], 1); + } else { + each_blocks[i] = create_each_block(child_ctx); + each_blocks[i].c(); + transition_in(each_blocks[i], 1); + each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor); + } + } + + group_outros(); + + for (i = each_value.length; i < each_blocks.length; i += 1) { + out(i); + } + + check_outros(); + } + }, + i(local) { + if (current) return; + transition_in(if_block); + + for (let i = 0; i < each_value.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + o(local) { + transition_out(if_block); + each_blocks = each_blocks.filter(Boolean); + + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + d(detaching) { + if (if_block) if_block.d(detaching); + if (detaching) detach(t); + destroy_each(each_blocks, detaching); + if (detaching) detach(each_1_anchor); + } + }; +} + +function instance($$self, $$props, $$invalidate) { + let $settingsStore; + + let { settings } = $$props; + let { onUpdateSettings } = $$props; + let settingsStore = writable(settings); + component_subscribe($$self, settingsStore, value => $$invalidate(0, $settingsStore = value)); + const unsubscribeFromSettings = settingsStore.subscribe(onUpdateSettings); + + function migrateDailyNoteSettings() { + const dailyNoteSettings = getLegacyDailyNoteSettings(); + + settingsStore.update(old => Object.assign(Object.assign({}, old), { + daily: Object.assign(Object.assign({}, dailyNoteSettings), { enabled: true }), + hasMigratedDailyNoteSettings: true + })); + } + + const periodicities = ["daily", "weekly", "monthly", "quarterly", "yearly"]; + + onDestroy(() => { + unsubscribeFromSettings(); + }); + + const func = () => { + set_store_value(settingsStore, $settingsStore.showGettingStartedBanner = false, $settingsStore); + }; + + const click_handler = periodicity => { + set_store_value(settingsStore, $settingsStore[periodicity].enabled = !$settingsStore[periodicity].enabled, $settingsStore); + }; + + $$self.$$set = $$props => { + if ("settings" in $$props) $$invalidate(4, settings = $$props.settings); + if ("onUpdateSettings" in $$props) $$invalidate(5, onUpdateSettings = $$props.onUpdateSettings); + }; + + return [ + $settingsStore, + settingsStore, + migrateDailyNoteSettings, + periodicities, + settings, + onUpdateSettings, + func, + click_handler + ]; +} + +class SettingsTab extends SvelteComponent { + constructor(options) { + super(); + init(this, options, instance, create_fragment, safe_not_equal, { settings: 4, onUpdateSettings: 5 }); + } +} + +const DEFAULT_SETTINGS = Object.freeze({ + format: "", + template: "", + folder: "", +}); +class PeriodicNotesSettingsTab extends obsidian.PluginSettingTab { + constructor(app, plugin) { + super(app, plugin); + this.plugin = plugin; + } + display() { + this.containerEl.empty(); + this.view = new SettingsTab({ + target: this.containerEl, + props: { + settings: this.plugin.settings, + onUpdateSettings: this.plugin.updateSettings, + }, + }); + } +} + +class PeriodicNotesPlugin extends obsidian.Plugin { + async onload() { + this.ribbonEl = null; + this.updateSettings = this.updateSettings.bind(this); + await this.loadSettings(); + this.addSettingTab(new PeriodicNotesSettingsTab(this.app, this)); + this.app.workspace.onLayoutReady(this.onLayoutReady.bind(this)); + obsidian.addIcon("calendar-day", calendarDayIcon); + obsidian.addIcon("calendar-week", calendarWeekIcon); + obsidian.addIcon("calendar-month", calendarMonthIcon); + obsidian.addIcon("calendar-quarter", calendarQuarterIcon); + obsidian.addIcon("calendar-year", calendarYearIcon); + } + onLayoutReady() { + // If the user has Calendar Weekly Notes settings, migrate them automatically, + // since the functionality will be deprecated. + if (this.isInitialLoad && hasLegacyWeeklyNoteSettings()) { + this.migrateWeeklySettings(); + this.settings.weekly.enabled = true; + } + this.configureRibbonIcons(); + this.configureCommands(); + } + migrateWeeklySettings() { + const calendarSettings = getLegacyWeeklyNoteSettings(); + this.updateSettings(Object.assign(Object.assign({}, this.settings), { + weekly: Object.assign(Object.assign({}, calendarSettings), { enabled: true }), + hasMigratedWeeklyNoteSettings: true, + })); + } + configureRibbonIcons() { + var _a; + (_a = this.ribbonEl) === null || _a === void 0 ? void 0 : _a.detach(); + const configuredPeriodicities = [ + "daily", + "weekly", + "monthly", + "quarterly", + "yearly", + ].filter((periodicity) => this.settings[periodicity].enabled); + if (configuredPeriodicities.length) { + const periodicity = configuredPeriodicities[0]; + const config = periodConfigs[periodicity]; + this.ribbonEl = this.addRibbonIcon(`calendar-${config.unitOfTime}`, `Open ${config.relativeUnit}`, (event) => openPeriodicNote(periodicity, window.moment(), isMetaPressed(event))); + this.ribbonEl.addEventListener("contextmenu", (ev) => { + showFileMenu(this.app, this.settings, { + x: ev.pageX, + y: ev.pageY, + }); + }); + } + } + configureCommands() { + // Remove disabled commands + ["daily", "weekly", "monthly", "quarterly", "yearly"] + .filter((periodicity) => !this.settings[periodicity].enabled) + .forEach((periodicity) => { + getCommands(periodicity).forEach((command) => + // eslint-disable-next-line @typescript-eslint/no-explicit-any + this.app.commands.removeCommand(`periodic-notes:${command.id}`)); + }); + // register enabled commands + ["daily", "weekly", "monthly", "quarterly", "yearly"] + .filter((periodicity) => this.settings[periodicity].enabled) + .forEach((periodicity) => { + getCommands(periodicity).forEach(this.addCommand.bind(this)); + }); + } + async loadSettings() { + const settings = await this.loadData(); + if (!settings) { + this.isInitialLoad = true; + } + this.settings = Object.assign({}, { + showGettingStartedBanner: true, + hasMigratedDailyNoteSettings: false, + hasMigratedWeeklyNoteSettings: false, + daily: Object.assign({}, DEFAULT_SETTINGS), + weekly: Object.assign({}, DEFAULT_SETTINGS), + monthly: Object.assign({}, DEFAULT_SETTINGS), + quarterly: Object.assign({}, DEFAULT_SETTINGS), + yearly: Object.assign({}, DEFAULT_SETTINGS), + }, settings || {}); + } + onSettingsUpdate() { + this.configureCommands(); + this.configureRibbonIcons(); + // Integrations (i.e. Calendar Plugin) can listen for changes to settings + this.app.workspace.trigger(SETTINGS_UPDATED); + } + async updateSettings(val) { + this.settings = val; + await this.saveData(this.settings); + this.onSettingsUpdate(); + } +} + +module.exports = PeriodicNotesPlugin; + +/* nosourcemap */ \ No newline at end of file diff --git a/data/student_040/New_Obsidian Vault/.obsidian/plugins/periodic-notes/manifest.json b/data/student_040/New_Obsidian Vault/.obsidian/plugins/periodic-notes/manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..f34394e8cc8ef3cc82966cfd2e8560942e630e0b --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/plugins/periodic-notes/manifest.json @@ -0,0 +1,10 @@ +{ + "id": "periodic-notes", + "name": "Periodic Notes", + "description": "Create/manage your daily, weekly, and monthly notes", + "version": "0.0.17", + "author": "Liam Cain", + "authorUrl": "https://github.com/liamcain/", + "isDesktopOnly": false, + "minAppVersion": "0.10.11" +} diff --git a/data/student_040/New_Obsidian Vault/.obsidian/plugins/periodic-notes/styles.css b/data/student_040/New_Obsidian Vault/.obsidian/plugins/periodic-notes/styles.css new file mode 100644 index 0000000000000000000000000000000000000000..d388888f731ad3ea9654b2d9655ac8b2185e6778 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/plugins/periodic-notes/styles.css @@ -0,0 +1,30 @@ +.periodic-modal { + min-width: 40vw; +} + +.settings-banner { + background-color: var(--background-primary-alt); + border-radius: 8px; + border: 1px solid var(--background-modifier-border); + margin-bottom: 1em; + margin-top: 1em; + padding: 1.5em; + text-align: left; +} + +.settings-banner h3 { + margin-top: 0; +} + +.settings-banner h4 { + margin-bottom: 0.25em; +} + +.has-error { + color: var(--text-error); +} + +input.has-error { + color: var(--text-error); + border-color: var(--text-error); +} diff --git a/data/student_040/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/data.json b/data/student_040/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/data.json new file mode 100644 index 0000000000000000000000000000000000000000..60ade753a46efe818ce4ed0b83608911278b9aa5 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/data.json @@ -0,0 +1,38 @@ +{ + "command_timeout": 5, + "templates_folder": "99. Setting/Templates", + "templates_pairs": [ + [ + "", + "" + ] + ], + "trigger_on_file_creation": true, + "auto_jump_to_cursor": false, + "enable_system_commands": false, + "shell_path": "", + "user_scripts_folder": "", + "enable_folder_templates": true, + "folder_templates": [ + { + "folder": "", + "template": "" + } + ], + "enable_file_templates": false, + "file_templates": [ + { + "regex": ".*", + "template": "" + } + ], + "syntax_highlighting": true, + "syntax_highlighting_mobile": false, + "enabled_templates_hotkeys": [ + "" + ], + "startup_templates": [ + "" + ], + "intellisense_render": 1 +} \ No newline at end of file diff --git a/data/student_040/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/main.js b/data/student_040/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/main.js new file mode 100644 index 0000000000000000000000000000000000000000..3d4fd89684df6a043fd6f7396995522f79a4c765 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/main.js @@ -0,0 +1,45 @@ +/* +THIS IS A GENERATED/BUNDLED FILE BY ESBUILD +if you want to view the source, please visit the github repository of this plugin +*/ + +var va=Object.create;var Rn=Object.defineProperty;var wa=Object.getOwnPropertyDescriptor;var ba=Object.getOwnPropertyNames;var Ea=Object.getPrototypeOf,Ta=Object.prototype.hasOwnProperty;var Vi=n=>Rn(n,"__esModule",{value:!0});var ka=(n,e)=>{Vi(n);for(var t in e)Rn(n,t,{get:e[t],enumerable:!0})},Sa=(n,e,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of ba(e))!Ta.call(n,r)&&r!=="default"&&Rn(n,r,{get:()=>e[r],enumerable:!(t=wa(e,r))||t.enumerable});return n},X=n=>Sa(Vi(Rn(n!=null?va(Ea(n)):{},"default",n&&n.__esModule&&"default"in n?{get:()=>n.default,enumerable:!0}:{value:n,enumerable:!0})),n);var zi=(()=>{for(var n=new Uint8Array(128),e=0;e<64;e++)n[e<26?e+65:e<52?e+71:e<62?e-4:e*4-205]=e;return t=>{for(var r=t.length,i=new Uint8Array((r-(t[r-1]=="=")-(t[r-2]=="="))*3/4|0),o=0,a=0;o>4,i[a++]=c<<4|d>>2,i[a++]=d<<6|m}return i}})();ka(exports,{default:()=>Fi});var Er=X(require("obsidian"));var L=X(require("obsidian"));var Ji=X(require("obsidian"));function oe(n){let e=new Ji.Notice("",8e3),t=createFragment(r=>{r.createEl("b",{text:"Templater Error"}),r.createEl("span",{text:":"}),r.createEl("br"),r.createEl("span",{text:n.message}),n instanceof P&&n.console_msg&&(r.createEl("br"),r.createEl("span",{text:"Check console for more information"}),console.error("Templater Error:",n.message,` +`,n.console_msg))});e.noticeEl.appendChild(t)}var P=class extends Error{constructor(e,t){super(e);this.console_msg=t;this.name=this.constructor.name,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}};async function Se(n,e){try{return await n()}catch(t){return t instanceof P?oe(t):oe(new P(e,t.message)),null}}function Ce(n,e){try{return n()}catch(t){return oe(new P(e,t.message)),null}}var re=function(){function n(){}return n.explainIfInvalidTSDocTagName=function(e){if(e[0]!=="@")return'A TSDoc tag name must start with an "@" symbol';if(!n._tsdocTagNameRegExp.test(e))return"A TSDoc tag name must start with a letter and contain only letters and numbers"},n.validateTSDocTagName=function(e){var t=n.explainIfInvalidTSDocTagName(e);if(t)throw new Error(t)},n.explainIfInvalidLinkUrl=function(e){if(e.length===0)return"The URL cannot be empty";if(!n._urlSchemeRegExp.test(e))return'An @link URL must begin with a scheme comprised only of letters and numbers followed by "://". (For general URLs, use an HTML "" tag instead.)';if(!n._urlSchemeAfterRegExp.test(e))return'An @link URL must have at least one character after "://"'},n.explainIfInvalidHtmlName=function(e){if(!n._htmlNameRegExp.test(e))return"An HTML name must be an ASCII letter followed by zero or more letters, digits, or hyphens"},n.validateHtmlName=function(e){var t=n.explainIfInvalidHtmlName(e);if(t)throw new Error(t)},n.explainIfInvalidPackageName=function(e){if(e.length===0)return"The package name cannot be an empty string";if(!n._validPackageNameRegExp.test(e))return"The package name ".concat(JSON.stringify(e)," is not a valid package name")},n.explainIfInvalidImportPath=function(e,t){if(e.length>0){if(e.indexOf("//")>=0)return'An import path must not contain "//"';if(e[e.length-1]==="/")return'An import path must not end with "/"';if(!t&&e[0]==="/")return'An import path must not start with "/" unless prefixed by a package name'}},n.isSystemSelector=function(e){return n._systemSelectors.has(e)},n.explainIfInvalidUnquotedIdentifier=function(e){if(e.length===0)return"The identifier cannot be an empty string";if(n._identifierBadCharRegExp.test(e))return"The identifier cannot non-word characters";if(n._identifierNumberStartRegExp.test(e))return"The identifier must not start with a number"},n.explainIfInvalidUnquotedMemberIdentifier=function(e){var t=n.explainIfInvalidUnquotedIdentifier(e);if(t!==void 0)return t;if(n.isSystemSelector(e))return'The identifier "'.concat(e,'" must be quoted because it is a TSDoc system selector name')},n._tsdocTagNameRegExp=/^@[a-z][a-z0-9]*$/i,n._urlSchemeRegExp=/^[a-z][a-z0-9]*\:\/\//i,n._urlSchemeAfterRegExp=/^[a-z][a-z0-9]*\:\/\/./i,n._htmlNameRegExp=/^[a-z]+[a-z0-9\-]*$/i,n._identifierBadCharRegExp=/[^a-z0-9_$]/i,n._identifierNumberStartRegExp=/^[0-9]/,n._validPackageNameRegExp=/^(?:@[a-z0-9\-_\.]+\/)?[a-z0-9\-_\.]+$/i,n._systemSelectors=new Set(["instance","static","constructor","class","enum","function","interface","namespace","type","variable"]),n}();var Pr=function(){function n(){this._docNodeDefinitionsByKind=new Map,this._docNodeDefinitionsByConstructor=new Map}return n.prototype.registerDocNodes=function(e,t){var r=re.explainIfInvalidPackageName(e);if(r)throw new Error("Invalid NPM package name: "+r);for(var i=0,o=t;i0&&i.appendNodes(r),i}return Object.defineProperty(e.prototype,"nodes",{get:function(){return this._nodes},enumerable:!1,configurable:!0}),e.prototype.appendNode=function(t){if(!this.configuration.docNodeManager.isAllowedChild(this.kind,t.kind))throw new Error("The TSDocConfiguration does not allow a ".concat(this.kind," node to")+" contain a node of type ".concat(t.kind));this._nodes.push(t)},e.prototype.appendNodes=function(t){for(var r=0,i=t;r0){var i=this.nodes[this.nodes.length-1];i.kind===g.Paragraph&&(r=i)}r||(r=new st({configuration:this.configuration}),this.appendNode(r)),r.appendNode(t)},e.prototype.appendNodesInParagraph=function(t){for(var r=0,i=t;r1){var e=this._chunks.join("");this._chunks.length=1,this._chunks[0]=e}return this._chunks[0]},n}();var Zi=function(){function n(){}return n.transform=function(e){for(var t=[],r=!1,i=[],o=[],a=!1,l=0,c=e.nodes;l0&&(r&&(i.push(" "),r=!1),i.push(S),o.push(d),a=!0),b&&a&&(r=!0);break;case g.SoftBreak:a&&(r=!0),o.push(d);break;default:r&&(i.push(" "),r=!1),i.length>0&&(t.push(new Ve({configuration:e.configuration,text:i.join("")})),i.length=0,o.length=0),t.push(d),a=!0}}i.length>0&&(t.push(new Ve({configuration:e.configuration,text:i.join("")})),i.length=0,o.length=0);var k=new st({configuration:e.configuration});return k.appendNodes(t),k},n}();var Fr=function(){function n(){}return n.trimSpacesInParagraph=function(e){return Zi.transform(e)},n}();var qr=function(n,e,t){if(t||arguments.length===2)for(var r=0,i=e.length,o;r0&&(this._ensureLineSkipped(),this._renderNodes(a.modifierTagSet.nodes));break;case g.DeclarationReference:var l=e;this._writeContent(l.packageName),this._writeContent(l.importPath),(l.packageName!==void 0||l.importPath!==void 0)&&this._writeContent("#"),this._renderNodes(l.memberReferences);break;case g.ErrorText:var c=e;this._writeContent(c.text);break;case g.EscapedText:var d=e;this._writeContent(d.encodedText);break;case g.FencedCode:var m=e;this._ensureAtStartOfLine(),this._writeContent("```"),this._writeContent(m.language),this._writeNewline(),this._writeContent(m.code),this._writeContent("```"),this._writeNewline(),this._writeNewline();break;case g.HtmlAttribute:var _=e;this._writeContent(_.name),this._writeContent(_.spacingAfterName),this._writeContent("="),this._writeContent(_.spacingAfterEquals),this._writeContent(_.value),this._writeContent(_.spacingAfterValue);break;case g.HtmlEndTag:var w=e;this._writeContent("");break;case g.HtmlStartTag:var b=e;this._writeContent("<"),this._writeContent(b.name),this._writeContent(b.spacingAfterName);for(var S=b.spacingAfterName===void 0||b.spacingAfterName.length===0,k=0,E=b.htmlAttributes;k":">");break;case g.InheritDocTag:var $=e;this._renderInlineTag($,function(){$.declarationReference&&(t._writeContent(" "),t._renderNode($.declarationReference))});break;case g.InlineTag:var K=e;this._renderInlineTag(K,function(){K.tagContent.length>0&&(t._writeContent(" "),t._writeContent(K.tagContent))});break;case g.LinkTag:var D=e;this._renderInlineTag(D,function(){(D.urlDestination!==void 0||D.codeDestination!==void 0)&&(D.urlDestination!==void 0?(t._writeContent(" "),t._writeContent(D.urlDestination)):D.codeDestination!==void 0&&(t._writeContent(" "),t._renderNode(D.codeDestination))),D.linkText!==void 0&&(t._writeContent(" "),t._writeContent("|"),t._writeContent(" "),t._writeContent(D.linkText))});break;case g.MemberIdentifier:var H=e;H.hasQuotes?(this._writeContent('"'),this._writeContent(H.identifier),this._writeContent('"')):this._writeContent(H.identifier);break;case g.MemberReference:var F=e;F.hasDot&&this._writeContent("."),F.selector&&this._writeContent("("),F.memberSymbol?this._renderNode(F.memberSymbol):this._renderNode(F.memberIdentifier),F.selector&&(this._writeContent(":"),this._renderNode(F.selector),this._writeContent(")"));break;case g.MemberSelector:var J=e;this._writeContent(J.selector);break;case g.MemberSymbol:var te=e;this._writeContent("["),this._renderNode(te.symbolReference),this._writeContent("]");break;case g.Section:var ne=e;this._renderNodes(ne.nodes);break;case g.Paragraph:var Q=Fr.trimSpacesInParagraph(e);Q.nodes.length>0&&(this._hangingParagraph?this._hangingParagraph=!1:this._ensureLineSkipped(),this._renderNodes(Q.nodes),this._writeNewline());break;case g.ParamBlock:var h=e;this._ensureLineSkipped(),this._renderNode(h.blockTag),this._writeContent(" "),this._writeContent(h.parameterName),this._writeContent(" - "),this._hangingParagraph=!0,this._renderNode(h.content),this._hangingParagraph=!1;break;case g.ParamCollection:var C=e;this._renderNodes(C.blocks);break;case g.PlainText:var f=e;this._writeContent(f.text);break}},n.prototype._renderInlineTag=function(e,t){this._writeContent("{"),this._writeContent(e.tagName),t(),this._writeContent("}")},n.prototype._renderNodes=function(e){for(var t=0,r=e;t1){for(var r=!0,i=0,o=t;i0?this.params:void 0,this.typeParams.count>0?this.typeParams:void 0,this.returnsBlock],this.customBlocks,!0),this.seeBlocks,!0),[this.inheritDocTag],!1),this.modifierTagSet.nodes,!0)},e.prototype.emitAsTsdoc=function(){var t=new ct,r=new lt;return r.renderComment(t,this),t.toString()},e}(T);var La=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),Ha=function(n,e,t){if(t||arguments.length===2)for(var r=0,i=e.length,o;r=t},n._scanTextContent=function(e,t,r){for(var i=0,o=e;i=t||(r+=n._scanTextContent(a.getChildNodes(),t,r),r>=t))break}return r},n._countNonSpaceCharacters=function(e){for(var t=0,r=e.length,i=0;ithis.buffer.length)return{line:0,column:0};for(var t=1,r=1,i=0;ithis.buffer.length)throw new Error("TextRange.pos cannot exceed the associated text buffer length");if(this.end>this.buffer.length)throw new Error("TextRange.end cannot exceed the associated text buffer length")},n.empty=new n("",0,0),n}();var hn=function(){function n(e){this.messageId=e.messageId,this.unformattedText=e.messageText,this.textRange=e.textRange,this.tokenSequence=e.tokenSequence,this.docNode=e.docNode,this._text=void 0}return n._formatMessageText=function(e,t){if(e||(e="An unknown error occurred"),t.pos!==0||t.end!==0){var r=t.getLocation(t.pos);if(r.line)return"(".concat(r.line,",").concat(r.column,"): ")+e}return e},Object.defineProperty(n.prototype,"text",{get:function(){return this._text===void 0&&(this._text=n._formatMessageText(this.unformattedText,this.textRange)),this._text},enumerable:!1,configurable:!0}),n.prototype.toString=function(){return this.text},n}();var Lr=function(){function n(){this._messages=[]}return Object.defineProperty(n.prototype,"messages",{get:function(){return this._messages},enumerable:!1,configurable:!0}),n.prototype.addMessage=function(e){this._messages.push(e)},n.prototype.addMessageForTextRange=function(e,t,r){this.addMessage(new hn({messageId:e,messageText:t,textRange:r}))},n.prototype.addMessageForTokenSequence=function(e,t,r,i){this.addMessage(new hn({messageId:e,messageText:t,textRange:r.getContainingTextRange(),tokenSequence:r,docNode:i}))},n.prototype.addMessageForDocErrorText=function(e){var t;e.textExcerpt?t=e.textExcerpt:t=e.errorLocation,this.addMessage(new hn({messageId:e.messageId,messageText:e.errorMessage,textRange:t.getContainingTextRange(),tokenSequence:t,docNode:e}))},n}();var Hr=function(){function n(e,t){this.commentRange=ze.empty,this.lines=[],this.tokens=[],this.configuration=e,this.sourceRange=t,this.docComment=new Gn({configuration:this.configuration}),this.log=new Lr}return n}();var yt=function(){function n(e){this.parserContext=e.parserContext,this._startIndex=e.startIndex,this._endIndex=e.endIndex,this._validateBounds()}return n.createEmpty=function(e){return new n({parserContext:e,startIndex:0,endIndex:0})},Object.defineProperty(n.prototype,"startIndex",{get:function(){return this._startIndex},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"endIndex",{get:function(){return this._endIndex},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tokens",{get:function(){return this.parserContext.tokens.slice(this._startIndex,this._endIndex)},enumerable:!1,configurable:!0}),n.prototype.getNewSequence=function(e,t){return new n({parserContext:this.parserContext,startIndex:e,endIndex:t})},n.prototype.getContainingTextRange=function(){return this.isEmpty()?ze.empty:this.parserContext.sourceRange.getNewRange(this.parserContext.tokens[this._startIndex].range.pos,this.parserContext.tokens[this._endIndex-1].range.end)},n.prototype.isEmpty=function(){return this._startIndex===this._endIndex},n.prototype.toString=function(){return this.tokens.map(function(e){return e.toString()}).join("")},n.prototype._validateBounds=function(){if(this.startIndex<0)throw new Error("TokenSequence.startIndex cannot be negative");if(this.endIndex<0)throw new Error("TokenSequence.endIndex cannot be negative");if(this.endIndexthis.parserContext.tokens.length)throw new Error("TokenSequence.startIndex cannot exceed the associated token array");if(this.endIndex>this.parserContext.tokens.length)throw new Error("TokenSequence.endIndex cannot exceed the associated token array")},n}();var pe;(function(n){n[n.BeginComment1=0]="BeginComment1",n[n.BeginComment2=1]="BeginComment2",n[n.CollectingFirstLine=2]="CollectingFirstLine",n[n.CollectingLine=3]="CollectingLine",n[n.AdvancingLine=4]="AdvancingLine",n[n.Done=5]="Done"})(pe||(pe={}));var no=function(){function n(){}return n.extract=function(e){for(var t=e.sourceRange,r=t.buffer,i=0,o=0,a=0,l=0,c=t.pos,d=pe.BeginComment1,m=[];d!==pe.Done;){if(c>=t.end)switch(d){case pe.BeginComment1:case pe.BeginComment2:return e.log.addMessageForTextRange(v.CommentNotFound,'Expecting a "/**" comment',t),!1;default:return e.log.addMessageForTextRange(v.CommentMissingClosingDelimiter,"Unexpected end of input",t),!1}var _=r[c],w=c;++c;var b=ca)&&m.push(t.getNewRange(a,l)),a=c,l=c,d=pe.AdvancingLine):_==="*"&&b==="/"?(l>a&&m.push(t.getNewRange(a,l)),a=0,l=0,++c,o=c,d=pe.Done):n._whitespaceCharacterRegExp.test(_)||(l=c);break;case pe.AdvancingLine:_==="*"?b==="/"?(a=0,l=0,++c,o=c,d=pe.Done):(b===" "&&++c,a=c,l=c,d=pe.CollectingLine):_===` +`?(m.push(t.getNewRange(w,w)),a=c):n._whitespaceCharacterRegExp.test(_)||(l=c,d=pe.CollectingLine);break}}return e.commentRange=t.getNewRange(i,o),e.lines=m,!0},n._whitespaceCharacterRegExp=/^\s$/,n}();var An=function(){function n(){}return n.readTokens=function(e){n._ensureInitialized();for(var t=[],r=void 0,i=0,o=e;i":u.GreaterThan,"=":u.Equals,"'":u.SingleQuote,'"':u.DoubleQuote,"/":u.Slash,"-":u.Hyphen,"@":u.AtSign,"{":u.LeftCurlyBracket,"}":u.RightCurlyBracket,"`":u.Backtick,".":u.Period,":":u.Colon,",":u.Comma,"[":u.LeftSquareBracket,"]":u.RightSquareBracket,"|":u.Pipe,"(":u.LeftParenthesis,")":u.RightParenthesis,"#":u.PoundSymbol,"+":u.Plus,$:u.DollarSign},o=0,a=Object.getOwnPropertyNames(i);o?@[\\]^`{|}~",n._wordCharacters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_",n}();var $r=function(){function n(e,t){if(this._parserContext=e,this.tokens=e.tokens,t){if(t.parserContext!==this._parserContext)throw new Error("The embeddedTokenSequence must use the same parser context");this._readerStartIndex=t.startIndex,this._readerEndIndex=t.endIndex}else this._readerStartIndex=0,this._readerEndIndex=this.tokens.length;this._currentIndex=this._readerStartIndex,this._accumulatedStartIndex=this._readerStartIndex}return n.prototype.extractAccumulatedSequence=function(){if(this._accumulatedStartIndex===this._currentIndex)throw new Error("Parser assertion failed: The queue should not be empty when extractAccumulatedSequence() is called");var e=new yt({parserContext:this._parserContext,startIndex:this._accumulatedStartIndex,endIndex:this._currentIndex});return this._accumulatedStartIndex=this._currentIndex,e},n.prototype.isAccumulatedSequenceEmpty=function(){return this._accumulatedStartIndex===this._currentIndex},n.prototype.tryExtractAccumulatedSequence=function(){if(!this.isAccumulatedSequenceEmpty())return this.extractAccumulatedSequence()},n.prototype.assertAccumulatedSequenceIsEmpty=function(){if(!this.isAccumulatedSequenceEmpty()){var e=new yt({parserContext:this._parserContext,startIndex:this._accumulatedStartIndex,endIndex:this._currentIndex}),t=e.tokens.map(function(r){return r.toString()});throw new Error(`Parser assertion failed: The queue should be empty, but it contains: +`+JSON.stringify(t))}},n.prototype.peekToken=function(){return this.tokens[this._currentIndex]},n.prototype.peekTokenKind=function(){return this._currentIndex>=this._readerEndIndex?u.EndOfInput:this.tokens[this._currentIndex].kind},n.prototype.peekTokenAfterKind=function(){return this._currentIndex+1>=this._readerEndIndex?u.EndOfInput:this.tokens[this._currentIndex+1].kind},n.prototype.peekTokenAfterAfterKind=function(){return this._currentIndex+2>=this._readerEndIndex?u.EndOfInput:this.tokens[this._currentIndex+2].kind},n.prototype.readToken=function(){if(this._currentIndex>=this._readerEndIndex)throw new Error("Cannot read past end of stream");var e=this.tokens[this._currentIndex];if(e.kind===u.EndOfInput)throw new Error("The EndOfInput token cannot be read");return this._currentIndex++,e},n.prototype.peekPreviousTokenKind=function(){return this._currentIndex===0?u.EndOfInput:this.tokens[this._currentIndex-1].kind},n.prototype.createMarker=function(){return this._currentIndex},n.prototype.backtrackToMarker=function(e){if(e>this._currentIndex)throw new Error("The marker has expired");this._currentIndex=e,e" character should be escaped using a backslash to avoid confusion with an HTML tag'));break;case u.Backtick:this._pushAccumulatedPlainText(e),e.peekTokenAfterKind()===u.Backtick&&e.peekTokenAfterAfterKind()===u.Backtick?this._pushNode(this._parseFencedCode(e)):this._pushNode(this._parseCodeSpan(e));break;default:e.readToken();break}this._pushAccumulatedPlainText(e),this._performValidationChecks()},n.prototype._performValidationChecks=function(){var e=this._parserContext.docComment;e.deprecatedBlock&&(cr.hasAnyTextContent(e.deprecatedBlock)||this._parserContext.log.addMessageForTokenSequence(v.MissingDeprecationMessage,"The ".concat(e.deprecatedBlock.blockTag.tagName," block must include a deprecation message,")+" e.g. describing the recommended alternative",e.deprecatedBlock.blockTag.getTokenSequence(),e.deprecatedBlock)),e.inheritDocTag&&(e.remarksBlock&&this._parserContext.log.addMessageForTokenSequence(v.InheritDocIncompatibleTag,'A "'.concat(e.remarksBlock.blockTag.tagName,'" block must not be used, because that')+" content is provided by the @inheritDoc tag",e.remarksBlock.blockTag.getTokenSequence(),e.remarksBlock.blockTag),cr.hasAnyTextContent(e.summarySection)&&this._parserContext.log.addMessageForTextRange(v.InheritDocIncompatibleSummary,"The summary section must not have any content, because that content is provided by the @inheritDoc tag",this._parserContext.commentRange))},n.prototype._validateTagDefinition=function(e,t,r,i,o){if(e){var a=e.syntaxKind===R.InlineTag;a!==r?r?this._parserContext.log.addMessageForTokenSequence(v.TagShouldNotHaveBraces,'The TSDoc tag "'.concat(t,'" is not an inline tag; it must not be enclosed in "{ }" braces'),i,o):this._parserContext.log.addMessageForTokenSequence(v.InlineTagMissingBraces,'The TSDoc tag "'.concat(t,'" is an inline tag; it must be enclosed in "{ }" braces'),i,o):this._parserContext.configuration.validation.reportUnsupportedTags&&(this._parserContext.configuration.isTagSupported(e)||this._parserContext.log.addMessageForTokenSequence(v.UnsupportedTag,'The TSDoc tag "'.concat(t,'" is not supported by this tool'),i,o))}else this._parserContext.configuration.validation.ignoreUndefinedTags||this._parserContext.log.addMessageForTokenSequence(v.UndefinedTag,'The TSDoc tag "'.concat(t,'" is not defined in this configuration'),i,o)},n.prototype._pushAccumulatedPlainText=function(e){e.isAccumulatedSequenceEmpty()||this._pushNode(new Ve({parsed:!0,configuration:this._configuration,textExcerpt:e.extractAccumulatedSequence()}))},n.prototype._parseAndPushBlock=function(e){var t=this._parserContext.docComment,r=this._parserContext.configuration,i=t.modifierTagSet,o=this._parseBlockTag(e);if(o.kind!==g.BlockTag){this._pushNode(o);return}var a=o,l=r.tryGetTagDefinitionWithUpperCase(a.tagNameWithUpperCase);if(this._validateTagDefinition(l,a.tagName,!1,a.getTokenSequence(),a),l)switch(l.syntaxKind){case R.BlockTag:if(a.tagNameWithUpperCase===G.param.tagNameWithUpperCase){var c=this._parseParamBlock(e,a,G.param.tagName);this._parserContext.docComment.params.add(c),this._currentSection=c.content;return}else if(a.tagNameWithUpperCase===G.typeParam.tagNameWithUpperCase){var c=this._parseParamBlock(e,a,G.typeParam.tagName);this._parserContext.docComment.typeParams.add(c),this._currentSection=c.content;return}else{var d=new Vt({configuration:this._configuration,blockTag:a});this._addBlockToDocComment(d),this._currentSection=d.content}return;case R.ModifierTag:i.addTag(a);return}this._pushNode(a)},n.prototype._addBlockToDocComment=function(e){var t=this._parserContext.docComment;switch(e.blockTag.tagNameWithUpperCase){case G.remarks.tagNameWithUpperCase:t.remarksBlock=e;break;case G.privateRemarks.tagNameWithUpperCase:t.privateRemarks=e;break;case G.deprecated.tagNameWithUpperCase:t.deprecatedBlock=e;break;case G.returns.tagNameWithUpperCase:t.returnsBlock=e;break;case G.see.tagNameWithUpperCase:t._appendSeeBlock(e);break;default:t.appendCustomBlock(e)}},n.prototype._tryParseJSDocTypeOrValueRest=function(e,t,r,i){for(var o,a=1;a>0;){var l=e.peekTokenKind();switch(l){case t:o===void 0&&a++;break;case r:o===void 0&&a--;break;case u.Backslash:o!==void 0&&(e.readToken(),l=e.peekTokenKind());break;case u.DoubleQuote:case u.SingleQuote:case u.Backtick:o===l?o=void 0:o===void 0&&(o=l);break}if(l===u.EndOfInput){e.backtrackToMarker(i);return}e.readToken()}return e.tryExtractAccumulatedSequence()},n.prototype._tryParseUnsupportedJSDocType=function(e,t,r){if(e.assertAccumulatedSequenceIsEmpty(),!(e.peekTokenKind()!==u.LeftCurlyBracket||e.peekTokenAfterKind()===u.AtSign)){var i=e.createMarker();e.readToken();var o=this._tryParseJSDocTypeOrValueRest(e,u.LeftCurlyBracket,u.RightCurlyBracket,i);if(o){this._parserContext.log.addMessageForTokenSequence(v.ParamTagWithInvalidType,"The "+r+" block should not include a JSDoc-style '{type}'",o,t);var a=this._tryReadSpacingAndNewlines(e);a&&(o=o.getNewSequence(o.startIndex,a.endIndex))}return o}},n.prototype._tryParseJSDocOptionalNameRest=function(e){if(e.assertAccumulatedSequenceIsEmpty(),e.peekTokenKind()!==u.EndOfInput){var t=e.createMarker();return this._tryParseJSDocTypeOrValueRest(e,u.LeftSquareBracket,u.RightSquareBracket,t)}},n.prototype._parseParamBlock=function(e,t,r){var i=e.createMarker(),o=this._tryReadSpacingAndNewlines(e),a=this._tryParseUnsupportedJSDocType(e,t,r),l;e.peekTokenKind()===u.LeftSquareBracket&&(e.readToken(),l=e.extractAccumulatedSequence());for(var c="",d=!1;!d;)switch(e.peekTokenKind()){case u.AsciiWord:case u.Period:case u.DollarSign:c+=e.readToken();break;default:d=!0;break}var m=re.explainIfInvalidUnquotedIdentifier(c);if(m!==void 0){e.backtrackToMarker(i);var _=new gn({configuration:this._configuration,blockTag:t,parameterName:""}),w=c.length>0?"The "+r+" block should be followed by a valid parameter name: "+m:"The "+r+" block should be followed by a parameter name";return this._parserContext.log.addMessageForTokenSequence(v.ParamTagWithInvalidName,w,t.getTokenSequence(),t),_}var b=e.extractAccumulatedSequence(),S;if(l){S=this._tryParseJSDocOptionalNameRest(e);var k=l;S&&(k=t.getTokenSequence().getNewSequence(l.startIndex,S.endIndex)),this._parserContext.log.addMessageForTokenSequence(v.ParamTagWithInvalidOptionalName,"The "+r+" should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.",k,t)}var E=this._tryReadSpacingAndNewlines(e),O=this._tryParseUnsupportedJSDocType(e,t,r),$,K,D;return e.peekTokenKind()===u.Hyphen?(e.readToken(),$=e.extractAccumulatedSequence(),K=this._tryReadSpacingAndNewlines(e),D=this._tryParseUnsupportedJSDocType(e,t,r)):this._parserContext.log.addMessageForTokenSequence(v.ParamTagMissingHyphen,"The "+r+" block should be followed by a parameter name and then a hyphen",t.getTokenSequence(),t),new gn({parsed:!0,configuration:this._configuration,blockTag:t,spacingBeforeParameterNameExcerpt:o,unsupportedJsdocTypeBeforeParameterNameExcerpt:a,unsupportedJsdocOptionalNameOpenBracketExcerpt:l,parameterNameExcerpt:b,parameterName:c,unsupportedJsdocOptionalNameRestExcerpt:S,spacingAfterParameterNameExcerpt:E,unsupportedJsdocTypeAfterParameterNameExcerpt:O,hyphenExcerpt:$,spacingAfterHyphenExcerpt:K,unsupportedJsdocTypeAfterHyphenExcerpt:D})},n.prototype._pushNode=function(e){this._configuration.docNodeManager.isAllowedChild(g.Paragraph,e.kind)?this._currentSection.appendNodeInParagraph(e):this._currentSection.appendNode(e)},n.prototype._parseBackslashEscape=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker();if(e.readToken(),e.peekTokenKind()===u.EndOfInput)return this._backtrackAndCreateError(e,t,v.UnnecessaryBackslash,"A backslash must precede another character that is being escaped");var r=e.readToken();if(!An.isPunctuation(r.kind))return this._backtrackAndCreateError(e,t,v.UnnecessaryBackslash,"A backslash can only be used to escape a punctuation character");var i=e.extractAccumulatedSequence();return new Vn({parsed:!0,configuration:this._configuration,escapeStyle:sr.CommonMarkBackslash,encodedTextExcerpt:i,decodedText:r.toString()})},n.prototype._parseBlockTag=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker();if(e.peekTokenKind()!==u.AtSign)return this._backtrackAndCreateError(e,t,v.MissingTag,'Expecting a TSDoc tag starting with "@"');switch(e.peekPreviousTokenKind()){case u.EndOfInput:case u.Spacing:case u.Newline:break;default:return this._backtrackAndCreateError(e,t,v.AtSignInWord,'The "@" character looks like part of a TSDoc tag; use a backslash to escape it')}var r=e.readToken().toString();if(e.peekTokenKind()!==u.AsciiWord)return this._backtrackAndCreateError(e,t,v.AtSignWithoutTagName,'Expecting a TSDoc tag name after "@"; if it is not a tag, use a backslash to escape this character');for(var i=e.createMarker();e.peekTokenKind()===u.AsciiWord;)r+=e.readToken().toString();switch(e.peekTokenKind()){case u.Spacing:case u.Newline:case u.EndOfInput:break;default:var o=e.peekToken().range.toString()[0];return this._backtrackAndCreateError(e,t,v.CharactersAfterBlockTag,'The token "'.concat(r,'" looks like a TSDoc tag but contains an invalid character')+" ".concat(JSON.stringify(o),'; if it is not a tag, use a backslash to escape the "@"'))}if(re.explainIfInvalidTSDocTagName(r)){var a=this._createFailureForTokensSince(e,v.MalformedTagName,"A TSDoc tag name must start with a letter and contain only letters and numbers",i);return this._backtrackAndCreateErrorForFailure(e,t,"",a)}return new Yn({parsed:!0,configuration:this._configuration,tagName:r,tagNameExcerpt:e.extractAccumulatedSequence()})},n.prototype._parseInlineTag=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker();if(e.peekTokenKind()!==u.LeftCurlyBracket)return this._backtrackAndCreateError(e,t,v.MissingTag,'Expecting a TSDoc tag starting with "{"');e.readToken();var r=e.extractAccumulatedSequence(),i=e.createMarker();if(e.peekTokenKind()!==u.AtSign)return this._backtrackAndCreateError(e,t,v.MalformedInlineTag,'Expecting a TSDoc tag starting with "{@"');for(var o=e.readToken().toString();e.peekTokenKind()===u.AsciiWord;)o+=e.readToken().toString();if(o==="@"){var a=this._createFailureForTokensSince(e,v.MalformedInlineTag,'Expecting a TSDoc inline tag name after the "{@" characters',i);return this._backtrackAndCreateErrorRangeForFailure(e,t,i,"",a)}if(re.explainIfInvalidTSDocTagName(o)){var a=this._createFailureForTokensSince(e,v.MalformedTagName,"A TSDoc tag name must start with a letter and contain only letters and numbers",i);return this._backtrackAndCreateErrorRangeForFailure(e,t,i,"",a)}var l=e.extractAccumulatedSequence(),c=this._tryReadSpacingAndNewlines(e);if(c===void 0&&e.peekTokenKind()!==u.RightCurlyBracket){var d=e.peekToken().range.toString()[0],a=this._createFailureForToken(e,v.CharactersAfterInlineTag,"The character ".concat(JSON.stringify(d)," cannot appear after the TSDoc tag name; expecting a space"));return this._backtrackAndCreateErrorRangeForFailure(e,t,i,"",a)}for(var m=!1;!m;)switch(e.peekTokenKind()){case u.EndOfInput:return this._backtrackAndCreateErrorRange(e,t,i,v.InlineTagMissingRightBrace,'The TSDoc inline tag name is missing its closing "}"');case u.Backslash:if(e.readToken(),!An.isPunctuation(e.peekTokenKind())){var a=this._createFailureForToken(e,v.UnnecessaryBackslash,"A backslash can only be used to escape a punctuation character");return this._backtrackAndCreateErrorRangeForFailure(e,t,i,"Error reading inline TSDoc tag: ",a)}e.readToken();break;case u.LeftCurlyBracket:{var a=this._createFailureForToken(e,v.InlineTagUnescapedBrace,'The "{" character must be escaped with a backslash when used inside a TSDoc inline tag');return this._backtrackAndCreateErrorRangeForFailure(e,t,i,"",a)}case u.RightCurlyBracket:m=!0;break;default:e.readToken();break}var _=e.tryExtractAccumulatedSequence();e.readToken();var w=e.extractAccumulatedSequence(),b={parsed:!0,configuration:this._configuration,openingDelimiterExcerpt:r,tagNameExcerpt:l,tagName:o,spacingAfterTagNameExcerpt:c,tagContentExcerpt:_,closingDelimiterExcerpt:w},S=o.toUpperCase(),k=new $r(this._parserContext,_||yt.createEmpty(this._parserContext)),E;switch(S){case G.inheritDoc.tagNameWithUpperCase:E=this._parseInheritDocTag(b,k);break;case G.link.tagNameWithUpperCase:E=this._parseLinkTag(b,k);break;default:E=new zt(b)}var O=this._parserContext.configuration.tryGetTagDefinitionWithUpperCase(S);return this._validateTagDefinition(O,o,!0,l,E),E},n.prototype._parseInheritDocTag=function(e,t){var r=new zt(e),i=lr({},e);if(t.peekTokenKind()!==u.EndOfInput){if(i.declarationReference=this._parseDeclarationReference(t,e.tagNameExcerpt,r),!i.declarationReference)return r;if(t.peekTokenKind()!==u.EndOfInput)return t.readToken(),this._parserContext.log.addMessageForTokenSequence(v.InheritDocTagSyntax,"Unexpected character after declaration reference",t.extractAccumulatedSequence(),r),r}return new dn(i)},n.prototype._parseLinkTag=function(e,t){var r=new zt(e),i=lr({},e);if(!e.tagContentExcerpt)return this._parserContext.log.addMessageForTokenSequence(v.LinkTagEmpty,"The @link tag content is missing",i.tagNameExcerpt,r),r;for(var o=t.peekTokenKind()===u.Slash&&t.peekTokenAfterKind()===u.Slash,a=t.createMarker(),l=o;!l;)switch(t.peekTokenKind()){case u.AsciiWord:case u.Period:case u.Hyphen:case u.Plus:t.readToken();break;case u.Colon:t.readToken(),o=t.peekTokenKind()===u.Slash&&t.peekTokenAfterKind()===u.Slash,l=!0;break;default:l=!0}if(t.backtrackToMarker(a),o){if(!this._parseLinkTagUrlDestination(t,i,e.tagNameExcerpt,r))return r}else if(!this._parseLinkTagCodeDestination(t,i,e.tagNameExcerpt,r))return r;if(t.peekTokenKind()===u.Spacing)throw new Error("Unconsumed spacing encountered after construct");if(t.peekTokenKind()===u.Pipe){t.readToken(),i.pipeExcerpt=t.extractAccumulatedSequence(),i.spacingAfterPipeExcerpt=this._tryReadSpacingAndNewlines(t),l=!1;for(var c=void 0;!l;)switch(t.peekTokenKind()){case u.EndOfInput:l=!0;break;case u.Pipe:case u.LeftCurlyBracket:var d=t.readToken().toString();return this._parserContext.log.addMessageForTokenSequence(v.LinkTagUnescapedText,'The "'.concat(d,'" character may not be used in the link text without escaping it'),t.extractAccumulatedSequence(),r),r;case u.Spacing:case u.Newline:t.readToken();break;default:c=t.createMarker()+1,t.readToken()}var m=t.tryExtractAccumulatedSequence();m&&(c===void 0?i.spacingAfterLinkTextExcerpt=m:c>=m.endIndex?i.linkTextExcerpt=m:(i.linkTextExcerpt=m.getNewSequence(m.startIndex,c),i.spacingAfterLinkTextExcerpt=m.getNewSequence(c,m.endIndex)))}else if(t.peekTokenKind()!==u.EndOfInput)return t.readToken(),this._parserContext.log.addMessageForTokenSequence(v.LinkTagDestinationSyntax,"Unexpected character after link destination",t.extractAccumulatedSequence(),r),r;return new Zn(i)},n.prototype._parseLinkTagUrlDestination=function(e,t,r,i){for(var o="",a=!1;!a;)switch(e.peekTokenKind()){case u.Spacing:case u.Newline:case u.EndOfInput:case u.Pipe:case u.RightCurlyBracket:a=!0;break;default:o+=e.readToken();break}if(o.length===0)throw new Error("Missing URL in _parseLinkTagUrlDestination()");var l=e.extractAccumulatedSequence(),c=re.explainIfInvalidLinkUrl(o);return c?(this._parserContext.log.addMessageForTokenSequence(v.LinkTagInvalidUrl,c,l,i),!1):(t.urlDestinationExcerpt=l,t.spacingAfterDestinationExcerpt=this._tryReadSpacingAndNewlines(e),!0)},n.prototype._parseLinkTagCodeDestination=function(e,t,r,i){return t.codeDestination=this._parseDeclarationReference(e,r,i),!!t.codeDestination},n.prototype._parseDeclarationReference=function(e,t,r){e.assertAccumulatedSequenceIsEmpty();for(var i=e.createMarker(),o=!1,a=!0,l=!1,c=!1;!c;)switch(e.peekTokenKind()){case u.DoubleQuote:case u.EndOfInput:case u.LeftCurlyBracket:case u.LeftParenthesis:case u.LeftSquareBracket:case u.Newline:case u.Pipe:case u.RightCurlyBracket:case u.RightParenthesis:case u.RightSquareBracket:case u.SingleQuote:case u.Spacing:c=!0;break;case u.PoundSymbol:o=!0,c=!0;break;case u.Slash:case u.AtSign:a&&(l=!0),e.readToken();break;case u.AsciiWord:case u.Period:case u.Hyphen:e.readToken();break;default:a=!1,e.readToken()}if(!o&&l){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingHash,'The declaration reference appears to contain a package name or import path, but it is missing the "#" delimiter',e.extractAccumulatedSequence(),r);return}e.backtrackToMarker(i);var d,m,_,w;if(o){if(e.peekTokenKind()!==u.Period){var b=e.peekTokenKind()===u.AtSign,S=!1;for(c=!1;!c;)switch(e.peekTokenKind()){case u.EndOfInput:throw new Error("Expecting pound symbol");case u.Slash:b&&!S?(e.readToken(),S=!0):c=!0;break;case u.PoundSymbol:c=!0;break;default:e.readToken()}if(!e.isAccumulatedSequenceEmpty()){d=e.extractAccumulatedSequence();var k=re.explainIfInvalidPackageName(d.toString());if(k){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMalformedPackageName,k,d,r);return}}}for(c=!1;!c;)switch(e.peekTokenKind()){case u.EndOfInput:throw new Error("Expecting pound symbol");case u.PoundSymbol:c=!0;break;default:e.readToken()}if(!e.isAccumulatedSequenceEmpty()){m=e.extractAccumulatedSequence();var k=re.explainIfInvalidImportPath(m.toString(),!!d);if(k){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMalformedImportPath,k,m,r);return}}if(e.peekTokenKind()!==u.PoundSymbol)throw new Error("Expecting pound symbol");if(e.readToken(),_=e.extractAccumulatedSequence(),w=this._tryReadSpacingAndNewlines(e),d===void 0&&m===void 0){this._parserContext.log.addMessageForTokenSequence(v.ReferenceHashSyntax,"The hash character must be preceded by a package name or import path",_,r);return}}var E=[];for(c=!1;!c;)switch(e.peekTokenKind()){case u.Period:case u.LeftParenthesis:case u.AsciiWord:case u.Colon:case u.LeftSquareBracket:case u.DoubleQuote:var O=E.length>0,$=this._parseMemberReference(e,O,t,r);if(!$)return;E.push($);break;default:c=!0}if(d===void 0&&m===void 0&&E.length===0){this._parserContext.log.addMessageForTokenSequence(v.MissingReference,"Expecting a declaration reference",t,r);return}return new Wn({parsed:!0,configuration:this._configuration,packageNameExcerpt:d,importPathExcerpt:m,importHashExcerpt:_,spacingAfterImportHashExcerpt:w,memberReferences:E})},n.prototype._parseMemberReference=function(e,t,r,i){var o={parsed:!0,configuration:this._configuration};if(t){if(e.peekTokenKind()!==u.Period){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingDot,"Expecting a period before the next component of a declaration reference",r,i);return}e.readToken(),o.dotExcerpt=e.extractAccumulatedSequence(),o.spacingAfterDotExcerpt=this._tryReadSpacingAndNewlines(e)}if(e.peekTokenKind()===u.LeftParenthesis&&(e.readToken(),o.leftParenthesisExcerpt=e.extractAccumulatedSequence(),o.spacingAfterLeftParenthesisExcerpt=this._tryReadSpacingAndNewlines(e)),e.peekTokenKind()===u.LeftSquareBracket){if(o.memberSymbol=this._parseMemberSymbol(e,i),!o.memberSymbol)return}else if(o.memberIdentifier=this._parseMemberIdentifier(e,r,i),!o.memberIdentifier)return;if(o.spacingAfterMemberExcerpt=this._tryReadSpacingAndNewlines(e),e.peekTokenKind()===u.Colon){if(e.readToken(),o.colonExcerpt=e.extractAccumulatedSequence(),o.spacingAfterColonExcerpt=this._tryReadSpacingAndNewlines(e),!o.leftParenthesisExcerpt){this._parserContext.log.addMessageForTokenSequence(v.ReferenceSelectorMissingParens,"Syntax error in declaration reference: the member selector must be enclosed in parentheses",o.colonExcerpt,i);return}if(o.selector=this._parseMemberSelector(e,o.colonExcerpt,i),!o.selector)return;o.spacingAfterSelectorExcerpt=this._tryReadSpacingAndNewlines(e)}else if(o.leftParenthesisExcerpt){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingColon,"Expecting a colon after the identifier because the expression is in parentheses",o.leftParenthesisExcerpt,i);return}if(o.leftParenthesisExcerpt){if(e.peekTokenKind()!==u.RightParenthesis){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingRightParen,"Expecting a matching right parenthesis",o.leftParenthesisExcerpt,i);return}e.readToken(),o.rightParenthesisExcerpt=e.extractAccumulatedSequence(),o.spacingAfterRightParenthesisExcerpt=this._tryReadSpacingAndNewlines(e)}return new er(o)},n.prototype._parseMemberSymbol=function(e,t){if(e.peekTokenKind()!==u.LeftSquareBracket)throw new Error('Expecting "["');e.readToken();var r=e.extractAccumulatedSequence(),i=this._tryReadSpacingAndNewlines(e),o=this._parseDeclarationReference(e,r,t);if(!o){this._parserContext.log.addMessageForTokenSequence(v.ReferenceSymbolSyntax,"Missing declaration reference in symbol reference",r,t);return}if(e.peekTokenKind()!==u.RightSquareBracket){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingRightBracket,"Missing closing square bracket for symbol reference",r,t);return}e.readToken();var a=e.extractAccumulatedSequence();return new nr({parsed:!0,configuration:this._configuration,leftBracketExcerpt:r,spacingAfterLeftBracketExcerpt:i,symbolReference:o,rightBracketExcerpt:a})},n.prototype._parseMemberIdentifier=function(e,t,r){var i=void 0,o=void 0;if(e.peekTokenKind()===u.DoubleQuote){for(e.readToken(),i=e.extractAccumulatedSequence();e.peekTokenKind()!==u.DoubleQuote;){if(e.peekTokenKind()===u.EndOfInput){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingQuote,"Unexpected end of input inside quoted member identifier",i,r);return}e.readToken()}if(e.isAccumulatedSequenceEmpty()){this._parserContext.log.addMessageForTokenSequence(v.ReferenceEmptyIdentifier,"The quoted identifier cannot be empty",i,r);return}var a=e.extractAccumulatedSequence();return e.readToken(),o=e.extractAccumulatedSequence(),new mn({parsed:!0,configuration:this._configuration,leftQuoteExcerpt:i,identifierExcerpt:a,rightQuoteExcerpt:o})}else{for(var l=!1;!l;)switch(e.peekTokenKind()){case u.AsciiWord:case u.DollarSign:e.readToken();break;default:l=!0;break}if(e.isAccumulatedSequenceEmpty()){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingIdentifier,"Syntax error in declaration reference: expecting a member identifier",t,r);return}var a=e.extractAccumulatedSequence(),c=a.toString(),d=re.explainIfInvalidUnquotedMemberIdentifier(c);if(d){this._parserContext.log.addMessageForTokenSequence(v.ReferenceUnquotedIdentifier,d,a,r);return}return new mn({parsed:!0,configuration:this._configuration,leftQuoteExcerpt:i,identifierExcerpt:a,rightQuoteExcerpt:o})}},n.prototype._parseMemberSelector=function(e,t,r){e.peekTokenKind()!==u.AsciiWord&&this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingLabel,"Expecting a selector label after the colon",t,r);var i=e.readToken().toString(),o=e.extractAccumulatedSequence(),a=new tr({parsed:!0,configuration:this._configuration,selectorExcerpt:o,selector:i});if(a.errorMessage){this._parserContext.log.addMessageForTokenSequence(v.ReferenceSelectorSyntax,a.errorMessage,o,r);return}return a},n.prototype._parseHtmlStartTag=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker(),r=e.readToken();if(r.kind!==u.LessThan)throw new Error('Expecting an HTML tag starting with "<"');var i=e.extractAccumulatedSequence(),o=this._parseHtmlName(e);if(_n(o))return this._backtrackAndCreateErrorForFailure(e,t,"Invalid HTML element: ",o);for(var a=this._tryReadSpacingAndNewlines(e),l=[];e.peekTokenKind()===u.AsciiWord;){var c=this._parseHtmlAttribute(e);if(_n(c))return this._backtrackAndCreateErrorForFailure(e,t,"The HTML element has an invalid attribute: ",c);l.push(c)}e.assertAccumulatedSequenceIsEmpty();var d=e.createMarker(),m=!1;if(e.peekTokenKind()===u.Slash&&(e.readToken(),m=!0),e.peekTokenKind()!==u.GreaterThan){var _=this._createFailureForTokensSince(e,v.HtmlTagMissingGreaterThan,'Expecting an attribute or ">" or "/>"',d);return this._backtrackAndCreateErrorForFailure(e,t,"The HTML tag has invalid syntax: ",_)}e.readToken();var w=e.extractAccumulatedSequence();return new Xn({parsed:!0,configuration:this._configuration,openingDelimiterExcerpt:i,nameExcerpt:o,spacingAfterNameExcerpt:a,htmlAttributes:l,selfClosingTag:m,closingDelimiterExcerpt:w})},n.prototype._parseHtmlAttribute=function(e){e.assertAccumulatedSequenceIsEmpty();var t=this._parseHtmlName(e);if(_n(t))return t;var r=this._tryReadSpacingAndNewlines(e);if(e.peekTokenKind()!==u.Equals)return this._createFailureForToken(e,v.HtmlTagMissingEquals,'Expecting "=" after HTML attribute name');e.readToken();var i=e.extractAccumulatedSequence(),o=this._tryReadSpacingAndNewlines(e),a=this._parseHtmlString(e);if(_n(a))return a;var l=e.extractAccumulatedSequence(),c=this._tryReadSpacingAndNewlines(e);return new Jn({parsed:!0,configuration:this._configuration,nameExcerpt:t,spacingAfterNameExcerpt:r,equalsExcerpt:i,spacingAfterEqualsExcerpt:o,valueExcerpt:l,spacingAfterValueExcerpt:c})},n.prototype._parseHtmlString=function(e){var t=e.createMarker(),r=e.peekTokenKind();if(r!==u.DoubleQuote&&r!==u.SingleQuote)return this._createFailureForToken(e,v.HtmlTagMissingString,"Expecting an HTML string starting with a single-quote or double-quote character");e.readToken();for(var i="";;){var o=e.peekTokenKind();if(o===r){e.readToken();break}if(o===u.EndOfInput||o===u.Newline)return this._createFailureForToken(e,v.HtmlStringMissingQuote,"The HTML string is missing its closing quote",t);i+=e.readToken().toString()}return e.peekTokenKind()===u.AsciiWord?this._createFailureForToken(e,v.TextAfterHtmlString,"The next character after a closing quote must be spacing or punctuation"):i},n.prototype._parseHtmlEndTag=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker(),r=e.peekToken();if(r.kind!==u.LessThan)return this._backtrackAndCreateError(e,t,v.MissingHtmlEndTag,'Expecting an HTML tag starting with "" for the HTML tag');return this._backtrackAndCreateErrorForFailure(e,t,"",c)}e.readToken();var d=e.extractAccumulatedSequence();return new Qn({parsed:!0,configuration:this._configuration,openingDelimiterExcerpt:o,nameExcerpt:a,spacingAfterNameExcerpt:l,closingDelimiterExcerpt:d})},n.prototype._parseHtmlName=function(e){var t=e.createMarker();if(e.peekTokenKind()===u.Spacing)return this._createFailureForTokensSince(e,v.MalformedHtmlName,"A space is not allowed here",t);for(var r=!1;!r;)switch(e.peekTokenKind()){case u.Hyphen:case u.Period:case u.AsciiWord:e.readToken();break;default:r=!0;break}var i=e.tryExtractAccumulatedSequence();if(!i)return this._createFailureForToken(e,v.MalformedHtmlName,"Expecting an HTML name");var o=i.toString(),a=re.explainIfInvalidHtmlName(o);return a?this._createFailureForTokensSince(e,v.MalformedHtmlName,a,t):this._configuration.validation.reportUnsupportedHtmlElements&&!this._configuration.isHtmlElementSupported(o)?this._createFailureForToken(e,v.UnsupportedHtmlElementName,"The HTML element name ".concat(JSON.stringify(o)," is not defined by your TSDoc configuration"),t):i},n.prototype._parseFencedCode=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker(),r=t+2;switch(e.peekPreviousTokenKind()){case u.Newline:case u.EndOfInput:break;default:return this._backtrackAndCreateErrorRange(e,t,r,v.CodeFenceOpeningIndent,"The opening backtick for a code fence must appear at the start of the line")}var i="";if(i+=e.readToken(),i+=e.readToken(),i+=e.readToken(),i!=="```")throw new Error("Expecting three backticks");for(var o=e.extractAccumulatedSequence();e.peekTokenKind()===u.Spacing;)e.readToken();for(var a=e.tryExtractAccumulatedSequence(),l=!1,c=void 0;!l;)switch(e.peekTokenKind()){case u.Spacing:case u.Newline:c===void 0&&(c=e.createMarker()),e.peekTokenKind()===u.Newline&&(l=!0),e.readToken();break;case u.Backtick:var d=this._createFailureForToken(e,v.CodeFenceSpecifierSyntax,"The language specifier cannot contain backtick characters");return this._backtrackAndCreateErrorRangeForFailure(e,t,r,"Error parsing code fence: ",d);case u.EndOfInput:var m=this._createFailureForToken(e,v.CodeFenceMissingDelimiter,"Missing closing delimiter");return this._backtrackAndCreateErrorRangeForFailure(e,t,r,"Error parsing code fence: ",m);default:c=void 0,e.readToken();break}var _=e.extractAccumulatedSequence(),w=_.getNewSequence(_.startIndex,c),b=_.getNewSequence(c,_.endIndex),S=-1,k=-1;l=!1;for(var E;!l;)switch(e.peekTokenKind()){case u.EndOfInput:var m=this._createFailureForToken(e,v.CodeFenceMissingDelimiter,"Missing closing delimiter");return this._backtrackAndCreateErrorRangeForFailure(e,t,r,"Error parsing code fence: ",m);case u.Newline:for(E=e.readToken(),S=e.createMarker();e.peekTokenKind()===u.Spacing;)E=e.readToken();if(e.peekTokenKind()!==u.Backtick||(k=e.createMarker(),e.readToken(),e.peekTokenKind()!==u.Backtick)||(e.readToken(),e.peekTokenKind()!==u.Backtick))break;e.readToken(),l=!0;break;default:e.readToken();break}E.kind!==u.Newline&&this._parserContext.log.addMessageForTextRange(v.CodeFenceClosingIndent,"The closing delimiter for a code fence must not be indented",E.range);var O=e.extractAccumulatedSequence(),$=O.getNewSequence(O.startIndex,S),K=O.getNewSequence(S,k),D=O.getNewSequence(k,O.endIndex);for(l=!1;!l;)switch(e.peekTokenKind()){case u.Spacing:e.readToken();break;case u.Newline:l=!0,e.readToken();break;case u.EndOfInput:l=!0;break;default:this._parserContext.log.addMessageForTextRange(v.CodeFenceClosingSyntax,"Unexpected characters after closing delimiter for code fence",e.peekToken().range),l=!0;break}var H=e.tryExtractAccumulatedSequence();return new zn({parsed:!0,configuration:this._configuration,openingFenceExcerpt:o,spacingAfterOpeningFenceExcerpt:a,languageExcerpt:w,spacingAfterLanguageExcerpt:b,codeExcerpt:$,spacingBeforeClosingFenceExcerpt:K,closingFenceExcerpt:D,spacingAfterClosingFenceExcerpt:H})},n.prototype._parseCodeSpan=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker();if(e.peekTokenKind()!==u.Backtick)throw new Error('Expecting a code span starting with a backtick character "`"');e.readToken();for(var r=e.extractAccumulatedSequence(),i=void 0,o=void 0;;){var a=e.peekTokenKind();if(a===u.Backtick){if(e.isAccumulatedSequenceEmpty())return this._backtrackAndCreateErrorRange(e,t,t+1,v.CodeSpanEmpty,"A code span must contain at least one character between the backticks");i=e.extractAccumulatedSequence(),e.readToken(),o=e.extractAccumulatedSequence();break}if(a===u.EndOfInput||a===u.Newline)return this._backtrackAndCreateError(e,t,v.CodeSpanMissingDelimiter,"The code span is missing its closing backtick");e.readToken()}return new Un({parsed:!0,configuration:this._configuration,openingDelimiterExcerpt:r,codeExcerpt:i,closingDelimiterExcerpt:o})},n.prototype._tryReadSpacingAndNewlines=function(e){var t=!1;do switch(e.peekTokenKind()){case u.Spacing:case u.Newline:e.readToken();break;default:t=!0;break}while(!t);return e.tryExtractAccumulatedSequence()},n.prototype._createError=function(e,t,r){e.readToken();var i=e.extractAccumulatedSequence(),o=new Dt({parsed:!0,configuration:this._configuration,textExcerpt:i,messageId:t,errorMessage:r,errorLocation:i});return this._parserContext.log.addMessageForDocErrorText(o),o},n.prototype._backtrackAndCreateError=function(e,t,r,i){return e.backtrackToMarker(t),this._createError(e,r,i)},n.prototype._backtrackAndCreateErrorRange=function(e,t,r,i,o){for(e.backtrackToMarker(t);e.createMarker()!==r;)e.readToken();e.peekTokenKind()!==u.EndOfInput&&e.readToken();var a=e.extractAccumulatedSequence(),l=new Dt({parsed:!0,configuration:this._configuration,textExcerpt:a,messageId:i,errorMessage:o,errorLocation:a});return this._parserContext.log.addMessageForDocErrorText(l),l},n.prototype._backtrackAndCreateErrorForFailure=function(e,t,r,i){e.backtrackToMarker(t),e.readToken();var o=e.extractAccumulatedSequence(),a=new Dt({parsed:!0,configuration:this._configuration,textExcerpt:o,messageId:i.failureMessageId,errorMessage:r+i.failureMessage,errorLocation:i.failureLocation});return this._parserContext.log.addMessageForDocErrorText(a),a},n.prototype._backtrackAndCreateErrorRangeForFailure=function(e,t,r,i,o){for(e.backtrackToMarker(t);e.createMarker()!==r;)e.readToken();e.peekTokenKind()!==u.EndOfInput&&e.readToken();var a=e.extractAccumulatedSequence(),l=new Dt({parsed:!0,configuration:this._configuration,textExcerpt:a,messageId:o.failureMessageId,errorMessage:i+o.failureMessage,errorLocation:o.failureLocation});return this._parserContext.log.addMessageForDocErrorText(l),l},n.prototype._createFailureForToken=function(e,t,r,i){i||(i=e.createMarker());var o=new yt({parserContext:this._parserContext,startIndex:i,endIndex:i+1});return{failureMessageId:t,failureMessage:r,failureLocation:o}},n.prototype._createFailureForTokensSince=function(e,t,r,i){var o=e.createMarker();if(osetTimeout(e,n))}function ao(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function so(){return/(<%(?:-|_)?\s*[*~]{0,1})\+((?:.|\s)*?%>)/g}function is(n,e){e=(0,Te.normalizePath)(e);let t=n.vault.getAbstractFileByPath(e);if(!t)throw new P(`Folder "${e}" doesn't exist`);if(!(t instanceof Te.TFolder))throw new P(`${e} is a file, not a folder`);return t}function Nt(n,e){e=(0,Te.normalizePath)(e);let t=n.vault.getAbstractFileByPath(e);if(!t)throw new P(`File "${e}" doesn't exist`);if(!(t instanceof Te.TFile))throw new P(`${e} is a folder, not a file`);return t}function Je(n,e){let t=is(n,e),r=[];return Te.Vault.recurseChildren(t,i=>{i instanceof Te.TFile&&r.push(i)}),r.sort((i,o)=>i.path.localeCompare(o.path)),r}async function co(n,e){return await Promise.all(e.map(async r=>{let i=await n.vault.cachedRead(r);return os(r,i)}))}function os(n,e){let r=new Kr().parseString(e),i=new Rr(n);return i.description=as(r.docComment.summarySection),i.returns=ss(r.docComment.returnsBlock),i.arguments=cs(r.docComment.params),i}function as(n){try{return n.nodes.map(t=>t.getChildNodes().filter(r=>r instanceof Ve).map(r=>r.text).join(` +`)).join(` +`)}catch{console.error("Failed to parse summary section")}}function ss(n){if(!n)return"";try{return n.content.nodes[0].getChildNodes()[0].text.trim()}catch{return""}}function cs(n){try{return n.blocks.map(r=>{let i=r.parameterName,o=r.content.getChildNodes()[0].getChildNodes().filter(a=>a instanceof Ve).map(a=>a.text).join(" ");return new Yr(i,o)})}catch{return[]}}function Mt(n,e,t){if(t<0||t===n.length)return;let r=n[e];n[e]=n[t],n[t]=r}function Xt(n){return n.workspace.activeEditor?.file??n.workspace.getActiveFile()}function lo(n){let e=n.lastIndexOf("/");return e!==-1?n.slice(0,e):""}function xn(n){return n!==null&&typeof n=="object"}function po(n){let e=n.toString(),t=e.indexOf("(");return e.substring(t+1,e.indexOf(")")).replace(/ /g,"").split(",")}function Ur(n,e,t){let r=n instanceof HTMLOListElement?"li":"p",i=n.createEl(r),o=n.createEl("b",{text:e});return i.appendChild(o),i.appendChild(document.createTextNode(`: ${t}`)),i}function pr(n,e){if(Object.keys(e).length!==0){for(let t in e)if(e.hasOwnProperty(t))if(n.hasOwnProperty(t)){let r=n[t],i=e[t];if(Array.isArray(r)||Array.isArray(i)){let o=Array.isArray(r)?r:[r],a=Array.isArray(i)?i:[i];n[t]=o.concat(a).unique()}else xn(r)&&xn(i)?pr(r,i):i!=null&&i!==""&&(n[t]=i)}else n[t]=e[t]}}function yn(n){let e={},t=(0,Te.getFrontMatterInfo)(n);return t.frontmatter&&(e=(0,Te.parseYaml)(t.frontmatter)),{frontmatter:e,content:n.slice(t.contentStart)}}var Bo=X(require("obsidian"));var Mo=X(require("obsidian"));var ie="top",ue="bottom",ce="right",ae="left",ur="auto",vt=[ie,ue,ce,ae],pt="start",Ot="end",uo="clippingParents",fr="viewport",Zt="popper",fo="reference",Gr=vt.reduce(function(n,e){return n.concat([e+"-"+pt,e+"-"+Ot])},[]),dr=[].concat(vt,[ur]).reduce(function(n,e){return n.concat([e,e+"-"+pt,e+"-"+Ot])},[]),ls="beforeRead",ps="read",us="afterRead",fs="beforeMain",ds="main",ms="afterMain",gs="beforeWrite",hs="write",As="afterWrite",mo=[ls,ps,us,fs,ds,ms,gs,hs,As];function me(n){return n?(n.nodeName||"").toLowerCase():null}function Z(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function Me(n){var e=Z(n).Element;return n instanceof e||n instanceof Element}function fe(n){var e=Z(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function en(n){if(typeof ShadowRoot=="undefined")return!1;var e=Z(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function _s(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var r=e.styles[t]||{},i=e.attributes[t]||{},o=e.elements[t];!fe(o)||!me(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function xs(n){var e=n.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:t[r]),l=a.reduce(function(c,d){return c[d]="",c},{});!fe(i)||!me(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(c){i.removeAttribute(c)}))})}}var go={name:"applyStyles",enabled:!0,phase:"write",fn:_s,effect:xs,requires:["computeStyles"]};function ge(n){return n.split("-")[0]}var qe=Math.max,Bt=Math.min,ut=Math.round;function tn(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function jn(){return!/^((?!chrome|android).)*safari/i.test(tn())}function Oe(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var r=n.getBoundingClientRect(),i=1,o=1;e&&fe(n)&&(i=n.offsetWidth>0&&ut(r.width)/n.offsetWidth||1,o=n.offsetHeight>0&&ut(r.height)/n.offsetHeight||1);var a=Me(n)?Z(n):window,l=a.visualViewport,c=!jn()&&t,d=(r.left+(c&&l?l.offsetLeft:0))/i,m=(r.top+(c&&l?l.offsetTop:0))/o,_=r.width/i,w=r.height/o;return{width:_,height:w,top:m,right:d+_,bottom:m+w,left:d,x:d,y:m}}function It(n){var e=Oe(n),t=n.offsetWidth,r=n.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:n.offsetLeft,y:n.offsetTop,width:t,height:r}}function vn(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(t&&en(t)){var r=e;do{if(r&&n.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function we(n){return Z(n).getComputedStyle(n)}function Wr(n){return["table","td","th"].indexOf(me(n))>=0}function Ae(n){return((Me(n)?n.ownerDocument:n.document)||window.document).documentElement}function ft(n){return me(n)==="html"?n:n.assignedSlot||n.parentNode||(en(n)?n.host:null)||Ae(n)}function ho(n){return!fe(n)||we(n).position==="fixed"?null:n.offsetParent}function ys(n){var e=/firefox/i.test(tn()),t=/Trident/i.test(tn());if(t&&fe(n)){var r=we(n);if(r.position==="fixed")return null}var i=ft(n);for(en(i)&&(i=i.host);fe(i)&&["html","body"].indexOf(me(i))<0;){var o=we(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Le(n){for(var e=Z(n),t=ho(n);t&&Wr(t)&&we(t).position==="static";)t=ho(t);return t&&(me(t)==="html"||me(t)==="body"&&we(t).position==="static")?e:t||ys(n)||e}function Ft(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function qt(n,e,t){return qe(n,Bt(e,t))}function Ao(n,e,t){var r=qt(n,e,t);return r>t?t:r}function wn(){return{top:0,right:0,bottom:0,left:0}}function bn(n){return Object.assign({},wn(),n)}function En(n,e){return e.reduce(function(t,r){return t[r]=n,t},{})}var js=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,bn(typeof e!="number"?e:En(e,vt))};function vs(n){var e,t=n.state,r=n.name,i=n.options,o=t.elements.arrow,a=t.modifiersData.popperOffsets,l=ge(t.placement),c=Ft(l),d=[ae,ce].indexOf(l)>=0,m=d?"height":"width";if(!(!o||!a)){var _=js(i.padding,t),w=It(o),b=c==="y"?ie:ae,S=c==="y"?ue:ce,k=t.rects.reference[m]+t.rects.reference[c]-a[c]-t.rects.popper[m],E=a[c]-t.rects.reference[c],O=Le(o),$=O?c==="y"?O.clientHeight||0:O.clientWidth||0:0,K=k/2-E/2,D=_[b],H=$-w[m]-_[S],F=$/2-w[m]/2+K,J=qt(D,F,H),te=c;t.modifiersData[r]=(e={},e[te]=J,e.centerOffset=J-F,e)}}function ws(n){var e=n.state,t=n.options,r=t.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||!vn(e.elements.popper,i)||(e.elements.arrow=i))}var _o={name:"arrow",enabled:!0,phase:"main",fn:vs,effect:ws,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Be(n){return n.split("-")[1]}var bs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Es(n,e){var t=n.x,r=n.y,i=e.devicePixelRatio||1;return{x:ut(t*i)/i||0,y:ut(r*i)/i||0}}function xo(n){var e,t=n.popper,r=n.popperRect,i=n.placement,o=n.variation,a=n.offsets,l=n.position,c=n.gpuAcceleration,d=n.adaptive,m=n.roundOffsets,_=n.isFixed,w=a.x,b=w===void 0?0:w,S=a.y,k=S===void 0?0:S,E=typeof m=="function"?m({x:b,y:k}):{x:b,y:k};b=E.x,k=E.y;var O=a.hasOwnProperty("x"),$=a.hasOwnProperty("y"),K=ae,D=ie,H=window;if(d){var F=Le(t),J="clientHeight",te="clientWidth";if(F===Z(t)&&(F=Ae(t),we(F).position!=="static"&&l==="absolute"&&(J="scrollHeight",te="scrollWidth")),F=F,i===ie||(i===ae||i===ce)&&o===Ot){D=ue;var ne=_&&F===H&&H.visualViewport?H.visualViewport.height:F[J];k-=ne-r.height,k*=c?1:-1}if(i===ae||(i===ie||i===ue)&&o===Ot){K=ce;var Q=_&&F===H&&H.visualViewport?H.visualViewport.width:F[te];b-=Q-r.width,b*=c?1:-1}}var h=Object.assign({position:l},d&&bs),C=m===!0?Es({x:b,y:k},Z(t)):{x:b,y:k};if(b=C.x,k=C.y,c){var f;return Object.assign({},h,(f={},f[D]=$?"0":"",f[K]=O?"0":"",f.transform=(H.devicePixelRatio||1)<=1?"translate("+b+"px, "+k+"px)":"translate3d("+b+"px, "+k+"px, 0)",f))}return Object.assign({},h,(e={},e[D]=$?k+"px":"",e[K]=O?b+"px":"",e.transform="",e))}function Ts(n){var e=n.state,t=n.options,r=t.gpuAcceleration,i=r===void 0?!0:r,o=t.adaptive,a=o===void 0?!0:o,l=t.roundOffsets,c=l===void 0?!0:l,d={placement:ge(e.placement),variation:Be(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,xo(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:c})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,xo(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var yo={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ts,data:{}};var mr={passive:!0};function ks(n){var e=n.state,t=n.instance,r=n.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,l=a===void 0?!0:a,c=Z(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&d.forEach(function(m){m.addEventListener("scroll",t.update,mr)}),l&&c.addEventListener("resize",t.update,mr),function(){o&&d.forEach(function(m){m.removeEventListener("scroll",t.update,mr)}),l&&c.removeEventListener("resize",t.update,mr)}}var jo={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ks,data:{}};var Ss={left:"right",right:"left",bottom:"top",top:"bottom"};function nn(n){return n.replace(/left|right|bottom|top/g,function(e){return Ss[e]})}var Cs={start:"end",end:"start"};function gr(n){return n.replace(/start|end/g,function(e){return Cs[e]})}function Lt(n){var e=Z(n),t=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:t,scrollTop:r}}function Ht(n){return Oe(Ae(n)).left+Lt(n).scrollLeft}function Vr(n,e){var t=Z(n),r=Ae(n),i=t.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){o=i.width,a=i.height;var d=jn();(d||!d&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:l+Ht(n),y:c}}function zr(n){var e,t=Ae(n),r=Lt(n),i=(e=n.ownerDocument)==null?void 0:e.body,o=qe(t.scrollWidth,t.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=qe(t.scrollHeight,t.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-r.scrollLeft+Ht(n),c=-r.scrollTop;return we(i||t).direction==="rtl"&&(l+=qe(t.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:c}}function $t(n){var e=we(n),t=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+i+r)}function hr(n){return["html","body","#document"].indexOf(me(n))>=0?n.ownerDocument.body:fe(n)&&$t(n)?n:hr(ft(n))}function wt(n,e){var t;e===void 0&&(e=[]);var r=hr(n),i=r===((t=n.ownerDocument)==null?void 0:t.body),o=Z(r),a=i?[o].concat(o.visualViewport||[],$t(r)?r:[]):r,l=e.concat(a);return i?l:l.concat(wt(ft(a)))}function rn(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function Ds(n,e){var t=Oe(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function vo(n,e,t){return e===fr?rn(Vr(n,t)):Me(e)?Ds(e,t):rn(zr(Ae(n)))}function Ps(n){var e=wt(ft(n)),t=["absolute","fixed"].indexOf(we(n).position)>=0,r=t&&fe(n)?Le(n):n;return Me(r)?e.filter(function(i){return Me(i)&&vn(i,r)&&me(i)!=="body"}):[]}function Jr(n,e,t,r){var i=e==="clippingParents"?Ps(n):[].concat(e),o=[].concat(i,[t]),a=o[0],l=o.reduce(function(c,d){var m=vo(n,d,r);return c.top=qe(m.top,c.top),c.right=Bt(m.right,c.right),c.bottom=Bt(m.bottom,c.bottom),c.left=qe(m.left,c.left),c},vo(n,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Tn(n){var e=n.reference,t=n.element,r=n.placement,i=r?ge(r):null,o=r?Be(r):null,a=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,c;switch(i){case ie:c={x:a,y:e.y-t.height};break;case ue:c={x:a,y:e.y+e.height};break;case ce:c={x:e.x+e.width,y:l};break;case ae:c={x:e.x-t.width,y:l};break;default:c={x:e.x,y:e.y}}var d=i?Ft(i):null;if(d!=null){var m=d==="y"?"height":"width";switch(o){case pt:c[d]=c[d]-(e[m]/2-t[m]/2);break;case Ot:c[d]=c[d]+(e[m]/2-t[m]/2);break;default:}}return c}function He(n,e){e===void 0&&(e={});var t=e,r=t.placement,i=r===void 0?n.placement:r,o=t.strategy,a=o===void 0?n.strategy:o,l=t.boundary,c=l===void 0?uo:l,d=t.rootBoundary,m=d===void 0?fr:d,_=t.elementContext,w=_===void 0?Zt:_,b=t.altBoundary,S=b===void 0?!1:b,k=t.padding,E=k===void 0?0:k,O=bn(typeof E!="number"?E:En(E,vt)),$=w===Zt?fo:Zt,K=n.rects.popper,D=n.elements[S?$:w],H=Jr(Me(D)?D:D.contextElement||Ae(n.elements.popper),c,m,a),F=Oe(n.elements.reference),J=Tn({reference:F,element:K,strategy:"absolute",placement:i}),te=rn(Object.assign({},K,J)),ne=w===Zt?te:F,Q={top:H.top-ne.top+O.top,bottom:ne.bottom-H.bottom+O.bottom,left:H.left-ne.left+O.left,right:ne.right-H.right+O.right},h=n.modifiersData.offset;if(w===Zt&&h){var C=h[i];Object.keys(Q).forEach(function(f){var Ie=[ce,ue].indexOf(f)>=0?1:-1,Ee=[ie,ue].indexOf(f)>=0?"y":"x";Q[f]+=C[Ee]*Ie})}return Q}function Qr(n,e){e===void 0&&(e={});var t=e,r=t.placement,i=t.boundary,o=t.rootBoundary,a=t.padding,l=t.flipVariations,c=t.allowedAutoPlacements,d=c===void 0?dr:c,m=Be(r),_=m?l?Gr:Gr.filter(function(S){return Be(S)===m}):vt,w=_.filter(function(S){return d.indexOf(S)>=0});w.length===0&&(w=_);var b=w.reduce(function(S,k){return S[k]=He(n,{placement:k,boundary:i,rootBoundary:o,padding:a})[ge(k)],S},{});return Object.keys(b).sort(function(S,k){return b[S]-b[k]})}function Ns(n){if(ge(n)===ur)return[];var e=nn(n);return[gr(n),e,gr(e)]}function Ms(n){var e=n.state,t=n.options,r=n.name;if(!e.modifiersData[r]._skip){for(var i=t.mainAxis,o=i===void 0?!0:i,a=t.altAxis,l=a===void 0?!0:a,c=t.fallbackPlacements,d=t.padding,m=t.boundary,_=t.rootBoundary,w=t.altBoundary,b=t.flipVariations,S=b===void 0?!0:b,k=t.allowedAutoPlacements,E=e.options.placement,O=ge(E),$=O===E,K=c||($||!S?[nn(E)]:Ns(E)),D=[E].concat(K).reduce(function(B,N){return B.concat(ge(N)===ur?Qr(e,{placement:N,boundary:m,rootBoundary:_,padding:d,flipVariations:S,allowedAutoPlacements:k}):N)},[]),H=e.rects.reference,F=e.rects.popper,J=new Map,te=!0,ne=D[0],Q=0;Q=0,Ee=Ie?"width":"height",_e=He(e,{placement:h,boundary:m,rootBoundary:_,altBoundary:w,padding:d}),xe=Ie?f?ce:ae:f?ue:ie;H[Ee]>F[Ee]&&(xe=nn(xe));var Ye=nn(xe),ke=[];if(o&&ke.push(_e[C]<=0),l&&ke.push(_e[xe]<=0,_e[Ye]<=0),ke.every(function(B){return B})){ne=h,te=!1;break}J.set(h,ke)}if(te)for(var Rt=S?3:1,Ue=function(N){var q=D.find(function(ee){var tt=J.get(ee);if(tt)return tt.slice(0,N).every(function(W){return W})});if(q)return ne=q,"break"},et=Rt;et>0;et--){var ye=Ue(et);if(ye==="break")break}e.placement!==ne&&(e.modifiersData[r]._skip=!0,e.placement=ne,e.reset=!0)}}var wo={name:"flip",enabled:!0,phase:"main",fn:Ms,requiresIfExists:["offset"],data:{_skip:!1}};function bo(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-t.y,right:n.right-e.width+t.x,bottom:n.bottom-e.height+t.y,left:n.left-e.width-t.x}}function Eo(n){return[ie,ce,ue,ae].some(function(e){return n[e]>=0})}function Os(n){var e=n.state,t=n.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=He(e,{elementContext:"reference"}),l=He(e,{altBoundary:!0}),c=bo(a,r),d=bo(l,i,o),m=Eo(c),_=Eo(d);e.modifiersData[t]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:m,hasPopperEscaped:_},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":m,"data-popper-escaped":_})}var To={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Os};function Bs(n,e,t){var r=ge(n),i=[ae,ie].indexOf(r)>=0?-1:1,o=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[ae,ce].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function Is(n){var e=n.state,t=n.options,r=n.name,i=t.offset,o=i===void 0?[0,0]:i,a=dr.reduce(function(m,_){return m[_]=Bs(_,e.rects,o),m},{}),l=a[e.placement],c=l.x,d=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=d),e.modifiersData[r]=a}var ko={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Is};function Fs(n){var e=n.state,t=n.name;e.modifiersData[t]=Tn({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var So={name:"popperOffsets",enabled:!0,phase:"read",fn:Fs,data:{}};function Xr(n){return n==="x"?"y":"x"}function qs(n){var e=n.state,t=n.options,r=n.name,i=t.mainAxis,o=i===void 0?!0:i,a=t.altAxis,l=a===void 0?!1:a,c=t.boundary,d=t.rootBoundary,m=t.altBoundary,_=t.padding,w=t.tether,b=w===void 0?!0:w,S=t.tetherOffset,k=S===void 0?0:S,E=He(e,{boundary:c,rootBoundary:d,padding:_,altBoundary:m}),O=ge(e.placement),$=Be(e.placement),K=!$,D=Ft(O),H=Xr(D),F=e.modifiersData.popperOffsets,J=e.rects.reference,te=e.rects.popper,ne=typeof k=="function"?k(Object.assign({},e.rects,{placement:e.placement})):k,Q=typeof ne=="number"?{mainAxis:ne,altAxis:ne}:Object.assign({mainAxis:0,altAxis:0},ne),h=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,C={x:0,y:0};if(!!F){if(o){var f,Ie=D==="y"?ie:ae,Ee=D==="y"?ue:ce,_e=D==="y"?"height":"width",xe=F[D],Ye=xe+E[Ie],ke=xe-E[Ee],Rt=b?-te[_e]/2:0,Ue=$===pt?J[_e]:te[_e],et=$===pt?-te[_e]:-J[_e],ye=e.elements.arrow,B=b&&ye?It(ye):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:wn(),q=N[Ie],ee=N[Ee],tt=qt(0,J[_e],B[_e]),W=K?J[_e]/2-Rt-tt-q-Q.mainAxis:Ue-tt-q-Q.mainAxis,je=K?-J[_e]/2+Rt+tt+ee+Q.mainAxis:et+tt+ee+Q.mainAxis,Tt=e.elements.arrow&&Le(e.elements.arrow),Nn=Tt?D==="y"?Tt.clientTop||0:Tt.clientLeft||0:0,nt=(f=h==null?void 0:h[D])!=null?f:0,rt=xe+W-nt-Nn,ht=xe+je-nt,kt=qt(b?Bt(Ye,rt):Ye,xe,b?qe(ke,ht):ke);F[D]=kt,C[D]=kt-xe}if(l){var Mn,On=D==="x"?ie:ae,Bn=D==="x"?ue:ce,it=F[H],Yt=H==="y"?"height":"width",In=it+E[On],Fn=it-E[Bn],cn=[ie,ae].indexOf(O)!==-1,St=(Mn=h==null?void 0:h[H])!=null?Mn:0,qn=cn?In:it-J[Yt]-te[Yt]-St+Q.altAxis,Ge=cn?it+J[Yt]+te[Yt]-St-Q.altAxis:Fn,se=b&&cn?Ao(qn,it,Ge):qt(b?qn:In,it,b?Ge:Fn);F[H]=se,C[H]=se-it}e.modifiersData[r]=C}}var Co={name:"preventOverflow",enabled:!0,phase:"main",fn:qs,requiresIfExists:["offset"]};function Zr(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function ei(n){return n===Z(n)||!fe(n)?Lt(n):Zr(n)}function Ls(n){var e=n.getBoundingClientRect(),t=ut(e.width)/n.offsetWidth||1,r=ut(e.height)/n.offsetHeight||1;return t!==1||r!==1}function ti(n,e,t){t===void 0&&(t=!1);var r=fe(e),i=fe(e)&&Ls(e),o=Ae(e),a=Oe(n,i,t),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!t)&&((me(e)!=="body"||$t(o))&&(l=ei(e)),fe(e)?(c=Oe(e,!0),c.x+=e.clientLeft,c.y+=e.clientTop):o&&(c.x=Ht(o))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Hs(n){var e=new Map,t=new Set,r=[];n.forEach(function(o){e.set(o.name,o)});function i(o){t.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!t.has(l)){var c=e.get(l);c&&i(c)}}),r.push(o)}return n.forEach(function(o){t.has(o.name)||i(o)}),r}function ni(n){var e=Hs(n);return mo.reduce(function(t,r){return t.concat(e.filter(function(i){return i.phase===r}))},[])}function ri(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function ii(n){var e=n.reduce(function(t,r){var i=t[r.name];return t[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,t},{});return Object.keys(e).map(function(t){return e[t]})}var Do={placement:"bottom",modifiers:[],strategy:"absolute"};function Po(){for(var n=arguments.length,e=new Array(n),t=0;t(n%e+e)%e,Oo=class{constructor(e,t,r){this.owner=e,this.containerEl=t,t.on("click",".suggestion-item",this.onSuggestionClick.bind(this)),t.on("mousemove",".suggestion-item",this.onSuggestionMouseover.bind(this)),r.register([],"ArrowUp",i=>{if(!i.isComposing)return this.setSelectedItem(this.selectedItem-1,!0),!1}),r.register([],"ArrowDown",i=>{if(!i.isComposing)return this.setSelectedItem(this.selectedItem+1,!0),!1}),r.register([],"Enter",i=>{if(!i.isComposing)return this.useSelectedItem(i),!1})}onSuggestionClick(e,t){e.preventDefault();let r=this.suggestions.indexOf(t);this.setSelectedItem(r,!1),this.useSelectedItem(e)}onSuggestionMouseover(e,t){let r=this.suggestions.indexOf(t);this.setSelectedItem(r,!1)}setSuggestions(e){this.containerEl.empty();let t=[];e.forEach(r=>{let i=this.containerEl.createDiv("suggestion-item");this.owner.renderSuggestion(r,i),t.push(i)}),this.values=e,this.suggestions=t,this.setSelectedItem(0,!1)}useSelectedItem(e){let t=this.values[this.selectedItem];t&&this.owner.selectSuggestion(t,e)}setSelectedItem(e,t){let r=Ks(e,this.suggestions.length),i=this.suggestions[this.selectedItem],o=this.suggestions[r];i?.removeClass("is-selected"),o?.addClass("is-selected"),this.selectedItem=r,t&&o.scrollIntoView(!1)}},kn=class{constructor(e,t){this.app=e,this.inputEl=t,this.scope=new Mo.Scope,this.suggestEl=createDiv("suggestion-container");let r=this.suggestEl.createDiv("suggestion");this.suggest=new Oo(this,r,this.scope),this.scope.register([],"Escape",this.close.bind(this)),this.inputEl.addEventListener("input",this.onInputChanged.bind(this)),this.inputEl.addEventListener("focus",this.onInputChanged.bind(this)),this.inputEl.addEventListener("blur",this.close.bind(this)),this.suggestEl.on("mousedown",".suggestion-container",i=>{i.preventDefault()})}onInputChanged(){let e=this.inputEl.value,t=this.getSuggestions(e);if(!t){this.close();return}t.length>0?(this.suggest.setSuggestions(t),this.open(this.app.dom.appContainerEl,this.inputEl)):this.close()}open(e,t){this.app.keymap.pushScope(this.scope),e.appendChild(this.suggestEl),this.popper=oi(t,this.suggestEl,{placement:"bottom-start",modifiers:[{name:"sameWidth",enabled:!0,fn:({state:r,instance:i})=>{let o=`${r.rects.reference.width}px`;r.styles.popper.width!==o&&(r.styles.popper.width=o,i.update())},phase:"beforeWrite",requires:["computeStyles"]}]})}close(){this.app.keymap.popScope(this.scope),this.suggest.setSuggestions([]),this.popper&&this.popper.destroy(),this.suggestEl.detach()}};var $e;(function(t){t[t.TemplateFiles=0]="TemplateFiles",t[t.ScriptFiles=1]="ScriptFiles"})($e||($e={}));var on=class extends kn{constructor(e,t,r){super(t.app,e);this.inputEl=e;this.plugin=t;this.mode=r}get_folder(e){switch(e){case 0:return this.plugin.settings.templates_folder;case 1:return this.plugin.settings.user_scripts_folder}}get_error_msg(e){switch(e){case 0:return"Templates folder doesn't exist";case 1:return"User Scripts folder doesn't exist"}}getSuggestions(e){let t=Ce(()=>Je(this.plugin.app,this.get_folder(this.mode)),this.get_error_msg(this.mode));if(!t)return[];let r=[],i=e.toLowerCase();return t.forEach(o=>{o instanceof Bo.TFile&&o.extension==="md"&&o.path.toLowerCase().contains(i)&&r.push(o)}),r.slice(0,1e3)}renderSuggestion(e,t){t.setText(e.path)}selectSuggestion(e){this.inputEl.value=e.path,this.inputEl.trigger("input"),this.close()}};var Io=X(require("obsidian"));var Sn=class extends kn{constructor(e,t){super(e,t)}getSuggestions(e){let t=this.app.vault.getAllLoadedFiles(),r=[],i=e.toLowerCase();return t.forEach(o=>{o instanceof Io.TFolder&&o.path.toLowerCase().contains(i)&&r.push(o)}),r.slice(0,1e3)}renderSuggestion(e,t){t.setText(e.path)}selectSuggestion(e){this.inputEl.value=e.path,this.inputEl.trigger("input"),this.close()}};var dt;(function(o){o[o.Off=0]="Off",o[o.RenderDescriptionParameterReturn=1]="RenderDescriptionParameterReturn",o[o.RenderDescriptionParameterList=2]="RenderDescriptionParameterList",o[o.RenderDescriptionReturn=3]="RenderDescriptionReturn",o[o.RenderDescriptionOnly=4]="RenderDescriptionOnly"})(dt||(dt={}));function Fo(n){return isBoolean(n)?n:[1,3].includes(n)}function qo(n){return isBoolean(n)?n:[1,2].includes(n)}function Lo(n){return isBoolean(n)?n:n!=0}var Ho={command_timeout:5,templates_folder:"",templates_pairs:[["",""]],trigger_on_file_creation:!1,auto_jump_to_cursor:!1,enable_system_commands:!1,shell_path:"",user_scripts_folder:"",enable_folder_templates:!0,folder_templates:[{folder:"",template:""}],enable_file_templates:!1,file_templates:[{regex:".*",template:""}],syntax_highlighting:!0,syntax_highlighting_mobile:!1,enabled_templates_hotkeys:[""],startup_templates:[""],intellisense_render:dt.RenderDescriptionParameterReturn},ai=class extends L.PluginSettingTab{constructor(e){super(e.app,e);this.plugin=e}display(){this.containerEl.empty(),this.add_template_folder_setting(),this.add_internal_functions_setting(),this.add_syntax_highlighting_settings(),this.add_auto_jump_to_cursor(),this.add_trigger_on_new_file_creation_setting(),this.plugin.settings.trigger_on_file_creation&&(this.add_folder_templates_setting(),this.add_file_templates_setting()),this.add_templates_hotkeys_setting(),this.add_startup_templates_setting(),this.add_user_script_functions_setting(),this.add_user_system_command_functions_setting(),this.add_donating_setting()}add_template_folder_setting(){new L.Setting(this.containerEl).setName("Template folder location").setDesc("Files in this folder will be available as templates.").addSearch(e=>{new Sn(this.app,e.inputEl),e.setPlaceholder("Example: folder1/folder2").setValue(this.plugin.settings.templates_folder).onChange(t=>{t=t.trim(),t=t.replace(/\/$/,""),this.plugin.settings.templates_folder=t,this.plugin.save_settings()}),e.containerEl.addClass("templater_search")})}add_internal_functions_setting(){let e=document.createDocumentFragment();e.append("Templater provides multiples predefined variables / functions that you can use.",e.createEl("br"),"Check the ",e.createEl("a",{href:"https://silentvoid13.github.io/Templater/",text:"documentation"})," to get a list of all the available internal variables / functions."),new L.Setting(this.containerEl).setName("Internal variables and functions").setDesc(e)}add_syntax_highlighting_settings(){let e=document.createDocumentFragment();e.append("Adds syntax highlighting for Templater commands in edit mode.");let t=document.createDocumentFragment();t.append("Adds syntax highlighting for Templater commands in edit mode on mobile. Use with caution: this may break live preview on mobile platforms."),new L.Setting(this.containerEl).setName("Syntax highlighting on desktop").setDesc(e).addToggle(r=>{r.setValue(this.plugin.settings.syntax_highlighting).onChange(i=>{this.plugin.settings.syntax_highlighting=i,this.plugin.save_settings(),this.plugin.event_handler.update_syntax_highlighting()})}),new L.Setting(this.containerEl).setName("Syntax highlighting on mobile").setDesc(t).addToggle(r=>{r.setValue(this.plugin.settings.syntax_highlighting_mobile).onChange(i=>{this.plugin.settings.syntax_highlighting_mobile=i,this.plugin.save_settings(),this.plugin.event_handler.update_syntax_highlighting()})})}add_auto_jump_to_cursor(){let e=document.createDocumentFragment();e.append("Automatically triggers ",e.createEl("code",{text:"tp.file.cursor"})," after inserting a template.",e.createEl("br"),"You can also set a hotkey to manually trigger ",e.createEl("code",{text:"tp.file.cursor"}),"."),new L.Setting(this.containerEl).setName("Automatic jump to cursor").setDesc(e).addToggle(t=>{t.setValue(this.plugin.settings.auto_jump_to_cursor).onChange(r=>{this.plugin.settings.auto_jump_to_cursor=r,this.plugin.save_settings()})})}add_trigger_on_new_file_creation_setting(){let e=document.createDocumentFragment();e.append("Templater will listen for the new file creation event, and, if it matches a rule you've set, replace every command it finds in the new file's content. ","This makes Templater compatible with other plugins like the Daily note core plugin, Calendar plugin, Review plugin, Note refactor plugin, etc. ",e.createEl("br"),e.createEl("br"),"Make sure to set up rules under either folder templates or file regex template below.",e.createEl("br"),e.createEl("br"),e.createEl("b",{text:"Warning: "}),"This can be dangerous if you create new files with unknown / unsafe content on creation. Make sure that every new file's content is safe on creation."),new L.Setting(this.containerEl).setName("Trigger Templater on new file creation").setDesc(e).addToggle(t=>{t.setValue(this.plugin.settings.trigger_on_file_creation).onChange(r=>{this.plugin.settings.trigger_on_file_creation=r,this.plugin.save_settings(),this.plugin.event_handler.update_trigger_file_on_creation(),this.display()})})}add_templates_hotkeys_setting(){new L.Setting(this.containerEl).setName("Template hotkeys").setHeading();let e=document.createDocumentFragment();e.append("Template hotkeys allows you to bind a template to a hotkey."),new L.Setting(this.containerEl).setDesc(e),this.plugin.settings.enabled_templates_hotkeys.forEach((t,r)=>{new L.Setting(this.containerEl).addSearch(o=>{new on(o.inputEl,this.plugin,$e.TemplateFiles),o.setPlaceholder("Example: folder1/template_file").setValue(t).onChange(a=>{if(a&&this.plugin.settings.enabled_templates_hotkeys.contains(a)){oe(new P("This template is already bound to a hotkey"));return}this.plugin.command_handler.add_template_hotkey(this.plugin.settings.enabled_templates_hotkeys[r],a),this.plugin.settings.enabled_templates_hotkeys[r]=a,this.plugin.save_settings()}),o.containerEl.addClass("templater_search")}).addExtraButton(o=>{o.setIcon("any-key").setTooltip("Configure Hotkey").onClick(()=>{this.app.setting.openTabById("hotkeys");let a=this.app.setting.activeTab;a.searchComponent.inputEl.value=t,a.updateHotkeyVisibility()})}).addExtraButton(o=>{o.setIcon("up-chevron-glyph").setTooltip("Move up").onClick(()=>{Mt(this.plugin.settings.enabled_templates_hotkeys,r,r-1),this.plugin.save_settings(),this.display()})}).addExtraButton(o=>{o.setIcon("down-chevron-glyph").setTooltip("Move down").onClick(()=>{Mt(this.plugin.settings.enabled_templates_hotkeys,r,r+1),this.plugin.save_settings(),this.display()})}).addExtraButton(o=>{o.setIcon("cross").setTooltip("Delete").onClick(()=>{this.plugin.command_handler.remove_template_hotkey(this.plugin.settings.enabled_templates_hotkeys[r]),this.plugin.settings.enabled_templates_hotkeys.splice(r,1),this.plugin.save_settings(),this.display()})}).infoEl.remove()}),new L.Setting(this.containerEl).addButton(t=>{t.setButtonText("Add new hotkey for template").setCta().onClick(()=>{this.plugin.settings.enabled_templates_hotkeys.push(""),this.plugin.save_settings(),this.display()})})}add_folder_templates_setting(){new L.Setting(this.containerEl).setName("Folder templates").setHeading();let e=document.createDocumentFragment();e.append("Folder templates are triggered when a new ",e.createEl("strong",{text:"empty "}),"file is created in a given folder.",e.createEl("br"),"Templater will fill the empty file with the specified template.",e.createEl("br"),"The deepest match is used. A global default template would be defined on the root ",e.createEl("code",{text:"/"}),"."),new L.Setting(this.containerEl).setDesc(e);let t=document.createDocumentFragment();t.append("When enabled, Templater will make use of the folder templates defined below. This option is mutually exclusive with file regex templates below, so enabling one will disable the other."),new L.Setting(this.containerEl).setName("Enable folder templates").setDesc(t).addToggle(r=>{r.setValue(this.plugin.settings.enable_folder_templates).onChange(i=>{this.plugin.settings.enable_folder_templates=i,i&&(this.plugin.settings.enable_file_templates=!1),this.plugin.save_settings(),this.display()})}),!!this.plugin.settings.enable_folder_templates&&(this.plugin.settings.folder_templates.forEach((r,i)=>{new L.Setting(this.containerEl).addSearch(a=>{new Sn(this.app,a.inputEl),a.setPlaceholder("Folder").setValue(r.folder).onChange(l=>{if(l&&this.plugin.settings.folder_templates.some(c=>c.folder==l)){oe(new P("This folder already has a template associated with it"));return}this.plugin.settings.folder_templates[i].folder=l,this.plugin.save_settings()}),a.containerEl.addClass("templater_search")}).addSearch(a=>{new on(a.inputEl,this.plugin,$e.TemplateFiles),a.setPlaceholder("Template").setValue(r.template).onChange(l=>{this.plugin.settings.folder_templates[i].template=l,this.plugin.save_settings()}),a.containerEl.addClass("templater_search")}).addExtraButton(a=>{a.setIcon("up-chevron-glyph").setTooltip("Move up").onClick(()=>{Mt(this.plugin.settings.folder_templates,i,i-1),this.plugin.save_settings(),this.display()})}).addExtraButton(a=>{a.setIcon("down-chevron-glyph").setTooltip("Move down").onClick(()=>{Mt(this.plugin.settings.folder_templates,i,i+1),this.plugin.save_settings(),this.display()})}).addExtraButton(a=>{a.setIcon("cross").setTooltip("Delete").onClick(()=>{this.plugin.settings.folder_templates.splice(i,1),this.plugin.save_settings(),this.display()})}).infoEl.remove()}),new L.Setting(this.containerEl).addButton(r=>{r.setButtonText("Add new folder template").setTooltip("Add additional folder template").setCta().onClick(()=>{this.plugin.settings.folder_templates.push({folder:"",template:""}),this.plugin.save_settings(),this.display()})}))}add_file_templates_setting(){new L.Setting(this.containerEl).setName("File regex templates").setHeading();let e=document.createDocumentFragment();e.append("File regex templates are triggered when a new ",e.createEl("strong",{text:"empty"})," file is created that matches one of them. Templater will fill the empty file with the specified template.",e.createEl("br"),"The first match from the top is used, so the order of the rules is important.",e.createEl("br"),"Use ",e.createEl("code",{text:".*"})," as a final catch-all, if you need it."),new L.Setting(this.containerEl).setDesc(e);let t=document.createDocumentFragment();t.append("When enabled, Templater will make use of the file regex templates defined below. This option is mutually exclusive with folder templates above, so enabling one will disable the other."),new L.Setting(this.containerEl).setName("Enable file regex templates").setDesc(t).addToggle(r=>{r.setValue(this.plugin.settings.enable_file_templates).onChange(i=>{this.plugin.settings.enable_file_templates=i,i&&(this.plugin.settings.enable_folder_templates=!1),this.plugin.save_settings(),this.display()})}),!!this.plugin.settings.enable_file_templates&&(this.plugin.settings.file_templates.forEach((r,i)=>{new L.Setting(this.containerEl).addText(a=>{a.setPlaceholder("File regex").setValue(r.regex).onChange(l=>{this.plugin.settings.file_templates[i].regex=l,this.plugin.save_settings()}),a.inputEl.addClass("templater_search")}).addSearch(a=>{new on(a.inputEl,this.plugin,$e.TemplateFiles),a.setPlaceholder("Template").setValue(r.template).onChange(l=>{this.plugin.settings.file_templates[i].template=l,this.plugin.save_settings()}),a.containerEl.addClass("templater_search")}).addExtraButton(a=>{a.setIcon("up-chevron-glyph").setTooltip("Move up").onClick(()=>{Mt(this.plugin.settings.file_templates,i,i-1),this.plugin.save_settings(),this.display()})}).addExtraButton(a=>{a.setIcon("down-chevron-glyph").setTooltip("Move down").onClick(()=>{Mt(this.plugin.settings.file_templates,i,i+1),this.plugin.save_settings(),this.display()})}).addExtraButton(a=>{a.setIcon("cross").setTooltip("Delete").onClick(()=>{this.plugin.settings.file_templates.splice(i,1),this.plugin.save_settings(),this.display()})}).infoEl.remove()}),new L.Setting(this.containerEl).addButton(r=>{r.setButtonText("Add new file regex").setTooltip("Add additional file regex").setCta().onClick(()=>{this.plugin.settings.file_templates.push({regex:"",template:""}),this.plugin.save_settings(),this.display()})}))}add_startup_templates_setting(){new L.Setting(this.containerEl).setName("Startup templates").setHeading();let e=document.createDocumentFragment();e.append("Startup templates are templates that will get executed once when Templater starts.",e.createEl("br"),"These templates won't output anything.",e.createEl("br"),"This can be useful to set up templates adding hooks to Obsidian events for example."),new L.Setting(this.containerEl).setDesc(e),this.plugin.settings.startup_templates.forEach((t,r)=>{new L.Setting(this.containerEl).addSearch(o=>{new on(o.inputEl,this.plugin,$e.TemplateFiles),o.setPlaceholder("Example: folder1/template_file").setValue(t).onChange(a=>{if(a&&this.plugin.settings.startup_templates.contains(a)){oe(new P("This startup template already exist"));return}this.plugin.settings.startup_templates[r]=a,this.plugin.save_settings()}),o.containerEl.addClass("templater_search")}).addExtraButton(o=>{o.setIcon("cross").setTooltip("Delete").onClick(()=>{this.plugin.settings.startup_templates.splice(r,1),this.plugin.save_settings(),this.display()})}).infoEl.remove()}),new L.Setting(this.containerEl).addButton(t=>{t.setButtonText("Add new startup template").setCta().onClick(()=>{this.plugin.settings.startup_templates.push(""),this.plugin.save_settings(),this.display()})})}add_user_script_functions_setting(){new L.Setting(this.containerEl).setName("User script functions").setHeading();let e=document.createDocumentFragment();e.append("All JavaScript files in this folder will be loaded as CommonJS modules, to import custom user functions.",e.createEl("br"),"The folder needs to be accessible from the vault.",e.createEl("br"),"Check the ",e.createEl("a",{href:"https://silentvoid13.github.io/Templater/",text:"documentation"})," for more information."),new L.Setting(this.containerEl).setName("Script files folder location").setDesc(e).addSearch(r=>{new Sn(this.app,r.inputEl),r.setPlaceholder("Example: folder1/folder2").setValue(this.plugin.settings.user_scripts_folder).onChange(i=>{this.plugin.settings.user_scripts_folder=i,this.plugin.save_settings()}),r.containerEl.addClass("templater_search")}),new L.Setting(this.containerEl).setName("User script intellisense").setDesc("Determine how you'd like to have user script intellisense render. Note values will not render if not in the script.").addDropdown(r=>{r.addOption("0","Turn off intellisense").addOption("1","Render method description, parameters list, and return").addOption("2","Render method description and parameters list").addOption("3","Render method description and return").addOption("4","Render method description").setValue(this.plugin.settings.intellisense_render.toString()).onChange(i=>{this.plugin.settings.intellisense_render=parseInt(i),this.plugin.save_settings()})}),e=document.createDocumentFragment();let t;if(!this.plugin.settings.user_scripts_folder)t="No user scripts folder set";else{let r=Ce(()=>Je(this.app,this.plugin.settings.user_scripts_folder),"User scripts folder doesn't exist");if(!r||r.length===0)t="No user scripts detected";else{let i=0;for(let o of r)o.extension==="js"&&(i++,e.append(e.createEl("li",{text:`tp.user.${o.basename}`})));t=`Detected ${i} User Script(s)`}}new L.Setting(this.containerEl).setName(t).setDesc(e).addExtraButton(r=>{r.setIcon("sync").setTooltip("Refresh").onClick(()=>{this.display()})})}add_user_system_command_functions_setting(){let e=document.createDocumentFragment();if(e.append("Allows you to create user functions linked to system commands.",e.createEl("br"),e.createEl("b",{text:"Warning: "}),"It can be dangerous to execute arbitrary system commands from untrusted sources. Only run system commands that you understand, from trusted sources."),new L.Setting(this.containerEl).setName("User system command functions").setHeading(),new L.Setting(this.containerEl).setName("Enable user system command functions").setDesc(e).addToggle(t=>{t.setValue(this.plugin.settings.enable_system_commands).onChange(r=>{this.plugin.settings.enable_system_commands=r,this.plugin.save_settings(),this.display()})}),this.plugin.settings.enable_system_commands){new L.Setting(this.containerEl).setName("Timeout").setDesc("Maximum timeout in seconds for a system command.").addText(o=>{o.setPlaceholder("Timeout").setValue(this.plugin.settings.command_timeout.toString()).onChange(a=>{let l=Number(a);if(isNaN(l)){oe(new P("Timeout must be a number"));return}this.plugin.settings.command_timeout=l,this.plugin.save_settings()})}),e=document.createDocumentFragment(),e.append("Full path to the shell binary to execute the command with.",e.createEl("br"),"This setting is optional and will default to the system's default shell if not specified.",e.createEl("br"),"You can use forward slashes ('/') as path separators on all platforms if in doubt."),new L.Setting(this.containerEl).setName("Shell binary location").setDesc(e).addText(o=>{o.setPlaceholder("Example: /bin/bash, ...").setValue(this.plugin.settings.shell_path).onChange(a=>{this.plugin.settings.shell_path=a,this.plugin.save_settings()})});let t=1;this.plugin.settings.templates_pairs.forEach(o=>{let a=this.containerEl.createEl("div");a.addClass("templater_div");let l=this.containerEl.createEl("h4",{text:"User function n\xB0"+t});l.addClass("templater_title"),new L.Setting(this.containerEl).addExtraButton(d=>{d.setIcon("cross").setTooltip("Delete").onClick(()=>{let m=this.plugin.settings.templates_pairs.indexOf(o);m>-1&&(this.plugin.settings.templates_pairs.splice(m,1),this.plugin.save_settings(),this.display())})}).addText(d=>{let m=d.setPlaceholder("Function name").setValue(o[0]).onChange(_=>{let w=this.plugin.settings.templates_pairs.indexOf(o);w>-1&&(this.plugin.settings.templates_pairs[w][0]=_,this.plugin.save_settings())});return m.inputEl.addClass("templater_template"),m}).addTextArea(d=>{let m=d.setPlaceholder("System command").setValue(o[1]).onChange(_=>{let w=this.plugin.settings.templates_pairs.indexOf(o);w>-1&&(this.plugin.settings.templates_pairs[w][1]=_,this.plugin.save_settings())});return m.inputEl.setAttr("rows",2),m.inputEl.addClass("templater_cmd"),m}).infoEl.remove(),a.appendChild(l),a.appendChild(this.containerEl.lastChild),t+=1});let r=this.containerEl.createEl("div");r.addClass("templater_div2"),new L.Setting(this.containerEl).addButton(o=>{o.setButtonText("Add new user function").setCta().onClick(()=>{this.plugin.settings.templates_pairs.push(["",""]),this.plugin.save_settings(),this.display()})}).infoEl.remove(),r.appendChild(this.containerEl.lastChild)}}add_donating_setting(){let e=new L.Setting(this.containerEl).setName("Donate").setDesc("If you like this Plugin, consider donating to support continued development."),t=document.createElement("a");t.setAttribute("href","https://github.com/sponsors/silentvoid13"),t.addClass("templater_donating");let r=document.createElement("img");r.src="https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86",t.appendChild(r);let i=document.createElement("a");i.setAttribute("href","https://www.paypal.com/donate?hosted_button_id=U2SRGAFYXT32Q"),i.addClass("templater_donating");let o=document.createElement("img");o.src="https://img.shields.io/badge/paypal-silentvoid13-yellow?style=social&logo=paypal",i.appendChild(o),e.settingEl.appendChild(t),e.settingEl.appendChild(i)}};var Ar=X(require("obsidian"));var an;(function(t){t[t.InsertTemplate=0]="InsertTemplate",t[t.CreateNoteTemplate=1]="CreateNoteTemplate"})(an||(an={}));var si=class extends Ar.FuzzySuggestModal{constructor(e){super(e.app);this.plugin=e,this.setPlaceholder("Type name of a template...")}getItems(){if(!this.plugin.settings.templates_folder)return this.app.vault.getMarkdownFiles();let e=Ce(()=>Je(this.plugin.app,this.plugin.settings.templates_folder),`Couldn't retrieve template files from templates folder ${this.plugin.settings.templates_folder}`);return e||[]}getItemText(e){let t=e.path;if(e.path.startsWith(this.plugin.settings.templates_folder)&&(0,Ar.normalizePath)(this.plugin.settings.templates_folder)!="/"){let r=this.plugin.settings.templates_folder.length,i=this.plugin.settings.templates_folder.endsWith("/")?r:r+1;t=e.path.slice(i)}return t.split(".").slice(0,-1).join(".")}onChooseItem(e){switch(this.open_mode){case 0:this.plugin.templater.append_template_to_active_file(e);break;case 1:this.plugin.templater.create_new_note_from_template(e,this.creation_folder);break}}start(){try{this.open()}catch(e){oe(e)}}insert_template(){this.open_mode=0,this.start()}create_new_note_from_template(e){this.creation_folder=e,this.open_mode=1,this.start()}};var $o="Error_MobileUnsupportedTemplate",Ko='';var de=X(require("obsidian"));var mt=X(require("obsidian"));var be=class{constructor(e){this.plugin=e;this.static_functions=new Map;this.dynamic_functions=new Map}getName(){return this.name}async init(){await this.create_static_templates(),this.static_object=Object.fromEntries(this.static_functions)}async generate_object(e){return this.config=e,await this.create_dynamic_templates(),{...this.static_object,...Object.fromEntries(this.dynamic_functions)}}};var ci=class extends be{constructor(){super(...arguments);this.name="date"}async create_static_templates(){this.static_functions.set("now",this.generate_now()),this.static_functions.set("tomorrow",this.generate_tomorrow()),this.static_functions.set("weekday",this.generate_weekday()),this.static_functions.set("yesterday",this.generate_yesterday())}async create_dynamic_templates(){}async teardown(){}generate_now(){return(e="YYYY-MM-DD",t,r,i)=>{if(r&&!(0,mt.moment)(r,i).isValid())throw new P("Invalid reference date format, try specifying one with the argument 'reference_format'");let o;return typeof t=="string"?o=mt.moment.duration(t):typeof t=="number"&&(o=mt.moment.duration(t,"days")),(0,mt.moment)(r,i).add(o).format(e)}}generate_tomorrow(){return(e="YYYY-MM-DD")=>(0,mt.moment)().add(1,"days").format(e)}generate_weekday(){return(e="YYYY-MM-DD",t,r,i)=>{if(r&&!(0,mt.moment)(r,i).isValid())throw new P("Invalid reference date format, try specifying one with the argument 'reference_format'");return(0,mt.moment)(r,i).weekday(t).format(e)}}generate_yesterday(){return(e="YYYY-MM-DD")=>(0,mt.moment)().add(-1,"days").format(e)}};var le=X(require("obsidian"));var Ro=10,li=class extends be{constructor(){super(...arguments);this.name="file";this.include_depth=0;this.create_new_depth=0;this.linkpath_regex=new RegExp("^\\[\\[(.*)\\]\\]$")}async create_static_templates(){this.static_functions.set("creation_date",this.generate_creation_date()),this.static_functions.set("create_new",this.generate_create_new()),this.static_functions.set("cursor",this.generate_cursor()),this.static_functions.set("cursor_append",this.generate_cursor_append()),this.static_functions.set("exists",this.generate_exists()),this.static_functions.set("find_tfile",this.generate_find_tfile()),this.static_functions.set("folder",this.generate_folder()),this.static_functions.set("include",this.generate_include()),this.static_functions.set("last_modified_date",this.generate_last_modified_date()),this.static_functions.set("move",this.generate_move()),this.static_functions.set("path",this.generate_path()),this.static_functions.set("rename",this.generate_rename()),this.static_functions.set("selection",this.generate_selection())}async create_dynamic_templates(){this.dynamic_functions.set("content",await this.generate_content()),this.dynamic_functions.set("tags",this.generate_tags()),this.dynamic_functions.set("title",this.generate_title())}async teardown(){}async generate_content(){return await this.plugin.app.vault.read(this.config.target_file)}generate_create_new(){return async(e,t,r=!1,i)=>{if(this.create_new_depth+=1,this.create_new_depth>Ro)throw this.create_new_depth=0,new P("Reached create_new depth limit (max = 10)");let o=await this.plugin.templater.create_new_note_from_template(e,i,t,r);return this.create_new_depth-=1,o}}generate_creation_date(){return(e="YYYY-MM-DD HH:mm")=>(0,le.moment)(this.config.target_file.stat.ctime).format(e)}generate_cursor(){return e=>`<% tp.file.cursor(${e??""}) %>`}generate_cursor_append(){return e=>{let t=this.plugin.app.workspace.activeEditor;if(!t||!t.editor){oe(new P("No active editor, can't append to cursor."));return}return t.editor.getDoc().replaceSelection(e),""}}generate_exists(){return async e=>{let t=(0,le.normalizePath)(e);return await this.plugin.app.vault.exists(t)}}generate_find_tfile(){return e=>{let t=(0,le.normalizePath)(e);return this.plugin.app.metadataCache.getFirstLinkpathDest(t,"")}}generate_folder(){return(e=!1)=>{let t=this.config.target_file.parent,r;return e?r=t.path:r=t.name,r}}generate_include(){return async e=>{if(this.include_depth+=1,this.include_depth>Ro)throw this.include_depth-=1,new P("Reached inclusion depth limit (max = 10)");let t;if(e instanceof le.TFile)t=await this.plugin.app.vault.read(e);else{let r;if((r=this.linkpath_regex.exec(e))===null)throw this.include_depth-=1,new P("Invalid file format, provide an obsidian link between quotes.");let{path:i,subpath:o}=(0,le.parseLinktext)(r[1]),a=this.plugin.app.metadataCache.getFirstLinkpathDest(i,"");if(!a)throw this.include_depth-=1,new P(`File ${e} doesn't exist`);if(t=await this.plugin.app.vault.read(a),o){let l=this.plugin.app.metadataCache.getFileCache(a);if(l){let c=(0,le.resolveSubpath)(l,o);c&&(t=t.slice(c.start.offset,c.end?.offset))}}}try{let r=await this.plugin.templater.parser.parse_commands(t,this.plugin.templater.current_functions_object);return this.include_depth-=1,r}catch(r){throw this.include_depth-=1,r}}}generate_last_modified_date(){return(e="YYYY-MM-DD HH:mm")=>(0,le.moment)(this.config.target_file.stat.mtime).format(e)}generate_move(){return async(e,t)=>{let r=t||this.config.target_file,i=(0,le.normalizePath)(`${e}.${r.extension}`),o=i.replace(/\\/g,"/").split("/");if(o.pop(),o.length){let a=o.join("/");this.plugin.app.vault.getAbstractFileByPath(a)||await this.plugin.app.vault.createFolder(a)}return await this.plugin.app.fileManager.renameFile(r,i),""}}generate_path(){return(e=!1)=>{let t="";if(le.Platform.isMobile){let r=this.plugin.app.vault.adapter.fs.uri,i=this.plugin.app.vault.adapter.basePath;t=`${r}/${i}`}else if(this.plugin.app.vault.adapter instanceof le.FileSystemAdapter)t=this.plugin.app.vault.adapter.getBasePath();else throw new P("app.vault is not a FileSystemAdapter instance");return e?this.config.target_file.path:`${t}/${this.config.target_file.path}`}}generate_rename(){return async e=>{if(e.match(/[\\/:]+/g))throw new P("File name cannot contain any of these characters: \\ / :");let t=(0,le.normalizePath)(`${this.config.target_file.parent.path}/${e}.${this.config.target_file.extension}`);return await this.plugin.app.fileManager.renameFile(this.config.target_file,t),""}}generate_selection(){return()=>{let e=this.plugin.app.workspace.activeEditor;if(!e||!e.editor)throw new P("Active editor is null, can't read selection.");return e.editor.getSelection()}}generate_tags(){let e=this.plugin.app.metadataCache.getFileCache(this.config.target_file);return e?(0,le.getAllTags)(e):null}generate_title(){return this.config.target_file.basename}};var Yo=X(require("obsidian"));var pi=class extends be{constructor(){super(...arguments);this.name="web"}async create_static_templates(){this.static_functions.set("daily_quote",this.generate_daily_quote()),this.static_functions.set("request",this.generate_request()),this.static_functions.set("random_picture",this.generate_random_picture())}async create_dynamic_templates(){}async teardown(){}async getRequest(e){try{let t=await(0,Yo.requestUrl)(e);if(t.status<200&&t.status>=300)throw new P("Error performing GET request");return t}catch{throw new P("Error performing GET request")}}generate_daily_quote(){return async()=>{try{let t=(await this.getRequest("https://raw.githubusercontent.com/Zachatoo/quotes-database/refs/heads/main/quotes.json")).json,r=t[Math.floor(Math.random()*t.length)],{quote:i,author:o}=r;return`> [!quote] ${i} +> \u2014 ${o}`}catch{return new P("Error generating daily quote"),"Error generating daily quote"}}}generate_random_picture(){return async(e,t,r=!1)=>{try{let i=await this.getRequest(`https://templater-unsplash-2.fly.dev/${t?"?q="+t:""}`).then(a=>a.json),o=i.full;if(e&&!r)if(e.includes("x")){let[a,l]=e.split("x");o=o.concat(`&w=${a}&h=${l}`)}else o=o.concat(`&w=${e}`);return r?`![photo by ${i.photog}(${i.photogUrl}) on Unsplash|${e}](${o})`:`![photo by ${i.photog}(${i.photogUrl}) on Unsplash](${o})`}catch{return new P("Error generating random picture"),"Error generating random picture"}}}generate_request(){return async(e,t)=>{try{let i=await(await this.getRequest(e)).json;return t&&i?t.split(".").reduce((o,a)=>{if(o&&o.hasOwnProperty(a))return o[a];throw new Error(`Path ${t} not found in the JSON response`)},i):i}catch(r){throw console.error(r),new P("Error fetching and extracting value")}}}};var ui=class extends be{constructor(){super(...arguments);this.name="hooks";this.event_refs=[]}async create_static_templates(){this.static_functions.set("on_all_templates_executed",this.generate_on_all_templates_executed())}async create_dynamic_templates(){}async teardown(){this.event_refs.forEach(e=>{e.e.offref(e)}),this.event_refs=[]}generate_on_all_templates_executed(){return e=>{let t=this.plugin.app.workspace.on("templater:all-templates-executed",async()=>{await jt(1),e()});t&&this.event_refs.push(t)}}};var fi=class extends be{constructor(){super(...arguments);this.name="frontmatter"}async create_static_templates(){}async create_dynamic_templates(){let e=this.plugin.app.metadataCache.getFileCache(this.config.target_file);this.dynamic_functions=new Map(Object.entries(e?.frontmatter||{}))}async teardown(){}};var Qe=X(require("obsidian"));var di=class extends Qe.Modal{constructor(e,t,r,i){super(e);this.prompt_text=t;this.default_value=r;this.multi_line=i;this.submitted=!1}onOpen(){this.titleEl.setText(this.prompt_text),this.createForm()}onClose(){this.contentEl.empty(),this.submitted||this.reject(new P("Cancelled prompt"))}createForm(){let e=this.contentEl.createDiv();e.addClass("templater-prompt-div");let t;if(this.multi_line){t=new Qe.TextAreaComponent(e);let r=this.contentEl.createDiv();r.addClass("templater-button-div");let i=new Qe.ButtonComponent(r);i.buttonEl.addClass("mod-cta"),i.setButtonText("Submit").onClick(o=>{this.resolveAndClose(o)})}else t=new Qe.TextComponent(e);this.value=this.default_value??"",t.inputEl.addClass("templater-prompt-input"),t.setPlaceholder("Type text here"),t.setValue(this.value),t.onChange(r=>this.value=r),t.inputEl.focus(),t.inputEl.addEventListener("keydown",r=>this.enterCallback(r))}enterCallback(e){e.isComposing||e.keyCode===229||(this.multi_line?Qe.Platform.isDesktop&&e.key==="Enter"&&!e.shiftKey&&this.resolveAndClose(e):e.key==="Enter"&&this.resolveAndClose(e))}resolveAndClose(e){this.submitted=!0,e.preventDefault(),this.resolve(this.value),this.close()}async openAndGetValue(e,t){this.resolve=e,this.reject=t,this.open()}};var Uo=X(require("obsidian")),mi=class extends Uo.FuzzySuggestModal{constructor(e,t,r,i,o){super(e);this.text_items=t;this.items=r;this.submitted=!1;this.setPlaceholder(i),o&&(this.limit=o)}getItems(){return this.items}onClose(){this.submitted||this.reject(new P("Cancelled prompt"))}selectSuggestion(e,t){this.submitted=!0,this.close(),this.onChooseSuggestion(e,t)}getItemText(e){return this.text_items instanceof Function?this.text_items(e):this.text_items[this.items.indexOf(e)]||"Undefined Text Item"}onChooseItem(e){this.resolve(e)}async openAndGetValue(e,t){this.resolve=e,this.reject=t,this.open()}};var De=X(require("obsidian")),gi=class extends De.Modal{constructor(e,t,r,i,o){super(e);this.text_items=t;this.items=r;this.submitted=!1;this.selectedItems=[];this.setTitle(i),this.listEl=this.contentEl.createDiv("templater-multisuggester-list");let a=this.contentEl.createDiv("templater-multisuggester-div"),l=new De.TextComponent(a);l.inputEl.addClass("templater-multisuggester-input"),this.suggester=new Go(e,l.inputEl,this.getItemText.bind(this),r,o).onSelect(this.onChooseItem.bind(this));let c=this.contentEl.createDiv("modal-button-container");new De.ButtonComponent(c).setButtonText("Save").setCta().onClick(()=>this.save()),new De.ButtonComponent(c).setButtonText("Cancel").onClick(()=>this.close())}onOpen(){this.display()}display(){this.listEl.empty(),this.selectedItems.forEach(e=>{let t=this.listEl.createDiv("mobile-option-setting-item");t.createSpan("mobile-option-setting-item-name").setText(this.getItemText(e)),t.createDiv("clickable-icon mobile-option-setting-item-option-icon",r=>{(0,De.setIcon)(r,"lucide-x"),r.addEventListener("click",()=>{this.onRemoveItem(e)})})})}getItemText(e){return this.text_items instanceof Function?this.text_items(e):this.text_items[this.items.indexOf(e)]||"Undefined Text Item"}onChooseItem(e){this.selectedItems.push(e);let t=this.items.filter(r=>!this.selectedItems.some(i=>i===r));this.suggester.setItems(t),this.display()}onRemoveItem(e){this.selectedItems=this.selectedItems.filter(r=>r!==e);let t=this.items.filter(r=>!this.selectedItems.some(i=>i===r));this.suggester.setItems(t),this.display()}save(){this.submitted=!0,this.close(),this.resolve(this.selectedItems)}onClose(){this.submitted||this.reject(new P("Cancelled prompt"))}async openAndGetValue(e,t){this.resolve=e,this.reject=t,this.open()}},Go=class extends De.AbstractInputSuggest{constructor(e,t,r,i,o){super(e,t);this.getItemText=r;this.items=i;o&&(this.limit=o)}getSuggestions(e){let t=(0,De.prepareFuzzySearch)(e);return this.items.reduce((r,i)=>{let o=this.getItemText(i);return t(o)&&r.push(i),r},[])}renderSuggestion(e,t){t.createDiv("suggestion-content").setText(this.getItemText(e))}setItems(e){this.items=e}selectSuggestion(e,t){this.setValue(""),this.close(),super.selectSuggestion(e,t)}};var hi=class extends be{constructor(){super(...arguments);this.name="system"}async create_static_templates(){this.static_functions.set("clipboard",this.generate_clipboard()),this.static_functions.set("prompt",this.generate_prompt()),this.static_functions.set("suggester",this.generate_suggester()),this.static_functions.set("multi_suggester",this.generate_multi_suggester())}async create_dynamic_templates(){}async teardown(){}generate_clipboard(){return async()=>await navigator.clipboard.readText()}generate_prompt(){return async(e,t,r=!1,i=!1)=>{let o=new di(this.plugin.app,e,t,i),a=new Promise((l,c)=>o.openAndGetValue(l,c));try{return await a}catch(l){if(r)throw l;return null}}}generate_suggester(){return async(e,t,r=!1,i="",o)=>{let a=new mi(this.plugin.app,e,t,i,o),l=new Promise((c,d)=>a.openAndGetValue(c,d));try{return await l}catch(c){if(r)throw c;return null}}}generate_multi_suggester(){return async(e,t,r=!1,i="",o)=>{let a=new gi(this.plugin.app,e,t,i,o),l=new Promise((c,d)=>a.openAndGetValue(c,d));try{return await l}catch(c){if(r)throw c;return[]}}}};var Ai=class extends be{constructor(){super(...arguments);this.name="config"}async create_static_templates(){}async create_dynamic_templates(){}async teardown(){}async generate_object(e){return e}};var _i=class{constructor(e){this.plugin=e;this.modules_array=[];this.modules_array.push(new ci(this.plugin)),this.modules_array.push(new li(this.plugin)),this.modules_array.push(new pi(this.plugin)),this.modules_array.push(new fi(this.plugin)),this.modules_array.push(new ui(this.plugin)),this.modules_array.push(new hi(this.plugin)),this.modules_array.push(new Ai(this.plugin))}async init(){for(let e of this.modules_array)await e.init()}async teardown(){for(let e of this.modules_array)await e.teardown()}async generate_object(e){let t={};for(let r of this.modules_array)t[r.getName()]=await r.generate_object(e);return t}};var Cn=X(require("obsidian"));var xi=class{constructor(e){this.plugin=e;if(Cn.Platform.isMobile||!(this.plugin.app.vault.adapter instanceof Cn.FileSystemAdapter))this.cwd="";else{this.cwd=this.plugin.app.vault.adapter.getBasePath();let{promisify:t}=require("util"),{exec:r}=require("child_process");this.exec_promise=t(r)}}async generate_system_functions(e){let t=new Map,r=await this.plugin.templater.functions_generator.generate_object(e,Xe.INTERNAL);for(let i of this.plugin.settings.templates_pairs){let o=i[0],a=i[1];!o||!a||(Cn.Platform.isMobile?t.set(o,()=>new Promise(l=>l($o))):(a=await this.plugin.templater.parser.parse_commands(a,r),t.set(o,async l=>{let c={...process.env,...l},d={timeout:this.plugin.settings.command_timeout*1e3,cwd:this.cwd,env:c,...this.plugin.settings.shell_path&&{shell:this.plugin.settings.shell_path}};try{let{stdout:m}=await this.exec_promise(a,d);return m.trimRight()}catch(m){throw new P(`Error with User Template ${o}`,m)}})))}return t}async generate_object(e){let t=await this.generate_system_functions(e);return Object.fromEntries(t)}};var yi=class{constructor(e){this.plugin=e}async generate_user_script_functions(){let e=new Map,t=Ce(()=>Je(this.plugin.app,this.plugin.settings.user_scripts_folder),`Couldn't find user script folder "${this.plugin.settings.user_scripts_folder}"`);if(!t)return new Map;for(let r of t)r.extension.toLowerCase()==="js"&&await this.load_user_script_function(r,e);return e}async load_user_script_function(e,t){let r=c=>window.require&&window.require(c),i={},o={exports:i},a=await this.plugin.app.vault.read(e);try{window.eval("(function anonymous(require, module, exports){"+a+` +})`)(r,o,i)}catch(c){throw new P(`Failed to load user script at "${e.path}".`,c.message)}let l=i.default??o.exports;if(!l)throw new P(`Failed to load user script at "${e.path}". No exports detected.`);if(typeof l=="function")t.set(e.basename,l);else if(typeof l=="object"&&l!==null){if(!Object.values(l).every(d=>typeof d=="function"))throw new P(`Exported object in "${e.path}" must contain only functions.`);t.set(e.basename,l)}else throw new P(`Invalid export in "${e.path}". Must be a function or object of functions.`)}async generate_object(){let e=await this.generate_user_script_functions();return Object.fromEntries(e)}};var ji=class{constructor(e){this.plugin=e;this.user_system_functions=new xi(e),this.user_script_functions=new yi(e)}async generate_object(e){let t={},r={};return this.plugin.settings.enable_system_commands&&(t=await this.user_system_functions.generate_object(e)),this.plugin.settings.user_scripts_folder&&(r=await this.user_script_functions.generate_object()),{...t,...r}}};var Rs=X(require("obsidian")),Xe;(function(t){t[t.INTERNAL=0]="INTERNAL",t[t.USER_INTERNAL=1]="USER_INTERNAL"})(Xe||(Xe={}));var vi=class{constructor(e){this.plugin=e;this.internal_functions=new _i(this.plugin),this.user_functions=new ji(this.plugin)}async init(){await this.internal_functions.init()}async teardown(){await this.internal_functions.teardown()}additional_functions(){return{app:this.plugin.app,obsidian:Rs}}async generate_object(e,t=1){let r={},i=this.additional_functions(),o=await this.internal_functions.generate_object(e),a={};switch(Object.assign(r,i),t){case 0:Object.assign(r,o);break;case 1:a=await this.user_functions.generate_object(e),Object.assign(r,{...o,user:a});break}return r}};var Zs={},M,Ke=new Array(32).fill(void 0);Ke.push(void 0,null,!0,!1);function Pe(n){return Ke[n]}var Dn=Ke.length;function Ys(n){n<36||(Ke[n]=Dn,Dn=n)}function wi(n){let e=Pe(n);return Ys(n),e}var Wo=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});Wo.decode();var _r=new Uint8Array;function xr(){return _r.byteLength===0&&(_r=new Uint8Array(M.memory.buffer)),_r}function bt(n,e){return Wo.decode(xr().subarray(n,n+e))}function Et(n){Dn===Ke.length&&Ke.push(Ke.length+1);let e=Dn;return Dn=Ke[e],Ke[e]=n,e}var Re=0,yr=new TextEncoder("utf-8"),Us=typeof yr.encodeInto=="function"?function(n,e){return yr.encodeInto(n,e)}:function(n,e){let t=yr.encode(n);return e.set(t),{read:n.length,written:t.length}};function gt(n,e,t){if(t===void 0){let l=yr.encode(n),c=e(l.length);return xr().subarray(c,c+l.length).set(l),Re=l.length,c}let r=n.length,i=e(r),o=xr(),a=0;for(;a127)break;o[i+a]=l}if(a!==r){a!==0&&(n=n.slice(a)),i=t(i,r,r=a+n.length*3);let l=xr().subarray(i+a,i+r);a+=Us(n,l).written}return Re=a,i}function Gs(n){return n==null}var jr=new Int32Array;function Ne(){return jr.byteLength===0&&(jr=new Int32Array(M.memory.buffer)),jr}function bi(n){let e=typeof n;if(e=="number"||e=="boolean"||n==null)return`${n}`;if(e=="string")return`"${n}"`;if(e=="symbol"){let i=n.description;return i==null?"Symbol":`Symbol(${i})`}if(e=="function"){let i=n.name;return typeof i=="string"&&i.length>0?`Function(${i})`:"Function"}if(Array.isArray(n)){let i=n.length,o="[";i>0&&(o+=bi(n[0]));for(let a=1;a1)r=t[1];else return toString.call(n);if(r=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message} +${n.stack}`:r}function Ws(n,e){if(!(n instanceof e))throw new Error(`expected instance of ${e.name}`);return n.ptr}var vr=32;function Vs(n){if(vr==1)throw new Error("out of js stack");return Ke[--vr]=n,vr}function Ei(n,e){try{return n.apply(this,e)}catch(t){M.__wbindgen_exn_store(Et(t))}}var Kt=class{static __wrap(e){let t=Object.create(Kt.prototype);return t.ptr=e,t}__destroy_into_raw(){let e=this.ptr;return this.ptr=0,e}free(){let e=this.__destroy_into_raw();M.__wbg_parserconfig_free(e)}get interpolate(){let e=M.__wbg_get_parserconfig_interpolate(this.ptr);return String.fromCodePoint(e)}set interpolate(e){M.__wbg_set_parserconfig_interpolate(this.ptr,e.codePointAt(0))}get execution(){let e=M.__wbg_get_parserconfig_execution(this.ptr);return String.fromCodePoint(e)}set execution(e){M.__wbg_set_parserconfig_execution(this.ptr,e.codePointAt(0))}get single_whitespace(){let e=M.__wbg_get_parserconfig_single_whitespace(this.ptr);return String.fromCodePoint(e)}set single_whitespace(e){M.__wbg_set_parserconfig_single_whitespace(this.ptr,e.codePointAt(0))}get multiple_whitespace(){let e=M.__wbg_get_parserconfig_multiple_whitespace(this.ptr);return String.fromCodePoint(e)}set multiple_whitespace(e){M.__wbg_set_parserconfig_multiple_whitespace(this.ptr,e.codePointAt(0))}constructor(e,t,r,i,o,a,l){let c=gt(e,M.__wbindgen_malloc,M.__wbindgen_realloc),d=Re,m=gt(t,M.__wbindgen_malloc,M.__wbindgen_realloc),_=Re,w=gt(l,M.__wbindgen_malloc,M.__wbindgen_realloc),b=Re,S=M.parserconfig_new(c,d,m,_,r.codePointAt(0),i.codePointAt(0),o.codePointAt(0),a.codePointAt(0),w,b);return Kt.__wrap(S)}get opening_tag(){try{let r=M.__wbindgen_add_to_stack_pointer(-16);M.parserconfig_opening_tag(r,this.ptr);var e=Ne()[r/4+0],t=Ne()[r/4+1];return bt(e,t)}finally{M.__wbindgen_add_to_stack_pointer(16),M.__wbindgen_free(e,t)}}set opening_tag(e){let t=gt(e,M.__wbindgen_malloc,M.__wbindgen_realloc),r=Re;M.parserconfig_set_opening_tag(this.ptr,t,r)}get closing_tag(){try{let r=M.__wbindgen_add_to_stack_pointer(-16);M.parserconfig_closing_tag(r,this.ptr);var e=Ne()[r/4+0],t=Ne()[r/4+1];return bt(e,t)}finally{M.__wbindgen_add_to_stack_pointer(16),M.__wbindgen_free(e,t)}}set closing_tag(e){let t=gt(e,M.__wbindgen_malloc,M.__wbindgen_realloc),r=Re;M.parserconfig_set_closing_tag(this.ptr,t,r)}get global_var(){try{let r=M.__wbindgen_add_to_stack_pointer(-16);M.parserconfig_global_var(r,this.ptr);var e=Ne()[r/4+0],t=Ne()[r/4+1];return bt(e,t)}finally{M.__wbindgen_add_to_stack_pointer(16),M.__wbindgen_free(e,t)}}set global_var(e){let t=gt(e,M.__wbindgen_malloc,M.__wbindgen_realloc),r=Re;M.parserconfig_set_global_var(this.ptr,t,r)}},sn=class{static __wrap(e){let t=Object.create(sn.prototype);return t.ptr=e,t}__destroy_into_raw(){let e=this.ptr;return this.ptr=0,e}free(){let e=this.__destroy_into_raw();M.__wbg_renderer_free(e)}constructor(e){Ws(e,Kt);var t=e.ptr;e.ptr=0;let r=M.renderer_new(t);return sn.__wrap(r)}render_content(e,t){try{let a=M.__wbindgen_add_to_stack_pointer(-16),l=gt(e,M.__wbindgen_malloc,M.__wbindgen_realloc),c=Re;M.renderer_render_content(a,this.ptr,l,c,Vs(t));var r=Ne()[a/4+0],i=Ne()[a/4+1],o=Ne()[a/4+2];if(o)throw wi(i);return wi(r)}finally{M.__wbindgen_add_to_stack_pointer(16),Ke[vr++]=void 0}}};async function zs(n,e){if(typeof Response=="function"&&n instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(n,e)}catch(r){if(n.headers.get("Content-Type")!="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",r);else throw r}let t=await n.arrayBuffer();return await WebAssembly.instantiate(t,e)}else{let t=await WebAssembly.instantiate(n,e);return t instanceof WebAssembly.Instance?{instance:t,module:n}:t}}function Js(){let n={};return n.wbg={},n.wbg.__wbindgen_object_drop_ref=function(e){wi(e)},n.wbg.__wbindgen_string_new=function(e,t){let r=bt(e,t);return Et(r)},n.wbg.__wbindgen_string_get=function(e,t){let r=Pe(t),i=typeof r=="string"?r:void 0;var o=Gs(i)?0:gt(i,M.__wbindgen_malloc,M.__wbindgen_realloc),a=Re;Ne()[e/4+1]=a,Ne()[e/4+0]=o},n.wbg.__wbg_call_97ae9d8645dc388b=function(){return Ei(function(e,t){let r=Pe(e).call(Pe(t));return Et(r)},arguments)},n.wbg.__wbg_new_8d2af00bc1e329ee=function(e,t){let r=new Error(bt(e,t));return Et(r)},n.wbg.__wbg_message_fe2af63ccc8985bc=function(e){let t=Pe(e).message;return Et(t)},n.wbg.__wbg_newwithargs_8fe23e3842840c8e=function(e,t,r,i){let o=new Function(bt(e,t),bt(r,i));return Et(o)},n.wbg.__wbg_call_168da88779e35f61=function(){return Ei(function(e,t,r){let i=Pe(e).call(Pe(t),Pe(r));return Et(i)},arguments)},n.wbg.__wbg_call_3999bee59e9f7719=function(){return Ei(function(e,t,r,i){let o=Pe(e).call(Pe(t),Pe(r),Pe(i));return Et(o)},arguments)},n.wbg.__wbindgen_debug_string=function(e,t){let r=bi(Pe(t)),i=gt(r,M.__wbindgen_malloc,M.__wbindgen_realloc),o=Re;Ne()[e/4+1]=o,Ne()[e/4+0]=i},n.wbg.__wbindgen_throw=function(e,t){throw new Error(bt(e,t))},n}function Qs(n,e){}function Xs(n,e){return M=n.exports,Vo.__wbindgen_wasm_module=e,jr=new Int32Array,_r=new Uint8Array,M}async function Vo(n){typeof n=="undefined"&&(n=new URL("rusty_engine_bg.wasm",Zs.url));let e=Js();(typeof n=="string"||typeof Request=="function"&&n instanceof Request||typeof URL=="function"&&n instanceof URL)&&(n=fetch(n)),Qs(e);let{instance:t,module:r}=await zs(await n,e);return Xs(t,r)}var zo=Vo;var Jo=zi("AGFzbQEAAAABvwEaYAJ/fwBgAn9/AX9gAX8Bf2ADf39/AX9gA39/fwBgAX8AYAV/f39/fwBgBH9/f38AYAR/f39/AX9gAABgBX9/f39/AX9gAX8BfmAAAX9gBn9/f39/fwBgB39/f39/f38AYAV/f35/fwBgBX9/fX9/AGAFf398f38AYAR/fn9/AGAFf35/f38AYAR/fX9/AGAEf3x/fwBgBn9/f39/fwF/YAd/f39/f39/AX9gCn9/f39/f39/f38Bf2ACfn8BfwLkAgsDd2JnGl9fd2JpbmRnZW5fb2JqZWN0X2Ryb3BfcmVmAAUDd2JnFV9fd2JpbmRnZW5fc3RyaW5nX25ldwABA3diZxVfX3diaW5kZ2VuX3N0cmluZ19nZXQAAAN3YmcbX193YmdfY2FsbF85N2FlOWQ4NjQ1ZGMzODhiAAEDd2JnGl9fd2JnX25ld184ZDJhZjAwYmMxZTMyOWVlAAEDd2JnHl9fd2JnX21lc3NhZ2VfZmUyYWY2M2NjYzg5ODViYwACA3diZyJfX3diZ19uZXd3aXRoYXJnc184ZmUyM2UzODQyODQwYzhlAAgDd2JnG19fd2JnX2NhbGxfMTY4ZGE4ODc3OWUzNWY2MQADA3diZxtfX3diZ19jYWxsXzM5OTliZWU1OWU5Zjc3MTkACAN3YmcXX193YmluZGdlbl9kZWJ1Z19zdHJpbmcAAAN3YmcQX193YmluZGdlbl90aHJvdwAAA7kBtwECBwAGAgYEBAcBBQMKCAAEBgYAAwcCAAEADgETAQQXAQICAQAAAwcZAQAFAQwABgAC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QlwFqQYCABBCXARBxIAsoAgAiCA0BQQAhAwwJC0HAscAAKAIAIQIgACAEayIBQRBBCBCXAUkEQEHAscAAQQA2AgBBuLHAACgCACEAQbixwABBADYCACACIAAQjQEgAhC8ASEDDAkLIAIgBBC6ASEAQbixwAAgATYCAEHAscAAIAA2AgAgACABEJQBIAIgBBCmASACELwBIQMMCAsgCygCCCEMQcixwAAgCygCBCIKQcixwAAoAgBqIgE2AgBBzLHAAEHMscAAKAIAIgAgASAAIAFLGzYCAAJAAkBBxLHAACgCAARAQdCxwAAhAANAIAAQpwEgCEYNAiAAKAIIIgANAAsMAgtB5LHAACgCACIARSAIIABJcg0DDAcLIAAQsQENACAAELIBIAxHDQAgACIBKAIAIgVBxLHAACgCACICTQR/IAUgASgCBGogAksFQQALDQMLQeSxwABB5LHAACgCACIAIAggCCAASxs2AgAgCCAKaiEBQdCxwAAhAAJAAkADQCABIAAoAgBHBEAgACgCCCIADQEMAgsLIAAQsQENACAAELIBIAxGDQELQcSxwAAoAgAhCUHQscAAIQACQANAIAAoAgAgCU0EQCAAEKcBIAlLDQILIAAoAggiAA0AC0EAIQALIAkgABCnASIGQRRBCBCXASIPa0FpaiIBELwBIgBBCBCXASAAayABaiIAIABBEEEIEJcBIAlqSRsiDRC8ASEOIA0gDxC6ASEAQQhBCBCXASEDQRRBCBCXASEFQRBBCBCXASECQcSxwAAgCCAIELwBIgFBCBCXASABayIBELoBIgc2AgBBvLHAACAKQQhqIAIgAyAFamogAWprIgM2AgAgByADQQFyNgIEQQhBCBCXASEFQRRBCBCXASECQRBBCBCXASEBIAcgAxC6ASABIAIgBUEIa2pqNgIEQeCxwABBgICAATYCACANIA8QpgFB0LHAACkCACEQIA5BCGpB2LHAACkCADcCACAOIBA3AgBB3LHAACAMNgIAQdSxwAAgCjYCAEHQscAAIAg2AgBB2LHAACAONgIAA0AgAEEEELoBIQEgAEEHNgIEIAYgASIAQQRqSw0ACyAJIA1GDQcgCSANIAlrIgAgCSAAELoBEIYBIAB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BKGo2AlggA0HEAGpBmIrAACADQcgAahAeDQUgAygCHEUNACADKAIYEBULIAdBDmohBgJAIAdBDGotAABFBEAgA0ECNgIsIAMgCTYCKCADIAA2AhggA0EBNgJcIANCAjcCTCADQfSEwAA2AkggAyADQShqNgJYIANBGGpBmIrAACADQcgAahAeDQcgA0ECNgI0IANBoIXAADYCMCADQQE2AiwgAyAFNgIoIAMgADYCGCADQQI2AlwgA0IDNwJMIANBmITAADYCSCADIANBKGo2AlggA0EYakGYisAAIANByABqEB5FDQFBq4HAAEErIANByABqQdiBwABBqIXAABBSAAsgA0ECNgIsIAMgCTYCKCADIAA2AhggA0EBNgJcIANCAjcCTCADQcSEwAA2AkggAyADQShqNgJYIANBGGpBmIrAACADQcgAahAeDQcLQQALIQQgCiABQRBqIgFHDQALIARFDQAgAyAEKAIAIAQoAgRBACAGIAYtAABBAkYbQQEQECADQRhqIAMoAgAgAygCBBASIANBNGpBATYCACADQQE2AiwgAyAFNgIoIAMgA0EYajYCMCADIAA2AkQgA0HcAGpBAjYCACADQgM3AkwgA0GYhMAANgJIIAMgA0EoajYCWCADQcQAakGYisAAIANByABqEB4NBSADKAIcRQ0AIAMoAhgQFQsgAEEEaigCACAAQQhqIgQoAgAiAWtBJ00EQCAAIAFBKBBBIAQoAgAhAQsgBCABQShqNgIAIAAoAgAgAWoiAUHIhcAAKQAANwAAIAFBCGpB0IXAACkAADcAACABQRBqQdiFwAApAAA3AAAgAUEYakHghcAAKQAANwAAIAFBIGpB6IXAACkAADcAACADQTxqQQI2AgAgA0E0akEBNgIAIANBoIXAADYCOCADIAU2AjAgA0EBNgIsIAMgBTYCKCADIAA2AhggA0HcAGoiAUEDNgIAIANCBDcCTCADQZiGwAA2AkggAyADQShqNgJYIANBGGpBmIrAACADQcgAahAeDQUgA0EBNgIsIAMgBTYCKCADIAA2AhggAUEBNgIAIANCAjcCTCADQdCGwAA2AkggAyADQShqNgJYIANBGGpBmIrAACADQcgAahAeDQYgAkEEaigCAARAIAgQFQsgA0HgAGokAA8LQauBwABBKyADQcgAakHYgcAAQYCEwAAQUgALQauBwABBKyADQcgAakHYgcAAQbCEwAAQUgALQauBwABBKyADQcgAakHYgcAAQYSFwAAQUgALQauBwABBKyADQcgAakHYgcAAQdSEwAAQUgALQauBwABBKyADQcgAakHYgcAAQbiFwAAQUgALQauBwABBKyADQcgAakHYgcAAQbiGwAAQUgALQauBwABBKyADQcgAakHYgcAAQeCGwAAQUgAL7QkCCH8GfiMAQdAAayIDJAACQAJAAkAQVCIEBEAgA0EgakIANwMAIANBHGpBkIrAADYCACAEIAQpAwAiC0IBfDcDACADQQA2AhggAyALNwMIIAMgBEEIaikDADcDECADQqeAgIDwBDcDSCADQo2AgICgDjcDQCADQoqAgIDgDTcDOCADQtyAgIDACzcDMCADQQhqIANBMGoQGSADQQA2AjggA0IENwMwIAJFBEAgAEEANgIIIABCATcCAEEEIQRBBCEBDAQLIAEgAmohCEEAIQIDQAJ/IAEsAAAiBEF/SgRAIARB/wFxIQQgAUEBagwBCyABLQABQT9xIQUgBEEfcSEGIARBX00EQCAGQQZ0IAVyIQQgAUECagwBCyABLQACQT9xIAVBBnRyIQUgBEFwSQRAIAUgBkEMdHIhBCABQQNqDAELIAZBEnRBgIDwAHEgAS0AA0E/cSAFQQZ0cnIiBEGAgMQARg0EIAFBBGoLIQEgAyAENgIsAkAgA0EIaiADQSxqECJFBEAgAygCLCECIAMoAjgiBCADKAI0RgRAIANBMGogBBA+IAMoAjghBAsgAygCMCAEQQJ0aiACNgIADAELIAMoAjgiBCADKAI0RgRAIANBMGogBBA+IAMoAjghBAsgAygCMCAEQQJ0akHcADYCACADIAMoAjhBAWoiAjYCOCADKAIkRQ0DIAMoAhgiBiADKQMQIgsgAygCLCIJrUKAgICAgICAgASEIgyFQvPK0cunjNmy9ACFIg1CEIkgDSADKQMIIg5C4eSV89bs2bzsAIV8Ig2FIg8gC0Lt3pHzlszct+QAhSILIA5C9crNg9es27fzAIV8Ig5CIIl8IhAgDIUgDS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qKAIAIABBCGoiBCgCACIDayABSQRAIAAgAyABEEIgBCgCACEDCyAAKAIAIANqIAJBDGogARC5ARogBCABIANqNgIACyACQRBqJAAL1wIBA38jAEEQayICJAACQAJ/AkACQCABQYABTwRAIAJBADYCDCABQYAQSQ0BIAFBgIAETw0CIAIgAUE/cUGAAXI6AA4gAiABQQx2QeABcjoADCACIAFBBnZBP3FBgAFyOgANQQMMAwsgACgCCCIDIABBBGooAgBGBEAgACADEEMgACgCCCEDCyAAIANBAWo2AgggACgCACADaiABOgAADAMLIAIgAUE/cUGAAXI6AA0gAiABQQZ2QcABcjoADEECDAELIAIgAUE/cUGAAXI6AA8gAiABQQZ2QT9xQYABcjoADiACIAFBDHZBP3FBgAFyOgANIAIgAUESdkEHcUHwAXI6AAxBBAshASAAQQRqKAIAIABBCGoiBCgCACIDayABSQRAIAAgAyABEEIgBCgCACEDCyAAKAIAIANqIAJBDGogARC5ARogBCABIANqNgIACyACQRBqJAALtgIBB38CQCACQQ9NBEAgACEDDAELIABBACAAa0EDcSIEaiEFIAQEQCAAIQMgASEGA0AgAyAGLQAAOgAAIAZBAWohBiADQQFqIgMgBUkNAAsLIAUgAiAEayIIQXxxIgdqIQMCQCABIARqIgRBA3EEQCAHQQFIDQEgBEEDdCICQRhxIQkgBEF8cSIGQQRqIQFBACACa0EYcSECIAYoAgAhBgNAIAUgBiAJdiABKAIAIgYgAnRyNgIAIAFBBGohASAFQQRqIgUgA0kNAAsMAQsgB0EBSA0AIAQhAQNAIAUgASgCADYCACABQQRqIQEgBUEEaiIFIANJDQALCyAIQQNxIQIgBCAHaiEBCyACBEAgAiADaiECA0AgAyABLQAAOgAAIAFBAWohASADQQFqIgMgAkkNAAsLIAALvgIBBX8CQAJAAkACQCACQQNqQXxxIAJrIgRFDQAgAyAEIAQgA0sbIgRFDQAgAUH/AXEhB0EBIQYDQCACIAVqLQAAIAdGDQQgBCAFQQFqIgVHDQALIAQgA0F4aiIGSw0CDAELIANBeGohBkEAIQQLIAFB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A0sbIgFBBCABQQRLGyIBQf////8DcSABRkECdCEDIAFBAnQhBgJAIAVFBEBBACEEDAELIAIgBUECdDYCFCACIAAoAgA2AhALIAIgBDYCGCACIAYgAyACQRBqEEsgAigCAARAIAJBCGooAgAiAEUNASACKAIEIAAQswEACyACKAIEIQMgAEEEaiABNgIAIAAgAzYCACACQSBqJAAPCxBzAAu3AQEEfyAAKAIAIgEgACgCBEYEQEGAgMQADwsgACABQQFqNgIAIAEtAAAiA0EYdEEYdUF/TAR/IAAgAUECajYCACABLQABQT9xIQIgA0EfcSEEIANB3wFNBEAgBEEGdCACcg8LIAAgAUEDajYCACABLQACQT9xIAJBBnRyIQIgA0HwAUkEQCACIARBDHRyDwsgACABQQRqNgIAIARBEnRBgIDwAHEgAS0AA0E/cSACQQZ0cnIFIAMLC68BAQN/IwBBIGsiAiQAAkAgAUEBaiIDIAFJDQAgAEEEaigCACIBQQF0IgQgAyAEIANLGyIDQQggA0EISxshAyACIAEEfyACIAE2AhQgAiAAKAIANgIQQQEFQQALNgIYIAIgA0EBIAJBEGoQSyACKAIABEAgAkEIaigCACIARQ0BIAIoAgQgABCzAQALIAIoAgQhASAAQQRqIAM2AgAgACABNgIAIAJBIGokAA8LEHMAC68BAQJ/IwBBIGsiAyQAAkAgASACaiICIAFJDQAgAEEEaigCACIBQQF0IgQgAiAEIAJLGyICQQggAkEISxshBCADIAEEfyADIAE2AhQgAyAAKAIANgIQQQEFQQALNgIYIAMgBEEBIANBEGoQSyADKAIABEAgA0EIaigCACIARQ0BIAMoAgQgABCzAQALIAMoAgQhASAAQQRqIAQ2AgAgACABNgIAIANBIGokAA8LEHMAC60BAQJ/IwBBIGsiAyQAAkAgASACaiICIAFJDQAgAEEEaigCACIBQQF0IgQgAiAEIAJLGyICQQggAkEISxshBCADIAEEfyADIAE2AhQgAyAAKAIANgIQQQEFQQALNgIYIAMgBCADQRBqEEogAygCAARAIANBCGooAgAiAEUNASADKAIEIAAQswEACyADKAIEIQEgAEEEaiAENg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AgAhAQJAIAMoAgQiAiADKAIIIgRNBEAgASECDAELIARFBEBBASECIAEQFQwBCyABIAJBASAEEJkBIgJFDQMLIAAgBDYCBCAAIAI2AgAgA0EQaiQADwsQrQEACxCuAQALIARBARCzAQALrAEBA38jAEEQayIDJAACQAJAIAEEQCABKAIAIgJBf0YNASABIAJBAWo2AgAgAyABQSxqEGEgASABKAIAQX9qNgIAIAMoAgAhAQJAIAMoAgQiAiADKAIIIgRNBEAgASECDAELIARFBEBBASECIAEQFQwBCyABIAJBASAEEJkBIgJFDQMLIAAgBDYCBCAAIAI2AgAgA0EQaiQADwsQrQEACxCuAQALIARBARCzAQALrAEBA38jAEEwayICJAAgAUEEaiEDIAEoAgRFBEAgASgCACEBIAJBEGoiBEEANgIAIAJCATcDCCACIAJBCGo2AhQgAkEoaiABQRBqKQIANwMAIAJBIGogAUEIaikCADcDACACIAEpAgA3AxggAkEUakGAjsAAIAJBGGoQHhogA0EIaiAEKAIANgIAIAMgAikDCDcCAAsgAEHoj8AANgIEIAAgAzYCACACQTBqJAALkAEBAn8CQAJ/AkACQAJAAn9BASIDIAFBAEgNABogAigCCEUNAiACKAIEIgQNASABDQNBAQwECyEDQQAhAQwECyACKAIAIARBASABEJkBDAILIAENAEEBDAELIAFBARCeAQsiAgRAIAAgAjYCBEEAIQMMAQsgACABNgIEQQEhAQsgACADNgIAIABBCGogATYCAAunAQECfwJAAkACQAJAAkACQAJAAn8gAgRAQQEiBCABQQBIDQEaIAMoAghFDQMgAygCBCIFDQIgAQ0EDAYLIAAgATYCBEEBCyEEQQAhAQwGCyADKAIAIAUgAiABEJkBIgNFDQIMBAsgAUUNAgsgASACEJ4BIgMNAgsgACABNgIEIAIhAQwCCyACIQMLIAAgAzYCBEEAIQQLIAAgBDYCACAAQQhqIAE2AgALlwEBAX8jAEEQayIGJAAgAQRAIAYgASADIAQgBSACKAIQEQYAIAYoAgAhAQJAIAYoAgQiAyAGKAIIIgJNBEAgASEDDAELIANBAnQhAyACQQJ0I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iAgAkEIakHIl8AAEHQAC28BAX8jAEEwayICJAAgAiABNgIEIAIgADYCACACQRxqQQI2AgAgAkEsakEDNgIAIAJCAjcCDCACQfSWwAA2AgggAkEDNgIkIAIgAkEgajYCGCACIAJBBGo2AiggAiACNgIgIAJBCGpBhJfAABB0AAtsAQF/IwBBMGsiAyQAIAMgATYCBCADIAA2AgAgA0EcakECNgIAIANBLGpBAzYCACADQgI3AgwgA0HAk8AANgIIIANBAzYCJCADIANBIGo2AhggAyADNgIoIAMgA0EEajYCICADQQhqIAIQdAALVgECfyMAQSBrIgIkACAAQRxqKAIAIQMgACgCGCACQRhqIAFBEGopAgA3AwAgAkEQaiABQQhqKQIANwMAIAIgASkCADcDCCADIAJBCGoQHiACQSBqJAALWQEBfyMAQSBrIgIkACACIAAoAgA2AgQgAkEYaiABQRBqKQIANwMAIAJBEGogAUEIaikCADcDACACIAEpAgA3AwggAkEEakGYisAAIAJBCGoQHiACQSBqJAALWQEBfyMAQSBrIgIkACACIAAoAgA2AgQgAkEYaiABQRBqKQIANwMAIAJBEGogAUEIaikCADcDACACIAEpAgA3AwggAkEEakGAjsAAIAJBCGoQHiACQSBqJAALZwAjAEEwayIBJABB2K3AAC0AAARAIAFBHGpBATYCACABQgI3AgwgAUH0jsAANgIIIAFBAzYCJCABIAA2AiwgASABQSBqNgIYIAEgAUEsajYCICABQQhqQZyPwAAQdAALIAFBMGokAAtZAQF/IwBBIGsiAiQAIAIgACgCADYCBCACQRhqIAFBEGopAgA3AwAgAkEQaiABQQhqKQIANwMAIAIgASkCADcDCCACQQRqQbSRwAAgAkEIahAeIAJBIGokAAtnAQJ/IAEoAgAhAwJAAkACQCABQQhqKAIAIgFFBEBBASECDAELIAFBf0wNASABQQEQngEiAkUNAgsgAiADIAEQuQEhAiAAIAE2AgggACABNgIEIAAgAjYCAA8LEHMACyABQQEQswEAC1YBAX8jAEEgayICJAAgAiAANgIEIAJBGGogAUEQaikCADcDACACQRBqIAFBCGopAgA3AwAgAiABKQI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gMkACABKAIAIAIoAgAQAyEBIANBCGoQgwEgAygCDCECIAAgAygCCCIEQQBHNgIAIAAgAiABIAQbNgIEIANBEGokAAtLAAJAAn8gAUGAgMQARwRAQQEgACgCGCABIABBHGooAgAoAhARAQANARoLIAINAUEACw8LIAAoAhggAiADIABBHGooAgAoAgwRAwALRwEBfyMAQSBrIgIkACACQRRqQQA2AgAgAkGAk8AANgIQIAJCATcCBCACQSs2AhwgAiAANgIYIAIgAkEYajYCACACIAEQdAALRgECfyABKAIEIQIgASgCACEDQQhBBBCeASIBRQRAQQhBBBCzAQALIAEgAjYCBCABIAM2AgAgAEH4j8AANgIEIAAgATYCAAs5AQF/IAFBEHZAACECIABBADYCCCAAQQAgAUGAgHxxIAJBf0YiARs2AgQgAEEAIAJBEHQgARs2AgALZAEDfyMAQRBrIgEkACAAKAIMIgJFBEBBmI7AAEHIj8AAEG8ACyAAKAIIIgNFBEBBmI7AAEHYj8AAEG8ACyABIAI2AgggASAANgIEIAEgAzYCACABKAIAIAEoAgQgASgCCBBQAAs/AQF/IwBBIGsiACQAIABBHGpBADYCACAAQcyRwAA2AhggAEIBNwIMIABBjJLAADYCCCAAQQhqQZSSwAAQdAALPgEBfyMAQSBrIgIkACACQQE6ABggAiABNgIUIAIgADYCECACQfyTwAA2AgwgAkGAk8AANgIIIAJBCGoQcgALKwACQCAAQXxLDQAgAEUEQEEEDwsgACAAQX1JQQJ0EJ4BIgBFDQAgAA8LAAsiACMAQRBrIgAkACAAQQhqIAEQfSAAQQhqEFMgAEEQaiQACysAAkAgAARAIAAoAgANASAAQQA2AgAgAEEcaiABNgIADwsQrQEACxCuAQALKwACQCAABEAgACgCAA0BIABBADYCACAAQSBqIAE2AgAPCxCtAQALEK4BAAsrAAJAIAAEQCAAKAIADQEgAEEANgIAIABBJGogATYCAA8LEK0BAAsQrgEACysAAkAgAARAIAAoAgANASAAQQA2AgAgAEEoaiABNgIADwsQrQEACxCuAQALQAEBfyMAQRBrIgQkACAEIAM2AgwgBCACNgIIIAQgATYCBCAEIAA2AgAgBCgCACAEKAIEIAQoAgggBCgCDBATAAs3ACAAQQM6ACAgAEKAgICAgAQ3AgAgACABNgIYIABBADYCECAAQQA2AgggAEEcakHEh8AANgIACzUBAX8gASgCGEHDjsAAQQsgAUEcaigCACgCDBEDACECIABBADoABSAAIAI6AAQgACABNgIACyUAAkAgAARAIAAoAgBBf0YNASAAQRxqKAIADwsQrQEACxCuAQALJQACQCAABEAgACgCAEF/Rg0BIABBIGooAgAPCxCtAQALEK4BAAslAAJAIAAEQCAAKAIAQX9GDQEgAEEkaigCAA8LEK0BAAsQrgEACyUAAkAgAARAIAAoAgBBf0YNASAAQShqKAIADwsQrQEACxCuAQALJwAgACAAKAIEQQFxIAFyQQJyNgIEIAAgAWoiACAAKAIEQQFyNgIECzoBAn9B3K3AAC0AACEBQdytwABBADoAAEHgrcAAKAIAIQJB4K3AAEEANgIAIAAgAjYCBCAAIAE2AgALIAEBfwJAIAAoAgQiAUUNACAAQQhqKAIARQ0AIAEQFQsLHwACQCABQXxNBEAgACABQQQgAhCZASIADQELAAsgAAsjACACIAIoAgRBfnE2AgQgACABQQFyNgIEIAAgAWogATYCAAslACAARQRAQciMwABBMBCsAQALIAAgAiADIAQgBSABKAIQEQoACyMAIABFBEBByIzAAEEwEKwBAAsgACACIAMgBCABKAIQEQgACyMAIABFBEBByIzAAEEwEKwBAAsgACACIAMgBCABKAIQEQcACyMAIABFBEBByIzAAEEwEKwBAAsgACACIAMgBCABKAIQERUACyMAIABFBEBByIzAAEEwEKwBAAsgACACIAMgBCABKAIQERIACyMAIABFBEBByIzAAEEwEKwBAAsgACACIAMgBCABKAIQERQACx4AIAAgAUEDcjYCBCAAIAFqIgAgACgCBEEBcjYCBAsUACAAQQRqKAIABEAgACgCABAVCwshACAARQRAQciMwABBMBCsAQALIAAgAiADIAEoAhARBAALHwAgAEUEQEHIjMAAQTAQrAEACyAAIAIgASgCEBEBAAsZAQF/IAAoAhAiAQR/IAEFIABBFGoo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wABAQMEBQgIAgceBJQDADcEMggBDgEWBQEPAAcBEQIHAQIBBQAHAAE9BAAHbQcAYIDwAACAFgAAACAgAQAwYAEBMHECCQUSAWQBGgEAAQALHQIFAS8BAAEAewlwcm9kdWNlcnMCCGxhbmd1YWdlAQRSdXN0AAxwcm9jZXNzZWQtYnkDBXJ1c3RjHTEuNjQuMCAoYTU1ZGQ3MWQ1IDIwMjItMDktMTkpBndhbHJ1cwYwLjE5LjAMd2FzbS1iaW5kZ2VuEjAuMi44MyAoZWJhNjkxZjM4KQ==");var Ti=class{async init(){await zo(Jo);let e=new Kt("<%","%>","\0","*","-","_","tR");this.renderer=new sn(e)}async parse_commands(e,t){return this.renderer.render_content(e,t)}};var Ze;(function(a){a[a.CreateNewFromTemplate=0]="CreateNewFromTemplate",a[a.AppendActiveFile=1]="AppendActiveFile",a[a.OverwriteFile=2]="OverwriteFile",a[a.OverwriteActiveFile=3]="OverwriteActiveFile",a[a.DynamicProcessor=4]="DynamicProcessor",a[a.StartupTemplate=5]="StartupTemplate"})(Ze||(Ze={}));var Pn=class{constructor(e){this.plugin=e;this.functions_generator=new vi(this.plugin),this.parser=new Ti}async setup(){this.files_with_pending_templates=new Set,await this.parser.init(),await this.functions_generator.init(),this.plugin.registerMarkdownPostProcessor((e,t)=>this.process_dynamic_templates(e,t))}create_running_config(e,t,r){let i=Xt(this.plugin.app);return{template_file:e,target_file:t,run_mode:r,active_file:i}}async read_and_parse_template(e){let t=await this.plugin.app.vault.read(e.template_file);return this.parse_template(e,t)}async parse_template(e,t){let r=await this.functions_generator.generate_object(e,Xe.USER_INTERNAL);return this.current_functions_object=r,await this.parser.parse_commands(t,r)}start_templater_task(e){this.files_with_pending_templates.add(e)}async end_templater_task(e){this.files_with_pending_templates.delete(e),this.files_with_pending_templates.size===0&&(this.plugin.app.workspace.trigger("templater:all-templates-executed"),await this.functions_generator.teardown())}async create_new_note_from_template(e,t,r,i=!0){if(!t)switch(this.plugin.app.vault.getConfig("newFileLocation")){case"current":{let _=Xt(this.plugin.app);_&&(t=_.parent);break}case"folder":t=this.plugin.app.fileManager.getNewFileParent("");break;case"root":t=this.plugin.app.vault.getRoot();break;default:break}let o=e instanceof de.TFile&&e.extension||"md",a=await Se(async()=>{let m=t instanceof de.TFolder?t.path:t,_=this.plugin.app.vault.getAvailablePath((0,de.normalizePath)(`${m??""}/${r||"Untitled"}`),o),w=lo(_);return w&&!this.plugin.app.vault.getAbstractFileByPathInsensitive(w)&&await this.plugin.app.vault.createFolder(w),this.plugin.app.vault.create(_,"")},`Couldn't create ${o} file.`);if(a==null)return;let{path:l}=a;this.start_templater_task(l);let c,d;if(e instanceof de.TFile?(c=this.create_running_config(e,a,0),d=await Se(async()=>this.read_and_parse_template(c),"Template parsing error, aborting.")):(c=this.create_running_config(void 0,a,0),d=await Se(async()=>this.parse_template(c,e),"Template parsing error, aborting.")),d==null){await this.plugin.app.vault.delete(a),await this.end_templater_task(l);return}if(await this.plugin.app.vault.modify(a,d),this.plugin.app.workspace.trigger("templater:new-note-from-template",{file:a,content:d}),i){let m=this.plugin.app.workspace.getLeaf(!1);if(!m){oe(new P("No active leaf"));return}await m.openFile(a,{state:{mode:"source"}}),await this.plugin.editor_handler.jump_to_next_cursor_location(a,!0),m.setEphemeralState({rename:"all"})}return await this.end_templater_task(l),a}async append_template_to_active_file(e){let t=this.plugin.app.workspace.getActiveViewOfType(de.MarkdownView),r=this.plugin.app.workspace.activeEditor;if(!r||!r.file||!r.editor){oe(new P("No active editor, can't append templates."));return}let{path:i}=r.file;this.start_templater_task(i);let o=this.create_running_config(e,r.file,1),a=await Se(async()=>this.read_and_parse_template(o),"Template parsing error, aborting.");if(a==null){await this.end_templater_task(i);return}let{content:l,frontmatter:c}=yn(a),m=r.editor.getDoc(),_=m.listSelections();m.replaceSelection(l),t&&(Object.keys(c).length>0&&t instanceof de.MarkdownView&&typeof t.metadataEditor?.insertProperties=="function"&&t.metadataEditor.insertProperties(c),await jt(100),await t.save()),this.plugin.app.workspace.trigger("templater:template-appended",{view:t,editor:r,content:a,oldSelections:_,newSelections:m.listSelections()}),await this.plugin.editor_handler.jump_to_next_cursor_location(r.file,!0),await this.end_templater_task(i)}async write_template_to_file(e,t){let{path:r}=t;this.start_templater_task(r);let i=this.plugin.app.workspace.getActiveViewOfType(de.MarkdownView),o=this.plugin.app.workspace.activeEditor,a=Xt(this.plugin.app),l=this.create_running_config(e,t,2),c=await Se(async()=>this.read_and_parse_template(l),"Template parsing error, aborting.");if(c==null){await this.end_templater_task(r);return}let{content:d,frontmatter:m}=yn(c);if(a?.path===t.path&&o&&o.editor&&i){let _="",{content:w,frontmatter:b}=yn(o.editor.getValue());pr(b,m),Object.keys(b).length>0&&(_+=`--- +${(0,de.stringifyYaml)(b)}--- +`),_+=w+d,o.editor.setValue(_),o.editor.setSelection({line:0,ch:0},{line:0,ch:0}),await jt(100),await i.save()}else await this.plugin.app.vault.process(t,_=>{let w="",{content:b,frontmatter:S}=yn(_);return pr(S,m),Object.keys(S).length>0&&(w+=`--- +${(0,de.stringifyYaml)(S)}--- +`),w+=b+d,c=w,w});this.plugin.app.workspace.trigger("templater:new-note-from-template",{file:t,content:c}),await this.plugin.editor_handler.jump_to_next_cursor_location(t,!0),await this.end_templater_task(r)}overwrite_active_file_commands(){let e=this.plugin.app.workspace.activeEditor;if(!e||!e.file){oe(new P("Active editor is null, can't overwrite content"));return}this.overwrite_file_commands(e.file,!0)}async overwrite_file_commands(e,t=!1){let{path:r}=e;this.start_templater_task(r);let i=this.create_running_config(e,e,t?3:2),o=await Se(async()=>this.read_and_parse_template(i),"Template parsing error, aborting.");if(o==null){await this.end_templater_task(r);return}await this.plugin.app.vault.modify(e,o),this.plugin.app.workspace.trigger("templater:overwrite-file",{file:e,content:o}),await this.plugin.editor_handler.jump_to_next_cursor_location(e,!0),await this.end_templater_task(r)}async process_dynamic_templates(e,t){let r=so(),i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT),o,a=!1,l;for(;o=i.nextNode();){let c=o.nodeValue;if(c!==null){let d=r.exec(c);if(d!==null){let m=this.plugin.app.metadataCache.getFirstLinkpathDest("",t.sourcePath);if(!m||!(m instanceof de.TFile))return;if(!a){a=!0;let _=this.create_running_config(m,m,4);l=await this.functions_generator.generate_object(_,Xe.USER_INTERNAL),this.current_functions_object=l}}for(;d!=null;){let m=d[1]+d[2],_=await Se(async()=>await this.parser.parse_commands(m,l),`Command Parsing error in dynamic command '${m}'`);if(_==null)return;let w=r.lastIndex-d[0].length,b=r.lastIndex;c=c.substring(0,w)+_+c.substring(b),r.lastIndex+=_.length-d[0].length,d=r.exec(c)}o.nodeValue=c}}}get_new_file_template_for_folder(e){do{let t=this.plugin.settings.folder_templates.find(r=>r.folder==e.path);if(t&&t.template)return t.template;e=e.parent}while(e)}get_new_file_template_for_file(e){let t=this.plugin.settings.file_templates.find(r=>new RegExp(r.regex).test(e.path));if(t&&t.template)return t.template}static async on_file_creation(e,t,r){if(!(r instanceof de.TFile)||r.extension!=="md")return;let i=(0,de.normalizePath)(e.plugin.settings.templates_folder);if(r.path.includes(i)&&i!=="/"||(await jt(300),e.files_with_pending_templates.has(r.path)))return;let o=await t.vault.read(r),a=(0,de.getFrontMatterInfo)(o),l=o.length-a.contentStart;if(l==0&&e.plugin.settings.enable_folder_templates){let c=e.get_new_file_template_for_folder(r.parent);if(!c)return;let d=await Se(async()=>Nt(t,c),`Couldn't find template ${c}`);if(d==null)return;await e.write_template_to_file(d,r)}else if(l==0&&e.plugin.settings.enable_file_templates){let c=e.get_new_file_template_for_file(r);if(!c)return;let d=await Se(async()=>Nt(t,c),`Couldn't find template ${c}`);if(d==null)return;await e.write_template_to_file(d,r)}else{let c=1e5;r.stat.size<=c?await e.overwrite_file_commands(r):console.log(`Templater skipped parsing ${r.path} because file size exceeds ${c}`)}}async execute_startup_scripts(){for(let e of this.plugin.settings.startup_templates){if(!e)continue;let t=Ce(()=>Nt(this.plugin.app,e),`Couldn't find startup template "${e}"`);if(!t)continue;let{path:r}=t;this.start_templater_task(r);let i=this.create_running_config(t,t,5);await Se(async()=>this.read_and_parse_template(i),"Startup Template parsing error, aborting."),await this.end_templater_task(r)}}};var Qo=X(require("obsidian")),wr=class{constructor(e,t,r){this.plugin=e;this.templater=t;this.settings=r}setup(){Array.isArray(this.plugin.app.workspace.onLayoutReadyCallbacks)?this.plugin.app.workspace.onLayoutReadyCallbacks.unshift({pluginId:this.plugin.manifest.id,callback:()=>{this.update_trigger_file_on_creation()}}):this.plugin.app.workspace.onLayoutReady(()=>{this.update_trigger_file_on_creation()}),this.update_syntax_highlighting(),this.update_file_menu()}update_syntax_highlighting(){let e=this.plugin.editor_handler.desktopShouldHighlight(),t=this.plugin.editor_handler.mobileShouldHighlight();e||t?this.plugin.editor_handler.enable_highlighter():this.plugin.editor_handler.disable_highlighter()}update_trigger_file_on_creation(){this.settings.trigger_on_file_creation?(this.trigger_on_file_creation_event=this.plugin.app.vault.on("create",e=>Pn.on_file_creation(this.templater,this.plugin.app,e)),this.plugin.registerEvent(this.trigger_on_file_creation_event)):this.trigger_on_file_creation_event&&(this.plugin.app.vault.offref(this.trigger_on_file_creation_event),this.trigger_on_file_creation_event=void 0)}update_file_menu(){this.plugin.registerEvent(this.plugin.app.workspace.on("file-menu",(e,t)=>{t instanceof Qo.TFolder&&e.addItem(r=>{r.setTitle("Create new note from template").setIcon("templater-icon").onClick(()=>{this.plugin.fuzzy_suggester.create_new_note_from_template(t)})})}))}};var br=X(require("obsidian"));var ki=class{constructor(e){this.plugin=e}setup(){this.plugin.addCommand({id:"insert-templater",name:"Open insert template modal",icon:"templater-icon",hotkeys:br.Platform.isMacOS?void 0:[{modifiers:["Alt"],key:"e"}],callback:()=>{this.plugin.fuzzy_suggester.insert_template()}}),this.plugin.addCommand({id:"replace-in-file-templater",name:"Replace templates in the active file",icon:"templater-icon",hotkeys:br.Platform.isMacOS?void 0:[{modifiers:["Alt"],key:"r"}],callback:()=>{this.plugin.templater.overwrite_active_file_commands()}}),this.plugin.addCommand({id:"jump-to-next-cursor-location",name:"Jump to next cursor location",icon:"text-cursor",hotkeys:[{modifiers:["Alt"],key:"Tab"}],callback:()=>{this.plugin.editor_handler.jump_to_next_cursor_location()}}),this.plugin.addCommand({id:"create-new-note-from-template",name:"Create new note from template",icon:"templater-icon",hotkeys:br.Platform.isMacOS?void 0:[{modifiers:["Alt"],key:"n"}],callback:()=>{this.plugin.fuzzy_suggester.create_new_note_from_template()}}),this.register_templates_hotkeys()}register_templates_hotkeys(){this.plugin.settings.enabled_templates_hotkeys.forEach(e=>{e&&this.add_template_hotkey(null,e)})}add_template_hotkey(e,t){if(this.remove_template_hotkey(e),t){let r=t.slice(this.plugin.settings.templates_folder.length+1,-3);this.plugin.addCommand({id:t,name:`Insert ${r}`,icon:"templater-icon",callback:()=>{let i=Ce(()=>Nt(this.plugin.app,t),"Couldn't find the template file associated with this hotkey");!i||this.plugin.templater.append_template_to_active_file(i)}}),this.plugin.addCommand({id:`create-${t}`,name:`Create ${r}`,icon:"templater-icon",callback:()=>{let i=Ce(()=>Nt(this.plugin.app,t),"Couldn't find the template file associated with this hotkey");!i||this.plugin.templater.create_new_note_from_template(i)}})}}remove_template_hotkey(e){e&&(this.plugin.removeCommand(`${e}`),this.plugin.removeCommand(`create-${e}`))}};var Mi=X(require("obsidian"));var Si=X(require("obsidian"));var Ci=class{constructor(e){this.app=e}async jump_to_next_cursor_location(){let e=this.app.workspace.activeEditor;if(!e||!e.editor)return;let t=e.editor.getValue(),{new_content:r,positions:i}=this.replace_and_get_cursor_positions(t);if(i){let o=e instanceof Si.MarkdownView?e.currentMode.getFoldInfo():null;e.editor.setValue(r),o&&Array.isArray(o.folds)&&(i.forEach(a=>{o.folds=o.folds.filter(l=>l.from>a.line||l.to[0-9]*)\\)\\s*%>","g");for(;(r=i.exec(e))!=null;)t.push(r);if(t.length===0)return{};t.sort((c,d)=>Number(c.groups&&c.groups.order)-Number(d.groups&&d.groups.order));let o=t[0][0];t=t.filter(c=>c[0]===o);let a=[],l=0;for(let c of t){let d=c.index-l;if(a.push(this.get_editor_position_from_index(e,d)),e=e.replace(new RegExp(ao(c[0])),""),l+=c[0].length,c[1]==="")break}return{new_content:e,positions:a}}set_cursor_location(e){let t=this.app.workspace.activeEditor;if(!t||!t.editor)return;let r=t.editor,i=[];for(let a of e)i.push({from:a});let o={selections:i};r.transaction(o)}};var ta=X(require("obsidian"));var tc={app:{name:"app",description:"This module exposes the app instance. Prefer to use this over the global app instance."},user:{name:"user",description:"This module exposes custom made scripts, written by yourself within the script file folder location"},config:{name:"config",description:`This module exposes Templater's running configuration. + +This is mostly useful when writing scripts requiring some context information. +`,functions:{template_file:{name:"template_file",description:"The `TFile` object representing the template file.",definition:"tp.config.template_file"},target_file:{name:"target_file",description:"The `TFile` object representing the target file where the template will be inserted.",definition:"tp.config.target_file"},run_mode:{name:"run_mode",description:"The `RunMode`, representing the way Templater was launched (Create new from template, Append to active file, ...).",definition:"tp.config.run_mode"},active_file:{name:"active_file",description:"The active file (if existing) when launching Templater.",definition:"tp.config.active_file?"}}},date:{name:"date",description:"This module contains every internal function related to dates.",functions:{now:{name:"now",description:"Retrieves the date.",definition:'tp.date.now(format: string = "YYYY-MM-DD", offset?: number\u23AEstring, reference?: string, reference_format?: string)',args:[{name:"format",description:'The format for the date. Defaults to `"YYYY-MM-DD"`. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/).'},{name:"offset",description:"Duration to offset the date from. If a number is provided, duration will be added to the date in days. You can also specify the offset as a string using the ISO 8601 format."},{name:"reference",description:"The date referential, e.g. set this to the note's title."},{name:"reference_format",description:"The format for the reference date. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/)."}],examples:[{name:"Date now",example:"<% tp.date.now() %>"},{name:"Date now with format",example:'<% tp.date.now("Do MMMM YYYY") %>'},{name:"Last week",example:'<% tp.date.now("YYYY-MM-DD", -7) %>'},{name:"Next week",example:'<% tp.date.now("YYYY-MM-DD", 7) %>'},{name:"Last month",example:'<% tp.date.now("YYYY-MM-DD", "P-1M") %>'},{name:"Next year",example:'<% tp.date.now("YYYY-MM-DD", "P1Y") %>'},{name:"File's title date + 1 day (tomorrow)",example:'<% tp.date.now("YYYY-MM-DD", 1, tp.file.title, "YYYY-MM-DD") %>'},{name:"File's title date - 1 day (yesterday)",example:'<% tp.date.now("YYYY-MM-DD", -1, tp.file.title, "YYYY-MM-DD") %>'}]},tomorrow:{name:"tomorrow",description:"Retrieves tomorrow's date.",definition:'tp.date.tomorrow(format: string = "YYYY-MM-DD")',args:[{name:"format",description:'The format for the date. Defaults to `"YYYY-MM-DD"`. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/).'}],examples:[{name:"Date tomorrow",example:"<% tp.date.tomorrow() %>"},{name:"Date tomorrow with format",example:'<% tp.date.tomorrow("Do MMMM YYYY") %>'}]},yesterday:{name:"yesterday",description:"Retrieves yesterday's date.",definition:'tp.date.yesterday(format: string = "YYYY-MM-DD")',args:[{name:"format",description:'The format for the date. Defaults to `"YYYY-MM-DD"`. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/).'}],examples:[{name:"Date yesterday",example:"<% tp.date.yesterday() %>"},{name:"Date yesterday with format",example:'<% tp.date.yesterday("Do MMMM YYYY") %>'}]},weekday:{name:"weekday",description:"",definition:'tp.date.weekday(format: string = "YYYY-MM-DD", weekday: number, reference?: string, reference_format?: string)',args:[{name:"format",description:'The format for the date. Defaults to `"YYYY-MM-DD"`. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/).'},{name:"weekday",description:"Week day number. If the locale assigns Monday as the first day of the week, `0` will be Monday, `-7` will be last week's day."},{name:"reference",description:"The date referential, e.g. set this to the note's title."},{name:"reference_format",description:"The format for the reference date. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/)."}],examples:[{name:"This week's Monday",example:'<% tp.date.weekday("YYYY-MM-DD", 0) %>'},{name:"Next Monday",example:'<% tp.date.weekday("YYYY-MM-DD", 7) %>'},{name:"File's title Monday",example:'<% tp.date.weekday("YYYY-MM-DD", 0, tp.file.title, "YYYY-MM-DD") %>'},{name:"File's title previous Monday",example:'<% tp.date.weekday("YYYY-MM-DD", -7, tp.file.title, "YYYY-MM-DD") %>'}]}},momentjs:{examples:[{name:"Date now",example:'<% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>'},{name:"Get start of month from note title",example:'<% moment(tp.file.title, "YYYY-MM-DD").startOf("month").format("YYYY-MM-DD") %>'},{name:"Get end of month from note title",example:'<% moment(tp.file.title, "YYYY-MM-DD").endOf("month").format("YYYY-MM-DD") %>'}]}},file:{name:"file",description:"This module contains every internal function related to files.",functions:{content:{name:"content",description:"The string contents of the file at the time that Templater was executed. Manipulating this string will *not* update the current file.",definition:"tp.file.content",examples:[{name:"Retrieve file content",example:"<% tp.file.content %>"}]},create_new:{name:"create_new",description:"Creates a new file using a specified template or with a specified content.",definition:"tp.file.create_new(template: TFile \u23AE string, filename?: string, open_new: boolean = false, folder?: TFolder | string)",args:[{name:"template",description:"Either the template used for the new file content, or the file content as a string. If it is the template to use, you retrieve it with `tp.file.find_tfile(TEMPLATENAME)`."},{name:"filename",description:'The filename of the new file, defaults to "Untitled".'},{name:"open_new",description:"Whether to open or not the newly created file. Warning: if you use this option, since commands are executed asynchronously, the file can be opened first and then other commands are appended to that new file and not the previous file."},{name:"folder",description:'The folder to put the new file in, defaults to Obsidian\'s default location. If you want the file to appear in a different folder, specify it with `"PATH/TO/FOLDERNAME"` or `tp.app.vault.getAbstractFileByPath("PATH/TO/FOLDERNAME")`.'}],examples:[{name:"File creation",example:'<%* await tp.file.create_new("MyFileContent", "MyFilename") %>'},{name:"File creation with template",example:'<%* await tp.file.create_new(tp.file.find_tfile("MyTemplate"), "MyFilename") %>'},{name:"File creation and open created note",example:'<%* await tp.file.create_new("MyFileContent", "MyFilename", true) %>'},{name:"File creation in current folder",example:'<%* await tp.file.create_new("MyFileContent", "MyFilename", false, tp.file.folder(true)) %>'},{name:"File creation in specified folder with string path",example:'<%* await tp.file.create_new("MyFileContent", "MyFilename", false, "Path/To/MyFolder") %>'},{name:"File creation in specified folder with TFolder",example:'<%* await tp.file.create_new("MyFileContent", "MyFilename", false, tp.app.vault.getAbstractFileByPath("MyFolder")) %>'},{name:"File creation and append link to current note",example:'[[<% (await tp.file.create_new("MyFileContent", "MyFilename")).basename %>]]'}]},creation_date:{name:"creation_date",description:"Retrieves the file's creation date.",definition:'tp.file.creation_date(format: string = "YYYY-MM-DD HH:mm")',args:[{name:"format",description:'The format for the date. Defaults to `"YYYY-MM-DD HH:mm"`. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/).'}],examples:[{name:"File creation date",example:"<% tp.file.creation_date() %>"},{name:"File creation date with format",example:'<% tp.file.creation_date("dddd Do MMMM YYYY HH:mm") %>'}]},cursor:{name:"cursor",description:`Sets the cursor to this location after the template has been inserted. + +You can navigate between the different cursors using the configured hotkey in Obsidian settings. +`,definition:"tp.file.cursor(order?: number)",args:[{name:"order",description:`The order of the different cursors jump, e.g. it will jump from 1 to 2 to 3, and so on. +If you specify multiple tp.file.cursor with the same order, the editor will switch to multi-cursor. +`}],examples:[{name:"File cursor",example:"<% tp.file.cursor() %>"},{name:"File multi-cursor",example:"<% tp.file.cursor(1) %>Content<% tp.file.cursor(1) %>"}]},cursor_append:{name:"cursor_append",description:"Appends some content after the active cursor in the file.",definition:"tp.file.cursor_append(content: string)",args:[{name:"content",description:"The content to append after the active cursor."}],examples:[{name:"File cursor append",example:'<% tp.file.cursor_append("Some text") %>'}]},exists:{name:"exists",description:"Check to see if a file exists by it's file path. The full path to the file, relative to the Vault and containing the extension, must be provided.",definition:"tp.file.exists(filepath: string)",args:[{name:"filepath",description:"The full file path of the file we want to check existence for."}],examples:[{name:"File existence",example:'<% await tp.file.exists("MyFolder/MyFile.md") %>'},{name:"File existence of current file",example:'<% await tp.file.exists(tp.file.folder(true) + "/" + tp.file.title + ".md") %>'}]},find_tfile:{name:"find_tfile",description:"Search for a file and returns its `TFile` instance.",definition:"tp.file.find_tfile(filename: string)",args:[{name:"filename",description:"The filename we want to search and resolve as a `TFile`."}],examples:[{name:"File find TFile",example:'<% tp.file.find_tfile("MyFile").basename %>'}]},folder:{name:"folder",description:"Retrieves the file's folder name.",definition:"tp.file.folder(absolute: boolean = false)",args:[{name:"absolute",description:"If set to `true`, returns the vault-absolute path of the folder. If `false`, only returns the basename of the folder (the last part). Defaults to `false`."}],examples:[{name:"File folder (Folder)",example:"<% tp.file.folder() %>"},{name:"File folder with vault-absolute path (Path/To/Folder)",example:"<% tp.file.folder(true) %>"}]},include:{name:"include",description:"Includes the file's link content. Templates in the included content will be resolved.",definition:"tp.file.include(include_link: string \u23AE TFile)",args:[{name:"include_link",description:'The link to the file to include, e.g. `"[[MyFile]]"`, or a TFile object. Also supports sections or blocks inclusions.'}],examples:[{name:"File include",example:'<% await tp.file.include("[[Template1]]") %>'},{name:"File include TFile",example:'<% await tp.file.include(tp.file.find_tfile("MyFile")) %>'},{name:"File include section",example:'<% await tp.file.include("[[MyFile#Section1]]") %>'},{name:"File include block",example:'<% await tp.file.include("[[MyFile#^block1]]") %>'}]},last_modified_date:{name:"last_modified_date",description:"Retrieves the file's last modification date.",definition:'tp.file.last_modified_date(format: string = "YYYY-MM-DD HH:mm")',args:[{name:"format",description:'The format for the date. Defaults to `"YYYY-MM-DD HH:mm"`. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/).'}],examples:[{name:"File last modified date",example:"<% tp.file.last_modified_date() %>"},{name:"File last modified date with format",example:'<% tp.file.last_modified_date("dddd Do MMMM YYYY HH:mm") %>'}]},move:{name:"move",description:"Moves the file to the desired vault location.",definition:"tp.file.move(new_path: string, file_to_move?: TFile)",args:[{name:"new_path",description:'The new vault relative path of the file, without the file extension. Note: the new path needs to include the folder and the filename, e.g. `"/Notes/MyNote"`.'},{name:"file_to_move",description:"The file to move, defaults to the current file."}],examples:[{name:"File move",example:'<%* await tp.file.move("/A/B/" + tp.file.title) %>'},{name:"File move and rename",example:'<%* await tp.file.move("/A/B/NewTitle") %>'}]},path:{name:"path",description:"Retrieves the file's absolute path on the system.",definition:"tp.file.path(relative: boolean = false)",args:[{name:"relative",description:"If set to `true`, only retrieves the vault's relative path."}],examples:[{name:"File path",example:"<% tp.file.path() %>"},{name:"File relative path (relative to vault root)",example:"<% tp.file.path(true) %>"}]},rename:{name:"rename",description:"Renames the file (keeps the same file extension).",definition:"tp.file.rename(new_title: string)",args:[{name:"new_title",description:"The new file title."}],examples:[{name:"File rename",example:'<%* await tp.file.rename("MyNewName") %>'},{name:"File append a 2 to the file name",example:'<%* await tp.file.rename(tp.file.title + "2") %>'}]},selection:{name:"selection",description:"Retrieves the active file's text selection.",definition:"tp.file.selection()",examples:[{name:"File selection",example:"<% tp.file.selection() %>"}]},tags:{name:"tags",description:"Retrieves the file's tags (array of string).",definition:"tp.file.tags",examples:[{name:"File tags",example:"<% tp.file.tags %>"}]},title:{name:"title",definition:"tp.file.title",description:"Retrieves the file's title.",examples:[{name:"File title",example:"<% tp.file.title %>"},{name:"Strip the Zettelkasten ID of title (if space separated)",example:'<% tp.file.title.split(" ")[1] %>'}]}}},frontmatter:{name:"frontmatter",description:"This modules exposes all the frontmatter variables of a file as variables."},hooks:{name:"hooks",description:"This module exposes hooks that allow you to execute code when a Templater event occurs.",functions:{on_all_templates_executed:{name:"on_all_templates_executed",description:"Hooks into when all actively running templates have finished executing. Most of the time this will be a single template, unless you are using `tp.file.include` or `tp.file.create_new`.\n\nMultiple invokations of this method will have their callback functions run in parallel.",definition:"tp.hooks.on_all_templates_executed(callback_function: () => any)",args:[{name:"callback_function",description:"Callback function that will be executed when all actively running templates have finished executing."}]}}},obsidian:{name:"obsidian",description:"This module exposes all the functions and classes from the Obsidian API."},system:{name:"system",description:"This module contains system related functions.",functions:{clipboard:{name:"clipboard",description:"Retrieves the clipboard's content.",definition:"tp.system.clipboard()",examples:[{name:"Clipboard",example:"<% tp.system.clipboard() %>"}]},prompt:{name:"prompt",description:"Spawns a prompt modal and returns the user's input.",definition:"tp.system.prompt(prompt_text?: string, default_value?: string, throw_on_cancel: boolean = false, multiline?: boolean = false)",args:[{name:"prompt_text",description:"Text placed above the input field."},{name:"default_value",description:"A default value for the input field."},{name:"throw_on_cancel",description:"Throws an error if the prompt is canceled, instead of returning a `null` value."},{name:"multiline",description:"If set to `true`, the input field will be a multiline textarea. Defaults to `false`."}],examples:[{name:"Prompt",example:'<% await tp.system.prompt("Please enter a value") %>'},{name:"Prompt with default value",example:'<% await tp.system.prompt("What is your mood today?", "happy") %>'},{name:"Multiline prompt",example:'<% await tp.system.prompt("What is your mood today?", null, false, true) %>'},{name:"Reuse output from prompt",example:`<%* +let value = await tp.system.prompt("Please enter a value"); +%> +# <% value %> +selected value: <% value %>`}]},suggester:{name:"suggester",description:"Spawns a suggester prompt and returns the user's chosen item.",definition:'tp.system.suggester(text_items: string[] \u23AE ((item: T) => string), items: T[], throw_on_cancel: boolean = false, placeholder: string = "", limit?: number = undefined)',args:[{name:"text_items",description:"Array of strings representing the text that will be displayed for each item in the suggester prompt. This can also be a function that maps an item to its text representation."},{name:"items",description:"Array containing the values of each item in the correct order."},{name:"throw_on_cancel",description:"Throws an error if the prompt is canceled, instead of returning a `null` value."},{name:"placeholder",description:"Placeholder string of the prompt."},{name:"limit",description:"Limit the number of items rendered at once (useful to improve performance when displaying large lists)."}],examples:[{name:"Suggester",example:'<% await tp.system.suggester(["Happy", "Sad", "Confused"], ["Happy", "Sad", "Confused"]) %>'},{name:"Suggester with mapping function (same as above example)",example:'<% await tp.system.suggester((item) => item, ["Happy", "Sad", "Confused"]) %>'},{name:"Suggester for files",example:"[[<% (await tp.system.suggester((item) => item.basename, tp.app.vault.getMarkdownFiles())).basename %>]]"},{name:"Suggester for tags",example:'<% await tp.system.suggester(item => item, Object.keys(tp.app.metadataCache.getTags()).map(x => x.replace("#", ""))) %>'},{name:"Reuse value from suggester",example:`<%* +let selectedValue = await tp.system.suggester(["Happy", "Sad", "Confused"], ["Happy", "Sad", "Confused"]); +%> +# <% selectedValue %> +selected value: <% selectedValue %>`}]},multi_suggester:{name:"multi_suggester",description:"Spawns a suggester prompt that supports selecting multiple items and returns the user's chosen items.",definition:'tp.system.multi_suggester(text_items: string[] \u23AE ((item: T) => string), items: T[], throw_on_cancel: boolean = false, title: string = "", limit?: number = undefined)',args:[{name:"text_items",description:"Array of strings representing the text that will be displayed for each item in the suggester prompt. This can also be a function that maps an item to its text representation."},{name:"items",description:"Array containing the values of each item in the correct order."},{name:"throw_on_cancel",description:"Throws an error if the prompt is canceled, instead of returning a `null` value."},{name:"title",description:"Text placed at the top of the modal."},{name:"limit",description:"Limit the number of items rendered at once (useful to improve performance when displaying large lists)."}],examples:[{name:"Multi-suggester",example:'<% await tp.system.multi_suggester(["Happy", "Sad", "Confused"], ["Happy", "Sad", "Confused"]) %>'},{name:"Multi-suggester with mapping function (same as above example)",example:'<% await tp.system.multi_suggester((item) => item, ["Happy", "Sad", "Confused"]) %>'},{name:"Multi-suggester for files",example:"<% (await tp.system.multi_suggester((item) => item.basename, tp.app.vault.getMarkdownFiles())).map(f => `[[${f.basename}]]`) %>"},{name:"Multi-suggester for tags",example:'<% await tp.system.multi_suggester(item => item, Object.keys(tp.app.metadataCache.getTags()).map(x => x.replace("#", ""))) %>'},{name:"Reuse value from multi-suggester",example:`<%* +let selectedValues = await tp.system.multi_suggester(["Happy", "Sad", "Confused"], ["Happy", "Sad", "Confused"]); +%> +# <% selectedValues %> +selected values: <% selectedValues %>`}]}}},web:{name:"web",description:"This modules contains every internal function related to the web (making web requests).",functions:{daily_quote:{name:"daily_quote",description:"Retrieves and parses the daily quote from `https://github.com/Zachatoo/quotes-database` as a callout.",definition:"tp.web.daily_quote()",examples:[{name:"Daily quote",example:"<% await tp.web.daily_quote() %>"}]},random_picture:{name:"random_picture",description:"Gets a random image from `https://unsplash.com/`.",definition:"tp.web.random_picture(size?: string, query?: string, include_size?: boolean)",args:[{name:"size",description:"Image size in the format `x`."},{name:"query",description:"Limits selection to photos matching a search term. Multiple search terms can be passed separated by a comma."},{name:"include_size",description:"Optional argument to include the specified size in the image link markdown. Defaults to false."}],examples:[{name:"Random picture",example:"<% await tp.web.random_picture() %>"},{name:"Random picture with size",example:'<% await tp.web.random_picture("200x200") %>'},{name:"Random picture with size and query",example:'<% await tp.web.random_picture("200x200", "landscape,water") %>'}]},request:{name:"request",description:"Makes a HTTP request to the specified URL. Optionally, you can specify a path to extract specific data from the response.",definition:"tp.web.request(url: string, path?: string)",args:[{name:"url",description:"The URL to which the HTTP request will be made."},{name:"path",description:"A path within the response JSON to extract specific data."}],examples:[{name:"Simple request",example:'<% await tp.web.request("https://jsonplaceholder.typicode.com/todos/1") %>'},{name:"Request with path",example:'<% await tp.web.request("https://jsonplaceholder.typicode.com/todos", "0.title") %>'}]}}}},Zo={tp:tc};var nc=["app","config","date","file","frontmatter","hooks","obsidian","system","user","web"],rc=new Set(nc);function ea(n){return typeof n=="string"&&rc.has(n)}function Di(n){return!!(n.definition||n.returns||n.args)}var Pi=class{constructor(e){this.plugin=e;this.documentation=Zo}get_all_modules_documentation(){let e=this.documentation.tp;return(!this.plugin.settings||!this.plugin.settings.user_scripts_folder)&&(e=Object.values(e).filter(t=>t.name!=="user")),Object.values(e).map(t=>(t.queryKey=t.name,t))}async get_all_functions_documentation(e,t){if(e==="app")return this.get_app_functions_documentation(this.plugin.app,t);if(e==="user"){if(!this.plugin.settings||!this.plugin.settings.user_scripts_folder)return;let r=await Se(async()=>{let i=Je(this.plugin.app,this.plugin.settings.user_scripts_folder).filter(a=>a.extension=="js");return await co(this.plugin.app,i)},"User Scripts folder doesn't exist");return!r||r.length===0?void 0:r.reduce((i,o)=>o.extension!=="js"?i:[...i,{name:o.basename,queryKey:o.basename,definition:"",description:o.description,returns:o.returns,args:o.arguments.reduce((l,c)=>(l[c.name]={name:c.name,description:c.description},l),{}),example:""}],[])}if(!!this.documentation.tp[e].functions)return Object.values(this.documentation.tp[e].functions).map(r=>(r.queryKey=r.name,r))}get_app_functions_documentation(e,t){if(!xn(e))return[];let r=t.split(".");if(r.length===0)return[];let i=e;for(let c=0;c[a-z]*)?(?\.(?[a-zA-Z_.]*)?)?$/;this.documentation=new Pi(e),this.intellisense_render_setting=e.settings.intellisense_render}onTrigger(e,t,r){let i=t.getRange({line:e.line,ch:0},{line:e.line,ch:e.ch}),o=this.tp_keyword_regex.exec(i);if(!o)return null;let a,l=o.groups&&o.groups.module||"";if(this.module_name=l,o.groups&&o.groups.fn_trigger){if(l==""||!ea(l))return null;this.function_trigger=!0,this.function_name=o.groups.fn||"",a=this.function_name}else this.function_trigger=!1,a=this.module_name;let c={start:{line:e.line,ch:e.ch-a.length},end:{line:e.line,ch:e.ch},query:a};return this.latest_trigger_info=c,c}async getSuggestions(e){let t;return this.module_name&&this.function_trigger?t=await this.documentation.get_all_functions_documentation(this.module_name,this.function_name):t=this.documentation.get_all_modules_documentation(),t?t.filter(r=>r.queryKey.toLowerCase().startsWith(e.query.toLowerCase())):[]}renderSuggestion(e,t){if(t.createEl("b",{text:e.name}),Di(e)){if(e.args&&this.getNumberOfArguments(e.args)>0&&qo(this.intellisense_render_setting)){t.createEl("p",{text:"Parameter list:"});let r=t.createEl("ol");for(let[i,o]of Object.entries(e.args))Ur(r,i,o.description)}e.returns&&Fo(this.intellisense_render_setting)&&Ur(t,"Returns",e.returns)}this.function_trigger&&Di(e)&&t.createEl("code",{text:e.definition}),e.description&&Lo(this.intellisense_render_setting)&&t.createEl("div",{text:e.description})}selectSuggestion(e,t){let r=this.app.workspace.activeEditor;if(!(!r||!r.editor)&&(r.editor.replaceRange(e.queryKey,this.latest_trigger_info.start,this.latest_trigger_info.end),this.latest_trigger_info.start.ch==this.latest_trigger_info.end.ch)){let i=this.latest_trigger_info.end;i.ch+=e.queryKey.length,r.editor.setCursor(i)}}getNumberOfArguments(e){try{return new Map(Object.entries(e)).size}catch{return 0}}updateAutocompleteIntellisenseSetting(e){this.intellisense_render_setting=e}};(function(n){n(window.CodeMirror)})(function(n){"use strict";n.defineMode("javascript",function(e,t){var r=e.indentUnit,i=t.statementIndent,o=t.jsonld,a=t.json||o,l=t.trackScope!==!1,c=t.typescript,d=t.wordCharacters||/[\w$\xa1-\uffff]/,m=function(){function s(ve){return{type:ve,style:"keyword"}}var p=s("keyword a"),A=s("keyword b"),x=s("keyword c"),I=s("keyword d"),Y=s("operator"),z={type:"atom",style:"atom"};return{if:s("if"),while:p,with:p,else:A,do:A,try:A,finally:A,return:I,break:I,continue:I,new:s("new"),delete:x,void:x,throw:x,debugger:s("debugger"),var:s("var"),const:s("var"),let:s("var"),function:s("function"),catch:s("catch"),for:s("for"),switch:s("switch"),case:s("case"),default:s("default"),in:Y,typeof:Y,instanceof:Y,true:z,false:z,null:z,undefined:z,NaN:z,Infinity:z,this:s("this"),class:s("class"),super:s("atom"),yield:x,export:s("export"),import:s("import"),extends:x,await:x}}(),_=/[+\-*&%=<>!?|~^@]/,w=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function b(s){for(var p=!1,A,x=!1;(A=s.next())!=null;){if(!p){if(A=="/"&&!x)return;A=="["?x=!0:x&&A=="]"&&(x=!1)}p=!p&&A=="\\"}}var S,k;function E(s,p,A){return S=s,k=A,p}function O(s,p){var A=s.next();if(A=='"'||A=="'")return p.tokenize=$(A),p.tokenize(s,p);if(A=="."&&s.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return E("number","number");if(A=="."&&s.match(".."))return E("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(A))return E(A);if(A=="="&&s.eat(">"))return E("=>","operator");if(A=="0"&&s.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return E("number","number");if(/\d/.test(A))return s.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),E("number","number");if(A=="/")return s.eat("*")?(p.tokenize=K,K(s,p)):s.eat("/")?(s.skipToEnd(),E("comment","comment")):Wi(s,p,1)?(b(s),s.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),E("regexp","string-2")):(s.eat("="),E("operator","operator",s.current()));if(A=="`")return p.tokenize=D,D(s,p);if(A=="#"&&s.peek()=="!")return s.skipToEnd(),E("meta","meta");if(A=="#"&&s.eatWhile(d))return E("variable","property");if(A=="<"&&s.match("!--")||A=="-"&&s.match("->")&&!/\S/.test(s.string.slice(0,s.start)))return s.skipToEnd(),E("comment","comment");if(_.test(A))return(A!=">"||!p.lexical||p.lexical.type!=">")&&(s.eat("=")?(A=="!"||A=="=")&&s.eat("="):/[<>*+\-|&?]/.test(A)&&(s.eat(A),A==">"&&s.eat(A))),A=="?"&&s.eat(".")?E("."):E("operator","operator",s.current());if(d.test(A)){s.eatWhile(d);var x=s.current();if(p.lastType!="."){if(m.propertyIsEnumerable(x)){var I=m[x];return E(I.type,I.style,x)}if(x=="async"&&s.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return E("async","keyword",x)}return E("variable","variable",x)}}function $(s){return function(p,A){var x=!1,I;if(o&&p.peek()=="@"&&p.match(w))return A.tokenize=O,E("jsonld-keyword","meta");for(;(I=p.next())!=null&&!(I==s&&!x);)x=!x&&I=="\\";return x||(A.tokenize=O),E("string","string")}}function K(s,p){for(var A=!1,x;x=s.next();){if(x=="/"&&A){p.tokenize=O;break}A=x=="*"}return E("comment","comment")}function D(s,p){for(var A=!1,x;(x=s.next())!=null;){if(!A&&(x=="`"||x=="$"&&s.eat("{"))){p.tokenize=O;break}A=!A&&x=="\\"}return E("quasi","string-2",s.current())}var H="([{}])";function F(s,p){p.fatArrowAt&&(p.fatArrowAt=null);var A=s.string.indexOf("=>",s.start);if(!(A<0)){if(c){var x=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(s.string.slice(s.start,A));x&&(A=x.index)}for(var I=0,Y=!1,z=A-1;z>=0;--z){var ve=s.string.charAt(z),We=H.indexOf(ve);if(We>=0&&We<3){if(!I){++z;break}if(--I==0){ve=="("&&(Y=!0);break}}else if(We>=3&&We<6)++I;else if(d.test(ve))Y=!0;else if(/["'\/`]/.test(ve))for(;;--z){if(z==0)return;var ja=s.string.charAt(z-1);if(ja==ve&&s.string.charAt(z-2)!="\\"){z--;break}}else if(Y&&!I){++z;break}}Y&&!I&&(p.fatArrowAt=z)}}var J={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function te(s,p,A,x,I,Y){this.indented=s,this.column=p,this.type=A,this.prev=I,this.info=Y,x!=null&&(this.align=x)}function ne(s,p){if(!l)return!1;for(var A=s.localVars;A;A=A.next)if(A.name==p)return!0;for(var x=s.context;x;x=x.prev)for(var A=x.vars;A;A=A.next)if(A.name==p)return!0}function Q(s,p,A,x,I){var Y=s.cc;for(h.state=s,h.stream=I,h.marked=null,h.cc=Y,h.style=p,s.lexical.hasOwnProperty("align")||(s.lexical.align=!0);;){var z=Y.length?Y.pop():a?W:ee;if(z(A,x)){for(;Y.length&&Y[Y.length-1].lex;)Y.pop()();return h.marked?h.marked:A=="variable"&&ne(s,x)?"variable-2":p}}}var h={state:null,column:null,marked:null,cc:null};function C(){for(var s=arguments.length-1;s>=0;s--)h.cc.push(arguments[s])}function f(){return C.apply(null,arguments),!0}function Ie(s,p){for(var A=p;A;A=A.next)if(A.name==s)return!0;return!1}function Ee(s){var p=h.state;if(h.marked="def",!!l){if(p.context){if(p.lexical.info=="var"&&p.context&&p.context.block){var A=_e(s,p.context);if(A!=null){p.context=A;return}}else if(!Ie(s,p.localVars)){p.localVars=new ke(s,p.localVars);return}}t.globalVars&&!Ie(s,p.globalVars)&&(p.globalVars=new ke(s,p.globalVars))}}function _e(s,p){if(p)if(p.block){var A=_e(s,p.prev);return A?A==p.prev?p:new Ye(A,p.vars,!0):null}else return Ie(s,p.vars)?p:new Ye(p.prev,new ke(s,p.vars),!1);else return null}function xe(s){return s=="public"||s=="private"||s=="protected"||s=="abstract"||s=="readonly"}function Ye(s,p,A){this.prev=s,this.vars=p,this.block=A}function ke(s,p){this.name=s,this.next=p}var Rt=new ke("this",new ke("arguments",null));function Ue(){h.state.context=new Ye(h.state.context,h.state.localVars,!1),h.state.localVars=Rt}function et(){h.state.context=new Ye(h.state.context,h.state.localVars,!0),h.state.localVars=null}function ye(){h.state.localVars=h.state.context.vars,h.state.context=h.state.context.prev}ye.lex=!0;function B(s,p){var A=function(){var x=h.state,I=x.indented;if(x.lexical.type=="stat")I=x.lexical.indented;else for(var Y=x.lexical;Y&&Y.type==")"&&Y.align;Y=Y.prev)I=Y.indented;x.lexical=new te(I,h.stream.column(),s,null,x.lexical,p)};return A.lex=!0,A}function N(){var s=h.state;s.lexical.prev&&(s.lexical.type==")"&&(s.indented=s.lexical.indented),s.lexical=s.lexical.prev)}N.lex=!0;function q(s){function p(A){return A==s?f():s==";"||A=="}"||A==")"||A=="]"?C():f(p)}return p}function ee(s,p){return s=="var"?f(B("vardef",p),Cr,q(";"),N):s=="keyword a"?f(B("form"),Tt,ee,N):s=="keyword b"?f(B("form"),ee,N):s=="keyword d"?h.stream.match(/^\s*$/,!1)?f():f(B("stat"),nt,q(";"),N):s=="debugger"?f(q(";")):s=="{"?f(B("}"),et,Ln,N,ye):s==";"?f():s=="if"?(h.state.lexical.info=="else"&&h.state.cc[h.state.cc.length-1]==N&&h.state.cc.pop()(),f(B("form"),Tt,ee,N,Hi)):s=="function"?f(_t):s=="for"?f(B("form"),et,$i,ee,ye,N):s=="class"||c&&p=="interface"?(h.marked="keyword",f(B("form",s=="class"?s:p),Ri,N)):s=="variable"?c&&p=="declare"?(h.marked="keyword",f(ee)):c&&(p=="module"||p=="enum"||p=="type")&&h.stream.match(/^\s*\w/,!1)?(h.marked="keyword",p=="enum"?f(Gi):p=="type"?f(Ki,q("operator"),V,q(";")):f(B("form"),Fe,q("{"),B("}"),Ln,N,N)):c&&p=="namespace"?(h.marked="keyword",f(B("form"),W,ee,N)):c&&p=="abstract"?(h.marked="keyword",f(ee)):f(B("stat"),Fn):s=="switch"?f(B("form"),Tt,q("{"),B("}","switch"),et,Ln,N,N,ye):s=="case"?f(W,q(":")):s=="default"?f(q(":")):s=="catch"?f(B("form"),Ue,tt,ee,N,ye):s=="export"?f(B("stat"),ga,N):s=="import"?f(B("stat"),ha,N):s=="async"?f(ee):p=="@"?f(W,ee):C(B("stat"),W,q(";"),N)}function tt(s){if(s=="(")return f(Ct,q(")"))}function W(s,p){return Nn(s,p,!1)}function je(s,p){return Nn(s,p,!0)}function Tt(s){return s!="("?C():f(B(")"),nt,q(")"),N)}function Nn(s,p,A){if(h.state.fatArrowAt==h.stream.start){var x=A?Bn:On;if(s=="(")return f(Ue,B(")"),se(Ct,")"),N,q("=>"),x,ye);if(s=="variable")return C(Ue,Fe,q("=>"),x,ye)}var I=A?ht:rt;return J.hasOwnProperty(s)?f(I):s=="function"?f(_t,I):s=="class"||c&&p=="interface"?(h.marked="keyword",f(B("form"),ma,N)):s=="keyword c"||s=="async"?f(A?je:W):s=="("?f(B(")"),nt,q(")"),N,I):s=="operator"||s=="spread"?f(A?je:W):s=="["?f(B("]"),_a,N,I):s=="{"?ln(St,"}",null,I):s=="quasi"?C(kt,I):s=="new"?f(it(A)):f()}function nt(s){return s.match(/[;\}\)\],]/)?C():C(W)}function rt(s,p){return s==","?f(nt):ht(s,p,!1)}function ht(s,p,A){var x=A==!1?rt:ht,I=A==!1?W:je;if(s=="=>")return f(Ue,A?Bn:On,ye);if(s=="operator")return/\+\+|--/.test(p)||c&&p=="!"?f(x):c&&p=="<"&&h.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?f(B(">"),se(V,">"),N,x):p=="?"?f(W,q(":"),I):f(I);if(s=="quasi")return C(kt,x);if(s!=";"){if(s=="(")return ln(je,")","call",x);if(s==".")return f(cn,x);if(s=="[")return f(B("]"),nt,q("]"),N,x);if(c&&p=="as")return h.marked="keyword",f(V,x);if(s=="regexp")return h.state.lastType=h.marked="operator",h.stream.backUp(h.stream.pos-h.stream.start-1),f(I)}}function kt(s,p){return s!="quasi"?C():p.slice(p.length-2)!="${"?f(kt):f(nt,Mn)}function Mn(s){if(s=="}")return h.marked="string-2",h.state.tokenize=D,f(kt)}function On(s){return F(h.stream,h.state),C(s=="{"?ee:W)}function Bn(s){return F(h.stream,h.state),C(s=="{"?ee:je)}function it(s){return function(p){return p=="."?f(s?In:Yt):p=="variable"&&c?f(la,s?ht:rt):C(s?je:W)}}function Yt(s,p){if(p=="target")return h.marked="keyword",f(rt)}function In(s,p){if(p=="target")return h.marked="keyword",f(ht)}function Fn(s){return s==":"?f(N,ee):C(rt,q(";"),N)}function cn(s){if(s=="variable")return h.marked="property",f()}function St(s,p){if(s=="async")return h.marked="property",f(St);if(s=="variable"||h.style=="keyword"){if(h.marked="property",p=="get"||p=="set")return f(qn);var A;return c&&h.state.fatArrowAt==h.stream.start&&(A=h.stream.match(/^\s*:\s*/,!1))&&(h.state.fatArrowAt=h.stream.pos+A[0].length),f(Ge)}else{if(s=="number"||s=="string")return h.marked=o?"property":h.style+" property",f(Ge);if(s=="jsonld-keyword")return f(Ge);if(c&&xe(p))return h.marked="keyword",f(St);if(s=="[")return f(W,Ut,q("]"),Ge);if(s=="spread")return f(je,Ge);if(p=="*")return h.marked="keyword",f(St);if(s==":")return C(Ge)}}function qn(s){return s!="variable"?C(Ge):(h.marked="property",f(_t))}function Ge(s){if(s==":")return f(je);if(s=="(")return C(_t)}function se(s,p,A){function x(I,Y){if(A?A.indexOf(I)>-1:I==","){var z=h.state.lexical;return z.info=="call"&&(z.pos=(z.pos||0)+1),f(function(ve,We){return ve==p||We==p?C():C(s)},x)}return I==p||Y==p?f():A&&A.indexOf(";")>-1?C(s):f(q(p))}return function(I,Y){return I==p||Y==p?f():C(s,x)}}function ln(s,p,A){for(var x=3;x"),V);if(s=="quasi")return C(kr,ot)}function sa(s){if(s=="=>")return f(V)}function Tr(s){return s.match(/[\}\)\]]/)?f():s==","||s==";"?f(Tr):C(pn,Tr)}function pn(s,p){if(s=="variable"||h.style=="keyword")return h.marked="property",f(pn);if(p=="?"||s=="number"||s=="string")return f(pn);if(s==":")return f(V);if(s=="[")return f(q("variable"),oa,q("]"),pn);if(s=="(")return C(Wt,pn);if(!s.match(/[;\}\)\],]/))return f()}function kr(s,p){return s!="quasi"?C():p.slice(p.length-2)!="${"?f(kr):f(V,ca)}function ca(s){if(s=="}")return h.marked="string-2",h.state.tokenize=D,f(kr)}function Sr(s,p){return s=="variable"&&h.stream.match(/^\s*[?:]/,!1)||p=="?"?f(Sr):s==":"?f(V):s=="spread"?f(Sr):C(V)}function ot(s,p){if(p=="<")return f(B(">"),se(V,">"),N,ot);if(p=="|"||s=="."||p=="&")return f(V);if(s=="[")return f(V,q("]"),ot);if(p=="extends"||p=="implements")return h.marked="keyword",f(V);if(p=="?")return f(V,q(":"),V)}function la(s,p){if(p=="<")return f(B(">"),se(V,">"),N,ot)}function Hn(){return C(V,pa)}function pa(s,p){if(p=="=")return f(V)}function Cr(s,p){return p=="enum"?(h.marked="keyword",f(Gi)):C(Fe,Ut,At,fa)}function Fe(s,p){if(c&&xe(p))return h.marked="keyword",f(Fe);if(s=="variable")return Ee(p),f();if(s=="spread")return f(Fe);if(s=="[")return ln(ua,"]");if(s=="{")return ln(Li,"}")}function Li(s,p){return s=="variable"&&!h.stream.match(/^\s*:/,!1)?(Ee(p),f(At)):(s=="variable"&&(h.marked="property"),s=="spread"?f(Fe):s=="}"?C():s=="["?f(W,q("]"),q(":"),Li):f(q(":"),Fe,At))}function ua(){return C(Fe,At)}function At(s,p){if(p=="=")return f(je)}function fa(s){if(s==",")return f(Cr)}function Hi(s,p){if(s=="keyword b"&&p=="else")return f(B("form","else"),ee,N)}function $i(s,p){if(p=="await")return f($i);if(s=="(")return f(B(")"),da,N)}function da(s){return s=="var"?f(Cr,Gt):s=="variable"?f(Gt):C(Gt)}function Gt(s,p){return s==")"?f():s==";"?f(Gt):p=="in"||p=="of"?(h.marked="keyword",f(W,Gt)):C(W,Gt)}function _t(s,p){if(p=="*")return h.marked="keyword",f(_t);if(s=="variable")return Ee(p),f(_t);if(s=="(")return f(Ue,B(")"),se(Ct,")"),N,qi,ee,ye);if(c&&p=="<")return f(B(">"),se(Hn,">"),N,_t)}function Wt(s,p){if(p=="*")return h.marked="keyword",f(Wt);if(s=="variable")return Ee(p),f(Wt);if(s=="(")return f(Ue,B(")"),se(Ct,")"),N,qi,ye);if(c&&p=="<")return f(B(">"),se(Hn,">"),N,Wt)}function Ki(s,p){if(s=="keyword"||s=="variable")return h.marked="type",f(Ki);if(p=="<")return f(B(">"),se(Hn,">"),N)}function Ct(s,p){return p=="@"&&f(W,Ct),s=="spread"?f(Ct):c&&xe(p)?(h.marked="keyword",f(Ct)):c&&s=="this"?f(Ut,At):C(Fe,Ut,At)}function ma(s,p){return s=="variable"?Ri(s,p):$n(s,p)}function Ri(s,p){if(s=="variable")return Ee(p),f($n)}function $n(s,p){if(p=="<")return f(B(">"),se(Hn,">"),N,$n);if(p=="extends"||p=="implements"||c&&s==",")return p=="implements"&&(h.marked="keyword"),f(c?V:W,$n);if(s=="{")return f(B("}"),at,N)}function at(s,p){if(s=="async"||s=="variable"&&(p=="static"||p=="get"||p=="set"||c&&xe(p))&&h.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return h.marked="keyword",f(at);if(s=="variable"||h.style=="keyword")return h.marked="property",f(un,at);if(s=="number"||s=="string")return f(un,at);if(s=="[")return f(W,Ut,q("]"),un,at);if(p=="*")return h.marked="keyword",f(at);if(c&&s=="(")return C(Wt,at);if(s==";"||s==",")return f(at);if(s=="}")return f();if(p=="@")return f(W,at)}function un(s,p){if(p=="!"||p=="?")return f(un);if(s==":")return f(V,At);if(p=="=")return f(je);var A=h.state.lexical.prev,x=A&&A.info=="interface";return C(x?Wt:_t)}function ga(s,p){return p=="*"?(h.marked="keyword",f(Dr,q(";"))):p=="default"?(h.marked="keyword",f(W,q(";"))):s=="{"?f(se(Yi,"}"),Dr,q(";")):C(ee)}function Yi(s,p){if(p=="as")return h.marked="keyword",f(q("variable"));if(s=="variable")return C(je,Yi)}function ha(s){return s=="string"?f():s=="("?C(W):s=="."?C(rt):C(Kn,Ui,Dr)}function Kn(s,p){return s=="{"?ln(Kn,"}"):(s=="variable"&&Ee(p),p=="*"&&(h.marked="keyword"),f(Aa))}function Ui(s){if(s==",")return f(Kn,Ui)}function Aa(s,p){if(p=="as")return h.marked="keyword",f(Kn)}function Dr(s,p){if(p=="from")return h.marked="keyword",f(W)}function _a(s){return s=="]"?f():C(se(je,"]"))}function Gi(){return C(B("form"),Fe,q("{"),B("}"),se(xa,"}"),N,N)}function xa(){return C(Fe,At)}function ya(s,p){return s.lastType=="operator"||s.lastType==","||_.test(p.charAt(0))||/[,.]/.test(p.charAt(0))}function Wi(s,p,A){return p.tokenize==O&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(p.lastType)||p.lastType=="quasi"&&/\{\s*$/.test(s.string.slice(0,s.pos-(A||0)))}return{startState:function(s){var p={tokenize:O,lastType:"sof",cc:[],lexical:new te((s||0)-r,0,"block",!1),localVars:t.localVars,context:t.localVars&&new Ye(null,null,!1),indented:s||0};return t.globalVars&&typeof t.globalVars=="object"&&(p.globalVars=t.globalVars),p},token:function(s,p){if(s.sol()&&(p.lexical.hasOwnProperty("align")||(p.lexical.align=!1),p.indented=s.indentation(),F(s,p)),p.tokenize!=K&&s.eatSpace())return null;var A=p.tokenize(s,p);return S=="comment"?A:(p.lastType=S=="operator"&&(k=="++"||k=="--")?"incdec":S,Q(p,A,S,k,s))},indent:function(s,p){if(s.tokenize==K||s.tokenize==D)return n.Pass;if(s.tokenize!=O)return 0;var A=p&&p.charAt(0),x=s.lexical,I;if(!/^\s*else\b/.test(p))for(var Y=s.cc.length-1;Y>=0;--Y){var z=s.cc[Y];if(z==N)x=x.prev;else if(z!=Hi&&z!=ye)break}for(;(x.type=="stat"||x.type=="form")&&(A=="}"||(I=s.cc[s.cc.length-1])&&(I==rt||I==ht)&&!/^[,\.=+\-*:?[\(]/.test(p));)x=x.prev;i&&x.type==")"&&x.prev.type=="stat"&&(x=x.prev);var ve=x.type,We=A==ve;return ve=="vardef"?x.indented+(s.lastType=="operator"||s.lastType==","?x.info.length+1:0):ve=="form"&&A=="{"?x.indented:ve=="form"?x.indented+r:ve=="stat"?x.indented+(ya(s,p)?i||r:0):x.info=="switch"&&!We&&t.doubleIndentSwitch!=!1?x.indented+(/^(?:case|default)\b/.test(p)?r:2*r):x.align?x.column+(We?0:1):x.indented+(We?0:r)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:a?null:"/*",blockCommentEnd:a?null:"*/",blockCommentContinue:a?null:" * ",lineComment:a?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:a?"json":"javascript",jsonldMode:o,jsonMode:a,expressionAllowed:Wi,skipExpression:function(s){Q(s,"atom","atom","true",new n.StringStream("",2,null))}}}),n.registerHelper("wordChars","javascript",/[\w$]/),n.defineMIME("text/javascript","javascript"),n.defineMIME("text/ecmascript","javascript"),n.defineMIME("application/javascript","javascript"),n.defineMIME("application/x-javascript","javascript"),n.defineMIME("application/ecmascript","javascript"),n.defineMIME("application/json",{name:"javascript",json:!0}),n.defineMIME("application/x-json",{name:"javascript",json:!0}),n.defineMIME("application/manifest+json",{name:"javascript",json:!0}),n.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),n.defineMIME("text/typescript",{name:"javascript",typescript:!0}),n.defineMIME("application/typescript",{name:"javascript",typescript:!0})});(function(n){n(window.CodeMirror)})(function(n){"use strict";n.customOverlayMode=function(e,t,r){return{startState:function(){return{base:n.startState(e),overlay:n.startState(t),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(i){return{base:n.copyState(e,i.base),overlay:n.copyState(t,i.overlay),basePos:i.basePos,baseCur:null,overlayPos:i.overlayPos,overlayCur:null}},token:function(i,o){return(i!=o.streamSeen||Math.min(o.basePos,o.overlayPos)0&&(this.activeEditorExtensions.pop(),this.plugin.app.workspace.updateOptions())}async jump_to_next_cursor_location(e=null,t=!1){t&&!this.plugin.settings.auto_jump_to_cursor||e&&Xt(this.plugin.app)!==e||await this.cursor_jumper.jump_to_next_cursor_location()}async registerCodeMirrorMode(){if(!this.desktopShouldHighlight()&&!this.mobileShouldHighlight())return;let e=window.CodeMirror.getMode({},"javascript");if(e.name==="null"){oe(new P("Javascript syntax mode couldn't be found, can't enable syntax highlighting."));return}let t=window.CodeMirror.customOverlayMode;if(t==null){oe(new P("Couldn't find customOverlayMode, can't enable syntax highlighting."));return}window.CodeMirror.defineMode(ia,function(r){let i={startState:function(){return{...window.CodeMirror.startState(e),inCommand:!1,tag_class:"",freeLine:!1}},copyState:function(o){return{...window.CodeMirror.startState(e),inCommand:o.inCommand,tag_class:o.tag_class,freeLine:o.freeLine}},blankLine:function(o){return o.inCommand?"line-background-templater-command-bg":null},token:function(o,a){if(o.sol()&&a.inCommand&&(a.freeLine=!0),a.inCommand){let c="";if(o.match(/[-_]{0,1}%>/,!0)){a.inCommand=!1,a.freeLine=!1;let m=a.tag_class;return a.tag_class="",`line-${Bi} ${Oi} ${oc} ${m}`}let d=e.token&&e.token(o,a);return o.peek()==null&&a.freeLine&&(c+=" line-background-templater-command-bg"),a.freeLine||(c+=` line-${Bi}`),`${c} ${Oi} ${d}`}let l=o.match(/<%[-_]{0,1}\s*([*+]{0,1})/,!0);if(l!=null){switch(l[1]){case"*":a.tag_class=sc;break;default:a.tag_class=ac;break}return a.inCommand=!0,`line-${Bi} ${Oi} ${ic} ${a.tag_class}`}for(;o.next()!=null&&!o.match(/<%/,!1););return null}};return t(window.CodeMirror.getMode(r,"hypermd"),i)})}updateEditorIntellisenseSetting(e){this.autocomplete.updateAutocompleteIntellisenseSetting(e)}};var Fi=class extends Er.Plugin{async onload(){await this.load_settings(),this.templater=new Pn(this),await this.templater.setup(),this.editor_handler=new Ii(this),await this.editor_handler.setup(),this.fuzzy_suggester=new si(this),this.event_handler=new wr(this,this.templater,this.settings),this.event_handler.setup(),this.command_handler=new ki(this),this.command_handler.setup(),(0,Er.addIcon)("templater-icon",Ko),this.addRibbonIcon("templater-icon","Templater",async()=>{this.fuzzy_suggester.insert_template()}).setAttribute("id","rb-templater-icon"),this.addSettingTab(new ai(this)),this.app.workspace.onLayoutReady(()=>{this.templater.execute_startup_scripts()})}async onExternalSettingsChange(){await this.load_settings()}onunload(){this.templater.functions_generator.teardown()}async save_settings(){await this.saveData(this.settings),this.editor_handler.updateEditorIntellisenseSetting(this.settings.intellisense_render)}async load_settings(){this.settings=Object.assign({},Ho,await this.loadData())}}; + +/* nosourcemap */ \ No newline at end of file diff --git a/data/student_040/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/manifest.json b/data/student_040/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..b2b3fdb41a80c74851f02674fc1065a570359086 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/manifest.json @@ -0,0 +1,11 @@ +{ + "id": "templater-obsidian", + "name": "Templater", + "version": "2.16.2", + "description": "Create and use templates", + "minAppVersion": "1.5.0", + "author": "SilentVoid", + "authorUrl": "https://github.com/SilentVoid13", + "helpUrl": "https://silentvoid13.github.io/Templater/", + "isDesktopOnly": false +} diff --git a/data/student_040/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/styles.css b/data/student_040/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/styles.css new file mode 100644 index 0000000000000000000000000000000000000000..36aa4fac1ea65dc94a3fba43a0400bb6a7062899 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/styles.css @@ -0,0 +1,226 @@ +.templater_search { + width: calc(100% - 20px); +} + +.templater_div { + border-top: 1px solid var(--background-modifier-border); +} + +.templater_div > .setting-item { + border-top: none !important; + align-self: center; +} + +.templater_div > .setting-item > .setting-item-control { + justify-content: space-around; + padding: 0; + width: 100%; +} + +.templater_div + > .setting-item + > .setting-item-control + > .setting-editor-extra-setting-button { + align-self: center; +} + +.templater_donating { + margin: 10px; +} + +.templater_title { + margin: 0; + padding: 0; + margin-top: 5px; + text-align: center; +} + +.templater_template { + align-self: center; + margin-left: 5px; + margin-right: 5px; + width: 70%; +} + +.templater_cmd { + margin-left: 5px; + margin-right: 5px; + font-size: 14px; + width: 100%; +} + +.templater_div2 > .setting-item { + align-content: center; + justify-content: center; +} + +.templater-prompt-div, +.templater-multisuggester-div { + display: flex; +} + +.templater-prompt-form { + display: flex; + flex-grow: 1; +} + +.templater-prompt-input, +.templater-multisuggester-input { + flex-grow: 1; +} + +.templater-button-div { + display: flex; + flex-direction: column; + align-items: center; + margin-top: 1rem; +} + +textarea.templater-prompt-input { + height: 10rem; +} + +textarea.templater-prompt-input:focus { + border-color: var(--interactive-accent); +} + +.templater-multisuggester-list { + margin: 1.5em 0; +} + +.cm-s-obsidian .templater-command-bg { + left: 0px; + right: 0px; + background-color: var(--background-primary-alt); +} + +.cm-s-obsidian .cm-templater-command { + font-size: 0.85em; + font-family: var(--font-monospace); + line-height: 1.3; +} + +.cm-s-obsidian .templater-inline .cm-templater-command { + background-color: var(--background-primary-alt); +} + +.cm-s-obsidian .cm-templater-command.cm-templater-opening-tag { + font-weight: bold; +} + +.cm-s-obsidian .cm-templater-command.cm-templater-closing-tag { + font-weight: bold; +} + +.cm-s-obsidian .cm-templater-command.cm-templater-interpolation-tag { + color: var(--code-property, #008bff); +} + +.cm-s-obsidian .cm-templater-command.cm-templater-execution-tag { + color: var(--code-function, #c0d700); +} + +.cm-s-obsidian .cm-templater-command.cm-keyword { + color: var(--code-keyword, #00a7aa); + font-weight: normal; +} + +.cm-s-obsidian .cm-templater-command.cm-atom { + color: var(--code-normal, #f39b35); +} + +.cm-s-obsidian .cm-templater-command.cm-value, +.cm-s-obsidian .cm-templater-command.cm-number, +.cm-s-obsidian .cm-templater-command.cm-type { + color: var(--code-value, #a06fca); +} + +.cm-s-obsidian .cm-templater-command.cm-def, +.cm-s-obsidian .cm-templater-command.cm-type.cm-def { + color: var(--code-normal, var(--text-normal)); +} + +.cm-s-obsidian .cm-templater-command.cm-property, +.cm-s-obsidian .cm-templater-command.cm-property.cm-def, +.cm-s-obsidian .cm-templater-command.cm-attribute { + color: var(--code-function, #98e342); +} + +.cm-s-obsidian .cm-templater-command.cm-variable, +.cm-s-obsidian .cm-templater-command.cm-variable-2, +.cm-s-obsidian .cm-templater-command.cm-variable-3, +.cm-s-obsidian .cm-templater-command.cm-meta { + color: var(--code-property, #d4d4d4); +} + +.cm-s-obsidian .cm-templater-command.cm-callee, +.cm-s-obsidian .cm-templater-command.cm-operator, +.cm-s-obsidian .cm-templater-command.cm-qualifier, +.cm-s-obsidian .cm-templater-command.cm-builtin { + color: var(--code-operator, #fc4384); +} + +.cm-s-obsidian .cm-templater-command.cm-tag { + color: var(--code-tag, #fc4384); +} + +.cm-s-obsidian .cm-templater-command.cm-comment, +.cm-s-obsidian .cm-templater-command.cm-comment.cm-tag, +.cm-s-obsidian .cm-templater-command.cm-comment.cm-attribute { + color: var(--code-comment, #696d70); +} + +.cm-s-obsidian .cm-templater-command.cm-string, +.cm-s-obsidian .cm-templater-command.cm-string-2 { + color: var(--code-string, #e6db74); +} + +.cm-s-obsidian .cm-templater-command.cm-header, +.cm-s-obsidian .cm-templater-command.cm-hr { + color: var(--code-keyword, #da7dae); +} + +.cm-s-obsidian .cm-templater-command.cm-link { + color: var(--code-normal, #696d70); +} + +.cm-s-obsidian .cm-templater-command.cm-error { + border-bottom: 1px solid #c42412; +} + +.CodeMirror-hints { + position: absolute; + z-index: 10; + overflow: hidden; + list-style: none; + + margin: 0; + padding: 2px; + + -webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2); + -moz-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2); + box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2); + border-radius: 3px; + border: 1px solid silver; + + background: white; + font-size: 90%; + font-family: monospace; + + max-height: 20em; + overflow-y: auto; +} + +.CodeMirror-hint { + margin: 0; + padding: 0 4px; + border-radius: 2px; + white-space: pre; + color: black; + cursor: pointer; +} + +li.CodeMirror-hint-active { + background: #08f; + color: white; +} diff --git a/data/student_040/New_Obsidian Vault/.obsidian/workspace.json b/data/student_040/New_Obsidian Vault/.obsidian/workspace.json new file mode 100644 index 0000000000000000000000000000000000000000..009a5c4c6d0f6c7766ff43a07e960c49f534879f --- /dev/null +++ b/data/student_040/New_Obsidian Vault/.obsidian/workspace.json @@ -0,0 +1,246 @@ +{ + "main": { + "id": "45e56bc36b4c566e", + "type": "split", + "children": [ + { + "id": "bce08077a054daa0", + "type": "tabs", + "children": [ + { + "id": "38a37f3cd723a850", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "AI활용 성찰적 글쓰기/AI활용 성찰적 글쓰기 - 7주차.md", + "mode": "source", + "source": false + }, + "icon": "lucide-file", + "title": "AI활용 성찰적 글쓰기 - 7주차" + } + } + ] + } + ], + "direction": "vertical" + }, + "left": { + "id": "19b59a5288bfc213", + "type": "split", + "children": [ + { + "id": "88fe3ca6b9652646", + "type": "tabs", + "children": [ + { + "id": "456cd9537b872e6c", + "type": "leaf", + "state": { + "type": "file-explorer", + "state": { + "sortOrder": "alphabetical", + "autoReveal": false + }, + "icon": "lucide-folder-closed", + "title": "파일 탐색기" + } + }, + { + "id": "a28ec2475d837f8b", + "type": "leaf", + "state": { + "type": "search", + "state": { + "query": "", + "matchingCase": false, + "explainSearch": false, + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical" + }, + "icon": "lucide-search", + "title": "검색" + } + }, + { + "id": "c9603960d3080e68", + "type": "leaf", + "state": { + "type": "bookmarks", + "state": {}, + "icon": "lucide-bookmark", + "title": "북마크" + } + } + ] + } + ], + "direction": "horizontal", + "width": 200 + }, + "right": { + "id": "6ecfcabcc7d99142", + "type": "split", + "children": [ + { + "id": "af19aa3e765fceed", + "type": "tabs", + "children": [ + { + "id": "88469e08b32438ef", + "type": "leaf", + "state": { + "type": "backlink", + "state": { + "file": "99. Setting/Templates/감정일기템플릿_v2.md", + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical", + "showSearch": false, + "searchQuery": "", + "backlinkCollapsed": false, + "unlinkedCollapsed": true + }, + "icon": "links-coming-in", + "title": "감정일기템플릿_v2 의 백링크" + } + }, + { + "id": "56f9ac0dd872a4c1", + "type": "leaf", + "state": { + "type": "outgoing-link", + "state": { + "file": "99. Setting/Templates/감정일기템플릿_v2.md", + "linksCollapsed": false, + "unlinkedCollapsed": true + }, + "icon": "links-going-out", + "title": "감정일기템플릿_v2 의 나가는 링크" + } + }, + { + "id": "83df6dd68622597b", + "type": "leaf", + "state": { + "type": "tag", + "state": { + "sortOrder": "frequency", + "useHierarchy": true, + "showSearch": false, + "searchQuery": "" + }, + "icon": "lucide-tags", + "title": "태그" + } + }, + { + "id": "c7406aeb96d0e759", + "type": "leaf", + "state": { + "type": "all-properties", + "state": { + "sortOrder": "frequency", + "showSearch": false, + "searchQuery": "" + }, + "icon": "lucide-archive", + "title": "모든 속성" + } + }, + { + "id": "a952dfc7de9966f3", + "type": "leaf", + "state": { + "type": "outline", + "state": { + "file": "99. Setting/Templates/감정일기템플릿_v2.md", + "followCursor": false, + "showSearch": false, + "searchQuery": "" + }, + "icon": "lucide-list", + "title": "감정일기템플릿_v2 의 개요" + } + }, + { + "id": "43cf18929a1ebb12", + "type": "leaf", + "state": { + "type": "calendar", + "state": {}, + "icon": "calendar-with-checkmark", + "title": "Calendar" + } + } + ], + "currentTab": 5 + } + ], + "direction": "horizontal", + "width": 200 + }, + "left-ribbon": { + "hiddenItems": { + "switcher:빠른 전환기 열기": false, + "graph:그래프 뷰 열기": false, + "canvas:새 캔버스 만들기": false, + "templates:템플릿 삽입": false, + "command-palette:명령어 팔레트 열기": false, + "bases:새 베이스 생성하기": false, + "templater-obsidian:Templater": false, + "periodic-notes:Open today": false + } + }, + "active": "38a37f3cd723a850", + "lastOpenFiles": [ + "AI활용 성찰적 글쓰기/AI활용 성찰적 글쓰기 - 5주차.md", + "AI활용 성찰적 글쓰기/AI활용 성찰적 글쓰기 - 8주차.md", + "AI활용 성찰적 글쓰기/AI활용 성찰적 글쓰기 - 7주차.md", + "AI활용 성찰적 글쓰기/AI활용 성찰적 글쓰기 - 4주차.md", + "AI활용 성찰적 글쓰기/AI활용 성찰적 글쓰기 - 3주차.md", + "AI활용 성찰적 글쓰기/AI활용 성찰적 글쓰기 - 2주차.md", + "AI활용 성찰적 글쓰기/AI활용 성찰적 글쓰기 - 1주차.md", + "AI활용 성찰적 글쓰기/AI활용 성찰적 글쓰기 - 11주차.md", + "AI활용 성찰적 글쓰기/AI활용 성찰적 글쓰기 - 10주차.md", + "AI활용 성찰적 글쓰기/AI활용 성찰적 글쓰기 - 9주차.md", + "AI활용 성찰적 글쓰기/AI활용 성찰적 글쓰기 - 13주차.md", + "AI활용 성찰적 글쓰기/AI활용 성찰적 글쓰기 - 12주차.md", + "99. Setting/Templates/👨‍🏫 대학 강의 노트 템플릿 (LECTURE NOTE TEMPLATE).md", + "1. Connect/1-1. 성찰 일지/2025-11-05 (수).md", + "1. Connect/1-1. 성찰 일지/2025-11-02 (일).md", + "1. Connect/1-1. 성찰 일지/2025-10-30 (목).md", + "1. Connect/1-1. 성찰 일지/2025-11-08 (토).md", + "99. Setting/Templates/New DIKM Note Template.md", + "99. Setting/Templates/New DIKM Note.md", + "99. Setting/Templates/Daily Notes.md", + "99. Setting/Templates/창작리소스템플릿.md", + "99. Setting/Templates/감정일기템플릿_v2.md", + "1. Connect/1-2. 창작 리소스/A Small Fantasy in DONGHAE.md", + "Emotion_Journal/2025/12/2025-12-12 (금).md.md", + "Emotion_Journal/2025/12/2025-12-11.md.md", + "99. Setting/Additional/Pasted image 20251213075931.png", + "99. Setting/Additional/스크린샷 2025-12-13 오전 12.20.26.png", + "99. Setting/Additional/스크린샷 2025-12-12 오후 11.39.28.png", + "99. Setting/Additional/Pasted image 20251213080602.png", + "99. Setting/Additional/Pasted image 20251213080150.png", + "99. Setting/Additional/Pasted image 20251213075542.png", + "99. Setting/Additional/Pasted image 20251213080352.png", + "99. Setting/Additional/Pasted image 20251213081959.png", + "99. Setting/Additional/Pasted image 20251213075753.png", + "99. Setting/Additional/Pasted image 20251213073826.png", + "1. Connect/1-1. 성찰 일지/2025-11-15 (토).md", + "1. Connect/1-1. 감정일기", + "Emotion_Journal/2025/12", + "Emotion_Journal/2025", + "Emotion_Journal", + "99. Setting/Additional", + "99. Setting/Templates", + "1. Connect/1-2. 창작 리소스", + "1. Connect/1-1. 성찰 일지", + "1. Connect/강의 모음", + "AI활용 성찰적 글쓰기" + ] +} \ No newline at end of file diff --git a/data/student_040/New_Obsidian Vault/1. Connect/.DS_Store b/data/student_040/New_Obsidian Vault/1. Connect/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 Binary files /dev/null and b/data/student_040/New_Obsidian Vault/1. Connect/.DS_Store differ diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-10-29 (\341\204\211\341\205\256).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-10-29 (\341\204\211\341\205\256).md" new file mode 100644 index 0000000000000000000000000000000000000000..88f9dbb78903453b0d56c385493dbc85c73b8ff3 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-10-29 (\341\204\211\341\205\256).md" @@ -0,0 +1,65 @@ + +--- +date: "2025-10-29" +mood: "😐 보통" +energy: 4 +focus: 3 +social: 5 +weather: "🌤️ 대체로 맑음" +place: "집" +tags: [감정, 일기,] +music: "https://www.youtube.com/watch?si=yeW8YdTdJV0hD1p_&embeds_referring_euri=https%3A%2F%2Fnamu.wiki%2F&source_ve_path=Mjg2NjQsMTY0NTA2&v=e1oYTWjiPQ0&feature=youtu.be &Team_Back to Life" +--- + +# 감정일기 - 2025-10-29 + + +## 🌤 기본 정보 +- **날짜:** 2025-10-29 +- **장소:** 집 +- **날씨:** 🌤️ 대체로 맑음   +- **기분:** 😐 보통   +- **에너지:** 4 +- **집중력:** 3 +- **교류 정도:** 5 + +--- + +## 💭 오늘의 키워드 +무난 + +## 🎧 오늘의 음악 +- 링크: https://youtu.be/umkH3aM_vdU?si=BlucpoSnaGl2KZwk +- 인상 깊은 가사 한 줄: 매치율은 20%, But “0” 하나를 더할 거야 + +--- + +## ✍ 너 이거 했어? +- [x] 영양제 먹기 +- [x] 일어나서 스트레칭 + +--- + +## 🪞 감정 탐색 +- **감정의 원인:** 그냥 힘들다 +- **다음에 비슷한 감정을 느낀다면:** 어떻게 해결해나가야 할지 모르겠다 + +--- + +## 🌱 사유 확장 +> 오늘 하루를 한 문장으로 표현한다면? + +💭 **오늘의 질문:** 지금 가장 나를 힘들게 하는 생각은 무엇일까? +_ 삶... + +--- + +## 🧩 창작 연결 +- 오늘 감정에서 파생된 이미지나 콘셉트가 있다면 메모: + +![[스크린샷 2025-12-12 오후 11.39.28.png]] +--- + +## 🔁 리마인드 +- 내일 나에게 해주고 싶은 말: 내일은 좀 힘내자! + diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-10-30 (\341\204\206\341\205\251\341\206\250).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-10-30 (\341\204\206\341\205\251\341\206\250).md" new file mode 100644 index 0000000000000000000000000000000000000000..d45b262bb88d98d62d086bb40744c3da8137d618 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-10-30 (\341\204\206\341\205\251\341\206\250).md" @@ -0,0 +1,66 @@ + +--- +date: "2025-10-30" +mood: "😔 우울" +energy: 2 +focus: function focus(3) +social: 2 +weather: "🌤️ 대체로 맑음" +place: "학교" +tags: [감정, 일기, "시험기간"] +music: "https://youtu.be/KqE0P1qMtQg?si=tXvh6Qb7QIWHOm9w" +--- + +# 감정일기 - 2025-10-30 + + +## 🌤 기본 정보 +- **날짜:** 2025-10-30   +- **장소:** 학교   +- **날씨:** 🌤️ 대체로 맑음   +- **기분:** 😔 우울   +- **에너지:** 2   +- **교류 정도:** 2 + +--- + +## 💭 오늘의 키워드 +시험기간 + +## 🎧 오늘의 음악 +- 링크: https://youtu.be/KqE0P1qMtQg?si=tXvh6Qb7QIWHOm9w +- 인상 깊은 가사 한 줄: Go insane 터질 듯이 뛰어댈 심장, +벼랑 끝에 나를 몰아붙여 real life + +--- + +## ✍ 너 이거 했어? +- [x] 영양제 먹기 +- [x] 일어나서 스트레칭 + +--- + +## 🪞 감정 탐색 +- **감정의 원인:** 미리미리 안 해서 조급함   +- **다음에 비슷한 감정을 느낀다면:** 미리미리 해서 잘 좀 하자 + +--- + +## 🌱 사유 확장 +> 오늘 하루를 한 문장으로 표현한다면? +> 강박 + +💭 **오늘의 질문:** 지금 가장 나를 힘들게 하는 생각은 무엇일까? +_ 발표 + +--- + +## 🧩 창작 연결 +- 오늘 감정에서 파생된 이미지나 콘셉트가 있다면 메모: X + +--- + +## 🔁 리마인드 +- 내일 나에게 해주고 싶은 말: +힘내장 + diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-01 (\341\204\220\341\205\251).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-01 (\341\204\220\341\205\251).md" new file mode 100644 index 0000000000000000000000000000000000000000..9ea4df822198b990a752317902d451790101f4c7 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-01 (\341\204\220\341\205\251).md" @@ -0,0 +1,59 @@ + +--- +date: "2025-11-01" +mood: "😔 우울" +energy: 2 +focus: function focus(4) +social: 1 +weather: "🌤️ 대체로 맑음" +place: "학교" +tags: [감정, 일기] +music: "https://youtu.be/bkhso0Re_y8?si=H3SVxMCVjIWP-LNo" +--- + +# 감정일기 - 2025-11-01 + + +## 🌤 기본 정보 +- **날짜:** 2025-11-01 +- **장소:** 학교   +- **날씨:** 🌤️ 대체로 맑음   +- **기분:** 😔 우울   +- **에너지:** 2   +- **교류 정도:** 1 + +--- + +## 💭 오늘의 키워드 +그냥 산다 + +## 🎧 오늘의 음악 +- 링크: https://youtu.be/bkhso0Re_y8?si=H3SVxMCVjIWP-LNo +- 인상 깊은 가사 한 줄: +And Robinson Crusoe Is not so far from worldly cares 로빈슨 크루소는 세상의 근심과 그리 멀지 않았을거예요 +As our blue room far away upstairs 머나먼 윗층의 우리의 작고 파란방처럼 말이에요 + +--- + +## ✍ 너 이거 했어? +- [x] 영양제 먹기  +- [x] 일어나서 스트레칭 + +--- + +## 🪞 감정 탐색 +- **감정의 원인:**   +- **다음에 비슷한 감정을 느낀다면:** 🌱 사유 확장 +> 오늘 하루를 한 문장으로 표현한다면? +"오늘도 힘들었다" +💭 오늘의 질문: 오늘의 나는 무엇에 감사하고 있지? +_ 아무것도 감사한 게 없다 + +--- + +## 🧩 창작 연결 +- 오늘 감정에서 파생된 이미지나 콘셉트가 있다면 메모: +![[스크린샷 2025-12-13 오전 12.20.26.png]] +--- +## 🔁 리마인드 +- 내일 나에게 해주고 싶은 말: 내일도 힘내자! \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-02 (\341\204\213\341\205\265\341\206\257).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-02 (\341\204\213\341\205\265\341\206\257).md" new file mode 100644 index 0000000000000000000000000000000000000000..27bd8550a6fc6df1ca8346893d63c03290b1edbf --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-02 (\341\204\213\341\205\265\341\206\257).md" @@ -0,0 +1,60 @@ + +--- +date: 2025-11-02 (일) +mood: 😊 행복 +weather: 🌤️ 대체로 맑음 +place: 춘천 명동 일대 + + +# 성찰 일지 + + +## 🏃 일일 점검 (Daily Check) +- [x] 영양제 챙겨 먹기  +- [x] 일어나서 스트레칭 + +--- + +## 🧐 성찰 탐색 (Reflection & Analysis) +- **발단:** 오늘 이 감정(**😊 행복**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: 1. 오래 기다렸던 바지가 2개월 만에 배송이 와서. +2. 동기와 즐거운 시간을 보내서. +3. 올리브영에서 과소비를 해서. + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: 충족 (물욕이라든지 우정, 가족) + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: 과소비로 인한 일시적 충족에 너무 기대지 말 것. + 정말 내게 필요한 것인지, 아님 견물생심인지, 눈앞의 것에 현혹된 것인지 곱씹고 고민해야 함. + 작은 실천이 큰 물결을 일게 한다. + +--- +## 🌱 사유 확장 (Action-Oriented) +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: 충동적 과소비 + +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? +: 과소비로 일시적 충족을 얻으려고 하는 나쁜 습관. + +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: 미뤄놨던 가계부를 쓰기. + +--- + +## 💭 오늘의 질문 +> **오늘의 나는 무엇에 감사하고 있지?** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +: 즐거움을 나눌 친구가 있다는 것. + +--- + +## 🎨 심상 시각화 + +[![사순절, 절제하며 경건하게 < 문화 < 뉴스 < 기사본문 - 한국성결신문](https://cdn.kehcnews.co.kr/news/photo/201202/13105_10388_461.jpg) +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** 절제하는 멋있는 어른이 되자. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-05 (\341\204\211\341\205\256).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-05 (\341\204\211\341\205\256).md" new file mode 100644 index 0000000000000000000000000000000000000000..3149331ed1522366d968a72c26b3c774c9a0b185 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-05 (\341\204\211\341\205\256).md" @@ -0,0 +1,56 @@ + +--- +date: 2025-11-05 (수) +mood: 😐 보통 +weather: ☁️ 흐림 +place: 도서관 +keywords: #미룸, #계획 + +--- +# 성찰 일지 + +## 🏃 To-Do List +- [ ] 영양제 챙겨 먹기  +- [x] 일어나서 스트레칭 +- [x] 물 500ml 이상 섭취 + +--- + +## 🧐 성찰 탐색 +- **발단:** 오늘 이 감정(**😐 보통**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: 과제 마감이 겹치면서 하루 종일 마음이 분주했다. + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: 일을 쪼개지 않고 한 덩어리로 인식하는 습관. + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: 할 일을 ‘덩어리’가 아니라 ‘단위’로 인식해야 한다. + +--- +## 🌱 사유 확장 +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: 집중은 되지만 쉽게 피로해짐. +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? +: 계획은 있지만 실행 단위가 큼. +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: 과제를 30분 단위로 쪼개기. + +--- + +## 💭 오늘의 질문 +> **오늘 내가 나 자신에게 해주고 싶은 말은?** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +> 제발 미루지 말고 차근차근 해라. + +--- + +## 🎨 심상 시각화 + +![[Pasted image 20251213073829.png]] + +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** 조급함은 계획이 아니라 단위의 문제다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-08 (\341\204\220\341\205\251).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-08 (\341\204\220\341\205\251).md" new file mode 100644 index 0000000000000000000000000000000000000000..f9d469daba5f6cd263bf2a2d177974ee480bd480 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-08 (\341\204\220\341\205\251).md" @@ -0,0 +1,56 @@ + +--- +date: 2025-11-08 (토) +mood: 😊 행복 +weather: ☀️ 맑음 +place: 집 +keywords: #휴식 + +--- + +# 성찰 일지 + +## 🏃 To-Do List +- [x] 영양제 챙겨 먹기  +- [x] 일어나서 스트레칭 +- [x] 물 500ml 이상 섭취 + +--- + +## 🧐 성찰 탐색 + +- **발단:** 오늘 이 감정(**😊 행복**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: 집에서 혼자 보내는 시간이 편안하게 느껴졌다. + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: 외부 자극이 줄어들며 에너지가 회복됨. + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: 쉼은 보상이지 게으름이 아니다. +--- +## 🌱 사유 확장 + +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: 혼자 있는 시간이 안정적으로 느껴짐. +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? +: 과도한 사회적 자극 뒤엔 회피가 온다. +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: 주 1회는 의도적으로 약속 비우기. + +--- + +## 💭 오늘의 질문 +> **오늘 하루 중 가장 기억에 남는 장면은 뭐야?** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +: 침대에 누워 닌텐도 스위치를 한 것 +--- + +## 🎨 심상 시각화 + +![[Pasted image 20251213075542.png]] +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** 잘 쉬는 것도 관리다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-12 (\341\204\211\341\205\256).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-12 (\341\204\211\341\205\256).md" new file mode 100644 index 0000000000000000000000000000000000000000..808a17c79b86d0592e07a1842bbf95e90df274a1 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-12 (\341\204\211\341\205\256).md" @@ -0,0 +1,57 @@ + +--- +date: 2025-11-12 (수) +mood: 🤔 복잡 +weather: 🌧️ 비 +place: 카페 +keywords: #강박, #완성 + +--- + +# 성찰 일지 + +## 🏃 To-Do List +- [ ] 영양제 챙겨 먹기  +- [ ] 일어나서 스트레칭 +- [x] 물 500ml 이상 섭취 + +--- + +## 🧐 성찰 탐색 + +- **발단:** 오늘 이 감정(**🤔 복잡**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: 발표 아이디어가 쉽게 정리되지 않았다. + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: 완성도를 처음부터 높이려는 강박. + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: 초안은 거칠어도 괜찮다. +--- +## 🌱 사유 확장 + +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: 시작 앞에서 오래 머무름. +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? +: 기준을 너무 높게 잡음. +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: 60% 완성 상태로 먼저 만들어보기. + +--- + +## 💭 오늘의 질문 +> **지금 내려놓아도 되는 생각은 무엇일까?** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +: 완벽해야 한다는 강박. +--- + +## 🎨 심상 시각화 +![[Pasted image 20251213075753.png]] + + +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** 완벽보다 진행. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-15 (\341\204\220\341\205\251).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-15 (\341\204\220\341\205\251).md" new file mode 100644 index 0000000000000000000000000000000000000000..80a339c7ee294b9f02a7052b85117f34ca999347 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-15 (\341\204\220\341\205\251).md" @@ -0,0 +1,56 @@ + +--- +date: 2025-11-15 (토) +mood: 😐 보통 +weather: 🌤️ 대체로 맑음 +place: 산책로 +keywords: #걷기, #산책 + +--- + +# 성찰 일지 + +## 🏃 To-Do List +- [x] 영양제 챙겨 먹기  +- [x] 일어나서 스트레칭 +- [x] 물 500ml 이상 섭취 + +--- + +## 🧐 성찰 탐색 + +- **발단:** 오늘 이 감정(**😐 보통**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: 산책 중 생각이 정리되었다. + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: 몸이 움직여야 생각도 흐른다. + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: 생각 정리는 책상에서만 되는 게 아니다. +--- +## 🌱 사유 확장 + +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: 걷는 동안 사고가 부드러워짐. +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? +: 정체될수록 움직임이 필요함. +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: 막힐 때 10분 걷기. + +--- + +## 💭 오늘의 질문 +> **오늘 하루 중 가장 기억에 남는 장면은 뭐야?** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +: 고양이가 똥꼬 그루밍하는 장면. +--- + +## 🎨 심상 시각화 + +![[Pasted image 20251213075931.png]] +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** 생각은 몸을 따라온다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-17 (\341\204\213\341\205\257\341\206\257).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-17 (\341\204\213\341\205\257\341\206\257).md" new file mode 100644 index 0000000000000000000000000000000000000000..aa4c54bf89fadb45224e1b502dc5cee2ac6ba8bf --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-17 (\341\204\213\341\205\257\341\206\257).md" @@ -0,0 +1,56 @@ + +--- +date: 2025-11-17 (월) +mood: 🤔 복잡 +weather: ☁️ 흐림 +place: 강의실 +keywords: #집중력, #컨디션 + +--- + +# 성찰 일지 + +## 🏃 To-Do List +- [x] 영양제 챙겨 먹기  +- [ ] 일어나서 스트레칭 +- [ ] 물 500ml 이상 섭취 + +--- + +## 🧐 성찰 탐색 + +- **발단:** 오늘 이 감정(**🤔 복잡**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: 수업을 듣는 내내 집중이 오래 가지 않았다. + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: 내용의 문제가 아니라, 내 컨디션 문제에 가까웠다. + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: 내용의 문제가 아니라, 내 컨디션 문제에 가까웠다. +--- +## 🌱 사유 확장 + +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: 집중이 끊길 때마다 같은 생각으로 빠져들었다. +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? +: 몸이 피곤할수록 생각이 산만해진다. +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: 수업 전날 수면 시간 충분히 확보하기. + +--- + +## 💭 오늘의 질문 +> **지금 가장 나를 힘들게 하는 생각은 무엇일까?** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +: 집중력 저하 +--- + +## 🎨 심상 시각화 +![[Pasted image 20251213082057.png]] + +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** 집중력은 의지보다 컨디션에 가깝다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-18 (\341\204\222\341\205\252).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-18 (\341\204\222\341\205\252).md" new file mode 100644 index 0000000000000000000000000000000000000000..35c4989dac0e77fab0f569c6e9f7bcfbfacaf5ec --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-18 (\341\204\222\341\205\252).md" @@ -0,0 +1,56 @@ + +--- +date: 2025-11-18 (화) +mood: 😔 우울 +weather: ☁️ 흐림 +place: 방 +keywords: #생체리듬 + +--- + +# 성찰 일지 + +## 🏃 To-Do List +- [ ] 영양제 챙겨 먹기  +- [x] 일어나서 스트레칭 +- [x] 물 500ml 이상 섭취 + +--- + +## 🧐 성찰 탐색 + +- **발단:** 오늘 이 감정(**😔 우울**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: 이유 없이 기분이 가라앉았다. + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: 누적 피로 + 비교. + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: 감정에도 휴식이 필요하다. +--- +## 🌱 사유 확장 + +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: 비교가 시작되면 에너지가 급감함. +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? +: 타인의 속도를 기준 삼음. +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: SNS 사용 시간 줄이기. + +--- + +## 💭 오늘의 질문 +> **오늘 하루 중 가장 기억에 남는 장면은 뭐야?** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +: 유튜브에 뜬 고양이가 똥 싸는 장면. +--- + +## 🎨 심상 시각화 +![[Pasted image 20251213080150.png]] + +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** 내 리듬은 내가 정한다 \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-21 (\341\204\200\341\205\263\341\206\267).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-21 (\341\204\200\341\205\263\341\206\267).md" new file mode 100644 index 0000000000000000000000000000000000000000..e2b0d7a8160f71ba1c0335f5980b2e2268e7d261 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-21 (\341\204\200\341\205\263\341\206\267).md" @@ -0,0 +1,56 @@ + +--- +date: 2025-11-21 (금) +mood: 😊 행복 +weather: ☀️ 맑음 +place: 카페 +keywords: #목표, #집중력 + +--- + +# 성찰 일지 + +## 🏃 To-Do List +- [x] 영양제 챙겨 먹기  +- [x] 일어나서 스트레칭 +- [x] 물 500ml 이상 섭취 + +--- + +## 🧐 성찰 탐색 + +- **발단:** 오늘 이 감정(**😊 행복**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: 작업이 예상보다 잘 풀렸다. + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: 목표가 명확했기 때문. + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: 방향이 정해지면 속도는 따라온다. +--- +## 🌱 사유 확장 + +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: 몰입이 자연스럽게 발생. +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? +: 명확한 목적 → 안정적인 집중. +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: 작업 전 목표 한 줄 쓰기. + +--- + +## 💭 오늘의 질문 +> **지금 내려놓아도 되는 생각은 무엇일까?** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +: 부차적인 목표들. +--- + +## 🎨 심상 시각화 +![[Pasted image 20251213080352.png]] + +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** 방향이 있으면 흔들리지 않는다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-24 (\341\204\213\341\205\257\341\206\257).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-24 (\341\204\213\341\205\257\341\206\257).md" new file mode 100644 index 0000000000000000000000000000000000000000..59c1118a4a9d4c40e4b28d3fa5ef619e31fa43d9 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-24 (\341\204\213\341\205\257\341\206\257).md" @@ -0,0 +1,57 @@ + +--- +date: 2025-11-24 (월) +mood: 😐 보통 +weather: 🌫️ 안개 +place: 학교 +keywords: #무의미 + +--- + +# 성찰 일지 + +## 🏃 To-Do List +- [x] 영양제 챙겨 먹기  +- [ ] 일어나서 스트레칭 +- [x] 물 500ml 이상 섭취 + +--- + +## 🧐 성찰 탐색 + +- **발단:** 오늘 이 감정(**😐 보통**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: 하루가 빠르게 지나갔다. + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: 하루를 중간 점검 없이 흘려보냄. + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: 잠시 멈춤, 뒤돌아 보기. +--- +## 🌱 사유 확장 + +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: 기억에 남는 장면이 없음. +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? +: 열심히 살려고 노력하지 않고 살던대로 삶. +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: 저녁 먹고 그 날 하루 되돌아보는 시간 가지기. + +--- + +## 💭 오늘의 질문 +> **오늘 하루 중 가장 기억에 남는 장면은 뭐야?** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +: 없음 +--- + +## 🎨 심상 시각화 +![[Pasted image 20251213080602.png]] + + +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** 의식하지 않으면 쌓이지 않는다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-27 (\341\204\206\341\205\251\341\206\250).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-27 (\341\204\206\341\205\251\341\206\250).md" new file mode 100644 index 0000000000000000000000000000000000000000..3c8943312ec5e06a5b28b1c172edd5f9638a2125 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-11-27 (\341\204\206\341\205\251\341\206\250).md" @@ -0,0 +1,56 @@ + +--- +date: 2025-11-27 (목) +mood: 🤔 복잡 +weather: 🌧️ 비 +place: 집 +keywords: #미완성, #부담감, #두려움 + +--- + +# 성찰 일지 + +## 🏃 To-Do List +- [x] 영양제 챙겨 먹기  +- [ ] 일어나서 스트레칭 +- [x] 물 500ml 이상 섭취 + +--- + +## 🧐 성찰 탐색 + +- **발단:** 오늘 이 감정(**🤔 복잡**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: 연말이 다가온다는 생각. + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: 성취가 없다는 것에 대한 부담. + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: 모든 것은 과정에 있는 중이다. +--- +## 🌱 사유 확장 + +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: 조급함 +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? +: 모든 것은 과정 중이다. +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: 올해 ‘한 가지 잘한 점’ 기록하기. + +--- + +## 💭 오늘의 질문 +> **오늘 하루 중 가장 기억에 남는 장면은 뭐야?** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +: 머리를 쥐어뜯는 자신. +--- + +## 🎨 심상 시각화 +![[Pasted image 20251213080803.png]] + +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** 완성보다 지속. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-12-01 (\341\204\213\341\205\257\341\206\257).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-12-01 (\341\204\213\341\205\257\341\206\257).md" new file mode 100644 index 0000000000000000000000000000000000000000..a4b93b0adf536f65bd2124aced63e9581c85a40f --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-12-01 (\341\204\213\341\205\257\341\206\257).md" @@ -0,0 +1,56 @@ + +--- +date: 2025-12-01 (월) +mood: 🤔 복잡 +weather: 🌫️ 안개 +place: 학교 +keywords: #우선순위, #정리 + +--- + +# 성찰 일지 + +## 🏃 To-Do List +- [ ] 영양제 챙겨 먹기  +- [ ] 일어나서 스트레칭 +- [x] 물 500ml 이상 섭취 + +--- + +## 🧐 성찰 탐색 + +- **발단:** 오늘 이 감정(**🤔 복잡**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: 해야 할 일은 분명한데 손이 쉽게 움직이지 않았다. + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: 할 일이 많아서가 아니라, 우선순위가 흐릿했기 때문. + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: 막막함은 대부분 정리되지 않은 상태에서 온다. +--- +## 🌱 사유 확장 + +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: 시작을 미루고 정리부터 하려는 경향. +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? +: 불확실할수록 준비에만 머무른다. +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: 가장 먼저 할 일 하나만 정해서 바로 시작하기. + +--- + +## 💭 오늘의 질문 +> **오늘 내가 나 자신에게 해주고 싶은 말은?** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +: 니가 지금 뭘 하려는 건지 두 눈 똑똑히 봐. +--- + +## 🎨 심상 시각화 +![[Pasted image 20251213081302.png]] + +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** 정리는 시작을 대신할 수 없다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-12-03 (\341\204\211\341\205\256).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-12-03 (\341\204\211\341\205\256).md" new file mode 100644 index 0000000000000000000000000000000000000000..245bc3cfe3258c1d959f420fbd7feb736fd2aeda --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-12-03 (\341\204\211\341\205\256).md" @@ -0,0 +1,56 @@ + +--- +date: 2025-12-03 (수) +mood: 😐 보통 +weather: 🌤️ 대체로 맑음 +place: 카페 +keywords: #수면이곧삶이다 + +--- + +# 성찰 일지 + +## 🏃 To-Do List +- [ ] 영양제 챙겨 먹기  +- [ ] 일어나서 스트레칭 +- [x] 물 500ml 이상 섭취 + +--- + +## 🧐 성찰 탐색 + +- **발단:** 오늘 이 감정(**😐 보통**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: 작업 집중도가 들쭉날쭉했다. + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: 수면 리듬 불안정. + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: 집중은 생활의 결과다. +--- +## 🌱 사유 확장 + +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: 오후 집중력 급감. +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? +: 취침 시간 밀림. +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: 자정 이전 취침 시도. + +--- + +## 💭 오늘의 질문 +> **오늘의 나는 무엇에 감사하고 있지?** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +: 제떄 잠을 잘 수 있던 평소에 대한 감사. +--- + +## 🎨 심상 시각화 +![[Pasted image 20251213080944.png]] + +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** 집중은 관리의 산물이다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-12-06 (\341\204\220\341\205\251).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-12-06 (\341\204\220\341\205\251).md" new file mode 100644 index 0000000000000000000000000000000000000000..1100a36a65eb7542ab4a41992eaf6e04b7cb13b5 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-12-06 (\341\204\220\341\205\251).md" @@ -0,0 +1,56 @@ + +--- +date: 2025-12-06 (토) +mood: 😊 행복 +weather: 🌤️ 대체로 맑음 +place: 집 +keywords: #고요 + +--- + +# 성찰 일지 + +## 🏃 To-Do List +- [x] 영양제 챙겨 먹기  +- [x] 일어나서 스트레칭 +- [x] 물 500ml 이상 섭취 + +--- + +## 🧐 성찰 탐색 + +- **발단:** 오늘 이 감정(**😊 행복**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: 조용한 하루가 만족스러웠다. + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: 일정이 과하지 않음. + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: 비워야 채울 곳이 생긴다. +--- +## 🌱 사유 확장 + +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: 마음의 여유. +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? +: 일정 과밀 시 삶 만족도 하락. +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: 간 일정 20% 비우기. + +--- + +## 💭 오늘의 질문 +> **지금 가장 나를 힘들게 하는 생각은 무엇일까?** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +: 평생토록 사람과 교류하고 살아가야 한다는 생각. +--- + +## 🎨 심상 시각화 +![[Pasted image 20251213081450.png]] + +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** 여백도 계획이다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-12-10 (\341\204\211\341\205\256).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-12-10 (\341\204\211\341\205\256).md" new file mode 100644 index 0000000000000000000000000000000000000000..f8fb06d721877b48776310d68cd62cce11ee0371 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-12-10 (\341\204\211\341\205\256).md" @@ -0,0 +1,56 @@ + +--- +date: 2025-12-10 (수) +mood: 😔 우울 +weather: ☁️ 흐림 +place: 학교 +keywords: #기말, #압박 + +--- + +# 성찰 일지 + +## 🏃 To-Do List +- [x] 영양제 챙겨 먹기  +- [ ] 일어나서 스트레칭 +- [ ] 물 500ml 이상 섭취 + +--- + +## 🧐 성찰 탐색 + +- **발단:** 오늘 이 감정(**😔 우울**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: 기말 압박. + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: 결과에 대한 두려움. + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: 통제 가능한 것에 집중. +--- +## 🌱 사유 확장 + +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: 불안 +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? + : 미래를 과도하게 당겨 봄. +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: 오늘 할 일만 하기! + +--- + +## 💭 오늘의 질문 +> **지금 내려놓아도 되는 생각은 무엇일까?** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +: 과도한 걱정, 망상. +--- + +## 🎨 심상 시각화 +![[Pasted image 20251213081641.png]] + +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** 지금 할 수 있는 것만 하면 되는겨. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-12-13 (\341\204\220\341\205\251).md" "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-12-13 (\341\204\220\341\205\251).md" new file mode 100644 index 0000000000000000000000000000000000000000..7fdb07e1209489671b34ed63df6b12027626beee --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/2025-12-13 (\341\204\220\341\205\251).md" @@ -0,0 +1,56 @@ + +--- +date: 2025-12-13 (토) +mood: 😐 보통 +weather: 🌤️ 대체로 맑음 +place: 집 +keywords: #기록, #기록의힘 + +--- + +# 성찰 일지 + +## 🏃 To-Do List +- [x] 영양제 챙겨 먹기  +- [x] 일어나서 스트레칭 +- [x] 물 500ml 이상 섭취 + +--- + +## 🧐 성찰 탐색 + +- **발단:** 오늘 이 감정(**😐 보통**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: 한 달을 돌아보게 됐다. + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: 기록이 쌓였기 때문. + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: 기록은 생각을 남긴다. +--- +## 🌱 사유 확장 + +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: 판단이 이성적이어짐. +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? +: 성찰 → 조정 → 안정. +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: 성찰 → 조정 → 안정. + +--- + +## 💭 오늘의 질문 +> **오늘의 나는 무엇에 감사하고 있지?** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +: 일상의 무던함. +--- + +## 🎨 심상 시각화 +![[Pasted image 20251213081855.png]] + +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** 나는 이미 잘 굴러가고 있다. \ No newline at end of file diff --git a/data/student_040/New_Obsidian Vault/99. Setting/.DS_Store b/data/student_040/New_Obsidian Vault/99. Setting/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..d55b369cc132fcc58ffc52ecdd88cf165996547e Binary files /dev/null and b/data/student_040/New_Obsidian Vault/99. Setting/.DS_Store differ diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213073826.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213073826.png new file mode 100644 index 0000000000000000000000000000000000000000..bd73b9c5eb5d4c8f34d95e7957081681328bd9f5 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213073826.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de635f0eb9de10befea706b6f100c20be448d3e2341f2b1675e11f45ee08be8d +size 317920 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213073829.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213073829.png new file mode 100644 index 0000000000000000000000000000000000000000..bd73b9c5eb5d4c8f34d95e7957081681328bd9f5 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213073829.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de635f0eb9de10befea706b6f100c20be448d3e2341f2b1675e11f45ee08be8d +size 317920 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213075318.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213075318.png new file mode 100644 index 0000000000000000000000000000000000000000..c8d5ca730c38f78e3eb1eb440b8fbb9dfc029f77 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213075318.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94c9a51cd18e321357b596990ff663aad1c5f58014dc9f9b8430bcefad616626 +size 357172 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213075542.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213075542.png new file mode 100644 index 0000000000000000000000000000000000000000..288e4bf115cf0983f6c7b4cc5c85fe7074e040be --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213075542.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aedce84736474953829346a43dfaa490a911870c56b65cc79a7d40c57f8a6d8e +size 772484 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213075753.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213075753.png new file mode 100644 index 0000000000000000000000000000000000000000..a1356e9a0206038c7f56f144bce843ededf467bf --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213075753.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5e2fcba45b8939409e3209fdaf10737f58e6fa42004ded58a04fa3b7a5e3acfa +size 288526 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213075931.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213075931.png new file mode 100644 index 0000000000000000000000000000000000000000..9bec6c4e92f8eccb4d79ab6ce56996630d7a908f --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213075931.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:440b6dac404979dcc1e0d13029093e17d1750ecca881ec29eb8ac2f72623ec9f +size 1084951 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080031.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080031.png new file mode 100644 index 0000000000000000000000000000000000000000..9bec6c4e92f8eccb4d79ab6ce56996630d7a908f --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080031.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:440b6dac404979dcc1e0d13029093e17d1750ecca881ec29eb8ac2f72623ec9f +size 1084951 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080150.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080150.png new file mode 100644 index 0000000000000000000000000000000000000000..e0910ea499811a109c8ed176ab32293ae1d031d8 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080150.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c65c9bd39ff16c55dc1049552224c88b487549b5165ab2819b0660026a3cf655 +size 331948 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080352.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080352.png new file mode 100644 index 0000000000000000000000000000000000000000..595cb13c2e47b146a372e54d195677b41db94a03 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080352.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:905bf99ae0c01a615567497a122781b0b54984c336a6c80fe067ca52b746a3c9 +size 201852 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080602.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080602.png new file mode 100644 index 0000000000000000000000000000000000000000..3c2d4208d07458a1702bb01dc87abbfef8026349 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080602.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:46bc193923ed35f329aa5dd1d812288c5d5a7f91fcd483bb370c166d2c7fe2cf +size 2193185 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080803.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080803.png new file mode 100644 index 0000000000000000000000000000000000000000..3b10e20f72eb2582da67eb4b60cfb0deb7afc725 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080803.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5a0801e322de15de51c73edc8da44f9afeec0eab46626547b7ab413254e289b +size 1157576 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080944.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080944.png new file mode 100644 index 0000000000000000000000000000000000000000..8957e37aa21bcfceec37584de743b2cc038e8cc7 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213080944.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d740562609206475a6b23b80afcc65c3ac725282f9fa1c1da5e393b51798b942 +size 429207 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081302.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081302.png new file mode 100644 index 0000000000000000000000000000000000000000..dea38c1e8dbfc9079ab9b9b20fabe26fbb184768 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081302.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8873a6ae893f69a28fd5ef9b97b252372bf901c6243842c90f45f4ed1f691807 +size 1333289 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081450.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081450.png new file mode 100644 index 0000000000000000000000000000000000000000..445aae2005e2a0aeeafaab3e49b03265626efd02 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081450.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a2feded8b6f7524aafd10c4b85d150563c7705c645c7fdc2edc884a1e2cccaa +size 348845 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081641.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081641.png new file mode 100644 index 0000000000000000000000000000000000000000..90c4986829df08c5a2ba419dae31fa90a5876b6d --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081641.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09c3a1555cba6cceb1408d4cdf413b80fd347265af299de48ef0d44176097c74 +size 526280 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081849.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081849.png new file mode 100644 index 0000000000000000000000000000000000000000..0ceb0284810f579f17fecda9396b69d7b1e4d507 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081849.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:789c5dc0c8cf8205d58f9075764bdeb8edd1e5107a81eeb8ba3bc2504469eba5 +size 49373 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081852.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081852.png new file mode 100644 index 0000000000000000000000000000000000000000..0ceb0284810f579f17fecda9396b69d7b1e4d507 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081852.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:789c5dc0c8cf8205d58f9075764bdeb8edd1e5107a81eeb8ba3bc2504469eba5 +size 49373 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081855.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081855.png new file mode 100644 index 0000000000000000000000000000000000000000..0ceb0284810f579f17fecda9396b69d7b1e4d507 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081855.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:789c5dc0c8cf8205d58f9075764bdeb8edd1e5107a81eeb8ba3bc2504469eba5 +size 49373 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081959.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081959.png new file mode 100644 index 0000000000000000000000000000000000000000..0ceb0284810f579f17fecda9396b69d7b1e4d507 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213081959.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:789c5dc0c8cf8205d58f9075764bdeb8edd1e5107a81eeb8ba3bc2504469eba5 +size 49373 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213082057.png b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213082057.png new file mode 100644 index 0000000000000000000000000000000000000000..75c5974230aec1affa026910e874ea2d93b58997 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Additional/Pasted image 20251213082057.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d73824b769ca623231f64d364647d9a080422824320cd75e5740938bb33c5142 +size 62120 diff --git "a/data/student_040/New_Obsidian Vault/99. Setting/Additional/\341\204\211\341\205\263\341\204\217\341\205\263\341\204\205\341\205\265\341\206\253\341\204\211\341\205\243\341\206\272 2025-12-12 \341\204\213\341\205\251\341\204\222\341\205\256 11.39.28.png" "b/data/student_040/New_Obsidian Vault/99. Setting/Additional/\341\204\211\341\205\263\341\204\217\341\205\263\341\204\205\341\205\265\341\206\253\341\204\211\341\205\243\341\206\272 2025-12-12 \341\204\213\341\205\251\341\204\222\341\205\256 11.39.28.png" new file mode 100644 index 0000000000000000000000000000000000000000..8c7ceede61a0b16afd77bf9613954d3b10b6b38b --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/99. Setting/Additional/\341\204\211\341\205\263\341\204\217\341\205\263\341\204\205\341\205\265\341\206\253\341\204\211\341\205\243\341\206\272 2025-12-12 \341\204\213\341\205\251\341\204\222\341\205\256 11.39.28.png" @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2857725035692011c4803b1c0d08d1d57a5b63badd7cdda7bcfddc4f19506664 +size 543984 diff --git "a/data/student_040/New_Obsidian Vault/99. Setting/Additional/\341\204\211\341\205\263\341\204\217\341\205\263\341\204\205\341\205\265\341\206\253\341\204\211\341\205\243\341\206\272 2025-12-13 \341\204\213\341\205\251\341\204\214\341\205\245\341\206\253 12.20.26.png" "b/data/student_040/New_Obsidian Vault/99. Setting/Additional/\341\204\211\341\205\263\341\204\217\341\205\263\341\204\205\341\205\265\341\206\253\341\204\211\341\205\243\341\206\272 2025-12-13 \341\204\213\341\205\251\341\204\214\341\205\245\341\206\253 12.20.26.png" new file mode 100644 index 0000000000000000000000000000000000000000..7d62f474dd35dd4fcea3533bfbd451cdc4f4201c --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/99. Setting/Additional/\341\204\211\341\205\263\341\204\217\341\205\263\341\204\205\341\205\265\341\206\253\341\204\211\341\205\243\341\206\272 2025-12-13 \341\204\213\341\205\251\341\204\214\341\205\245\341\206\253 12.20.26.png" @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fe4f9f27a922a42f9b07f78007c06c69de22f112de2adb0d2f7cb8ddd8bdec4 +size 1909948 diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Templates/.DS_Store b/data/student_040/New_Obsidian Vault/99. Setting/Templates/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 Binary files /dev/null and b/data/student_040/New_Obsidian Vault/99. Setting/Templates/.DS_Store differ diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Templates/Daily Notes.md b/data/student_040/New_Obsidian Vault/99. Setting/Templates/Daily Notes.md new file mode 100644 index 0000000000000000000000000000000000000000..abb27f56269bc6d770aa25423255cf6f7f810b43 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Templates/Daily Notes.md @@ -0,0 +1,83 @@ +**1. 기본 정보 및 내비게이션 (Frontmatter/Header)** + +- **날짜 및 요일:** `{{date:YYYY-MM-DD dddd}}` (Templater 플러그인 사용 시) + +- **이전/다음 노트 링크:** `[[{{yesterday}}|어제]] | [[{{tomorrow}}|내일]]` + +- **주간/월간 노트 링크:** `[[{{date:YYYY-MM}}-W{{date:WW}}|이번 주]] | [[{{date:YYYY-MM}}|이번 달]]` + +- **태그:** `tags: #데일리노트 #{{date:YYYY-MM-DD}}` + + +**2. 오늘의 목표 및 우선순위 (Focus & Plan)** + +- **Top 3 핵심 우선순위 (MIT - Most Important Tasks):** + + - `[ ] [학업/프로젝트 이름] - [구체적인 목표]` + + - `[ ] [개인/대외 활동] - [구체적인 목표]` + + - `[ ] [기타] - [구체적인 목표]` + +- **오늘의 할 일 목록 (Tasks):** (Tasks 플러그인을 활용하기 위해 마크다운 체크리스트 사용) + + - `[ ] [과목명/프로젝트] - 과제 제출하기 📅 {{date:YYYY-MM-DD}} #todo` + + - `[ ] [활동] - 미팅 준비하기 📅 {{date:YYYY-MM-DD}} #활동` + + - `[ ] [개인] - 운동 30분 하기 📅 {{date:YYYY-MM-DD}} #습관` + + +**3. 시간 기록 및 활동 로그 (Daily Log & Events)** + +- **일정 (Schedule):** (시간 순으로 활동을 기록) + + - `09:00 - 10:30 [[과목명]] 수업` + + - `14:00 - 15:00 [[스터디 그룹명]] 회의 (주요 내용: ...)` + +- **새로운 노트/수정된 노트:** (Dataview 플러그인을 활용하여 오늘 생성/수정된 노트를 자동 표시) + + - `~~~dataview` + + - `LIST file.link` + + - `WHERE file.cday = this.file.day OR file.mday = this.file.day` + + - `AND file.name != this.file.name` + + - `~~~` + + +**4. 생각 및 아이디어 (Thoughts & Notes)** + +- **빠른 메모 (Ephemeral Notes):** (하루 중 떠오른 생각, 짧은 정보 등을 임시로 기록) + + - `- ...` + +- **배운 것/인사이트 (Learnings/Insights):** + + - `[[키워드]] 에 대해 알게 된 새로운 사실:` + + - `오늘의 깨달음:` + + +**5. 일일 회고 및 평가 (Review & Reflection)** + +- **오늘의 성과:** (Top 3 목표 달성 여부 및 기타 주요 성과) + + - `[ ] Top 3 목표 1 달성 여부` + +- **감사 일기 (Gratitude):** (오늘 감사했던 3가지) + + - `1.` + + - `2.` + + - `3.` + +- **개선할 점/내일의 준비:** + + - `오늘의 반성 및 내일 주의할 점:` + + - `내일의 에너지 레벨을 위한 준비 (ex. 일찍 자기)` \ No newline at end of file diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Templates/New DIKM Note Template.md b/data/student_040/New_Obsidian Vault/99. Setting/Templates/New DIKM Note Template.md new file mode 100644 index 0000000000000000000000000000000000000000..005e134187bf229c84f1a63360c7cee0df6a8a73 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Templates/New DIKM Note Template.md @@ -0,0 +1,72 @@ +--- +title: +aliases: +"DIKM_단계:": + - 🟢 D + - 🔵 I + - 🟣 K + - 🟠 M + - ⬜ 보류 +"종류:": + - 노트 + - 기사 + - 논문 + - 아이디어 + - 단상 + - 프로젝트 + - 코딩 +"도메인영역:": + - 학술 + - 추론 + - 글쓰기 + - 미디어 + - 감정 + - 실천 + - 프롬프트 +"멀티모달종류:": + - 텍스트 + - 비디오 + - 오디오 + - 경험 + - 시각 + - 촉각 + - 데이터 +"정리의도:": + - 인사이트 + - 연구 + - 패턴감지 + - 자기반성 + - 계획 + - 창의력 +tags: +"저자:": +"관련문서:": +"관련개념:": +date created: +source: +--- + +## 📝 Summary or Key Trigger +> 이 노트를 작성하게 된 계기, 핵심 생각 또는 인용 1~2줄 요약 + +--- + +## 🧠 주요 내용 / 본문 + + + +--- + +## 🔁 이동 예상 단계 (DIKM Looping Hint) +> 다음 단계로 발전 가능성이 있다면 메모 + +- [ ] 🟢 → 🔵 정보화할 요소 있음 +- [ ] 🔵 → 🟣 통찰로 연결 예상됨 +- [ ] 🟣 → 🟠 실천 프로젝트로 이어질 가능성 + +--- + +## 💬 내면 질문 +- 이 노트가 내 사고에 어떤 점을 던져주었는가? +- 지금의 나와 어떻게 연결되는가? +- 앞으로 어떤 실천/의미로 확장될 수 있을까? \ No newline at end of file diff --git a/data/student_040/New_Obsidian Vault/99. Setting/Templates/random-mission.md b/data/student_040/New_Obsidian Vault/99. Setting/Templates/random-mission.md new file mode 100644 index 0000000000000000000000000000000000000000..a298615e3af9409831fec2b28ba983c1995d8e85 --- /dev/null +++ b/data/student_040/New_Obsidian Vault/99. Setting/Templates/random-mission.md @@ -0,0 +1,23 @@ +<%* +// 1. 여기에 원하는 미션 목록을 자유롭게 추가하거나 수정하세요. +const missionList = [ + "책상 위 물건 하나 정리하기", + "평소에 잘 안 듣던 장르의 음악 1곡 듣기", + "스트레칭 5분 하기", + "오늘 찍은 사진 한 장 보고 3줄 감상 남기기", + "고마운 사람에게 짧은 메시지 보내기", + "물 마시기", + "하루 10분 심호흡하기", + "부모님이랑 10분 대화하기", + "강아지 산책시키기", + "책상 위 작은 쓰레기통 비우기" + "긍정적인 생각하기" +]; + +// 2. 미션 목록에서 랜덤으로 하나를 선택하는 부분입니다. (수정할 필요 없음) +const randomIndex = Math.floor(Math.random() * missionList.length); +const selectedMission = missionList[randomIndex]; + +// 3. 선택된 미션을 노트에 출력합니다. +tR += selectedMission; +%> \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/99. Setting/Templates/\341\204\200\341\205\241\341\206\267\341\204\214\341\205\245\341\206\274\341\204\213\341\205\265\341\206\257\341\204\200\341\205\265\341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272_v2.md" "b/data/student_040/New_Obsidian Vault/99. Setting/Templates/\341\204\200\341\205\241\341\206\267\341\204\214\341\205\245\341\206\274\341\204\213\341\205\265\341\206\257\341\204\200\341\205\265\341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272_v2.md" new file mode 100644 index 0000000000000000000000000000000000000000..4f04fb46ce73650a49ccb2c9f84dd7b5cb2c2cc4 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/99. Setting/Templates/\341\204\200\341\205\241\341\206\267\341\204\214\341\205\245\341\206\274\341\204\213\341\205\265\341\206\257\341\204\200\341\205\265\341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272_v2.md" @@ -0,0 +1,93 @@ +<%* +// ---------------------------------------------------------------------- +// 1. 필수 변수 정의 및 입력 프롬프트 실행 +// ---------------------------------------------------------------------- + +const date = tp.file.title; +const moodList = ["😊 행복", "😐 보통", "😔 우울", "😡 화남", "😭 힘듦", "🤔 복잡"]; +const mood = await tp.system.suggester(moodList, moodList, false, "오늘의 기분은?"); +const weatherList = ["☀️ 맑음", "🌤️ 대체로 맑음", "☁️ 흐림", "🌧️ 비", "🌨️ 눈", "🌫️ 안개", "💨 바람 많이"]; +const weather = await tp.system.suggester(weatherList, weatherList, false, "오늘의 날씨는?"); +const place = await tp.system.prompt("오늘 주요 장소"); + +const keyword = await tp.system.prompt("오늘의 핵심 키워드는?"); + +// ---------------------------------------------------------------------- +// 2. 변수를 Templater 데이터에 등록 +// ---------------------------------------------------------------------- +tp.user.date = date; +tp.user.mood = mood; +tp.user.weather = weather; +tp.user.place = place; + +const formattedKeywords = keyword.split(',').map(k => k.trim()).filter(k => k).map(k => '#' + k).join(', '); + +// ---------------------------------------------------------------------- +// 3. 랜덤 질문 함수 실행 및 변수 등록 +// ---------------------------------------------------------------------- + +const questionList = [ +    "오늘 하루 중 가장 기억에 남는 장면은 뭐야?", +    "지금 가장 나를 힘들게 하는 생각은 무엇일까?", +    "오늘의 나는 무엇에 감사하고 있지?", +    "지금 내려놓아도 되는 생각은 무엇일까?", +    "오늘 내가 나 자신에게 해주고 싶은 말은?" +]; +const selectedQuestion = questionList[Math.floor(Math.random() * questionList.length)]; +tp.user.random_question = selectedQuestion;  +%> +--- +date: <% tp.user.date %> +mood: <% tp.user.mood %> +weather: <% tp.user.weather %> +place: <% tp.user.place %> +keywords: <% formattedKeywords %> + +--- + +# 성찰 일지 + +## 🏃 To-Do List +- [ ] 영양제 챙겨 먹기  +- [ ] 일어나서 스트레칭 +- [ ] 물 500ml 이상 섭취 + +--- + +## 🧐 성찰 탐색 + +- **발단:** 오늘 이 감정(**<% tp.user.mood %>**)을 느끼게 된 **구체적인 계기**는 무엇인가요? +: + +- **원인 분석:** 이 감정의 **숨겨진 원인**은 무엇이라고 생각하나요? (예: 피로, 강박, 기대) +: + +- **대처/교훈:** 다음에 비슷한 상황을 느낀다면, **어떻게 대처**하고 싶나요? +: +--- +## 🌱 사유 확장 + +### 1) 오늘의 신호 +- **[관찰]** 오늘 나에게 **가장 의미 있는 신호** (사건, 생각, 감정)는 무엇이었나요? +: +### 2) 신호가 말해주는 패턴 +- **[분석]** 이 신호는 나의 어떤 **습관이나 패턴**에서 비롯되었나요? +: +### 3) 내일 조정 1개 +- **[행동]** 이 패턴을 개선하기 위해 **내일 딱 하나만 조정**할 행동은 무엇인가요? +: + +--- + +## 💭 오늘의 질문 +> **<% tp.user.random_question %>** > 오늘 하루를 이 질문에 기반하여 **한 문장**으로 표현한다면? +: +--- + +## 🎨 심상 시각화 + + +--- + +## 🔁 리마인드 +- **내일의 나에게 한마디:** \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/99. Setting/Templates/\341\204\216\341\205\241\341\206\274\341\204\214\341\205\241\341\206\250\341\204\205\341\205\265\341\204\211\341\205\251\341\204\211\341\205\263\341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272.md" "b/data/student_040/New_Obsidian Vault/99. Setting/Templates/\341\204\216\341\205\241\341\206\274\341\204\214\341\205\241\341\206\250\341\204\205\341\205\265\341\204\211\341\205\251\341\204\211\341\205\263\341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272.md" new file mode 100644 index 0000000000000000000000000000000000000000..ecd4b12fe0f601a81f6c900cc6819fd199fea0b9 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/99. Setting/Templates/\341\204\216\341\205\241\341\206\274\341\204\214\341\205\241\341\206\250\341\204\205\341\205\265\341\204\211\341\205\251\341\204\211\341\205\263\341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272.md" @@ -0,0 +1,30 @@ +<%* +const project = await tp.system.prompt("프로젝트명 (예: A Small Fantasy in DONGHAE)"); +const category = await tp.system.prompt("카테고리 (이미지 / 영상 / 문장 / 레퍼런스)"); +const tool = await tp.system.prompt("사용 툴 (AE / Midjourney / Runway / Photoshop 등)"); +const keywords = await tp.system.prompt("키워드 (쉼표로 구분)"); +%> +--- +project: "<% project %>" +category: "<% category %>" +tool: "<% tool %>" +tags: [창작, "<% category %>", <% keywords.split(',').map(k=>k.trim()).filter(k=>k).map(k=>'"'+k+'"').join(', ') %>] +--- + +# 창작 리소스 - <% project %> + +## 💡 아이디어 요약 +- 영감 출처: [[감정 아카이브/<% moodNote %>]] +- 키워드: <% keywords %> +- 장르/톤: <% await tp.system.prompt("톤/장르 입력 (예: 브이로그, 몽환, 힐링 등)") %> + +## 🖼 시각 레퍼런스 +- Midjourney Prompt: +- 참고 이미지 링크: + +## 🧰 사용 툴 +<% tool %> + +## 🗣 메모 +- 표현하고 싶은 감정: +- 적용 예정 콘텐츠 또는 프로젝트: diff --git "a/data/student_040/New_Obsidian Vault/99. Setting/Templates/\360\237\221\250\342\200\215\360\237\217\253 \341\204\203\341\205\242\341\204\222\341\205\241\341\206\250 \341\204\200\341\205\241\341\206\274\341\204\213\341\205\264 \341\204\202\341\205\251\341\204\220\341\205\263 \341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272 (LECTURE NOTE TEMPLATE).md" "b/data/student_040/New_Obsidian Vault/99. Setting/Templates/\360\237\221\250\342\200\215\360\237\217\253 \341\204\203\341\205\242\341\204\222\341\205\241\341\206\250 \341\204\200\341\205\241\341\206\274\341\204\213\341\205\264 \341\204\202\341\205\251\341\204\220\341\205\263 \341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272 (LECTURE NOTE TEMPLATE).md" new file mode 100644 index 0000000000000000000000000000000000000000..29c3a5e3031df8bcceff9de771b02048b67c4ec5 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/99. Setting/Templates/\360\237\221\250\342\200\215\360\237\217\253 \341\204\203\341\205\242\341\204\222\341\205\241\341\206\250 \341\204\200\341\205\241\341\206\274\341\204\213\341\205\264 \341\204\202\341\205\251\341\204\220\341\205\263 \341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272 (LECTURE NOTE TEMPLATE).md" @@ -0,0 +1,71 @@ + +# 1. 메타데이터 자동화 (tp.date, tp.file) +date: <% tp.date.now("YYYY-MM-DD") %> +time: <% tp.date.now("HH:mm") %> +creation_date: <% tp.file.creation_date("YYYY-MM-DD HH:mm") %> +modified_date: <% tp.file.last_modified_date("YYYY-MM-DD HH:mm") %> + +# 2. 강의 정보 동적 입력 (tp.system) +course_name: <% await tp.system.prompt("과목명 입력 (예: 경제학원론)") %> +professor: <% await tp.system.prompt("교수님 성함") %> +lecture_week: <% await tp.system.prompt("주차/차시 (예: 3주차)") %> +status: <% await tp.system.suggester(["진행 중", "완료", "복습 필요"], ["in_progress", "completed", "review_needed"], false, "강의 상태 선택") %> + + +--- + +# 📖 강의 제목: <% tp.file.title %> +# 과목: <% tp.frontmatter.course_name %> (교수: <% tp.frontmatter.professor %>) + +> [!abstract] 이 노트의 핵심 목표 (Summary Goal) +> <% await tp.system.prompt("이 강의에서 반드시 이해해야 할 핵심 주제를 짧게 요약하세요.", "", false, false) %> + +--- + +## 1. 🔑 주요 개념 및 용어 정의 (Key Concepts) + +<%* +// Multi-suggester를 사용하여 이번 강의의 특징적인 분류를 선택하도록 유도합니다. (선택 사항) +let concept_types = await tp.system.multi_suggester( + ["이론적 정의", "수학적 모델", "역사적 배경", "실제 사례"], + ["Theory", "Model", "History", "Case"], + false, + "강의 내용 분류 선택" +); +%> +**선택된 분류:** <% concept_types.join(", ") %> + +### 1.1. 신규 개념 (New Concepts Input) + +<% await tp.system.prompt("새로운 개념과 용어의 정의를 상세히 입력하세요 (멀티라인 입력):", "| 개념 | 정의 및 설명 | 중요도 |", false, true) %> + +--- + +## 2. 📝 강의 본문 상세 정리 (Detailed Notes) + +### 2.1. 흐름/구조 (Flow/Structure Input) + +<% await tp.system.prompt("강의의 전체적인 흐름 (서론-본론-결론, 논리적 구조)을 정리하세요 (멀티라인 입력):", "1. 도입: \n2. 전개: \n3. 결론:", false, true) %> + +### 2.2. 상세 내용 기록 (Detailed Notes Input) + +<% tp.file.cursor(2) %> # 커서 위치 설정 (2순위) +<% await tp.system.prompt("강의의 상세 내용 및 기록 (가장 중요한 부분)을 시작하세요 (멀티라인 입력):", "", false, true) %> + +--- + +## 3. 🎯 복습 및 연결 (Review and Connection) + +### 3.1. 나만의 질문 (Questions to Self Input) + +<% await tp.system.prompt("이해하지 못했거나 추가로 찾아봐야 할 질문들을 기록합니다 (멀티라인 입력):", "- [ ] Q:", false, true) %> + +### 3.2. 관련 지식 및 노트 연결 (Connection Input) + +- **이전 강의/관련 지식 연결:** [[<% (await tp.system.suggester((item) => item.basename, tp.app.vault.getMarkdownFiles(), false, "연결할 기존 노트를 검색/선택")).basename %>]] +- **다음 강의 준비 사항:** <% tp.file.cursor(3) %> # 커서 위치 설정 (3순위) + +--- + +## ✨ 오늘의 영감 +<% await tp.web.daily_quote() %> \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 10\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 10\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..b191a61de57ea19e6b463f9f3948422fd2fff4ef --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 10\341\204\214\341\205\256\341\204\216\341\205\241.md" @@ -0,0 +1,28 @@ + +### 1. 주요 내용 및 핵심 요약 (Core Content & Synthesis) + +이 보고서는 밈(Meme) 콘텐츠가 단순한 유머를 넘어, 현대 사회에서 디지털 커뮤니케이션과 문화 자본을 형성하는 핵심 매개체로 기능하고 있음을 다룬다. 밈은 극도의 압축성과 맥락적 재해석 가능성을 특징으로 하며, 이를 통해 복잡한 사회적 현상이나 정치적 담론을 빠르게 유통하고 전파하는 기능을 수행한다. 특히, 밈은 대중이 주체적으로 원본을 변형 및 재창조하는 참여 문화의 산물이며, 이러한 집단적 유희를 통해 공유된 밈은 특정 집단의 정체성 및 내부 결속을 강화하는 역할을 한다. 결국 밈은 콘텐츠의 소비를 넘어 문화적 영향력을 측정하고 유동시키는 '밈 경제(Meme Economy)'라는 새로운 가치 시스템을 구축하고 있다. + +### 2. 나의 해석 (Student's Interpretation & Analysis) + +나는 밈 현상을 디지털 시대의 새로운 문화적 헤게모니 투쟁의 장으로 해석한다. + +1. 권위의 수평화: 밈은 전통적인 미디어나 권위층이 주도하는 일방적 메시지를 해체하고, 대중이 풍자나 유머를 통해 메시지를 수평적으로 재전유(Reappropriation)하고 비판하는 도구이다. 이는 미디어 권력의 민주화를 상징한다. + +2. 맥락적 자본: 밈의 이해는 단순히 이미지를 보는 것을 넘어, 그 밈이 내포한 사회적, 문화적, 역사적 맥락을 공유해야 가능하다. 즉, 밈을 효과적으로 사용하고 해석하는 능력 자체가 해당 집단의 문화적 자본(Cultural Capital)이 되며, 이는 내부 집단과 외부 집단을 구분하는 경계선으로 작용한다. + +3. 효율적 커뮤니케이션: 밈은 장황한 텍스트보다 훨씬 효율적인 감정 및 정보 전달 수단이다. 복잡한 감정 상태나 정치적 입장을 단 하나의 이미지와 짧은 텍스트 조합으로 전달함으로써, 인지적 에너지 소비를 최소화하고 감각적 즉각성을 극대화한다. + + + +양자봇 사용 + +#### A. 밈 경제의 그림자와 역기능에 대한 비판적 평가 + +밈의 강력한 전파력과 압축성이 가짜 뉴스(Fake News)나 극단적인 정치적 편향을 무비판적으로 확산시키는 통로가 될 위험성은 없는가? 밈이 신속한 공감대 형성에는 유리하지만, 깊은 숙고나 비판적 토론을 회피하게 만들어 지적 태만을 조장하는 역기능을 비판적으로 평가해야 한다. + +#### B. 질문: 밈의 장기적 문화적 영향 및 제도적 대응 + +- Q. 밈 경제가 주도하는 빠른 공감대 형성 문화가 장기적으로 사회의 깊이 있는 숙고와 비판적 담론 형성 능력을 어떻게 약화시키는지 구체적인 사례를 들어 설명하고, 이러한 부작용을 완화하기 위한 디지털 리터러시 교육의 새로운 프레임워크를 제안해 보십시오. + +- A. (논리 설계): 밈 문화가 '깊은 숙고'를 약화시키는 사례는 복잡한 이슈를 '선악 이분법'으로 단순화하는 경향에서 찾는다. 완화를 위한 교육 프레임워크는 단순히 밈을 '해독(Decoding)'하는 능력을 넘어, 밈이 가진 '재전유 및 풍자의 윤리적 한계'를 탐구하고, 밈의 원본 맥락을 추적하여 정보의 진위를 비판적으로 검증하는 '밈 역추적 리터러시'에 중점을 두어야 한다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 11\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 11\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..d4c425fa0f1f1fd641b20b95bbd5396a1db3118d --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 11\341\204\214\341\205\256\341\204\216\341\205\241.md" @@ -0,0 +1,29 @@ + +### 1. 주요 내용 및 핵심 요약 (Core Content & Synthesis) + +이 보고서는 2020년대 이후 미라클 모닝, 갓생 루틴 등 개인화된 일상의 리추얼(Ritual)이 폭발적으로 유행하는 사회 현상을 분석한다. 과거 종교나 공동체에 기반했던 리추얼이 현대에는 개인의 자기 관리 및 생산성이라는 세속적 형태로 전이되었다는 것이 핵심이다. 이러한 리추얼의 부활은 급변하는 노동 시장, 불안정한 사회 경제 구조, 무한 경쟁 속에서 통제력을 상실했다고 느끼는 현대인들이 가장 통제하기 쉬운 영역인 '개인의 일상'을 체계화하여 심리적 안정감을 되찾으려는 시도이다. 리추얼은 예측 불가능한 외부 환경과 대조되는 '규칙적인 내부 세계'를 구축함으로써 심리적 닻(Anchor) 역할을 수행한다. 하지만 이러한 리추얼이 과도한 자기계발 강박이나 성공 중심의 자기 착취로 변질될 경우, 오히려 새로운 형태의 불안과 소진(Burnout)을 초래할 수 있다. + +### 2. 나의 해석 (Student's Interpretation & Analysis) + +나는 이 현상을 현대 사회의 '유동성 공포(Liquid Fear)'에 대한 반작용이자, 포스트모던 시대의 '세속화된 신앙'으로 해석한다. + +1. 공동체 부재의 보상: 뒤르켐(Durkheim)이 정의한 것처럼, 전통적인 리추얼은 공동체의 연대와 안정성을 제공했다. 현대 사회에서 공동체가 해체되자, 개인은 파편화된 삶의 의미를 찾기 위해 개인의 루틴이라는 '미니 공동체'를 창조한다. 이 리추얼은 '나 스스로를 돌보는 행위'라는 내러티브를 부여하여 삶의 무의미함(Anomie)에 저항하는 방편이 된다. + +2. 노동 윤리의 내면화: 리추얼은 종종 미덕화된 생산성과 연결된다. '새벽 5시에 일어나 운동하는 행위'는 단순한 건강 관리 차원을 넘어, '나는 게으르지 않고 통제 가능한 사람이다'라는 자아 정체성을 강화한다. 이는 자본주의 사회의 신자유주의적 노동 윤리가 개인의 내면 깊숙이 침투하여 자기 관리 강박으로 발현된 형태이다. + +3. 성과와 소진의 역설: 리추얼은 처음에는 통제력을 주지만, 인스타그램이나 유튜브를 통해 다른 사람의 리추얼과 비교 및 경쟁하는 순간 '갓생 피로감'을 유발한다. 이로 인해 리추얼은 심리적 자원의 회복이라는 본래 목적을 잃고, 또 다른 형태의 경쟁과 소진을 낳는 역설적 결과를 초래한다. + + +결론적으로, 리추얼의 부활은 자기 돌봄과 불안 회피라는 긍정적 측면과 과도한 자기 착취 및 비교 문화라는 부정적 측면을 동시에 가진 양가적 현상이다. + +### 3. 심화 분석 및 질문 (Critical Analysis & Inquiry) + +#### A. 리추얼의 사회적 기능 및 계층화에 대한 비판적 평가 + +개인의 리추얼이 사회적 불안정성에 대한 근본적인 해결책이 될 수 있는가? 혹은 '미라클 모닝'과 같은 리추얼 자체가 시간적, 경제적 여유가 있는 특정 계층만의 전유물로 기능하며, 사회적 불평등을 가리는 이데올로기적 장치로 작용할 가능성은 없는가? + +#### B. 질문: 지속 가능한 리추얼의 사회적 설계 + +- Q. 개인의 루틴이 과도한 자기계발 강박으로 변질되어 소진을 유발하는 현상을 방지하고, 리추얼이 진정으로 심리적 안정과 회복 탄력성을 제공하도록 하기 위한 '공동체 차원의 지원 또는 제도적 설계 방안'을 제안해 보십시오. + +- A. (논리 설계): 개인에게만 책임을 부과하는 대신, 조직 및 사회적 차원에서 리추얼을 지원해야 한다. 예를 들어, 기업 내에서 '비생산적 회복 시간(Non-Productive Recovery Time)'을 의무화하거나, '집단적 이완 리추얼(Collective De-stress Rituals)'을 도입하여 개인의 강박을 사회적 지지로 전환한다. 이는 리추얼의 초점을 생산성에서 관계적 안정성으로 이동시키는 것을 목표로 한다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 12\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 12\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..611040015c9d6da6b331eea1a1851d79f59a6a91 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 12\341\204\214\341\205\256\341\204\216\341\205\241.md" @@ -0,0 +1,75 @@ +20232549 안보민 + +**1. 요약 (Summary)** + +2025년 최악의 채용 시장에서는 스펙보다 **마인드 세팅과 전략적 접근**이 필수이다. 구직자는 통제 불가능한 변수에 매몰되지 않고 **긍정적인 자세**를 유지해야 한다. 취업을 단일 기업/직무가 아닌 '동사적 역량'으로 접근해 대기업, 스타트업, 틈새시장 등 **지원 포트폴리오를 무한 확장**해야 한다. 취준 과정을 성장의 **Training**으로 인식하고, 장기적인 **두 번째 직장**을 염두에 두고 전략을 짜야 할 것이다. + +**2. 해석 (Interpretation)** + +이 글은 구조적 불황 속에서 구직자들이 **심리적 회복 탄력성**을 유지하고 **전략적 유연성**을 확보할 것을 촉구한다. 취업을 '명사(단일 직업)' 대신 '동사(핵심 역량)'로 보는 것은 **경계 없는 시장 확장**을 의미하며, 이는 현대 노동 시장의 **이직 표준화**와 **장기 커리어 관리** 관점에서 가장 효율적인 접근 방식이다. + +**3. 이해가 가지 않았던 키워드** + +: “카드를 늘릴수 있도록 직업을 "명사"가 아닌 "동사"로 접근해야”한다는 것에서 ‘카드’라는 단어의 의미 설명이 부족했다. + +—— AI 피드백 + +Q. ‘카드’의 개념이 뭐야? + +A. + +- **1단계: 지원 기회 (Application)**: 가장 기본적인 의미로, '내가 지원할 수 있는 개별적인 채용 공고 또는 직무 기회'를 의미합니다. +- **2단계: 가치 제안 (Value Proposition)**: 내가 해당 기업에게 제시할 수 있는 '핵심 역량과 문제 해결 능력'을 의미합니다. 이는 '동사적 접근'을 통해 만들어지는 구직자 개인의 **경쟁 우위**입니다. +- **3단계: 전략적 선택지 (Strategic Option)**: **대기업, 중견기업, 스타트업, 틈새시장** 등 다양한 종류의 기업과 직무를 포함하여 **위험을 분산**하고 **커리어 궤적**을 선택할 수 있는 **전체적인 선택의 폭**을 의미합니다. + +결국 '카드를 늘린다'는 것은 단순히 지원 횟수를 늘리는 행위가 아니라, '동사적 역량'을 기반으로 지원 가능한 **직무와 기업의 종류**를 **전략적으로 확장**하고, 각 지원처에 맞는 **차별화된 가치 제안**을 할 수 있는 능력을 키우는 것을 의미합니다. + +—— 양자 질문 프레임 워크 + +Q. 운칠기삼은 너무 이상적 텍스트 아닌가? 암울한 현실을 눈속임하려다가 결국 현실 자각만 더 강하게 다가올 것 같은데. + +A. 이 질문은 현재 구직자들이 겪는 **인지 부조화와 좌절감**을 정확히 짚어냈다고 생각하며, 이 프레임워크가 가지는 **잠재적인 심리적 위험성**에 동의합니다. + +이 프레임워크가 제시한 '운칠기삼'을 좌절이 아닌 동력으로 활용하기 위해서는 다음과 같이 **해석을 조정**해야 합니다. + +1. **'운'의 재정의**: 운을 '단순한 행운/불행'이 아니라 **'구조적 불황, 산업 변화, 기업의 예측 불가능한 변동성'**등 '개인의 노력으로 단기간에 바꿀 수 없는 외부 환경 전체'로 해석해야 합니다. +2. **'기(技)'의 가치 극대화**: 따라서 70%의 거대한 운에 매몰되지 말고, 30%의 '기(전략적 노력)'를 **100%의 효용**을 낼 수 있도록 **최적화**하라는 의미로 받아들여야 합니다. + - **예시**: '운칠기삼'은 운에 기대라는 것이 아니라, 30%의 노력으로 '동사적 역량', '포트폴리오 확장', '장기적 관점'이라는 **세 가지 전략적 무기**를 최대 효율로 연마하는 데 에너지를 집중하라는 지침으로 작용해야 합니다. + +결론적으로, '운칠기삼'은 암울한 현실을 눈속임하는 것이 아니라, **통제 불가능한 것에 대한 집착을 끊고 통제 가능한 전략에 모든 힘을 쏟게 만드는** **인지적 스위치**로 기능해야 합니다. 그러나 비판자들의 우려대로, 이 스위치가 오히려 **무력감**으로 이어지지 않도록 **'기(技)'의 영역**을 구체적이고 실행 가능한 전략(동사적 역량)으로 강력하게 보강해주는 것이 필수적입니다. + +Q. 구직자가 '운'에 기대어야 할 정도로 암울해진 취업 시장이 너무 비극적이다. 곧 내게 다가올 취업이라는 난관을 나는 어떻게 헤쳐나가야 하는가? + +**1. 멘탈리티 혁신: 운에 대한 재정의와 마인드 세팅** + +: 이 암울한 시기를 극복하는 첫 단계는 **심리적 회복 탄력성**을 확보하는 것입니다. + +**2. 전략적 무기: '동사적 역량' 포트폴리오 구축** + +단일 직무나 기업(명사)에 매몰되지 않고, 경계를 허무는 '동사적 역량'을 중심으로 전략을 짜야 합니다. + +**2-1. 핵심 동사 역량 정의** + +현재 가지고 있는 경험을 '무엇을 했는지'가 아닌 '어떤 역량을 발휘했는지'로 바꾸어 정리하세요. + +**3. 장기적 커리어 설계: '두 번째 직장'을 위한 선택** + +지금의 첫 번째 직장을 **종착역이 아닌 징검다리**로 인식하는 장기적 관점이 필요합니다. + +—> 이러한 **재귀적 개선(Recursive Improvement)** 과정을 통해, 당신은 통제 불가능한 '운'의 영역에서는 심리적으로 안정감을 유지하면서, 통제 가능한 '기술과 전략'의 영역에서는 **압도적인 경쟁력**을 갖출 수 있습니다. + +—— AI에게 물어본 질문 프롬프트 및 답변 흐름을 간단 요약 + +1. 요약문 전송, “이 글을 본 너의 의견이 어떤가?” +2. 텍스트 분석 +3. Q. 운칠기삼은 너무 이상적 텍스트 아닌가? / Q. 구직자가 '운'에 기대어야 할 정도로 암울해진 취업 시장이 너무 비극적이다. 곧 내게 다가올 취업이라는 난관을 나는 어떻게 헤쳐나가야 하는가? +4. 프레임워크를 통한 답변 + +——  AI가 나에게 되물어본 내용들을 답변해가며 대화를 이어나가는 과정에서 어떤 생각들이 들었는가? + +글을 읽고 든 당장의 감정적이고 비관적인 생각이, 이성적 질답을 통해 안정되어 갔다. “인공지능에게 묻고 답하기”보단, 이성적으로 생각을 정리할 수 있는 시간이었던 것 같다. + +— 피드백 + +1. 감정적 직관에서 출발해 논리적,전략적 사고로 이행되는 과정을 명확하게 보여주며 불확실한 취업 환경 속에서도 스스로 통제 가능한 영역을 재정의해 나가는 사고 정돈의 성장 서사를 효과적으로 담아낸 것 같아 좋습니다. +2. 복잡한 정보를 비판적으로 분석하고 AI를 전략적 사고 파트너로 활용하여, 심리적 어려움을 구체적 행동 전략으로 전환시키는 능력이 탁월합니다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 13\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 13\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..858dfa19cbf146ea85f18615b96241aa9a629ce2 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 13\341\204\214\341\205\256\341\204\216\341\205\241.md" @@ -0,0 +1,98 @@ +대형전광판은 아트 전시관이 아니다. +20232549 안보민 +## 1. 링크드인 원 글의 주요 내용 및 핵심 요약 + +이 글은 대형 옥외 전광판(DOOH) 광고들이 고액의 제작비에도 불구하고 **메시지 전달에 실패**하고 있음을 지적한다. 광고주와 제작자는 '있어 보이려는' 심리로 **아트나 감성**에만 치중하여, 정작 **브랜드 로고나 핵심 메시지**를 희생하고 있다. DOOH 환경은 유튜브 등 디지털보다 **주의 집중 여유가 없는 저관여 매체**이다. 따라서 광고는 '멋있는 반응'보다 **직관적인 인식과 전환 유도**라는 목표에 충실해야 한다. 결국, 매체 특성을 고려하여 **촌스럽더라도 명확하고 반복적인 인식**을 유도하는 것이 가장 효과적인 광고 전략이다. + +--- + +## 2. 나의 해석 + + +대형 전광판 광고 환경은 **주의 집중 시간이 짧은 저관여 매체**이다. 이 환경에서 아트적 완성도에 치중하는 광고 제작은 **매체 특성에 대한 전략적 오판**이다. 제작자가 '없어 보일 수 없다'는 심리로 **형식적 퀄리티**를 우선시하는 것은 광고의 본래 목표(브랜드 인식 및 전환)보다 미학적 만족을 앞세우는 심리적 편향이다. 따라서 광고는 매체 환경을 고려하여 **직관적인 인식과 실용적인 목표**에 충실해야 한다. + +--- + +## 3. 잘 이해되지 않았던 키워드 + +- **매체 환경:** DOOH 광고, 저관여 매체, 짧은 집중 시간이다. +- **전략적 전환:** 디지털 광고 관점 적용, 실용적 목표 우선이다. +- **광고의 본질:** 기억에 남아 구매로 이어지는 목적 달성이다. + +--- + +--- + +### AI 피드백 - Gemini 2.5 Flash + +Q. ‘촌스러운 광고’는 뭘까? + +A. 촌스러운 광고'는 미적으로 불완전한 광고일 수 있지만, 전략적으로 가장 '촌스러운' 광고는 '고액의 비용을 쓰고도 광고주가 원하는 목표를 달성하는 데 실패한 광고'입니다. + +|**분류**|**특징**|**구체적 예시**| +|---|---|---| +|**🎨 과도한 디자인**|복잡하고 통일성이 부족하며, 시각 요소가 과밀한 경우|* **색상:** 명도나 채도가 지나치게 높은 원색을 무분별하게 혼합 (일명 '싼티 나는' 색상 팔레트)| +|||* **폰트:** 너무 많은 종류의 폰트나 과도한 그림자/테두리 효과 사용| +|**🕰 시대착오적인 스타일**|현재 트렌드에 뒤떨어진 오래된 디자인 관행이나 기술|* **이미지:** 2000년대 초반의 쨍한 합성 사진이나 어색한 3D 그래픽| +|||* **배경음악:** 저화질의 미디(MIDI) 음악이나 낡은 효과음 사용| +|**🚫 비전문적인 제작**|아마추어적인 편집 기술이나 낮은 제작 품질|* **해상도:** 낮은 해상도의 이미지를 늘려 사용하는 경우 (픽셀 깨짐)| +|||* **구성:** 어색한 편집 전환, 미숙한 촬영 기법| + +--- + +--- + +## 양자 질문 프레임 워크 + +Q. 이 글에 대해 어떻게 생각해? + +A. 이 글은 저에게 "무엇이 좋은 질문인가?"에 대한 질문을 다시 던지게 합니다. + +- *'이 광고는 왜 멋이 없을까?'라는 질문보다 '이 광고는 왜 사람들의 기억에 남지 않는가?'라는 질문이 훨씬 더 전략적이고 본질적입니다. + +제작자들은 첫 번째 질문에 갇혀 '더 멋진 아트'를 만드는데 몰두했지만, 글의 필자는 두 번째 질문에 집중하여 '매체 특성과의 부조화'라는 핵심 문제를 발견한 것입니다. 결국, **좋은 질문**만이 **효과적인 전략**을 도출해낸다는 점을 이 사례를 통해 다시 한번 확인했습니다. + +Q. 그러면 DOOH 광고의 효과를 극대화할 수 있는 카피라이팅/디자인 원칙은 뭘까? + +A. + +### 1. 카피라이팅 원칙: 3초 룰과 인식의 직진성 + +DOOH 환경에서는 시청자가 카피를 읽는 것이 아니라 '인식'합니다. 따라서 '3초 안에 메시지 전체가 뇌에 등록'되어야 합니다. + +### 2. 디자인 원칙: 시각적 힘과 최소주의 + +DOOH의 디자인은 미적 완성도보다 '가독성'과 '인식률'에 봉사해야 합니다. 복잡한 아트워크보다 강력한 비주얼 임팩트가 중요합니다. + +### 3. 전략적 적용 원칙: 환경과 목표의 정렬 + +이 원칙들은 매체 환경과 마케팅 목표를 정렬하여 DOOH 광고의 실용적인 효과를 높이는 데 초점을 맞춥니다. + +--- + +--- + +### AI에게 물어본 질문 프롬프트 및 답변 흐름을 간단 요약 + +1. 요약문 전송, “이 글을 본 너의 의견이 어떤가?” + +2. 텍스트 분석 + +3. Q. 글에 ‘촌스러운 광고’ 키워드가 있던데, 이는 무엇인가? / Q. 그러면 DOOH 광고의 효과를 극대화할 수 있는 카피라이팅/디자인 원칙은 뭘까? + +4. 프레임워크를 통한 답변 + + +--- + +--- + +AI가 나에게 되물어본 내용들을 답변해가며 대화를 이어나가는 과정에서 어떤 생각들이 들었는가? : 글을 읽으면서 감정이 함유된 인간으로서는 직관적으로 이해하기 힘들었던 부분을 묻고 답하며 머릿속의 궁금증을 풀어갔던 것 같다. + +--- + +--- + +### 피드백 1. + +'멋'을 위한 광고 제작은 저관여 매체인 DOOH의 본질을 외면한 전략적 오판이며, 성공적인 마케팅은 매체 환경에 맞는 '직관적 인식과 전환' 목표에 충실해야 한다는 분석이 좋았습니다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 1\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 1\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..7372909bc95e85254fd3349ae17522db714b8a4f --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 1\341\204\214\341\205\256\341\204\216\341\205\241.md" @@ -0,0 +1,31 @@ +디지털미디어콘텐츠전공 20232549 안보민 + +### 링크드인 원글에 대한 주요 내용 및 핵심 요약 + +1. 문해력 부족 사태를 ‘이해’의 키워드에 초점을 맞추어 설명하고 있다. 인공지능AI로 하여금 자신의 주장에 힘을 싣는 둥의 태도에 편중되지 안혹, 책을 읽는 것을 권장하고 있다. +2. AI를 과남용해 타인의 의견을 자신의 논리로써 배제함을 주의하자. 때로는 필터 버블에서 벗어나 타인의 의견과 견해를 받아들이는 것이 중요하다. +3. 문해력이 이해하려는 의지가 부족한 것이라는 말에는 일정 부분 공감하지만, 글에서 다루고자 하는 내용이 AI 과남용에 대한 필터 버블인지, 타인을 이해하는 태도인지, 책을 많이 읽으라는 것인지 뒤죽박죽 섞인 느낌이었다. + +### 사용한 ai - GPT-5 + +### CHAT GPT 프롬프트 1 + +링크드인 원문 복사 → 붙여넣기 이후, + +“이 글에 대해ㅍ1) 링크드인 원 글의 주요 내용 및 핵심 요약, 2) 이 글에 대한 gpt 너의 해석, 3) 이 글을 읽으면서 잘 이해되지 않았던 내용 또는 키워드 등을 정리해줘. 추후 내가 이 항목에 답한 내용들과 비교분석을 요청할게.” + +### CHAT GPT의 답변 1 + +“문해력 위기는 어휘력 부적이 아닌 태도의 결핍 문제이며, AI의 사용은 ‘자기 감옥’ 혹은 ‘이해의 도구’라는 양날의 검으로 작용한다. 다만 여러 주제가 혼재되어 독자에게 혼란을 초래할 수 있다.’ 라고 답함. + +### CHAT GPT 프롬프트 2 + +“내 답변을 공유할게. 네 의견과 비교분석하여 너와 나 간 대답에서 왜 사고의 차이가 생겼는지 정리해.” + +### CHAT GPT의 답변 2 + +‘당신→큰 흐름만 간단히 요약, 나(GPT) → 세부 구조를 단계쩍으로 정리’, 등, 나는 독자적 시점에ㅓㅅ 분석과 실천적 조언을 강조해 읽었으며, 글을 ‘행동 지침’, ‘교훈’으로 읽은 반면, GPT는 글을 이론적/사회문화적으로 분석적 관점에서 읽었음을 짚어냈다. 비판적 관점으로는 주제가 산만해 정체성이 모호한 점, 키워드/개념이 비유적으로 쓰여 이해에 혼란을 준다는 비판을 했다. 결론적으로, 나는 “글쓴이가 전달하고자 하는 메시지”에 초점을 맞춘 비판적 독자, GPT는 “글이 담고 있는 층위, 독자가 헷갈리는 지점”에 초점을 둔 분석가적 접근을 했다. + +### **피드백 1) 하나의 글을 읽었는데, 다른 부분에 초점을 맞추어 봤다는 점이 좋았다. 덕분에 글에 대해 다시 생각할 수 있었다** + +**피드백 2) 글을 읽을 떄 조금 더 깊이있는 뒷받침 근거가 있으면 좋겠고, 글의 흐름이 정리되었으면 좋겠다고 생각했어서 3번 내용이 굉장히 공감이 됐다. → 잘 썼다.** \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 2\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 2\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..d4a1be4a94071de95d9445762ca20d104c3ea6e8 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 2\341\204\214\341\205\256\341\204\216\341\205\241.md" @@ -0,0 +1,21 @@ +1. 1. PR적 사고의 중요성을 언급했다. PR은 단순히 언론 관리가 아니라, 메시지와 확산 구조를 전략적으로 설계하는 사고 방식에 있다는 점이다. 디지털 시대에는 공중이 단일하지 않고, 미디어도 중앙 집중이 아니므로 ‘어떻게’ 전파할지가 더욱 중요해진 시점이다. 광고 또한 매스미디어 중심에서, 통합적 메시지 전략으로 수렴했다. 이에 ‘어떻게’ 전략적으로 사고하고, 설계할 것인지 집중해야 할 것이다. + + 2. 좋은 메시지 자체보다 확산 구조 설계가 중요하다. 디지털 세상 속에서 PR/광고의 경계가 흐려졌으며, 결국 전략적 사고가 관건이다. + + 3. ‘헤겔의 정반합’ 비유가 다소 추상적으로 느껴졌다. PR과 광고 융합 부분 또한 산만하게 느껴진다. 또한 ‘메시지*확산구조’의 공식을 어떻게 적용할 것인지 사례가 없어 아쉽다. + + +질문 - 질문이 있어. -링크드인 글 제공- 동일 항목에 대한 내 대답을 줄게. 이 글을 읽고 네 의견과 비교 분석해서 나열해 봐. + +**GPT-5** + +1. 1. PR적 사고는 메시지를 어떻게 확산 구조로 설계할 것인가에 있다. 디지털 환경은 공중의 단일성이 분리되었으며, 미디어 또한 분산되었다. 때문에 구조적 사고가 중요하다. PR과 광고가 디지털이라는 반을 만나 새로운 합으로 발전했다. + + 1. PR을 단일 채널 관리에서 다층적 확산 전략으로 재정의했다. 광고/PR 모두 헤겔의 정반합처럼 융합하며 진화하고, 결국 중요한 것은 메시지보다 확산 구조를 설계하는 능력이다. + + 2. ’헤겔식 정반합’ 비유가 독자에 따라 추상적으로 느껴질 수도 있다. “메시지 확산 구조” 개념이 직관적이지만 실제 실행 방법론은 부족하다. PR과 광고의 진화를 병렬적으로 나열해 주제 집중도가 떨어진다. + + +어려운 내용이 많아보였는데 3번 질문 덕분에 이해가 더 잘 됐다. + +성향 점수 매칭(PSM)의 역할과 글의 핵심 주제를 명확하고 간결하게 요약했습니다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 3\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 3\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..7a0dbab2000dfe6500272ac21cd526fa10ac48c0 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 3\341\204\214\341\205\256\341\204\216\341\205\241.md" @@ -0,0 +1,20 @@ +링크드인 원글에 대한 주요 내용 및 핵심 요약 +1. ai 영상 제작을 위해 미드저니와 루마를 활용한 결과, 이들의 가능성과 한계를 직접 경험할 수 있었다는 글이다. 미드저니는 뛰어난 이미지 생성 능력을 보였으나, 프레임 간 자연스러운 연결과 움직임 표현에는 한계가 있어 다수의 이미지 선별 및 편집이 필요하였고, 루마는 이미지를 영상으로 변환하는 데 강점이 있었으나, 컷 전환과 세부 연출에서 의도한 완성도를 도달하지 못 했다. 결론적으로는 Ai 만으로 원하는 영상을 제작하기에는 한계가 있으며, 창작자의 적극적 개입이 필수적이다. +2. Ai 영상 제작에 있어 아직까지는 단독 사용만으로 만족스러운 결과물은 내기 어려우며, 미드저니는 이미지 생성에, 루마는 영상화에 강점이 있다. +3. 비교군이 부족한 점이 아쉽다. + +GPT + +1. 미드저니(Midjourney)는 정교한 이미지 생성 능력을 보여주지만 프레임 간 연속성 부족으로 애니메이션 제작 효율이 낮다. + + 루마(Luma)는 정적인 이미지를 자연스럽게 연결하는 장점이 있지만 컷 간 연결과 세부 연출에서 아티스트의 의도를 완전히 반영하지 못한다. + + 따라서 현 단계에서 AI 영상 제작은 창작자의 수동 개입과 후가공이 필수적이며, 앞으로 다양한 AI 툴을 비교·실험해 최적의 제작 워크플로우를 탐색할 계획이다. + + +2. 이 글은 단순한 툴 리뷰를 넘어, **AI 영상 제작의 본질적 한계**를 짚고 있다. Ai는 창작 과정에서 효율성을 높이긴 하지만, 감각/미학/의도는 여전히 인간의 손길이 필요하다. +3. 수치 기반 비교가 없어 설득력이 떨어지고, 기술/전망의 구체성이 부족하며, 윤리/저작권 문제를 다뤘다면 더 균형잡힌 글이 되었을 것이다. +--- +피드백: +1. 글의 맥락을 잘 잡은 것 같다. +2. 이해가 잘 된다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 4\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 4\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..d8c828177a2815491fc0a03b69e1c64291e8459b --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 4\341\204\214\341\205\256\341\204\216\341\205\241.md" @@ -0,0 +1,39 @@ +## 1. 요약 (Summary) + +경영 전략에서 흔히 오해하는 것과 달리, **블루오션 전략**은 새로운 시장을 만드는 것이 아니라 기존 시장(레드오션) 안에서 경쟁이 적고 수요가 높은 영역을 찾아내는 것이고, **파괴적 혁신 전략**은 자기 잠식이 아니라 저가 시장에 먼저 진입해 기존 경쟁 구조를 바꾸는 전략이다. **4P 믹스 전략**은 네 가지 요소를 단순히 채우는 것이 아니라, 요소들을 유기적으로 조합해 차별화된 가치를 제공하는 것이며, **STP 전략**은 광고가 아니라 신제품을 기획하기 전에 마케팅의 전체 방향을 정하는 최상위 전략이다. + +--- + +## 2. 해석 (Interpretation) + +각 전략은 **경쟁 속에서 창의적인 가치**를 만드는 데 초점을 둔다. 블루오션 전략은 경쟁을 피하는 것이 아니라 **가치 혁신을 통해 새로운 수요**를 만들어내는 것이고, 파괴적 혁신은 기존 강자들이 간과한 **저가 시장을 공략**해 시장 구조 자체를 흔드는 전략이다. 4P 믹스는 각 요소를 어떻게 **조합하고 배합**하느냐에 따라 독창적인 고객 경험을 만들어내며, STP 전략은 모든 마케팅 활동의 **방향을 결정하는 근본적인 의사결정 단계**다. + +--- + +## 3. 키워드 정리 (Key Takeaways) + +**#4P 믹스 전략 #STP 전략** + +## 1. 요약: 전략의 진짜 정체 + +우리가 흔히 아는 경영 전략들의 정의는 틀린 경우가 많습니다. **블루오션 전략**은 경쟁을 피하는 게 아니라, **경쟁이 있는 시장 안에서** 투자는 적고 니즈는 많은 틈새를 찾아 새로운 가치를 만드는 것입니다. **파괴적 혁신 전략**은 사업을 망가뜨리는 게 아니라, **저가 시장에 먼저 들어가서** 기존 경쟁의 룰을 깨는 것입니다. **4P 믹스**는 네 칸 채우기가 아니라 **요소들을 조합해 차별화**하는 것이며, **STP 전략**은 광고가 아닌 **가장 중요한 마케팅 방향**을 결정하는 일입니다. + +--- + +## 2. 해석: 왜 그렇게 이해해야 하는가 + +이 전략들은 이름만 보고 피상적으로 이해하면 안 됩니다. **블루오션**은 경쟁이 치열한 곳(레드오션)을 **배경**으로 해야만 **가치 혁신**을 통해 진정한 새로운 시장을 만들 수 있습니다. **파괴적 혁신**은 큰 기업들이 무시하는 **저마진 시장**을 공격하여, 결국 전체 시장의 **경쟁 구조 자체를 바꿔버리는** 힘을 의미합니다. **4P 믹스**는 제품, 가격, 유통, 촉진 요소를 요리 재료처럼 **잘 섞어** 고객에게 **일관성 있는 경험**을 제공하기 위함입니다. **STP**는 기업이 **무엇을, 누구에게, 어떻게 팔지**를 결정하는 **가장 기본적인 설계도**이기 때문에 광고보다 우선합니다. + +--- + +## 3. 키워드 정리 (편하게 옮겨 적는 핵심) + +- **블루오션 전략:** **레드오션 안의 틈새** 발굴, 경쟁 없는 가치 창출. +- **파괴적 혁신 전략:** **저가 시장 선점**, 경쟁 룰 깨기. +- **4P 믹스 전략:** **요소들의 창의적 조합**, 차별화된 고객 경험. +- **STP 전략:** **최우선 마케팅 방향타**, 광고 아님. + +---- +**피드백** +1. 단순히 나열이 아니라 구체적으로 해석을 작성해주어 좋았습니다. +2. 키워드 정리를 잘한 것 같아 좋습니다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 5\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 5\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..41b3b93b6bd4f9f1cc203ab8c03ddb9b46e5794b --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 5\341\204\214\341\205\256\341\204\216\341\205\241.md" @@ -0,0 +1,28 @@ + +### 1. 주요 내용 및 핵심 요약 (Core Content & Synthesis) + +이 보고서는 유튜브나 스트리밍 플랫폼에서 Lo-fi 음악, ASMR, 그리고 특정한 공간의 소리를 재현하는 앰비언스 콘텐츠가 주류로 자리 잡은 현상을 다룬다. 앰비언스 콘텐츠의 핵심은 '배경으로서의 소리'이며, 이는 수용자가 능동적으로 작업이나 휴식에 집중할 수 있도록 몰입감 있는 감각적 배경을 제공하는 데 목적이 있다. 현대인은 도시 소음, 끊임없는 알림 등 정보 과부하 환경에 노출되어 있으며, 앰비언스는 이러한 디지털 피로감에 대한 반작용으로 기능한다. 콘텐츠는 특정 공간(예: 호그와트 기숙사, 우주선)의 분위기를 정교하게 재현하여, 수용자에게 물리적으로 존재하지 않는 공간에 대한 심리적 '현존감'을 부여하며 디지털 공간에서의 안정적인 안식처를 제공한다. 결국 앰비언스 콘텐츠는 '소음'을 '배경'으로 재편성하여 디지털 시대의 감각적 질서를 재확립하려는 시도이다. +### 2. 나의 해석 (Student's Interpretation & Analysis) + +나는 앰비언스 콘텐츠의 인기를 '감각의 도피(Sensory Escapism)'와 '디지털 공감각(Digital Synaesthesia)' 현상으로 해석한다. + +1. 감각적 안정성의 추구: 앰비언스 콘텐츠는 '예측 가능하고 반복적인 소리'를 제공함으로써, 수많은 우발적이고 갑작스러운 자극이 난무하는 현실 세계와 대비되는 안정적이고 통제된 청각 환경을 구축한다. 이는 현대인이 느끼는 불확실성과 불안에 대응하는 일종의 청각적 셸터(Shelter) 역할을 수행한다. + +2. 디지털 현존감의 역설: 수용자들은 물리적으로 도서관이나 숲에 있지 않지만, 그 소리를 들음으로써 해당 공간에 '심리적으로 존재한다'는 강한 현존감을 느낀다. 이는 디지털 매체가 단순히 정보를 전달하는 것을 넘어, 인간의 감각 체계를 속여 '가상의 현실'을 창조할 수 있는 능력을 보여주는 사례이며, 몰입(Immersion)의 질적 변화를 의미한다. + +3. 능동적 배경 설정: 앰비언스 콘텐츠는 주체가 되는 '시선(Visual Focus)'에서 벗어나, 주변의 '청각적 배경'을 능동적으로 선택하고 조정함으로써 자기 주도적인 작업 환경을 설계하게 한다. 이는 사용자가 미디어 소비의 수동적 수용자에서 능동적인 감각 설계자로 역할을 전환했음을 시사한다. + + +결론적으로 앰비언스 콘텐츠는 현대인의 감각적 생존 전략이자, 디지털 환경에서의 공간 및 정서적 안정감을 확보하려는 문화적 현상이다. + +### 3. 심화 분석 및 질문 (Critical Analysis & Inquiry) + +#### A. 디지털 앰비언스의 한계와 감각적 퇴화에 대한 비판적 평가 + +디지털로 완벽히 재현된 앰비언스가 현실의 복잡하고 예측 불가능한 감각 경험을 대체할 경우, 인간의 인지적 다양성 및 환경 적응 능력에 부정적인 영향을 미쳐 감각적 퇴화를 초래할 위험성은 없는가? 즉, 통제된 소리 환경에 길들여져 현실의 '불안정한 소리'를 처리하는 능력이 약화될 가능성은 비판적으로 검토되어야 한다. + +#### B. 질문: 앰비언스 콘텐츠의 상업화 및 윤리적 문제 + +- Q. 앰비언스 콘텐츠가 '집중'과 '휴식'을 상업적 가치로 포장하여 판매할 때 발생하는 '감정 자원의 상품화' 윤리 문제에 대해 논하고, 이러한 콘텐츠의 지적 재산권(IP)이 현실 공간의 '경험 자산'까지 침해할 가능성을 예측해 보십시오. + +- A. (논리 설계): 앰비언스 콘텐츠는 감정 노동(Emotional Labor)을 대신해 '안정'을 판매하는 것이므로, 심리적 자원의 상품화 문제를 내포한다. 또한, 특정 장소(예: 유명 카페)의 소리를 복제하여 상업적으로 이용하는 것은 그 공간이 오랜 시간 축적해 온 '경험 자산'을 무단으로 디지털화하여 착취하는 것과 같다는 윤리적 논쟁을 제기할 수 있다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 7\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 7\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..aca7647bcc1e8dba22741a711f7794ca7bde3ef5 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 7\341\204\214\341\205\256\341\204\216\341\205\241.md" @@ -0,0 +1,51 @@ +### 1. 주요 내용 및 핵심 요약 + +이 글은 마케팅 등 현업에서 실험 설계가 어려울 때 인과 관계를 정확히 분석하는 방법론인 매칭법(Matching)을 설명하고 있다. 고객 충성도 차이로 인해 발생하는 선택 편향을 제거하기 위해 성향 점수 매칭(PSM)을 사용한다. PSM은 고객이 처치(쿠폰)를 받을 확률인 성향 점수를 계산하여, 점수가 유사한 처리군과 대조군을 짝지어 공정한 비교를 수행한다. 이로써 처치가 구매에 미친 인과적 효과(ATT)를 신뢰성 있게 추정할 수 있는 유력한 도구이다. + +--- + +### 2. 나의 해석 + +현실에서 무작위 실험(A/B 테스트)이 불가능할 때 발생하는 선택 편향 문제를 해결하는 것이 매칭법이다. 특히 성향 점수 매칭(PSM)은 고객의 여러 특징을 '쿠폰 받을 확률'인 성향 점수로 요약하고, 이 점수가 비슷한 그룹끼리만 짝지어 비교하는 방식이다. 이 방법은 '원래 살 사람이었는지'의 문제를 보정하여, 쿠폰이라는 처치가 구매에 미친 인과적 효과를 공정하게 파악할 수 있다. + +--- + +### 3. 이 글을 읽으면서 잘 이해되지 않았던 내용 또는 키워드 + +1. 성향 점수(Propensity Score)의 통계적 계산 원리가 궁금하다. 로지스틱 회귀 모델을 사용한다고 하는데, 이 모델이 구체적으로 어떤 통계적 가정을 통해 '처치를 받을 확률'을 도출하는지 자세히 알고 싶다. + +2. 최근접 이웃(KNN) 매칭이 통계학에서 쓰이는 매칭 방식인지, 아니면 머신러닝의 KNN 알고리즘을 여기에 적용한 것인지 그 구현 방식과 다른 매칭 기법(예: 캘리퍼 매칭)과의 차이점이 무엇인지 궁금하다. + +3. 인과적 효과(ATT) 추정의 의미가 명확하게 이해되지 않는다. PSM 분석의 목표가 왜 처리받은 집단(ATT)에 한정되는지, 그리고 이상적인 경우에 추정하는 전체 평균 효과(ATE)와 수학적으로 어떻게 다른지 그 차이점이 궁금하다. + + +### 1. 주요 내용 및 핵심 요약 (Core Summary) + +이 글은 관측 데이터 기반의 인과 추론 방법론인 매칭법(Matching)을 소개하며, 특히 선택 편향(Selection Bias)을 통제하기 위한 성향 점수 매칭(PSM)의 원리를 설명한다. 현업에서 무작위 대조 실험(A/B 테스트)이 어려울 때, PSM은 로지스틱 회귀 등을 통해 개체의 처치(Treatment) 할당 확률(성향 점수)을 계산하고, 이 점수가 유사한 처리군과 대조군을 짝지어 공정한 비교 집합을 생성한다. 이를 통해 처치 대상 집단에 대한 평균 효과인 ATT(Average Treatment effect on the Treated)를 신뢰성 있게 추정하여, 마케팅 캠페인 등 비실험적 환경에서의 인과적 효과를 유추하는 유력한 준실험(Quasi-Experimental) 도구이다. + +--- + +### 2. 해석 및 평가 (AI Interpretation & Evaluation) + +이 글은 관측 연구(Observational Study)의 고질적인 문제인 교란 변수(Confounding Variables)와 선택 편향을 극복하기 위한 방법론을 실무적 관점에서 명료하게 제시하고 있다. + +- 준실험 설계: 매칭법은 '무작위성'이라는 이상적인 조건이 결여된 현실 데이터를 통계적으로 강제 균형화(Forced Balancing)하는 설계 방식이다. 이를 통해 인과 추론의 핵심 가정인 조건부 독립 가정(Conditional Independence Assumption, CIA)을 성향 점수 하에서 만족시키려 시도한다. + +- 차원 축소: PSM은 다수의 교란 변수($X$)를 단일 스칼라 값($e(X)$)인 성향 점수로 축소하여 매칭하는 효율적인 방법이다. 이는 고차원 데이터를 다룰 때 발생하는 차원의 저주(Curse of Dimensionality) 문제를 우회하고 효과적인 비교 그룹을 생성한다. + +- 실용적 가치: PSM은 CRM, 공중 보건 등 통제된 실험이 비윤리적이거나 불가능한 분야에서 인과적 결론을 도출하는 데 있어 가장 접근성이 높고 널리 사용되는 기법 중 하나이다. + + +--- + +### 3. 심층 질문 및 미해결 과제 (Advanced Queries & Unresolved Issues) + +제시된 내용을 바탕으로, 방법론의 강건성(Robustness)과 한계에 대한 심층적인 질문이 도출된다. + +1. PSM의 비식별 교란 문제 (Unobserved Confounding): PSM은 관측된 교란 변수($X$)만을 통제할 수 있다. 만약 쿠폰 수령 여부에 영향을 미치면서 구매 결과에도 영향을 주는 비관측 변수가 존재한다면 (예: 고객의 낙관적인 성향), PSM은 여전히 편향된 결과를 낳는다. 이러한 비식별 교란 문제를 진단하고 완화할 수 있는 대안적 방법론(예: 도구 변수, 이중 강건성 추정량)에 대한 논의가 필요하다. + +2. 매칭 품질과 이질성 문제 (Matching Quality & Heterogeneity): PSM 수행 시 적절한 매칭 알고리즘(예: 최근접 이웃, 캘리퍼, 반경)의 선택 기준과, 매칭 후 그룹 간의 공통 지지 영역(Common Support) 밖의 개체 처리 방안이 불분명하다. 또한, 처치의 효과가 이질적일 때(예: 젊은 층과 노년층에서 쿠폰 효과가 다를 때), 성향 점수가 이질적인 효과를 적절히 반영하는지 검토해야 한다. + +3. 성향 점수 모델의 정규화 (Model Specification): 성향 점수 계산에 사용되는 로지스틱 회귀 모델의 기능적 형태(Functional Form)를 어떻게 정확하게 명세할 것인가가 핵심이다. 포함되어야 할 변수의 선택 기준과 오분류(Mis-specification)가 최종 인과 효과 추정치에 미치는 영향을 최소화하는 방법론적 가이드라인이 필요하다. + +*Google Gemini 2.5 flash \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 8\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 8\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..988c5d0b2ef41bbc20ecacf4272d4facadf1ee84 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 8\341\204\214\341\205\256\341\204\216\341\205\241.md" @@ -0,0 +1,31 @@ + 메타버스와 가상 정체성: '디지털 아바타'의 사회적 자본화) + + +### 1. 주요 내용 및 핵심 요약 (Core Content & Synthesis) + +이 보고서는 메타버스(Metaverse) 환경에서 개인이 사용하는 디지털 아바타가 단순한 그래픽 표현을 넘어, 현실 세계의 정체성 제약으로부터 벗어나고자 하는 욕구를 반영하는 심리적, 사회적 투사체로 기능하고 있음을 분석한다. 아바타는 사용자가 이상적인 자아(Ideal Self)를 구현하거나, 현실에서는 불가능한 새로운 사회적 역할을 시험하는 수단이다. 메타버스 내에서 아바타의 외형, 아이템, 활동 이력 등은 현실의 학벌이나 경제력과 유사하게 가상 공간의 위신을 결정하는 '디지털 자본(Digital Capital)'으로 작용한다. 이러한 아바타 중심의 상호작용은 현실 관계의 물리적 한계를 넘어 광범위한 사회적 네트워크를 형성하며, 최종적으로 가상 정체성이 현실의 기회(예: 직업, 투자, 사회적 영향력)에 영향을 미치는 정체성 연동(Identity Linkage) 현상을 심화시킨다. + +### 2. 나의 해석 (Student's Interpretation & Analysis) + +나는 디지털 아바타 현상을 현실의 불평등과 경직성에 대한 '정체성적 보상(Identity Compensation)' 전략이자, 현대 사회의 확장된 자아(Extended Self) 개념으로 해석한다. + +1. 현실 경계의 무력화: 아바타는 인종, 성별, 나이, 신체적 제약 등 현실에서 통제 불가능한 변수를 무력화하고, 사용자가 원하는 대로 정체성을 유동적(Fluid)으로 재구성할 수 있는 '실험실'을 제공한다. 이는 현실에서의 낮은 사회적 지위를 가상 세계에서의 높은 지위로 보상받으려는 심리적 동기가 강하게 작용함을 보여준다. + +2. 디지털 자본의 경제화: 아바타를 꾸미는 데 사용되는 희귀 아이템이나 가상 부동산 같은 디지털 자산은 메타버스 내에서의 지위와 영향력을 측정하는 새로운 형태의 문화적, 경제적 자본이 된다. 현실의 자본이 가상으로 유입될 뿐만 아니라, 가상 세계에서의 사회적 평판(Reputation)이 현실의 가치로 환산되는 자본의 상호 전환이 일어난다. + +3. 자아 개념의 확장: 현대인의 '자아(Self)' 개념이 물리적 신체를 넘어 스마트폰, 소셜 미디어 프로필로 확장되었듯이, 아바타는 디지털 공간에서의 가장 강력한 대리인으로서 자아의 일부가 된다. 따라서 아바타의 성공이나 실패는 사용자 개인의 자존감과 심리적 안정성에 직접적인 영향을 미친다. + + +결론적으로, 아바타는 단순히 게임 캐릭터가 아니라, 경직된 현실을 벗어나기 위한 인간의 심리적 대안이자, 디지털 시대의 새로운 사회적 자본을 담는 그릇이다. + +### 3. 심화 분석 및 질문 (Critical Analysis & Inquiry) + +#### A. 아바타 정체성의 위험성과 윤리적 책임에 대한 비판적 평가 + +현실과 괴리된 아바타 정체성이 현실 생활의 윤리적 책임으로부터의 도피처로 악용되거나, 가상 공간 내의 익명성을 빌려 증오 발언이나 사이버 폭력을 심화시킬 위험성은 없는가? 또한, 아바타의 자유로운 변형이 오히려 현실 정체성에 대한 혼란(Identity Crisis)을 가중시키는 부작용을 낳을 가능성에 대해 비판적으로 평가해야 한다. + +#### B. 질문: 가상 정체성이 현실 사회에 미치는 장기적 영향과 제도적 설계 + +- Q. 메타버스 내 아바타의 '디지털 자본'이 현실의 취업, 금융 거래 등과 연동되는 현상이 심화될 경우, 이는 현실 사회의 불평등을 완화시키는 '기회 확대'가 될지, 아니면 '새로운 형태의 디지털 계층화'를 유발하는 결과를 낳을지에 대해 논하고, 후자를 방지하기 위한 정책적 또는 기술적 설계 방안을 제안해 보십시오. + +- A. (논리 설계): 메타버스 초기에는 기회 확대의 가능성이 있지만, 결국 현실의 경제력과 자본이 가상 세계의 '디지털 자본'을 선점할 가능성이 높으므로 불평등 심화로 귀결될 수 있다. 이를 방지하기 위해서는, 아바타 활동 이력의 투명성을 보장하는 블록체인 기반의 '신뢰 메커니즘'을 구축하고, 가상 공간 내 최소한의 기본 자산(Digital Basic Income)을 제공하여 출발선에서의 불평등을 완화해야 한다. \ No newline at end of file diff --git "a/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 9\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 9\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..4c1e10793a8ef156c3f7fa892184f19176e88231 --- /dev/null +++ "b/data/student_040/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 9\341\204\214\341\205\256\341\204\216\341\205\241.md" @@ -0,0 +1,62 @@ +생성형 인공지능(Generative AI) 기술은 단순히 이미지나 언어를 '만드는 도구'를 넘어 우리 사회의 인식구조, 감각체계, 가치판단 기제를 근본적으로 재편하는 문명적 변곡점으로 작용하고 있다. + +20232549 안보민 + +**1. 요약** + +생성형 AI의 등장으로 우리 사회는 인식구조와 감각체계의 문명적 변곡점에 있다. 글쓴이는 AI가 만든 이미지 속 미묘한 오류나 기형적인 텍스트에 사람들이 점차 무감각해지는 현상을 '미디어 문자 균질화'라 정의한다. 이는 역사적으로 중요했던 시각적 정교함과 활자 문화의 규범성에서 이탈하여, 시각적 다양성과 재생산 속도를 중시하는 방향으로 감각적 관용이 급진적으로 확장되는 현상이다. 이러한 과정은 문자(기표)와 의미(기의)의 엄밀한 관계를 약화시킨다. 텍스트 오류는 '낯선 자극'이 아닌 '일상적 경험'으로 수용된다. 나아가 비정상적 텍스트가 디지털 플랫폼에서 유희의 대상으로 소비되며 사회적 정당성을 얻는 현상은, 전통적인 문자문화 이후의 새로운 디지털 서식지를 정의하고 있다. + +**2. 해석** + +이 글은 인류학적 관점과 미디어 문화 연구를 결합하여 디지털 시대의 기호 체계 해체와 재편을 심층적으로 분석한다. 전통 미디어 환경에서 오류는 불신을 의미했지만, 생성형 AI 환경에서는 오류가 '알고리즘적 미학' 또는 '우연적 다양성'으로 재해석된다. 이는 수용자가 오류에 대한 **감각적 관용**을 극단적으로 확장하고 있음을 보여준다. + +글이 제시하는 **'기표-기의 유동화'** 현상은 소쉬르 기호학의 핵심인 '문자-의미'의 엄격한 대응 관계가 AI에 의해 흔들리고 있음을 뜻한다. 수용자들은 문자의 정확성보다 이미지의 감성적 메시지나 알고리즘적 창작 과정 자체를 향유한다. 이는 인류가 수 세기 동안 구축해온 언어적 상징 질서의 규범성이 느슨해지는 문명적 재편성이다. 또한 AI 오류의 일상화는 20세기 미학 이론이 강조했던 **'낯설게 하기'의 미학적 효과**를 오히려 무력화시킨다. 이 현상은 우리가 기록의 정합성보다는 활용성, 속도, 미학적 쾌락을 중시하는 사회로 전환하고 있음을 시사한다. 문자문화 이후의 새로운 문화적 감각 지형에 대한 심도 깊은 사회학적 통찰을 제공한다. + +**3. 키워드 정리** + +- **미디어 문자 균질화:** 시각적 정교함보다 다양성 및 속도를 중시하며, 텍스트 오류에 무감각해지는 현상이다. +- **감각적 관용의 확장:** 활자 오류가 부정적 요소에서 시각적 장식이나 다양성으로 재해석된다. +- **기표-기의 유동화:** 문자(기표)와 의미(기의)의 엄밀한 대응관계가 해체되고 탄력적으로 변질되는 현상이다. +- **'낯설게 하기'의 상실:** 오류의 일상화로 인해 새로운 이질감 생성 효과가 무력화된다. +- **디지털 서식지:** 시각, 언어, 의미가 교차하며 전통적 규범에 구속되지 않는 새로운 문화 공간이다. +- **문자문화 이후:** 기록의 정합성보다 미학적 쾌락, 활용성, 속도를 중시하는 사회로 전환한다. + +**양자봇 사용** + +**Q. "AI가 만든 텍스트 오류에 대한 우리의 '감각적 관용의 확장' 현상이, 궁극적으로 인류가 수 세기 동안 구축해 온 '언어적 상징 질서'의 규범성을 해체함으로써 얻는 '문화적 이익'과 그로 인해 치러야 할 '인지적 비용'을 비판적으로 평가하고, 후자를 완화하기 위한 새로운 형태의 '디지털 기호학적 방어 기제'를 제안해 보십시오."** + +A. '디지털 기호학적 방어 기제'를 2가지 제안해 볼게. + +인간 중심 기제 (교육 및 리터러시): AI가 만들어낸 오류를 단순히 수용하는 것이 아니라, 오류를 비판적 사고의 도구로 활용하도록 교육한다. '미디어 문자 균질화' 현상을 성찰의 대상으로 삼아 리터러시 교육에 통합한다. + +기술 중심 기제 (AI 설계): 생성형 AI 모델 자체에 '규범적 검증 레이어'를 탑재하여, 텍스트 생성 시 언어의 규범성을 필수적인 가중치로 부여하는 알고리즘적 책임을 강제한다. + +두 기제는 독립적으로 존재할 때보다 서로 연결될 때 더 강력합니다. + +**"기술이 인간의 비판적 사고를 지원하고, 인간의 피드백이 기술의 규범을 정교화하는 순환 구조"** + +**시나리오**: 사용자가 AI의 미묘한 오류를 발견하고(인간 기제 작동) 이를 피드백하면, AI의 규범 레이어가 해당 맥락을 학습하여 다음번에 더 정교하게 대응(기술 기제 업데이트)하는 선순환 구조를 만들어야 합니다. + +제안하신 두 축은 무너져가는 '기표-기의 엄밀성'을 현대적으로 재건하기 위한 매우 현실적이고 필수적인 기둥이 될 것입니다. + +Q. 후속 질문이야. 텍스트 오류를 '유희'나 '밈'으로 소비하는 것이 언어의 권위를 약화시키는 대가로 얻는 '문화적 이익’일까, 아니면 오히려 지적 노력의 회피를 합리화하는 '문화적 퇴행'의 징후일까? + +**'문화적 이익'으로 보는 관점 (권위의 해체와 창의성):** 오류를 밈으로 즐기는 행위는 경직된 언어 규범의 권위를 해체하고 대중 주도의 새로운 디지털 하위문화를 형성하는 동력이 되어 창의성을 발휘시킨다. + +**'문화적 퇴행'으로 보는 관점 (비판적 사고의 실종):** 재미를 위해 오류를 방치하고 진실 여부에 무감각해지는 것은 지적 태만이 될 수 있으며, 이는 비판적 사고를 마비시키고 사회 전체의 지적 역량을 저하시킬 위험이 있다. + +**결론: 무엇이 결정하는가?:** 오류를 문화적 이익으로 만들지 퇴행으로 만들지는, 소비 주체가 **오류임을 명확히 인지하고 주체적으로 통제**하는지, 아니면 **무비판적으로 수동적**으로 수용하는지에 달려 있다. + +Q. 그렇다면 현재 시류에서 ai 소비자들의 메타인지 지각이 잘 되고 있는 상황일까? + +A. 현재는 과도기입니다. AI 오류를 날카롭게 포착하고 도구적으로 활용하는 '소수의 통제 집단'과, 오류에 무감각해지거나 알고리즘이 주는 대로 수용하는 **'다수의 수동적 소비자'** 사이에 거대한 **메타인지 격차**가 벌어지기 시작했습니다. + +지금은 안타깝게도 후자의 흐름, 즉 **'문화적 퇴행'의 징후가 조금 더 짙게 드리운 상황**이라고 평가할 수 있습니다. + +피드백 + +1. 양자봇을 활용해 생각을 정리하면서 답을 구성한 것을 보고 읽는 동안 이해되지 않았던 부분들도 AI의 질문을 통해 스스로 다시 사고하고 정리한게 보인다. +2. 원문의 인류학적 통찰을 완벽히 이해하고, '문화적 이익 vs. 인지적 비용'이라는 날카로운 프레임으로 현상의 명암을 비판적으로 분석한 부분이 좋았습니다! + +- 사용한 AI = Gemini 2.5 Flash +- 사용한 AI = 양자 질문 프레임워크 봇 \ No newline at end of file diff --git a/data/student_040/__MACOSX/._New_Obsidian Vault b/data/student_040/__MACOSX/._New_Obsidian Vault new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/._New_Obsidian Vault differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/._.DS_Store b/data/student_040/__MACOSX/New_Obsidian Vault/._.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..a5b28df1cbc6e15bd0d35cdadd0c2e65d5131c7d Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/._.DS_Store differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/._.obsidian b/data/student_040/__MACOSX/New_Obsidian Vault/._.obsidian new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/._.obsidian differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/._0. Inbox b/data/student_040/__MACOSX/New_Obsidian Vault/._0. Inbox new file mode 100644 index 0000000000000000000000000000000000000000..0e1ca4f7b3d61ac6ae6de001722f02f05c739470 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/._0. Inbox differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/._1. Connect b/data/student_040/__MACOSX/New_Obsidian Vault/._1. Connect new file mode 100644 index 0000000000000000000000000000000000000000..6993d4242d34d0e06ab5960b308283707d0042f0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/._1. Connect differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/._99. Setting b/data/student_040/__MACOSX/New_Obsidian Vault/._99. Setting new file mode 100644 index 0000000000000000000000000000000000000000..20358f7387a6e2f33e0033cc725c12f78cf14d09 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/._99. Setting differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265" "b/data/student_040/__MACOSX/New_Obsidian Vault/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265" new file mode 100644 index 0000000000000000000000000000000000000000..19122430f4ebfb38bd2ae6b3e8fe0414894476d9 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265" differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._app.json b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._app.json new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._app.json differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._appearance.json b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._appearance.json new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._appearance.json differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._community-plugins.json b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._community-plugins.json new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._community-plugins.json differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._core-plugins.json b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._core-plugins.json new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._core-plugins.json differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._graph.json b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._graph.json new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._graph.json differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._plugins b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._plugins new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._plugins differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._workspace.json b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._workspace.json new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/._workspace.json differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/._calendar b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/._calendar new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/._calendar differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/._periodic-notes b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/._periodic-notes new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/._periodic-notes differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/._templater-obsidian b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/._templater-obsidian new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/._templater-obsidian differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/calendar/._data.json b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/calendar/._data.json new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/calendar/._data.json differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/calendar/._main.js b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/calendar/._main.js new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/calendar/._main.js differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/calendar/._manifest.json b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/calendar/._manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/calendar/._manifest.json differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/periodic-notes/._data.json b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/periodic-notes/._data.json new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/periodic-notes/._data.json differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/periodic-notes/._main.js b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/periodic-notes/._main.js new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/periodic-notes/._main.js differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/periodic-notes/._manifest.json b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/periodic-notes/._manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/periodic-notes/._manifest.json differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/periodic-notes/._styles.css b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/periodic-notes/._styles.css new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/periodic-notes/._styles.css differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/._data.json b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/._data.json new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/._data.json differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/._main.js b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/._main.js new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/._main.js differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/._manifest.json b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/._manifest.json new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/._manifest.json differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/._styles.css b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/._styles.css new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/.obsidian/plugins/templater-obsidian/._styles.css differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/._.DS_Store b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/._.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..794def4add493d69d0bbe87ff92cb6d8b892ad36 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/._.DS_Store differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/._1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/._1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265" new file mode 100644 index 0000000000000000000000000000000000000000..dd93217ba03905b1cbca934a4563f2fcff29aee2 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/._1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-10-29 (\341\204\211\341\205\256).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-10-29 (\341\204\211\341\205\256).md" new file mode 100644 index 0000000000000000000000000000000000000000..6cabf5cf2d7d86156372dc71cf84baccb6ca2f3f Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-10-29 (\341\204\211\341\205\256).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-10-30 (\341\204\206\341\205\251\341\206\250).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-10-30 (\341\204\206\341\205\251\341\206\250).md" new file mode 100644 index 0000000000000000000000000000000000000000..113ffbd1e099db4b035831daa38f1c66edcbfdd8 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-10-30 (\341\204\206\341\205\251\341\206\250).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-01 (\341\204\220\341\205\251).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-01 (\341\204\220\341\205\251).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-01 (\341\204\220\341\205\251).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-02 (\341\204\213\341\205\265\341\206\257).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-02 (\341\204\213\341\205\265\341\206\257).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-02 (\341\204\213\341\205\265\341\206\257).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-05 (\341\204\211\341\205\256).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-05 (\341\204\211\341\205\256).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-05 (\341\204\211\341\205\256).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-08 (\341\204\220\341\205\251).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-08 (\341\204\220\341\205\251).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-08 (\341\204\220\341\205\251).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-12 (\341\204\211\341\205\256).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-12 (\341\204\211\341\205\256).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-12 (\341\204\211\341\205\256).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-15 (\341\204\220\341\205\251).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-15 (\341\204\220\341\205\251).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-15 (\341\204\220\341\205\251).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-17 (\341\204\213\341\205\257\341\206\257).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-17 (\341\204\213\341\205\257\341\206\257).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-17 (\341\204\213\341\205\257\341\206\257).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-18 (\341\204\222\341\205\252).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-18 (\341\204\222\341\205\252).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-18 (\341\204\222\341\205\252).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-21 (\341\204\200\341\205\263\341\206\267).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-21 (\341\204\200\341\205\263\341\206\267).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-21 (\341\204\200\341\205\263\341\206\267).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-24 (\341\204\213\341\205\257\341\206\257).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-24 (\341\204\213\341\205\257\341\206\257).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-24 (\341\204\213\341\205\257\341\206\257).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-27 (\341\204\206\341\205\251\341\206\250).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-27 (\341\204\206\341\205\251\341\206\250).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-11-27 (\341\204\206\341\205\251\341\206\250).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-12-01 (\341\204\213\341\205\257\341\206\257).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-12-01 (\341\204\213\341\205\257\341\206\257).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-12-01 (\341\204\213\341\205\257\341\206\257).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-12-03 (\341\204\211\341\205\256).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-12-03 (\341\204\211\341\205\256).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-12-03 (\341\204\211\341\205\256).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-12-06 (\341\204\220\341\205\251).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-12-06 (\341\204\220\341\205\251).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-12-06 (\341\204\220\341\205\251).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-12-10 (\341\204\211\341\205\256).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-12-10 (\341\204\211\341\205\256).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-12-10 (\341\204\211\341\205\256).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-12-13 (\341\204\220\341\205\251).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-12-13 (\341\204\220\341\205\251).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/1. Connect/1-1. \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257 \341\204\213\341\205\265\341\206\257\341\204\214\341\205\265/._2025-12-13 (\341\204\220\341\205\251).md" differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/._.DS_Store b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/._.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..a5b28df1cbc6e15bd0d35cdadd0c2e65d5131c7d Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/._.DS_Store differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/._Additional b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/._Additional new file mode 100644 index 0000000000000000000000000000000000000000..299c88fc76e056022cd433f6ebc7de4b74f9932e Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/._Additional differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/._Templates b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/._Templates new file mode 100644 index 0000000000000000000000000000000000000000..3fc2eca533381c9a95c04c9f82458b12c5234f06 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/._Templates differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213073826.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213073826.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213073826.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213073829.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213073829.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213073829.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213075318.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213075318.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213075318.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213075542.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213075542.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213075542.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213075753.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213075753.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213075753.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213075931.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213075931.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213075931.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080031.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080031.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080031.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080150.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080150.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080150.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080352.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080352.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080352.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080602.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080602.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080602.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080803.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080803.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080803.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080944.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080944.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213080944.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081302.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081302.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081302.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081450.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081450.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081450.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081641.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081641.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081641.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081849.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081849.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081849.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081852.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081852.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081852.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081855.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081855.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081855.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081959.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081959.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213081959.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213082057.png b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213082057.png new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._Pasted image 20251213082057.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._\341\204\211\341\205\263\341\204\217\341\205\263\341\204\205\341\205\265\341\206\253\341\204\211\341\205\243\341\206\272 2025-12-12 \341\204\213\341\205\251\341\204\222\341\205\256 11.39.28.png" "b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._\341\204\211\341\205\263\341\204\217\341\205\263\341\204\205\341\205\265\341\206\253\341\204\211\341\205\243\341\206\272 2025-12-12 \341\204\213\341\205\251\341\204\222\341\205\256 11.39.28.png" new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ "b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._\341\204\211\341\205\263\341\204\217\341\205\263\341\204\205\341\205\265\341\206\253\341\204\211\341\205\243\341\206\272 2025-12-12 \341\204\213\341\205\251\341\204\222\341\205\256 11.39.28.png" @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._\341\204\211\341\205\263\341\204\217\341\205\263\341\204\205\341\205\265\341\206\253\341\204\211\341\205\243\341\206\272 2025-12-13 \341\204\213\341\205\251\341\204\214\341\205\245\341\206\253 12.20.26.png" "b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._\341\204\211\341\205\263\341\204\217\341\205\263\341\204\205\341\205\265\341\206\253\341\204\211\341\205\243\341\206\272 2025-12-13 \341\204\213\341\205\251\341\204\214\341\205\245\341\206\253 12.20.26.png" new file mode 100644 index 0000000000000000000000000000000000000000..8b7050e437356b12c605293d28bd65b530d3fa39 --- /dev/null +++ "b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Additional/._\341\204\211\341\205\263\341\204\217\341\205\263\341\204\205\341\205\265\341\206\253\341\204\211\341\205\243\341\206\272 2025-12-13 \341\204\213\341\205\251\341\204\214\341\205\245\341\206\253 12.20.26.png" @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca10a4abcdf101058d3a71204965950be151512c52d8aef01ad4ef6771da0168 +size 163 diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._.DS_Store b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..a5b28df1cbc6e15bd0d35cdadd0c2e65d5131c7d Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._.DS_Store differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._Daily Notes.md b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._Daily Notes.md new file mode 100644 index 0000000000000000000000000000000000000000..a546c87c7e70687c9c85197deed3b9af8f44f905 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._Daily Notes.md differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._New DIKM Note Template.md b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._New DIKM Note Template.md new file mode 100644 index 0000000000000000000000000000000000000000..215ab379eecf3eeff6ef87f5cfc60aaf14184f85 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._New DIKM Note Template.md differ diff --git a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._random-mission.md b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._random-mission.md new file mode 100644 index 0000000000000000000000000000000000000000..0107aba399bde43cd203478d88ad114714c6ed33 Binary files /dev/null and b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._random-mission.md differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._\341\204\200\341\205\241\341\206\267\341\204\214\341\205\245\341\206\274\341\204\213\341\205\265\341\206\257\341\204\200\341\205\265\341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272_v2.md" "b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._\341\204\200\341\205\241\341\206\267\341\204\214\341\205\245\341\206\274\341\204\213\341\205\265\341\206\257\341\204\200\341\205\265\341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272_v2.md" new file mode 100644 index 0000000000000000000000000000000000000000..a64e004e5cc127b0e96e90d7ea7489e102766c5d Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._\341\204\200\341\205\241\341\206\267\341\204\214\341\205\245\341\206\274\341\204\213\341\205\265\341\206\257\341\204\200\341\205\265\341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272_v2.md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._\341\204\216\341\205\241\341\206\274\341\204\214\341\205\241\341\206\250\341\204\205\341\205\265\341\204\211\341\205\251\341\204\211\341\205\263\341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272.md" "b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._\341\204\216\341\205\241\341\206\274\341\204\214\341\205\241\341\206\250\341\204\205\341\205\265\341\204\211\341\205\251\341\204\211\341\205\263\341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272.md" new file mode 100644 index 0000000000000000000000000000000000000000..b6cbdf2be434dafad035e5cd428d8db08628838b Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._\341\204\216\341\205\241\341\206\274\341\204\214\341\205\241\341\206\250\341\204\205\341\205\265\341\204\211\341\205\251\341\204\211\341\205\263\341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272.md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._\360\237\221\250\342\200\215\360\237\217\253 \341\204\203\341\205\242\341\204\222\341\205\241\341\206\250 \341\204\200\341\205\241\341\206\274\341\204\213\341\205\264 \341\204\202\341\205\251\341\204\220\341\205\263 \341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272 (LECTURE NOTE TEMPLATE).md" "b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._\360\237\221\250\342\200\215\360\237\217\253 \341\204\203\341\205\242\341\204\222\341\205\241\341\206\250 \341\204\200\341\205\241\341\206\274\341\204\213\341\205\264 \341\204\202\341\205\251\341\204\220\341\205\263 \341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272 (LECTURE NOTE TEMPLATE).md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/99. Setting/Templates/._\360\237\221\250\342\200\215\360\237\217\253 \341\204\203\341\205\242\341\204\222\341\205\241\341\206\250 \341\204\200\341\205\241\341\206\274\341\204\213\341\205\264 \341\204\202\341\205\251\341\204\220\341\205\263 \341\204\220\341\205\246\341\206\267\341\204\221\341\205\263\341\206\257\341\204\205\341\205\265\341\206\272 (LECTURE NOTE TEMPLATE).md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 10\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 10\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 10\341\204\214\341\205\256\341\204\216\341\205\241.md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 11\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 11\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 11\341\204\214\341\205\256\341\204\216\341\205\241.md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 12\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 12\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 12\341\204\214\341\205\256\341\204\216\341\205\241.md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 13\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 13\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 13\341\204\214\341\205\256\341\204\216\341\205\241.md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 1\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 1\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..075bb3817062b208171d1f7d95b658db1f200228 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 1\341\204\214\341\205\256\341\204\216\341\205\241.md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 2\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 2\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..278076e97b34207f5a0891b12de017f618e2689b Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 2\341\204\214\341\205\256\341\204\216\341\205\241.md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 3\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 3\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 3\341\204\214\341\205\256\341\204\216\341\205\241.md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 4\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 4\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 4\341\204\214\341\205\256\341\204\216\341\205\241.md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 5\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 5\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 5\341\204\214\341\205\256\341\204\216\341\205\241.md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 7\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 7\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..09f7826f80bcbf729a0486ca7587a7db2aef9e37 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 7\341\204\214\341\205\256\341\204\216\341\205\241.md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 8\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 8\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 8\341\204\214\341\205\256\341\204\216\341\205\241.md" differ diff --git "a/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 9\341\204\214\341\205\256\341\204\216\341\205\241.md" "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 9\341\204\214\341\205\256\341\204\216\341\205\241.md" new file mode 100644 index 0000000000000000000000000000000000000000..55a69988eac029d0f06ee8c95c45b07c9a67b8e0 Binary files /dev/null and "b/data/student_040/__MACOSX/New_Obsidian Vault/AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265/._AI\341\204\222\341\205\252\341\206\257\341\204\213\341\205\255\341\206\274 \341\204\211\341\205\245\341\206\274\341\204\216\341\205\241\341\206\257\341\204\214\341\205\245\341\206\250 \341\204\200\341\205\263\341\206\257\341\204\212\341\205\263\341\204\200\341\205\265 - 9\341\204\214\341\205\256\341\204\216\341\205\241.md" differ