SYMBOL INDEX (1172 symbols across 47 files) FILE: esbuild.config.mjs method setup (line 15) | setup(build) { FILE: src/constants.ts constant URI_NAMESPACE (line 1) | const URI_NAMESPACE = "actions-uri"; constant STRINGS (line 3) | const STRINGS = { constant XCALLBACK_RESULT_PREFIX (line 79) | const XCALLBACK_RESULT_PREFIX = "result"; FILE: src/main.ts class ActionsURI (line 31) | class ActionsURI extends Plugin { method onload (line 39) | async onload() { method loadSettings (line 46) | async loadSettings() { method saveSettings (line 50) | async saveSettings() { method registerRoutes (line 67) | private registerRoutes(routeTree: RoutePath) { method handleIncomingCall (line 108) | private async handleIncomingCall( method prepParamsForConsole (line 139) | private prepParamsForConsole(params: AnyParams): AnyParams { method handleParseError (line 160) | private handleParseError(parseError: ZodError, params: ObsidianProtoco... method sendUrlCallbackIfNeeded (line 223) | private sendUrlCallbackIfNeeded( method openFileIfNeeded (line 251) | private async openFileIfNeeded( FILE: src/plugin-info.ts constant PLUGIN_INFO (line 2) | const PLUGIN_INFO = { FILE: src/routes.ts type RoutePath (line 87) | type RoutePath = { type RouteSubpath (line 91) | type RouteSubpath = { type AnyParams (line 101) | type AnyParams = type NoteTargetingParameterKey (line 116) | enum NoteTargetingParameterKey { FILE: src/routes/command.ts type ListParams (line 30) | type ListParams = z.infer; type ExecuteParams (line 31) | type ExecuteParams = z.infer; type AnyLocalParams (line 33) | type AnyLocalParams = function handleList (line 53) | async function handleList( function handleExecute (line 64) | async function handleExecute( FILE: src/routes/dataview.ts type ReadParams (line 28) | type ReadParams = z.infer; type AnyLocalParams (line 30) | type AnyLocalParams = ReadParams; function handleTableQuery (line 45) | async function handleTableQuery( function handleListQuery (line 52) | async function handleListQuery( function dqlValuesMapper (line 61) | function dqlValuesMapper(dataview: DataviewApi, v: any): any { function executeDataviewQuery (line 67) | async function executeDataviewQuery( function getArrayDimensions (line 129) | function getArrayDimensions(input: any[]) { FILE: src/routes/file.ts type DefaultParams (line 48) | type DefaultParams = z.infer; type OpenParams (line 49) | type OpenParams = z.infer; type DeleteParams (line 50) | type DeleteParams = z.infer; type RenameParams (line 51) | type RenameParams = z.infer; type AnyLocalParams (line 53) | type AnyLocalParams = function handleList (line 75) | async function handleList( function handleGetActive (line 84) | async function handleGetActive( function handleOpen (line 94) | async function handleOpen( function handleDelete (line 104) | async function handleDelete( function handleTrash (line 112) | async function handleTrash( function handleRename (line 120) | async function handleRename( FILE: src/routes/folder.ts type ListParams (line 43) | type ListParams = z.infer; type CreateParams (line 44) | type CreateParams = z.infer; type DeleteParams (line 45) | type DeleteParams = z.infer; type RenameParams (line 46) | type RenameParams = z.infer; type AnyLocalParams (line 48) | type AnyLocalParams = function handleList (line 68) | async function handleList( function handleCreate (line 78) | async function handleCreate( function handleRename (line 86) | async function handleRename( function handleDelete (line 94) | async function handleDelete( function handleTrash (line 102) | async function handleTrash( FILE: src/routes/info.ts type DefaultParams (line 15) | type DefaultParams = z.infer; type AnyLocalParams (line 17) | type AnyLocalParams = DefaultParams; function handleInfo (line 29) | async function handleInfo( FILE: src/routes/note-properties.ts type GetParams (line 56) | type GetParams = Prettify>; type SetParams (line 57) | type SetParams = Prettify>; type RemoveKeysParams (line 58) | type RemoveKeysParams = Prettify>; type AnyLocalParams (line 60) | type AnyLocalParams = function handleGet (line 83) | async function handleGet( function handleSet (line 93) | async function handleSet( function handleClear (line 122) | async function handleClear( function handleRemoveKeys (line 129) | async function handleRemoveKeys( function sanitizedStringifyYaml (line 140) | function sanitizedStringifyYaml(props: any): string { FILE: src/routes/note.ts type IfHeadlineMissingParameterValue (line 68) | enum IfHeadlineMissingParameterValue { type ListParams (line 177) | type ListParams = Prettify>; type GetParams (line 178) | type GetParams = Prettify>; type GetActiveParams (line 179) | type GetActiveParams = Prettify>; type ReadFirstNamedParams (line 180) | type ReadFirstNamedParams = Prettify>; type OpenParams (line 181) | type OpenParams = Prettify>; type AppendParams (line 182) | type AppendParams = Prettify>; type PrependParams (line 183) | type PrependParams = Prettify>; type TouchParams (line 184) | type TouchParams = Prettify>; type SearchAndReplaceParams (line 185) | type SearchAndReplaceParams = Prettify>; type RenameParams (line 187) | type RenameParams = Prettify>; type AnyLocalParams (line 189) | type AnyLocalParams = function handleList (line 243) | async function handleList( function handleGet (line 273) | async function handleGet( function handleGetActive (line 282) | async function handleGetActive( function handleGetNamed (line 304) | async function handleGetNamed( function handleOpen (line 344) | async function handleOpen( function handleCreate (line 354) | async function handleCreate( function handleAppend (line 378) | async function handleAppend( function handlePrepend (line 465) | async function handlePrepend( function handleTouch (line 566) | async function handleTouch( function handleSearchStringAndReplace (line 577) | async function handleSearchStringAndReplace( function handleSearchRegexAndReplace (line 588) | async function handleSearchRegexAndReplace( function handleDelete (line 602) | async function handleDelete( function handleTrash (line 611) | async function handleTrash( function handleRename (line 620) | async function handleRename( function prepareNoteForHeadlineBlockManipulation (line 634) | async function prepareNoteForHeadlineBlockManipulation( FILE: src/routes/note/create.ts type CreateApplyParameterValue (line 41) | enum CreateApplyParameterValue { type IfExistsParameterValue (line 47) | enum IfExistsParameterValue { type CreateParams (line 100) | type CreateParams = Prettify>; type CreateNoteApplyContentParams (line 102) | type CreateNoteApplyContentParams = Prettify< type CreateNoteApplyTemplateParams (line 106) | type CreateNoteApplyTemplateParams = Prettify< type AnyCreateNoteApplyParams (line 111) | type AnyCreateNoteApplyParams = type CreatePeriodicNoteParams (line 115) | type CreatePeriodicNoteParams = Prettify< function _handleCreatePeriodicNote (line 122) | async function _handleCreatePeriodicNote( function _handleCreateNoteFromContent (line 169) | async function _handleCreateNoteFromContent( function _handleCreateNoteFromTemplate (line 215) | async function _handleCreateNoteFromTemplate( type ResolvedTemplatePathValues (line 279) | type ResolvedTemplatePathValues = Readonly<{ function resolveTemplatePathStrict (line 303) | function resolveTemplatePathStrict( FILE: src/routes/omnisearch.ts type DefaultParams (line 28) | type DefaultParams = z.infer; type OpenParams (line 29) | type OpenParams = z.infer; type AnyLocalParams (line 31) | type AnyLocalParams = function handleSearch (line 47) | async function handleSearch( function handleOpen (line 54) | async function handleOpen( FILE: src/routes/search.ts type DefaultParams (line 28) | type DefaultParams = z.infer; type OpenParams (line 29) | type OpenParams = z.infer; type AnyLocalParams (line 31) | type AnyLocalParams = function handleSearch (line 47) | async function handleSearch( function handleOpen (line 54) | async function handleOpen( FILE: src/routes/settings.ts type DefaultParams (line 14) | type DefaultParams = z.infer; type AnyLocalParams (line 16) | type AnyLocalParams = DefaultParams; function handleOpen (line 29) | async function handleOpen( FILE: src/routes/tags.ts type ListParams (line 17) | type ListParams = z.infer; type AnyLocalParams (line 19) | type AnyLocalParams = ListParams; function handleList (line 32) | async function handleList( FILE: src/routes/vault.ts type DefaultParams (line 27) | type DefaultParams = z.infer; type AnyLocalParams (line 29) | type AnyLocalParams = DefaultParams; function handleOpen (line 54) | async function handleOpen( function handleClose (line 61) | async function handleClose( function handleInfo (line 76) | async function handleInfo( function handleListFiles (line 100) | async function handleListFiles( function handleListFilesExceptNotes (line 109) | async function handleListFilesExceptNotes( FILE: src/schemata.ts type IncomingBaseParams (line 25) | type IncomingBaseParams = z.output; type NoteTargetingParams (line 32) | type NoteTargetingParams = z.output; type NoteTargetingWithRecentsParams (line 40) | type NoteTargetingWithRecentsParams = z.output< FILE: src/settings.ts class SettingsTab (line 4) | class SettingsTab extends PluginSettingTab { method constructor (line 7) | constructor(app: App, plugin: ActionsURI) { method display (line 12) | display(): void { FILE: src/types.d.ts type PluginSettings (line 6) | type PluginSettings = { type Prettify (line 15) | type Prettify = FILE: src/types/handlers.d.ts type HandlerFunction (line 10) | type HandlerFunction = ( type HandlerResult (line 14) | type HandlerResult = { type HandlerSuccess (line 18) | type HandlerSuccess = type HandlerFailure (line 22) | type HandlerFailure = Readonly< type HandlerTextSuccess (line 30) | type HandlerTextSuccess = Readonly< type HandlerFileSuccess (line 39) | type HandlerFileSuccess = Readonly< type HandlerFilePathSuccess (line 55) | type HandlerFilePathSuccess = Readonly< type HandlerDataviewSuccess (line 64) | type HandlerDataviewSuccess = Readonly< type HandlerPathsSuccess (line 73) | type HandlerPathsSuccess = Readonly< type HandlerSearchSuccess (line 82) | type HandlerSearchSuccess = Readonly< type HandlerTagsSuccess (line 91) | type HandlerTagsSuccess = Readonly< type HandlerInfoSuccess (line 100) | type HandlerInfoSuccess = Readonly< type HandlerVaultSuccess (line 114) | type HandlerVaultSuccess = Readonly< type HandlerVaultInfoSuccess (line 119) | type HandlerVaultInfoSuccess = Readonly< type HandlerCommandsSuccess (line 130) | type HandlerCommandsSuccess = Readonly< type HandlerCommandsExecutionSuccess (line 139) | type HandlerCommandsExecutionSuccess = Readonly< type HandlerPropertiesSuccess (line 144) | type HandlerPropertiesSuccess = Readonly< type NoteProperties (line 153) | type NoteProperties = Record< type AnyHandlerSuccess (line 158) | type AnyHandlerSuccess = type AnyHandlerResult (line 171) | type AnyHandlerResult = FILE: src/types/obsidian-objects.d.ts type RealLifePlugin (line 14) | interface RealLifePlugin extends App { type RealLifeApp (line 21) | interface RealLifeApp extends App { type RealLifeVault (line 35) | interface RealLifeVault extends Vault { type RealLifeDataAdapter (line 44) | interface RealLifeDataAdapter extends DataAdapter { type RealLifeMetadataCache (line 48) | interface RealLifeMetadataCache extends MetadataCache { FILE: src/types/plugins.d.ts type OmnisearchAPI (line 2) | type OmnisearchAPI = { type OmnisearchResultNoteApi (line 13) | type OmnisearchResultNoteApi = { type OmnisearchSearchMatchApi (line 21) | type OmnisearchSearchMatchApi = { FILE: src/types/results.d.ts type ErrorObject (line 5) | type ErrorObject = { type ResultObject (line 11) | type ResultObject = { type TFileResultObject (line 17) | type TFileResultObject = ResultObject | ErrorObject; type RegexResultObject (line 18) | type RegexResultObject = ResultObject | ErrorObject; type SearchResultObject (line 19) | type SearchResultObject = type StringResultObject (line 22) | type StringResultObject = ResultObject | ErrorObject; type PluginResultObject (line 23) | type PluginResultObject = ResultObject | ErrorObject; type BooleanResultObject (line 24) | type BooleanResultObject = ResultObject | ErrorObject; type ProcessingResult (line 26) | type ProcessingResult = { type NoteDetailsResultObject (line 33) | type NoteDetailsResultObject = FILE: src/utils/callbacks.ts function sendUrlCallback (line 26) | function sendUrlCallback( function addObjectToUrlSearchParams (line 71) | function addObjectToUrlSearchParams( function sendCallbackResult (line 108) | function sendCallbackResult(uri: string) { FILE: src/utils/file-handling.ts function createNote (line 50) | async function createNote( function createOrOverwriteNote (line 101) | async function createOrOverwriteNote( function getNoteContent (line 134) | async function getNoteContent( function getNoteDetails (line 157) | async function getNoteDetails( function sanitizeFilePath (line 201) | function sanitizeFilePath( function sanitizeFilePathAndGetAbstractFile (line 227) | function sanitizeFilePathAndGetAbstractFile( function updateNote (line 248) | async function updateNote( function getUriPath (line 298) | function getUriPath(filepath: string, vaultName: string): string { function getUriUID (line 304) | function getUriUID( function getFirstUID (line 318) | function getFirstUID(properties: NoteProperties): string | undefined { function touchNote (line 335) | async function touchNote( function searchAndReplaceInNote (line 355) | async function searchAndReplaceInNote( function appendNote (line 380) | async function appendNote( function appendNoteBelowHeadline (line 401) | async function appendNoteBelowHeadline( function prependNote (line 446) | async function prependNote( function prependNoteBelowHeadline (line 475) | async function prependNoteBelowHeadline( function getFileMap (line 527) | function getFileMap(): TFile[] { function getFile (line 541) | async function getFile( function getNote (line 560) | async function getNote( function applyCorePluginTemplate (line 579) | async function applyCorePluginTemplate( function trashFilepath (line 621) | async function trashFilepath( function renameFilepath (line 651) | async function renameFilepath( function createFolderIfNecessary (line 683) | async function createFolderIfNecessary(folder: string) { function propertiesForFile (line 699) | async function propertiesForFile( function createAndPause (line 721) | async function createAndPause(filepath: string, content: string) { function dirname (line 741) | function dirname(path: string) { function extname (line 757) | function extname(path: string) { FILE: src/utils/parameters.ts type ResolvedData (line 20) | type ResolvedData = { type ResolvedNoteTargetingValues (line 24) | type ResolvedNoteTargetingValues = Readonly<{ function resolveNoteTargeting (line 53) | function resolveNoteTargeting( function resolveNoteTargetingStrict (line 169) | function resolveNoteTargetingStrict( function mergeResolvedData (line 182) | function mergeResolvedData( function filepathForUID (line 195) | function filepathForUID(uid: string): StringResultObject { FILE: src/utils/periodic-notes-handling.ts type PeriodicNoteType (line 40) | enum PeriodicNoteType { type PeriodicNoteTypeWithRecents (line 48) | enum PeriodicNoteTypeWithRecents { function getCurrentPeriodicNotePath (line 63) | function getCurrentPeriodicNotePath( function getMostRecentPeriodicNotePath (line 94) | function getMostRecentPeriodicNotePath( function getCurrentPeriodicNote (line 104) | function getCurrentPeriodicNote( function getAllPeriodicNotes (line 126) | function getAllPeriodicNotes( function checkForEnabledPeriodicNoteFeature (line 147) | function checkForEnabledPeriodicNoteFeature( function createPeriodicNote (line 168) | async function createPeriodicNote( function getExistingPeriodicNotePathIfPluginIsAvailable (line 214) | function getExistingPeriodicNotePathIfPluginIsAvailable( FILE: src/utils/plugins.ts function enabledCommunityPlugins (line 10) | function enabledCommunityPlugins(): string[] { function isCommunityPluginEnabled (line 24) | function isCommunityPluginEnabled(pluginID: string): boolean { function getEnabledCommunityPlugin (line 35) | function getEnabledCommunityPlugin( function isCorePluginEnabled (line 53) | function isCorePluginEnabled(pluginID: string): boolean { function getEnabledCorePlugin (line 64) | function getEnabledCorePlugin(pluginID: string): PluginResultObject { FILE: src/utils/results-handling.ts function success (line 10) | function success( function failure (line 24) | function failure( type ErrorCode (line 31) | enum ErrorCode { FILE: src/utils/routing.ts function helloRoute (line 7) | function helloRoute(path: string = "/"): RouteSubpath { function handleHello (line 11) | async function handleHello(data: AnyParams): Promise { FILE: src/utils/search.ts function doSearch (line 18) | async function doSearch(query: string): Promise { function doOmnisearch (line 52) | async function doOmnisearch(query: string): Promise { FILE: src/utils/self.ts function self (line 8) | function self(pluginInstance?: ActionsURI): RealLifePlugin { FILE: src/utils/string-handling.ts function endStringWithNewline (line 12) | function endStringWithNewline(str: string = ""): string { function parseStringIntoRegex (line 25) | function parseStringIntoRegex(search: string): RegexResultObject { function escapeRegExpChars (line 62) | function escapeRegExpChars(string: string) { function extractNoteContentParts (line 77) | function extractNoteContentParts( function toKebabCase (line 97) | function toKebabCase(text: string): string { FILE: src/utils/time.ts function pause (line 1) | async function pause(milliseconds: number): Promise { FILE: src/utils/ui.ts function showBrandedNotice (line 14) | function showBrandedNotice(msg: string) { function logToConsole (line 24) | function logToConsole(...data: any[]) { function logErrorToConsole (line 34) | function logErrorToConsole(...data: any[]) { function focusOrOpenNote (line 46) | async function focusOrOpenNote( function revealLeafWithFilePath (line 72) | async function revealLeafWithFilePath( FILE: src/utils/zod.ts function lookupAbstractFileForFilePath (line 167) | function lookupAbstractFileForFilePath(path: any): TAbstractFile | null { function lookupAbstractFolderForPath (line 180) | function lookupAbstractFolderForPath(path: any): TAbstractFile | null { function lookupAbstractFileForTemplaterPath (line 196) | function lookupAbstractFileForTemplaterPath(path: any): TAbstractFile | ... function lookupAbstractFileForTemplatesPath (line 224) | function lookupAbstractFileForTemplatesPath(path: any): TAbstractFile | ... FILE: tests/callback-server.ts constant TEST_PORT (line 5) | const TEST_PORT = 3000; class CallbackServer (line 7) | class CallbackServer { method constructor (line 15) | constructor() { method start (line 43) | start(): Promise { method stop (line 53) | stop(): Promise { method waitForCallback (line 66) | waitForCallback(timeout = 3000): Promise { method reset (line 94) | private reset() { FILE: tests/global-setup.ts function globalSetup (line 33) | async function globalSetup() { function startLogFileWatcher (line 80) | async function startLogFileWatcher( function locateLogstravaganzaLogFile (line 121) | async function locateLogstravaganzaLogFile( function startHTTPServer (line 134) | async function startHTTPServer() { function openTestVaultInObsidian (line 143) | async function openTestVaultInObsidian() { function copyNewPluginBuildIntoTestVault (line 152) | function copyNewPluginBuildIntoTestVault(pluginDir: string) { function ensureTestPluginIsEnabled (line 163) | async function ensureTestPluginIsEnabled( function createTestVault (line 185) | async function createTestVault( FILE: tests/global-teardown.ts function globalTeardown (line 7) | async function globalTeardown() { FILE: tests/helpers.ts function sendUri (line 9) | function sendUri(uri: string): Promise { function pause (line 42) | async function pause(milliseconds: number): Promise { function callObsidian (line 74) | async function callObsidian( function collectRecentLogEntries (line 127) | async function collectRecentLogEntries(): Promise { function constructObsidianURI (line 142) | function constructObsidianURI( FILE: tests/plugin-test-vault.original/.obsidian/plugins/auto-periodic-notes/main.js function _ (line 6) | function _(n){var t,o;let e=window.app.plugins.getPlugin("periodic-notes... function M (line 6) | function M(){var n,e,t,o;try{let{internalPlugins:i,plugins:a}=window.app... function L (line 6) | function L(){var n,e,t,o,i,a,s;try{let c=window.app.plugins,u=(n=c.getPl... function C (line 6) | function C(){var e,t,o,i;let n=window.app.plugins;try{let a=_("monthly")... function W (line 6) | function W(){var e,t,o,i;let n=window.app.plugins;try{let a=_("quarterly... function Y (line 6) | function Y(){var e,t,o,i;let n=window.app.plugins;try{let a=_("yearly")&... function ge (line 6) | function ge(...n){let e=[];for(let o=0,i=n.length;osetTimeout(e,n))} function no (line 13) | function no(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")} function ro (line 13) | function ro(){return/(<%(?:-|_)?\s*[*~]{0,1})\+((?:.|\s)*?%>)/g} function Za (line 13) | function Za(n,e){e=(0,Ve.normalizePath)(e);let t=n.vault.getAbstractFile... function Dt (line 13) | function Dt(n,e){e=(0,Ve.normalizePath)(e);let t=n.vault.getAbstractFile... function ze (line 13) | function ze(n,e){let t=Za(n,e),r=[];return Ve.Vault.recurseChildren(t,i=... function io (line 13) | async function io(n,e){return await Promise.all(e.map(async r=>{let i=aw... function es (line 13) | function es(n,e){let r=new qr().parseString(e),i=new Lr(n);return i.desc... function ts (line 13) | function ts(n){try{return n.nodes.map(t=>t.getChildNodes().filter(r=>r i... function ns (line 15) | function ns(n){if(!n)return"";try{return n.content.nodes[0].getChildNode... function rs (line 15) | function rs(n){try{return n.blocks.map(r=>{let i=r.parameterName,o=r.con... function Pt (line 15) | function Pt(n,e,t){if(t<0||t===n.length)return;let r=n[e];n[e]=n[t],n[t]=r} function Jt (line 15) | function Jt(n){return n.workspace.activeEditor?.file??n.workspace.getAct... function oo (line 15) | function oo(n){let e=n.lastIndexOf("/");return e!==-1?n.slice(0,e):""} function $r (line 15) | function $r(n){return n!==null&&typeof n=="object"} function ao (line 15) | function ao(n){let e=n.toString(),t=e.indexOf("(");return e.substring(t+... function Kr (line 15) | function Kr(n,e,t){let r=n instanceof HTMLOListElement?"li":"p",i=n.crea... function de (line 15) | function de(n){return n?(n.nodeName||"").toLowerCase():null} function Z (line 15) | function Z(n){if(n==null)return window;if(n.toString()!=="[object Window... function De (line 15) | function De(n){var e=Z(n).Element;return n instanceof e||n instanceof El... function fe (line 15) | function fe(n){var e=Z(n).HTMLElement;return n instanceof e||n instanceo... function Xt (line 15) | function Xt(n){if(typeof ShadowRoot=="undefined")return!1;var e=Z(n).Sha... function ds (line 15) | function ds(n){var e=n.state;Object.keys(e.elements).forEach(function(t)... function ms (line 15) | function ms(n){var e=n.state,t={popper:{position:e.options.strategy,left... function me (line 15) | function me(n){return n.split("-")[0]} function Zt (line 15) | function Zt(){var n=navigator.userAgentData;return n!=null&&n.brands&&Ar... function An (line 15) | function An(){return!/^((?!chrome|android).)*safari/i.test(Zt())} function Pe (line 15) | function Pe(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var r=n.getBoun... function Mt (line 15) | function Mt(n){var e=Pe(n),t=n.offsetWidth,r=n.offsetHeight;return Math.... function _n (line 15) | function _n(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))r... function ve (line 15) | function ve(n){return Z(n).getComputedStyle(n)} function Yr (line 15) | function Yr(n){return["table","td","th"].indexOf(de(n))>=0} function he (line 15) | function he(n){return((De(n)?n.ownerDocument:n.document)||window.documen... function ut (line 15) | function ut(n){return de(n)==="html"?n:n.assignedSlot||n.parentNode||(Xt... function uo (line 15) | function uo(n){return!fe(n)||ve(n).position==="fixed"?null:n.offsetParent} function gs (line 15) | function gs(n){var e=/firefox/i.test(Zt()),t=/Trident/i.test(Zt());if(t&... function Ie (line 15) | function Ie(n){for(var e=Z(n),t=uo(n);t&&Yr(t)&&ve(t).position==="static... function Bt (line 15) | function Bt(n){return["top","bottom"].indexOf(n)>=0?"x":"y"} function Ft (line 15) | function Ft(n,e,t){return Fe(n,Ot(e,t))} function fo (line 15) | function fo(n,e,t){var r=Ft(n,e,t);return r>t?t:r} function xn (line 15) | function xn(){return{top:0,right:0,bottom:0,left:0}} function yn (line 15) | function yn(n){return Object.assign({},xn(),n)} function jn (line 15) | function jn(n,e){return e.reduce(function(t,r){return t[r]=n,t},{})} function As (line 15) | function As(n){var e,t=n.state,r=n.name,i=n.options,o=t.elements.arrow,a... function _s (line 15) | function _s(n){var e=n.state,t=n.options,r=t.element,i=r===void 0?"[data... function Ne (line 15) | function Ne(n){return n.split("-")[1]} function ys (line 15) | function ys(n,e){var t=n.x,r=n.y,i=e.devicePixelRatio||1;return{x:pt(t*i... function go (line 15) | function go(n){var e,t=n.popper,r=n.popperRect,i=n.placement,o=n.variati... function js (line 15) | function js(n){var e=n.state,t=n.options,r=t.gpuAcceleration,i=r===void ... function vs (line 15) | function vs(n){var e=n.state,t=n.instance,r=n.options,i=r.scroll,o=i===v... function en (line 15) | function en(n){return n.replace(/left|right|bottom|top/g,function(e){ret... function ur (line 15) | function ur(n){return n.replace(/start|end/g,function(e){return bs[e]})} function It (line 15) | function It(n){var e=Z(n),t=e.pageXOffset,r=e.pageYOffset;return{scrollL... function qt (line 15) | function qt(n){return Pe(he(n)).left+It(n).scrollLeft} function Ur (line 15) | function Ur(n,e){var t=Z(n),r=he(n),i=t.visualViewport,o=r.clientWidth,a... function Gr (line 15) | function Gr(n){var e,t=he(n),r=It(n),i=(e=n.ownerDocument)==null?void 0:... function Lt (line 15) | function Lt(n){var e=ve(n),t=e.overflow,r=e.overflowX,i=e.overflowY;retu... function fr (line 15) | function fr(n){return["html","body","#document"].indexOf(de(n))>=0?n.own... function jt (line 15) | function jt(n,e){var t;e===void 0&&(e=[]);var r=fr(n),i=r===((t=n.ownerD... function tn (line 15) | function tn(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.w... function Es (line 15) | function Es(n,e){var t=Pe(n,!1,e==="fixed");return t.top=t.top+n.clientT... function _o (line 15) | function _o(n,e,t){return e===cr?tn(Ur(n,t)):De(e)?Es(e,t):tn(Gr(he(n)))} function Ts (line 15) | function Ts(n){var e=jt(ut(n)),t=["absolute","fixed"].indexOf(ve(n).posi... function Wr (line 15) | function Wr(n,e,t,r){var i=e==="clippingParents"?Ts(n):[].concat(e),o=[]... function vn (line 15) | function vn(n){var e=n.reference,t=n.element,r=n.placement,i=r?me(r):nul... function qe (line 15) | function qe(n,e){e===void 0&&(e={});var t=e,r=t.placement,i=r===void 0?n... function Vr (line 15) | function Vr(n,e){e===void 0&&(e={});var t=e,r=t.placement,i=t.boundary,o... function ks (line 15) | function ks(n){if(me(n)===sr)return[];var e=en(n);return[ur(n),e,ur(e)]} function Ss (line 15) | function Ss(n){var e=n.state,t=n.options,r=n.name;if(!e.modifiersData[r]... function yo (line 15) | function yo(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-... function jo (line 15) | function jo(n){return[ie,ce,ue,ae].some(function(e){return n[e]>=0})} function Cs (line 15) | function Cs(n){var e=n.state,t=n.name,r=e.rects.reference,i=e.rects.popp... function Ds (line 15) | function Ds(n,e,t){var r=me(n),i=[ae,ie].indexOf(r)>=0?-1:1,o=typeof t==... function Ps (line 15) | function Ps(n){var e=n.state,t=n.options,r=n.name,i=t.offset,o=i===void ... function Ns (line 15) | function Ns(n){var e=n.state,t=n.name;e.modifiersData[t]=vn({reference:e... function zr (line 15) | function zr(n){return n==="x"?"y":"x"} function Os (line 15) | function Os(n){var e=n.state,t=n.options,r=n.name,i=t.mainAxis,o=i===voi... function Jr (line 15) | function Jr(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}} function Qr (line 15) | function Qr(n){return n===Z(n)||!fe(n)?It(n):Jr(n)} function Ms (line 15) | function Ms(n){var e=n.getBoundingClientRect(),t=pt(e.width)/n.offsetWid... function Xr (line 15) | function Xr(n,e,t){t===void 0&&(t=!1);var r=fe(e),i=fe(e)&&Ms(e),o=he(e)... function Bs (line 15) | function Bs(n){var e=new Map,t=new Set,r=[];n.forEach(function(o){e.set(... function Zr (line 15) | function Zr(n){var e=Bs(n);return lo.reduce(function(t,r){return t.conca... function ei (line 15) | function ei(n){var e;return function(){return e||(e=new Promise(function... function ti (line 15) | function ti(n){var e=n.reduce(function(t,r){var i=t[r.name];return t[r.n... function ko (line 15) | function ko(){for(var n=arguments.length,e=new Array(n),t=0;t{let i=... method useSelectedItem (line 15) | useSelectedItem(e){let t=this.values[this.selectedItem];t&&this.owner.se... method setSelectedItem (line 15) | setSelectedItem(e,t){let r=Is(e,this.suggestions.length),i=this.suggesti... method constructor (line 15) | constructor(e,t){this.app=e,this.inputEl=t,this.scope=new Co.Scope,this.... method onInputChanged (line 15) | onInputChanged(){let e=this.inputEl.value,t=this.getSuggestions(e);if(!t... method open (line 15) | open(e,t){this.app.keymap.pushScope(this.scope),e.appendChild(this.sugge... method close (line 15) | close(){this.app.keymap.popScope(this.scope),this.suggest.setSuggestions... method constructor (line 15) | constructor(e,t,r){super(t.app,e);this.inputEl=e;this.plugin=t;this.mode=r} method get_folder (line 15) | get_folder(e){switch(e){case 0:return this.plugin.settings.templates_fol... method get_error_msg (line 15) | get_error_msg(e){switch(e){case 0:return"Templates folder doesn't exist"... method getSuggestions (line 15) | getSuggestions(e){let t=ke(()=>ze(this.plugin.app,this.get_folder(this.m... method renderSuggestion (line 15) | renderSuggestion(e,t){t.setText(e.path)} method selectSuggestion (line 15) | selectSuggestion(e){this.inputEl.value=e.path,this.inputEl.trigger("inpu... method constructor (line 15) | constructor(e,t){super(e,t)} method getSuggestions (line 15) | getSuggestions(e){let t=this.app.vault.getAllLoadedFiles(),r=[],i=e.toLo... method renderSuggestion (line 15) | renderSuggestion(e,t){t.setText(e.path)} method selectSuggestion (line 15) | selectSuggestion(e){this.inputEl.value=e.path,this.inputEl.trigger("inpu... function Oo (line 15) | function Oo(n){return isBoolean(n)?n:[1,3].includes(n)} function Mo (line 15) | function Mo(n){return isBoolean(n)?n:[1,2].includes(n)} function Bo (line 15) | function Bo(n){return isBoolean(n)?n:n!=0} method constructor (line 15) | constructor(e){super(e.app,e);this.plugin=e} method display (line 15) | display(){this.containerEl.empty(),this.add_template_folder_setting(),th... method add_template_folder_setting (line 15) | add_template_folder_setting(){new L.Setting(this.containerEl).setName("T... method add_internal_functions_setting (line 15) | add_internal_functions_setting(){let e=document.createDocumentFragment()... method add_syntax_highlighting_settings (line 15) | add_syntax_highlighting_settings(){let e=document.createDocumentFragment... method add_auto_jump_to_cursor (line 15) | add_auto_jump_to_cursor(){let e=document.createDocumentFragment();e.appe... method add_trigger_on_new_file_creation_setting (line 15) | add_trigger_on_new_file_creation_setting(){let e=document.createDocument... method add_templates_hotkeys_setting (line 15) | add_templates_hotkeys_setting(){new L.Setting(this.containerEl).setName(... method add_folder_templates_setting (line 15) | add_folder_templates_setting(){new L.Setting(this.containerEl).setName("... method add_file_templates_setting (line 15) | add_file_templates_setting(){new L.Setting(this.containerEl).setName("Fi... method add_startup_templates_setting (line 15) | add_startup_templates_setting(){new L.Setting(this.containerEl).setName(... method add_user_script_functions_setting (line 15) | add_user_script_functions_setting(){new L.Setting(this.containerEl).setN... method add_user_system_command_functions_setting (line 15) | add_user_system_command_functions_setting(){let e=document.createDocumen... method add_donating_setting (line 15) | add_donating_setting(){let e=new L.Setting(this.containerEl).setName("Do... method constructor (line 15) | constructor(e){super(e.app);this.plugin=e,this.setPlaceholder("Type name... method getItems (line 15) | getItems(){if(!this.plugin.settings.templates_folder)return this.app.vau... method getItemText (line 15) | getItemText(e){let t=e.path;if(e.path.startsWith(this.plugin.settings.te... method onChooseItem (line 15) | onChooseItem(e){switch(this.open_mode){case 0:this.plugin.templater.appe... method start (line 15) | start(){try{this.open()}catch(e){oe(e)}} method insert_template (line 15) | insert_template(){this.open_mode=0,this.start()} method create_new_note_from_template (line 15) | create_new_note_from_template(e){this.creation_folder=e,this.open_mode=1... method constructor (line 15) | constructor(e){this.plugin=e;this.static_functions=new Map;this.dynamic_... method getName (line 15) | getName(){return this.name} method init (line 15) | async init(){await this.create_static_templates(),this.static_object=Obj... method generate_object (line 15) | async generate_object(e){return this.config=e,await this.create_dynamic_... method constructor (line 15) | constructor(){super(...arguments);this.name="date"} method create_static_templates (line 15) | async create_static_templates(){this.static_functions.set("now",this.gen... method create_dynamic_templates (line 15) | async create_dynamic_templates(){} method teardown (line 15) | async teardown(){} method generate_now (line 15) | generate_now(){return(e="YYYY-MM-DD",t,r,i)=>{if(r&&!(0,dt.moment)(r,i).... method generate_tomorrow (line 15) | generate_tomorrow(){return(e="YYYY-MM-DD")=>(0,dt.moment)().add(1,"days"... method generate_weekday (line 15) | generate_weekday(){return(e="YYYY-MM-DD",t,r,i)=>{if(r&&!(0,dt.moment)(r... method generate_yesterday (line 15) | generate_yesterday(){return(e="YYYY-MM-DD")=>(0,dt.moment)().add(-1,"day... method constructor (line 15) | constructor(){super(...arguments);this.name="file";this.include_depth=0;... method create_static_templates (line 15) | async create_static_templates(){this.static_functions.set("creation_date... method create_dynamic_templates (line 15) | async create_dynamic_templates(){this.dynamic_functions.set("content",aw... method teardown (line 15) | async teardown(){} method generate_content (line 15) | async generate_content(){return await this.plugin.app.vault.read(this.co... method generate_create_new (line 15) | generate_create_new(){return async(e,t,r=!1,i)=>{if(this.create_new_dept... method generate_creation_date (line 15) | generate_creation_date(){return(e="YYYY-MM-DD HH:mm")=>(0,le.moment)(thi... method generate_cursor (line 15) | generate_cursor(){return e=>`<% tp.file.cursor(${e??""}) %>`} method generate_cursor_append (line 15) | generate_cursor_append(){return e=>{let t=this.plugin.app.workspace.acti... method generate_exists (line 15) | generate_exists(){return async e=>{let t=(0,le.normalizePath)(e);return ... method generate_find_tfile (line 15) | generate_find_tfile(){return e=>{let t=(0,le.normalizePath)(e);return th... method generate_folder (line 15) | generate_folder(){return(e=!1)=>{let t=this.config.target_file.parent,r;... method generate_include (line 15) | generate_include(){return async e=>{if(this.include_depth+=1,this.includ... method generate_last_modified_date (line 15) | generate_last_modified_date(){return(e="YYYY-MM-DD HH:mm")=>(0,le.moment... method generate_move (line 15) | generate_move(){return async(e,t)=>{let r=t||this.config.target_file,i=(... method generate_path (line 15) | generate_path(){return(e=!1)=>{let t="";if(le.Platform.isMobile){let r=t... method generate_rename (line 15) | generate_rename(){return async e=>{if(e.match(/[\\/:]+/g))throw new O("F... method generate_selection (line 15) | generate_selection(){return()=>{let e=this.plugin.app.workspace.activeEd... method generate_tags (line 15) | generate_tags(){let e=this.plugin.app.metadataCache.getFileCache(this.co... method generate_title (line 15) | generate_title(){return this.config.target_file.basename} method constructor (line 15) | constructor(){super(...arguments);this.name="web"} method create_static_templates (line 15) | async create_static_templates(){this.static_functions.set("daily_quote",... method create_dynamic_templates (line 15) | async create_dynamic_templates(){} method teardown (line 15) | async teardown(){} method getRequest (line 15) | async getRequest(e){try{let t=await(0,Ho.requestUrl)(e);if(t.status<200&... method generate_daily_quote (line 15) | generate_daily_quote(){return async()=>{try{let t=(await this.getRequest... method generate_random_picture (line 16) | generate_random_picture(){return async(e,t,r=!1)=>{try{let i=await this.... method generate_request (line 16) | generate_request(){return async(e,t)=>{try{let i=await(await this.getReq... method constructor (line 16) | constructor(){super(...arguments);this.name="hooks";this.event_refs=[]} method create_static_templates (line 16) | async create_static_templates(){this.static_functions.set("on_all_templa... method create_dynamic_templates (line 16) | async create_dynamic_templates(){} method teardown (line 16) | async teardown(){this.event_refs.forEach(e=>{e.e.offref(e)}),this.event_... method generate_on_all_templates_executed (line 16) | generate_on_all_templates_executed(){return e=>{let t=this.plugin.app.wo... method constructor (line 16) | constructor(){super(...arguments);this.name="frontmatter"} method create_static_templates (line 16) | async create_static_templates(){} method create_dynamic_templates (line 16) | async create_dynamic_templates(){let e=this.plugin.app.metadataCache.get... method teardown (line 16) | async teardown(){} method constructor (line 16) | constructor(e,t,r,i){super(e);this.prompt_text=t;this.default_value=r;th... method onOpen (line 16) | onOpen(){this.titleEl.setText(this.prompt_text),this.createForm()} method onClose (line 16) | onClose(){this.contentEl.empty(),this.submitted||this.reject(new O("Canc... method createForm (line 16) | createForm(){let e=this.contentEl.createDiv();e.addClass("templater-prom... method enterCallback (line 16) | enterCallback(e){e.isComposing||e.keyCode===229||(this.multi_line?Je.Pla... method resolveAndClose (line 16) | resolveAndClose(e){this.submitted=!0,e.preventDefault(),this.resolve(thi... method openAndGetValue (line 16) | async openAndGetValue(e,t){this.resolve=e,this.reject=t,this.open()} method constructor (line 16) | constructor(e,t,r,i,o){super(e);this.text_items=t;this.items=r;this.subm... method getItems (line 16) | getItems(){return this.items} method onClose (line 16) | onClose(){this.submitted||this.reject(new O("Cancelled prompt"))} method selectSuggestion (line 16) | selectSuggestion(e,t){this.submitted=!0,this.close(),this.onChooseSugges... method getItemText (line 16) | getItemText(e){return this.text_items instanceof Function?this.text_item... method onChooseItem (line 16) | onChooseItem(e){this.resolve(e)} method openAndGetValue (line 16) | async openAndGetValue(e,t){this.resolve=e,this.reject=t,this.open()} method constructor (line 16) | constructor(){super(...arguments);this.name="system"} method create_static_templates (line 16) | async create_static_templates(){this.static_functions.set("clipboard",th... method create_dynamic_templates (line 16) | async create_dynamic_templates(){} method teardown (line 16) | async teardown(){} method generate_clipboard (line 16) | generate_clipboard(){return async()=>await navigator.clipboard.readText()} method generate_prompt (line 16) | generate_prompt(){return async(e,t,r=!1,i=!1)=>{let o=new pi(this.plugin... method generate_suggester (line 16) | generate_suggester(){return async(e,t,r=!1,i="",o)=>{let a=new ui(this.p... method constructor (line 16) | constructor(){super(...arguments);this.name="config"} method create_static_templates (line 16) | async create_static_templates(){} method create_dynamic_templates (line 16) | async create_dynamic_templates(){} method teardown (line 16) | async teardown(){} method generate_object (line 16) | async generate_object(e){return e} method constructor (line 16) | constructor(e){this.plugin=e;this.modules_array=[];this.modules_array.pu... method init (line 16) | async init(){for(let e of this.modules_array)await e.init()} method teardown (line 16) | async teardown(){for(let e of this.modules_array)await e.teardown()} method generate_object (line 16) | async generate_object(e){let t={};for(let r of this.modules_array)t[r.ge... method constructor (line 16) | constructor(e){this.plugin=e;if(En.Platform.isMobile||!(this.plugin.app.... method generate_system_functions (line 16) | async generate_system_functions(e){let t=new Map,r=await this.plugin.tem... method generate_object (line 16) | async generate_object(e){let t=await this.generate_system_functions(e);r... method constructor (line 16) | constructor(e){this.plugin=e} method generate_user_script_functions (line 16) | async generate_user_script_functions(){let e=new Map,t=ke(()=>ze(this.pl... method load_user_script_function (line 16) | async load_user_script_function(e,t){let r=c=>window.require&&window.req... method generate_object (line 17) | async generate_object(){let e=await this.generate_user_script_functions(... method constructor (line 17) | constructor(e){this.plugin=e;this.user_system_functions=new gi(e),this.u... method generate_object (line 17) | async generate_object(e){let t={},r={};return this.plugin.settings.enabl... method constructor (line 17) | constructor(e){this.plugin=e;this.internal_functions=new mi(this.plugin)... method init (line 17) | async init(){await this.internal_functions.init()} method teardown (line 17) | async teardown(){await this.internal_functions.teardown()} method additional_functions (line 17) | additional_functions(){return{app:this.plugin.app,obsidian:qs}} method generate_object (line 17) | async generate_object(e,t=1){let r={},i=this.additional_functions(),o=aw... function Se (line 17) | function Se(n){return He[n]} function Ls (line 17) | function Ls(n){n<36||(He[n]=Tn,Tn=n)} function xi (line 17) | function xi(n){let e=Se(n);return Ls(n),e} function gr (line 17) | function gr(){return mr.byteLength===0&&(mr=new Uint8Array(N.memory.buff... function vt (line 17) | function vt(n,e){return Ko.decode(gr().subarray(n,n+e))} function wt (line 17) | function wt(n){Tn===He.length&&He.push(He.length+1);let e=Tn;return Tn=H... function mt (line 17) | function mt(n,e,t){if(t===void 0){let l=hr.encode(n),c=e(l.length);retur... function $s (line 17) | function $s(n){return n==null} function Ce (line 17) | function Ce(){return Ar.byteLength===0&&(Ar=new Int32Array(N.memory.buff... function yi (line 17) | function yi(n){let e=typeof n;if(e=="number"||e=="boolean"||n==null)retu... function Ks (line 18) | function Ks(n,e){if(!(n instanceof e))throw new Error(`expected instance... function Rs (line 18) | function Rs(n){if(_r==1)throw new Error("out of js stack");return He[--_... function ji (line 18) | function ji(n,e){try{return n.apply(this,e)}catch(t){N.__wbindgen_exn_st... method __wrap (line 18) | static __wrap(e){let t=Object.create(Ht.prototype);return t.ptr=e,t} method __destroy_into_raw (line 18) | __destroy_into_raw(){let e=this.ptr;return this.ptr=0,e} method free (line 18) | free(){let e=this.__destroy_into_raw();N.__wbg_parserconfig_free(e)} method interpolate (line 18) | get interpolate(){let e=N.__wbg_get_parserconfig_interpolate(this.ptr);r... method interpolate (line 18) | set interpolate(e){N.__wbg_set_parserconfig_interpolate(this.ptr,e.codeP... method execution (line 18) | get execution(){let e=N.__wbg_get_parserconfig_execution(this.ptr);retur... method execution (line 18) | set execution(e){N.__wbg_set_parserconfig_execution(this.ptr,e.codePoint... method single_whitespace (line 18) | get single_whitespace(){let e=N.__wbg_get_parserconfig_single_whitespace... method single_whitespace (line 18) | set single_whitespace(e){N.__wbg_set_parserconfig_single_whitespace(this... method multiple_whitespace (line 18) | get multiple_whitespace(){let e=N.__wbg_get_parserconfig_multiple_whites... method multiple_whitespace (line 18) | set multiple_whitespace(e){N.__wbg_set_parserconfig_multiple_whitespace(... method constructor (line 18) | constructor(e,t,r,i,o,a,l){let c=mt(e,N.__wbindgen_malloc,N.__wbindgen_r... method opening_tag (line 18) | get opening_tag(){try{let r=N.__wbindgen_add_to_stack_pointer(-16);N.par... method opening_tag (line 18) | set opening_tag(e){let t=mt(e,N.__wbindgen_malloc,N.__wbindgen_realloc),... method closing_tag (line 18) | get closing_tag(){try{let r=N.__wbindgen_add_to_stack_pointer(-16);N.par... method closing_tag (line 18) | set closing_tag(e){let t=mt(e,N.__wbindgen_malloc,N.__wbindgen_realloc),... method global_var (line 18) | get global_var(){try{let r=N.__wbindgen_add_to_stack_pointer(-16);N.pars... method global_var (line 18) | set global_var(e){let t=mt(e,N.__wbindgen_malloc,N.__wbindgen_realloc),r... method __wrap (line 18) | static __wrap(e){let t=Object.create(on.prototype);return t.ptr=e,t} method __destroy_into_raw (line 18) | __destroy_into_raw(){let e=this.ptr;return this.ptr=0,e} method free (line 18) | free(){let e=this.__destroy_into_raw();N.__wbg_renderer_free(e)} method constructor (line 18) | constructor(e){Ks(e,Ht);var t=e.ptr;e.ptr=0;let r=N.renderer_new(t);retu... method render_content (line 18) | render_content(e,t){try{let a=N.__wbindgen_add_to_stack_pointer(-16),l=m... function Ys (line 18) | async function Ys(n,e){if(typeof Response=="function"&&n instanceof Resp... function Us (line 18) | function Us(){let n={};return n.wbg={},n.wbg.__wbindgen_object_drop_ref=... function Gs (line 18) | function Gs(n,e){} function Ws (line 18) | function Ws(n,e){return N=n.exports,Ro.__wbindgen_wasm_module=e,Ar=new I... function Ro (line 18) | async function Ro(n){typeof n=="undefined"&&(n=new URL("rusty_engine_bg.... method init (line 18) | async init(){await Yo(Uo);let e=new Ht("<%","%>","\0","*","-","_","tR");... method parse_commands (line 18) | async parse_commands(e,t){return this.renderer.render_content(e,t)} method constructor (line 18) | constructor(e){this.plugin=e;this.functions_generator=new _i(this.plugin... method setup (line 18) | async setup(){this.files_with_pending_templates=new Set,await this.parse... method create_running_config (line 18) | create_running_config(e,t,r){let i=Jt(this.plugin.app);return{template_f... method read_and_parse_template (line 18) | async read_and_parse_template(e){let t=await this.plugin.app.vault.read(... method parse_template (line 18) | async parse_template(e,t){let r=await this.functions_generator.generate_... method start_templater_task (line 18) | start_templater_task(e){this.files_with_pending_templates.add(e)} method end_templater_task (line 18) | async end_templater_task(e){this.files_with_pending_templates.delete(e),... method create_new_note_from_template (line 18) | async create_new_note_from_template(e,t,r,i=!0){if(!t)switch(this.plugin... method append_template_to_active_file (line 18) | async append_template_to_active_file(e){let t=this.plugin.app.workspace.... method write_template_to_file (line 18) | async write_template_to_file(e,t){let{path:r}=t;this.start_templater_tas... method overwrite_active_file_commands (line 18) | overwrite_active_file_commands(){let e=this.plugin.app.workspace.activeE... method overwrite_file_commands (line 18) | async overwrite_file_commands(e,t=!1){let{path:r}=e;this.start_templater... method process_dynamic_templates (line 18) | async process_dynamic_templates(e,t){let r=ro(),i=document.createNodeIte... method get_new_file_template_for_folder (line 18) | get_new_file_template_for_folder(e){do{let t=this.plugin.settings.folder... method get_new_file_template_for_file (line 18) | get_new_file_template_for_file(e){let t=this.plugin.settings.file_templa... method on_file_creation (line 18) | static async on_file_creation(e,t,r){if(!(r instanceof Oe.TFile)||r.exte... method execute_startup_scripts (line 18) | async execute_startup_scripts(){for(let e of this.plugin.settings.startu... method constructor (line 18) | constructor(e,t,r){this.plugin=e;this.templater=t;this.settings=r} method setup (line 18) | setup(){Array.isArray(this.plugin.app.workspace.onLayoutReadyCallbacks)?... method update_syntax_highlighting (line 18) | update_syntax_highlighting(){let e=this.plugin.editor_handler.desktopSho... method update_trigger_file_on_creation (line 18) | update_trigger_file_on_creation(){this.settings.trigger_on_file_creation... method update_file_menu (line 18) | update_file_menu(){this.plugin.registerEvent(this.plugin.app.workspace.o... method constructor (line 18) | constructor(e){this.plugin=e} method setup (line 18) | setup(){this.plugin.addCommand({id:"insert-templater",name:"Open insert ... method register_templates_hotkeys (line 18) | register_templates_hotkeys(){this.plugin.settings.enabled_templates_hotk... method add_template_hotkey (line 18) | add_template_hotkey(e,t){this.remove_template_hotkey(e),t&&(this.plugin.... method remove_template_hotkey (line 18) | remove_template_hotkey(e){e&&(this.plugin.removeCommand(`${e}`),this.plu... method constructor (line 18) | constructor(e){this.app=e} method jump_to_next_cursor_location (line 18) | async jump_to_next_cursor_location(){let e=this.app.workspace.activeEdit... method get_editor_position_from_index (line 18) | get_editor_position_from_index(e,t){let r=e.slice(0,t),i=0,o=-1,a=-1;for... method replace_and_get_cursor_positions (line 19) | replace_and_get_cursor_positions(e){let t=[],r,i=new RegExp("<%\\s*tp.fi... method set_cursor_location (line 19) | set_cursor_location(e){let t=this.app.workspace.activeEditor;if(!t||!t.e... function zo (line 27) | function zo(n){return typeof n=="string"&&Xs.has(n)} function Ti (line 27) | function Ti(n){return!!(n.definition||n.returns||n.args)} method constructor (line 27) | constructor(e){this.plugin=e;this.documentation=Vo} method get_all_modules_documentation (line 27) | get_all_modules_documentation(){let e=this.documentation.tp;return(!this... method get_all_functions_documentation (line 27) | async get_all_functions_documentation(e,t){if(e==="app")return this.get_... method get_app_functions_documentation (line 27) | get_app_functions_documentation(e,t){if(!$r(e))return[];let r=t.split(".... method get_module_documentation (line 27) | get_module_documentation(e){return this.documentation.tp[e]} method get_function_documentation (line 27) | get_function_documentation(e,t){return this.documentation.tp[e].function... method get_argument_documentation (line 27) | get_argument_documentation(e,t,r){let i=this.get_function_documentation(... method constructor (line 27) | constructor(e){super(e.app);this.tp_keyword_regex=/tp\.(?[a-z]*)... method onTrigger (line 27) | onTrigger(e,t,r){let i=t.getRange({line:e.line,ch:0},{line:e.line,ch:e.c... method getSuggestions (line 27) | async getSuggestions(e){let t;return this.module_name&&this.function_tri... method renderSuggestion (line 27) | renderSuggestion(e,t){if(t.createEl("b",{text:e.name}),Ti(e)){if(e.args&... method selectSuggestion (line 27) | selectSuggestion(e,t){let r=this.app.workspace.activeEditor;if(!(!r||!r.... method getNumberOfArguments (line 27) | getNumberOfArguments(e){try{return new Map(Object.entries(e)).size}catch... method updateAutocompleteIntellisenseSetting (line 27) | updateAutocompleteIntellisenseSetting(e){this.intellisense_render_settin... function s (line 27) | function s(je){return{type:je,style:"keyword"}} function E (line 27) | function E(s){for(var p=!1,A,_=!1;(A=s.next())!=null;){if(!p){if(A=="/"&... function w (line 27) | function w(s,p,A){return P=s,k=A,p} function M (line 27) | function M(s,p){var A=s.next();if(A=='"'||A=="'")return p.tokenize=$(A),... function $ (line 27) | function $(s){return function(p,A){var _=!1,F;if(o&&p.peek()=="@"&&p.mat... function K (line 27) | function K(s,p){for(var A=!1,_;_=s.next();){if(_=="/"&&A){p.tokenize=M;b... function C (line 27) | function C(s,p){for(var A=!1,_;(_=s.next())!=null;){if(!A&&(_=="`"||_=="... function I (line 27) | function I(s,p){p.fatArrowAt&&(p.fatArrowAt=null);var A=s.string.indexOf... function te (line 27) | function te(s,p,A,_,F,Y){this.indented=s,this.column=p,this.type=A,this.... function ne (line 27) | function ne(s,p){if(!l)return!1;for(var A=s.localVars;A;A=A.next)if(A.na... function Q (line 27) | function Q(s,p,A,_,F){var Y=s.cc;for(h.state=s,h.stream=F,h.marked=null,... function S (line 27) | function S(){for(var s=arguments.length-1;s>=0;s--)h.cc.push(arguments[s])} function f (line 27) | function f(){return S.apply(null,arguments),!0} function Me (line 27) | function Me(s,p){for(var A=p;A;A=A.next)if(A.name==s)return!0;return!1} function be (line 27) | function be(s){var p=h.state;if(h.marked="def",!!l){if(p.context){if(p.l... function Ae (line 27) | function Ae(s,p){if(p)if(p.block){var A=Ae(s,p.prev);return A?A==p.prev?... function _e (line 27) | function _e(s){return s=="public"||s=="private"||s=="protected"||s=="abs... function Ke (line 27) | function Ke(s,p,A){this.prev=s,this.vars=p,this.block=A} function Ee (line 27) | function Ee(s,p){this.name=s,this.next=p} function Re (line 27) | function Re(){h.state.context=new Ke(h.state.context,h.state.localVars,!... function Ze (line 27) | function Ze(){h.state.context=new Ke(h.state.context,h.state.localVars,!... function xe (line 27) | function xe(){h.state.localVars=h.state.context.vars,h.state.context=h.s... function B (line 27) | function B(s,p){var A=function(){var _=h.state,F=_.indented;if(_.lexical... function D (line 27) | function D(){var s=h.state;s.lexical.prev&&(s.lexical.type==")"&&(s.inde... function q (line 27) | function q(s){function p(A){return A==s?f():s==";"||A=="}"||A==")"||A=="... function ee (line 27) | function ee(s,p){return s=="var"?f(B("vardef",p),Er,q(";"),D):s=="keywor... function et (line 27) | function et(s){if(s=="(")return f(kt,q(")"))} function W (line 27) | function W(s,p){return Sn(s,p,!1)} function ye (line 27) | function ye(s,p){return Sn(s,p,!0)} function bt (line 27) | function bt(s){return s!="("?S():f(B(")"),tt,q(")"),D)} function Sn (line 27) | function Sn(s,p,A){if(h.state.fatArrowAt==h.stream.start){var _=A?Pn:Dn;... function tt (line 27) | function tt(s){return s.match(/[;\}\)\],]/)?S():S(W)} function nt (line 27) | function nt(s,p){return s==","?f(tt):gt(s,p,!1)} function gt (line 27) | function gt(s,p,A){var _=A==!1?nt:gt,F=A==!1?W:ye;if(s=="=>")return f(Re... function Et (line 27) | function Et(s,p){return s!="quasi"?S():p.slice(p.length-2)!="${"?f(Et):f... function Cn (line 27) | function Cn(s){if(s=="}")return h.marked="string-2",h.state.tokenize=C,f... function Dn (line 27) | function Dn(s){return I(h.stream,h.state),S(s=="{"?ee:W)} function Pn (line 27) | function Pn(s){return I(h.stream,h.state),S(s=="{"?ee:ye)} function rt (line 27) | function rt(s){return function(p){return p=="."?f(s?Nn:Kt):p=="variable"... function Kt (line 27) | function Kt(s,p){if(p=="target")return h.marked="keyword",f(nt)} function Nn (line 27) | function Nn(s,p){if(p=="target")return h.marked="keyword",f(gt)} function On (line 27) | function On(s){return s==":"?f(D,ee):S(nt,q(";"),D)} function an (line 27) | function an(s){if(s=="variable")return h.marked="property",f()} function Tt (line 27) | function Tt(s,p){if(s=="async")return h.marked="property",f(Tt);if(s=="v... function Mn (line 27) | function Mn(s){return s!="variable"?S(Ye):(h.marked="property",f(At))} function Ye (line 27) | function Ye(s){if(s==":")return f(ye);if(s=="(")return S(At)} function se (line 27) | function se(s,p,A){function _(F,Y){if(A?A.indexOf(F)>-1:F==","){var z=h.... function sn (line 27) | function sn(s,p,A){for(var _=3;_")return f(V)} function vr (line 27) | function vr(s){return s.match(/[\}\)\]]/)?f():s==","||s==";"?f(vr):S(cn,... function cn (line 27) | function cn(s,p){if(s=="variable"||h.style=="keyword")return h.marked="p... function wr (line 27) | function wr(s,p){return s!="quasi"?S():p.slice(p.length-2)!="${"?f(wr):f... function ra (line 27) | function ra(s){if(s=="}")return h.marked="string-2",h.state.tokenize=C,f... function br (line 27) | function br(s,p){return s=="variable"&&h.stream.match(/^\s*[?:]/,!1)||p=... function it (line 27) | function it(s,p){if(p=="<")return f(B(">"),se(V,">"),D,it);if(p=="|"||s=... function ia (line 27) | function ia(s,p){if(p=="<")return f(B(">"),se(V,">"),D,it)} function Fn (line 27) | function Fn(){return S(V,oa)} function oa (line 27) | function oa(s,p){if(p=="=")return f(V)} function Er (line 27) | function Er(s,p){return p=="enum"?(h.marked="keyword",f(Ki)):S(Be,Rt,ht,... function Be (line 27) | function Be(s,p){if(c&&_e(p))return h.marked="keyword",f(Be);if(s=="vari... function Bi (line 27) | function Bi(s,p){return s=="variable"&&!h.stream.match(/^\s*:/,!1)?(be(p... function aa (line 27) | function aa(){return S(Be,ht)} function ht (line 27) | function ht(s,p){if(p=="=")return f(ye)} function sa (line 27) | function sa(s){if(s==",")return f(Er)} function Fi (line 27) | function Fi(s,p){if(s=="keyword b"&&p=="else")return f(B("form","else"),... function Ii (line 27) | function Ii(s,p){if(p=="await")return f(Ii);if(s=="(")return f(B(")"),ca... function ca (line 27) | function ca(s){return s=="var"?f(Er,Yt):s=="variable"?f(Yt):S(Yt)} function Yt (line 27) | function Yt(s,p){return s==")"?f():s==";"?f(Yt):p=="in"||p=="of"?(h.mark... function At (line 27) | function At(s,p){if(p=="*")return h.marked="keyword",f(At);if(s=="variab... function Ut (line 27) | function Ut(s,p){if(p=="*")return h.marked="keyword",f(Ut);if(s=="variab... function qi (line 27) | function qi(s,p){if(s=="keyword"||s=="variable")return h.marked="type",f... function kt (line 27) | function kt(s,p){return p=="@"&&f(W,kt),s=="spread"?f(kt):c&&_e(p)?(h.ma... function la (line 27) | function la(s,p){return s=="variable"?Li(s,p):In(s,p)} function Li (line 27) | function Li(s,p){if(s=="variable")return be(p),f(In)} function In (line 27) | function In(s,p){if(p=="<")return f(B(">"),se(Fn,">"),D,In);if(p=="exten... function ot (line 27) | function ot(s,p){if(s=="async"||s=="variable"&&(p=="static"||p=="get"||p... function ln (line 27) | function ln(s,p){if(p=="!"||p=="?")return f(ln);if(s==":")return f(V,ht)... function pa (line 27) | function pa(s,p){return p=="*"?(h.marked="keyword",f(Tr,q(";"))):p=="def... function Hi (line 27) | function Hi(s,p){if(p=="as")return h.marked="keyword",f(q("variable"));i... function ua (line 27) | function ua(s){return s=="string"?f():s=="("?S(W):s=="."?S(nt):S(qn,$i,Tr)} function qn (line 27) | function qn(s,p){return s=="{"?sn(qn,"}"):(s=="variable"&&be(p),p=="*"&&... function $i (line 27) | function $i(s){if(s==",")return f(qn,$i)} function fa (line 27) | function fa(s,p){if(p=="as")return h.marked="keyword",f(qn)} function Tr (line 27) | function Tr(s,p){if(p=="from")return h.marked="keyword",f(W)} function da (line 27) | function da(s){return s=="]"?f():S(se(ye,"]"))} function Ki (line 27) | function Ki(){return S(B("form"),Be,q("{"),B("}"),se(ma,"}"),D,D)} function ma (line 27) | function ma(){return S(Be,ht)} function ga (line 27) | function ga(s,p){return s.lastType=="operator"||s.lastType==","||y.test(... function Ri (line 27) | function Ri(s,p,A){return p.tokenize==M&&/^(?:operator|sof|keyword [bcd]... method constructor (line 27) | constructor(e){this.plugin=e;this.cursor_jumper=new Ei(e.app),this.activ... method desktopShouldHighlight (line 27) | desktopShouldHighlight(){return Ci.Platform.isDesktopApp&&this.plugin.se... method mobileShouldHighlight (line 27) | mobileShouldHighlight(){return Ci.Platform.isMobile&&this.plugin.setting... method setup (line 27) | async setup(){this.autocomplete=new Si(this.plugin),this.plugin.register... method enable_highlighter (line 27) | async enable_highlighter(){this.activeEditorExtensions.length===0&&this.... method disable_highlighter (line 27) | async disable_highlighter(){this.activeEditorExtensions.length>0&&(this.... method jump_to_next_cursor_location (line 27) | async jump_to_next_cursor_location(e=null,t=!1){t&&!this.plugin.settings... method registerCodeMirrorMode (line 27) | async registerCodeMirrorMode(){if(!this.desktopShouldHighlight()&&!this.... method updateEditorIntellisenseSetting (line 27) | updateEditorIntellisenseSetting(e){this.autocomplete.updateAutocompleteI... method onload (line 27) | async onload(){await this.load_settings(),this.templater=new kn(this),aw... method onunload (line 27) | onunload(){this.templater.functions_generator.teardown()} method save_settings (line 27) | async save_settings(){await this.saveData(this.settings),this.editor_han... method load_settings (line 27) | async load_settings(){this.settings=Object.assign({},Fo,await this.loadD... FILE: tests/types.d.ts type TestVaultConfig (line 4) | type TestVaultConfig = { type CallbackData (line 18) | type CallbackData = { type LogEntry (line 23) | type LogEntry = Record; type Result (line 25) | type Result = type PeriodicNoteSet (line 29) | type PeriodicNoteSet = { type RecentPeriodicNoteSet (line 46) | type RecentPeriodicNoteSet = {