Files
cours/.obsidian/plugins/templater-obsidian/main.js
T
2026-04-24 22:08:21 +02:00

53 lines
312 KiB
JavaScript

/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source, please visit the github repository of this plugin
*/
var Gi=Object.create;var Lt=Object.defineProperty;var Ri=Object.getOwnPropertyDescriptor;var Vi=Object.getOwnPropertyNames;var zi=Object.getPrototypeOf,Ji=Object.prototype.hasOwnProperty;var Br=r=>Lt(r,"__esModule",{value:!0});var Wi=(r,e)=>{Br(r);for(var t in e)Lt(r,t,{get:e[t],enumerable:!0})},Qi=(r,e,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Vi(e))!Ji.call(r,n)&&n!=="default"&&Lt(r,n,{get:()=>e[n],enumerable:!(t=Ri(e,n))||t.enumerable});return r},U=r=>Qi(Br(Lt(r!=null?Gi(zi(r)):{},"default",r&&r.__esModule&&"default"in r?{get:()=>r.default,enumerable:!0}:{value:r,enumerable:!0})),r);var Or=(()=>{for(var r=new Uint8Array(128),e=0;e<64;e++)r[e<26?e+65:e<52?e+71:e<62?e-4:e*4-205]=e;return t=>{for(var n=t.length,i=new Uint8Array((n-(t[n-1]=="=")-(t[n-2]=="="))*3/4|0),o=0,a=0;o<n;){var u=r[t.charCodeAt(o++)],l=r[t.charCodeAt(o++)],d=r[t.charCodeAt(o++)],h=r[t.charCodeAt(o++)];i[a++]=u<<2|l>>4,i[a++]=l<<4|d>>2,i[a++]=d<<6|h}return i}})();Wi(exports,{default:()=>jr});var _n=U(require("obsidian"));var N=U(require("obsidian"));var qr=U(require("obsidian"));function V(r){let e=new qr.Notice("",8e3),t=createFragment(n=>{n.createEl("b",{text:"Templater Error"}),n.createEl("span",{text:":"}),n.createEl("br"),n.createEl("span",{text:r.message}),r instanceof b&&r.console_msg&&(n.createEl("br"),n.createEl("span",{text:"Check console for more information"}),console.error("Templater Error:",r.message,`
`,r.console_msg))});e.noticeEl.appendChild(t)}var b=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(r,e){try{return await r()}catch(t){return t instanceof b?V(t):V(new b(e,t.message)),null}}function ce(r,e){try{return r()}catch(t){return V(new b(e,t.message)),null}}var R=function(){function r(){}return r.explainIfInvalidTSDocTagName=function(e){if(e[0]!=="@")return'A TSDoc tag name must start with an "@" symbol';if(!r._tsdocTagNameRegExp.test(e))return"A TSDoc tag name must start with a letter and contain only letters and numbers"},r.validateTSDocTagName=function(e){var t=r.explainIfInvalidTSDocTagName(e);if(t)throw new Error(t)},r.explainIfInvalidLinkUrl=function(e){if(e.length===0)return"The URL cannot be empty";if(!r._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 "<a>" tag instead.)';if(!r._urlSchemeAfterRegExp.test(e))return'An @link URL must have at least one character after "://"'},r.explainIfInvalidHtmlName=function(e){if(!r._htmlNameRegExp.test(e))return"An HTML name must be an ASCII letter followed by zero or more letters, digits, or hyphens"},r.validateHtmlName=function(e){var t=r.explainIfInvalidHtmlName(e);if(t)throw new Error(t)},r.explainIfInvalidPackageName=function(e){if(e.length===0)return"The package name cannot be an empty string";if(!r._validPackageNameRegExp.test(e))return"The package name ".concat(JSON.stringify(e)," is not a valid package name")},r.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'}},r.isSystemSelector=function(e){return r._systemSelectors.has(e)},r.explainIfInvalidUnquotedIdentifier=function(e){if(e.length===0)return"The identifier cannot be an empty string";if(r._identifierBadCharRegExp.test(e))return"The identifier cannot non-word characters";if(r._identifierNumberStartRegExp.test(e))return"The identifier must not start with a number"},r.explainIfInvalidUnquotedMemberIdentifier=function(e){var t=r.explainIfInvalidUnquotedIdentifier(e);if(t!==void 0)return t;if(r.isSystemSelector(e))return'The identifier "'.concat(e,'" must be quoted because it is a TSDoc system selector name')},r._tsdocTagNameRegExp=/^@[a-z][a-z0-9]*$/i,r._urlSchemeRegExp=/^[a-z][a-z0-9]*\:\/\//i,r._urlSchemeAfterRegExp=/^[a-z][a-z0-9]*\:\/\/./i,r._htmlNameRegExp=/^[a-z]+[a-z0-9\-]*$/i,r._identifierBadCharRegExp=/[^a-z0-9_$]/i,r._identifierNumberStartRegExp=/^[0-9]/,r._validPackageNameRegExp=/^(?:@[a-z0-9\-_\.]+\/)?[a-z0-9\-_\.]+$/i,r._systemSelectors=new Set(["instance","static","constructor","class","enum","function","interface","namespace","type","variable"]),r}();var Cn=function(){function r(){this._docNodeDefinitionsByKind=new Map,this._docNodeDefinitionsByConstructor=new Map}return r.prototype.registerDocNodes=function(e,t){var n=R.explainIfInvalidPackageName(e);if(n)throw new Error("Invalid NPM package name: "+n);for(var i=0,o=t;i<o.length;i++){var a=o[i];if(!r._nodeKindRegExp.test(a.docNodeKind))throw new Error("The DocNode kind ".concat(JSON.stringify(a.docNodeKind)," is not a valid identifier.")+" It must start with an underscore or letter, and be comprised of letters, numbers, and underscores");var u=this._docNodeDefinitionsByKind.get(a.docNodeKind);if(u!==void 0)throw new Error('The DocNode kind "'.concat(a.docNodeKind,'" was already registered')+" by ".concat(u.packageName));if(u=this._docNodeDefinitionsByConstructor.get(a.constructor),u!==void 0)throw new Error("This DocNode constructor was already registered by ".concat(u.packageName)+" as ".concat(u.docNodeKind));var l={docNodeKind:a.docNodeKind,constructor:a.constructor,packageName:e,allowedChildKinds:new Set};this._docNodeDefinitionsByKind.set(a.docNodeKind,l),this._docNodeDefinitionsByConstructor.set(a.constructor,l)}},r.prototype.throwIfNotRegisteredKind=function(e){if(!this._docNodeDefinitionsByKind.has(e))throw new Error('The DocNode kind "'.concat(e,'" was not registered with this TSDocConfiguration'))},r.prototype.registerAllowableChildren=function(e,t){for(var n=this._getDefinition(e),i=0,o=t;i<o.length;i++){var a=o[i];this._getDefinition(a),n.allowedChildKinds.add(a)}},r.prototype.isAllowedChild=function(e,t){var n=this._getDefinition(e);return n.allowedChildKinds.has(t)},r.prototype._getDefinition=function(e){var t=this._docNodeDefinitionsByKind.get(e);if(t===void 0)throw new Error('The DocNode kind "'.concat(e,'" was not registered with this TSDocConfiguration'));return t},r._nodeKindRegExp=/^[_a-z][_a-z0-9]*$/i,r}();var q;(function(r){r.Core="Core",r.Extended="Extended",r.Discretionary="Discretionary",r.None="None"})(q||(q={}));var F;(function(r){r[r.InlineTag=0]="InlineTag",r[r.BlockTag=1]="BlockTag",r[r.ModifierTag=2]="ModifierTag"})(F||(F={}));var Dn=function(){function r(e){R.validateTSDocTagName(e.tagName),this.tagName=e.tagName,this.tagNameWithUpperCase=e.tagName.toUpperCase(),this.syntaxKind=e.syntaxKind,this.standardization=e.standardization||q.None,this.allowMultiple=!!e.allowMultiple}return r.validateTSDocTagName=function(e){R.validateTSDocTagName(e)},r}();var L=function(){function r(){}return r._defineTag=function(e){return new Dn(e)},r.alpha=r._defineTag({tagName:"@alpha",syntaxKind:F.ModifierTag,standardization:q.Discretionary}),r.beta=r._defineTag({tagName:"@beta",syntaxKind:F.ModifierTag,standardization:q.Discretionary}),r.decorator=r._defineTag({tagName:"@decorator",syntaxKind:F.BlockTag,allowMultiple:!0,standardization:q.Extended}),r.defaultValue=r._defineTag({tagName:"@defaultValue",syntaxKind:F.BlockTag,standardization:q.Extended}),r.deprecated=r._defineTag({tagName:"@deprecated",syntaxKind:F.BlockTag,standardization:q.Core}),r.eventProperty=r._defineTag({tagName:"@eventProperty",syntaxKind:F.ModifierTag,standardization:q.Extended}),r.example=r._defineTag({tagName:"@example",syntaxKind:F.BlockTag,allowMultiple:!0,standardization:q.Extended}),r.experimental=r._defineTag({tagName:"@experimental",syntaxKind:F.ModifierTag,standardization:q.Discretionary}),r.inheritDoc=r._defineTag({tagName:"@inheritDoc",syntaxKind:F.InlineTag,standardization:q.Extended}),r.internal=r._defineTag({tagName:"@internal",syntaxKind:F.ModifierTag,standardization:q.Discretionary}),r.label=r._defineTag({tagName:"@label",syntaxKind:F.InlineTag,standardization:q.Core}),r.link=r._defineTag({tagName:"@link",syntaxKind:F.InlineTag,allowMultiple:!0,standardization:q.Core}),r.override=r._defineTag({tagName:"@override",syntaxKind:F.ModifierTag,standardization:q.Extended}),r.packageDocumentation=r._defineTag({tagName:"@packageDocumentation",syntaxKind:F.ModifierTag,standardization:q.Core}),r.param=r._defineTag({tagName:"@param",syntaxKind:F.BlockTag,allowMultiple:!0,standardization:q.Core}),r.privateRemarks=r._defineTag({tagName:"@privateRemarks",syntaxKind:F.BlockTag,standardization:q.Core}),r.public=r._defineTag({tagName:"@public",syntaxKind:F.ModifierTag,standardization:q.Discretionary}),r.readonly=r._defineTag({tagName:"@readonly",syntaxKind:F.ModifierTag,standardization:q.Extended}),r.remarks=r._defineTag({tagName:"@remarks",syntaxKind:F.BlockTag,standardization:q.Core}),r.returns=r._defineTag({tagName:"@returns",syntaxKind:F.BlockTag,standardization:q.Core}),r.sealed=r._defineTag({tagName:"@sealed",syntaxKind:F.ModifierTag,standardization:q.Extended}),r.see=r._defineTag({tagName:"@see",syntaxKind:F.BlockTag,standardization:q.Extended}),r.throws=r._defineTag({tagName:"@throws",syntaxKind:F.BlockTag,allowMultiple:!0,standardization:q.Extended}),r.typeParam=r._defineTag({tagName:"@typeParam",syntaxKind:F.BlockTag,allowMultiple:!0,standardization:q.Core}),r.virtual=r._defineTag({tagName:"@virtual",syntaxKind:F.ModifierTag,standardization:q.Extended}),r.allDefinitions=[r.alpha,r.beta,r.defaultValue,r.decorator,r.deprecated,r.eventProperty,r.example,r.experimental,r.inheritDoc,r.internal,r.label,r.link,r.override,r.packageDocumentation,r.param,r.privateRemarks,r.public,r.readonly,r.remarks,r.returns,r.sealed,r.see,r.throws,r.typeParam,r.virtual],r}();var Pn=function(){function r(){this.ignoreUndefinedTags=!1,this.reportUnsupportedTags=!1,this.reportUnsupportedHtmlElements=!1}return r}();var g;(function(r){r.Block="Block",r.BlockTag="BlockTag",r.Excerpt="Excerpt",r.FencedCode="FencedCode",r.CodeSpan="CodeSpan",r.Comment="Comment",r.DeclarationReference="DeclarationReference",r.ErrorText="ErrorText",r.EscapedText="EscapedText",r.HtmlAttribute="HtmlAttribute",r.HtmlEndTag="HtmlEndTag",r.HtmlStartTag="HtmlStartTag",r.InheritDocTag="InheritDocTag",r.InlineTag="InlineTag",r.LinkTag="LinkTag",r.MemberIdentifier="MemberIdentifier",r.MemberReference="MemberReference",r.MemberSelector="MemberSelector",r.MemberSymbol="MemberSymbol",r.Paragraph="Paragraph",r.ParamBlock="ParamBlock",r.ParamCollection="ParamCollection",r.PlainText="PlainText",r.Section="Section",r.SoftBreak="SoftBreak"})(g||(g={}));var v=function(){function r(e){this.configuration=e.configuration}return r.prototype.getChildNodes=function(){return this.configuration.docNodeManager.throwIfNotRegisteredKind(this.kind),this.onGetChildNodes().filter(function(e){return e!==void 0})},r.prototype.onGetChildNodes=function(){return[]},r.isParsedParameters=function(e){return e.parsed===!0},r}();var Lr=function(){function r(){}return r.register=function(e){var t=e.docNodeManager;t.registerDocNodes("@microsoft/tsdoc",[{docNodeKind:g.Block,constructor:it},{docNodeKind:g.BlockTag,constructor:Ht},{docNodeKind:g.CodeSpan,constructor:$t},{docNodeKind:g.Comment,constructor:Kt},{docNodeKind:g.DeclarationReference,constructor:Yt},{docNodeKind:g.ErrorText,constructor:Re},{docNodeKind:g.EscapedText,constructor:Ut},{docNodeKind:g.Excerpt,constructor:y},{docNodeKind:g.FencedCode,constructor:Gt},{docNodeKind:g.HtmlAttribute,constructor:Rt},{docNodeKind:g.HtmlEndTag,constructor:Vt},{docNodeKind:g.HtmlStartTag,constructor:zt},{docNodeKind:g.InheritDocTag,constructor:yt},{docNodeKind:g.InlineTag,constructor:ot},{docNodeKind:g.LinkTag,constructor:Jt},{docNodeKind:g.MemberIdentifier,constructor:jt},{docNodeKind:g.MemberReference,constructor:Wt},{docNodeKind:g.MemberSelector,constructor:Qt},{docNodeKind:g.MemberSymbol,constructor:Xt},{docNodeKind:g.Paragraph,constructor:ke},{docNodeKind:g.ParamBlock,constructor:wt},{docNodeKind:g.ParamCollection,constructor:xt},{docNodeKind:g.PlainText,constructor:xe},{docNodeKind:g.Section,constructor:Be},{docNodeKind:g.SoftBreak,constructor:Zt}]),t.registerAllowableChildren(g.Section,[g.FencedCode,g.Paragraph,g.HtmlStartTag,g.HtmlEndTag]),t.registerAllowableChildren(g.Paragraph,[g.BlockTag,g.CodeSpan,g.ErrorText,g.EscapedText,g.HtmlStartTag,g.HtmlEndTag,g.InlineTag,g.LinkTag,g.PlainText,g.SoftBreak])},r}();var j;(function(r){r.ConfigFileNotFound="tsdoc-config-file-not-found",r.ConfigInvalidJson="tsdoc-config-invalid-json",r.ConfigFileUnsupportedSchema="tsdoc-config-unsupported-schema",r.ConfigFileSchemaError="tsdoc-config-schema-error",r.ConfigFileCyclicExtends="tsdoc-config-cyclic-extends",r.ConfigFileUnresolvedExtends="tsdoc-config-unresolved-extends",r.ConfigFileUndefinedTag="tsdoc-config-undefined-tag",r.ConfigFileDuplicateTagName="tsdoc-config-duplicate-tag-name",r.ConfigFileInvalidTagName="tsdoc-config-invalid-tag-name",r.CommentNotFound="tsdoc-comment-not-found",r.CommentOpeningDelimiterSyntax="tsdoc-comment-missing-opening-delimiter",r.CommentMissingClosingDelimiter="tsdoc-comment-missing-closing-delimiter",r.ExtraInheritDocTag="tsdoc-extra-inheritdoc-tag",r.EscapeRightBrace="tsdoc-escape-right-brace",r.EscapeGreaterThan="tsdoc-escape-greater-than",r.MissingDeprecationMessage="tsdoc-missing-deprecation-message",r.InheritDocIncompatibleTag="tsdoc-inheritdoc-incompatible-tag",r.InheritDocIncompatibleSummary="tsdoc-inheritdoc-incompatible-summary",r.InlineTagMissingBraces="tsdoc-inline-tag-missing-braces",r.TagShouldNotHaveBraces="tsdoc-tag-should-not-have-braces",r.UnsupportedTag="tsdoc-unsupported-tag",r.UndefinedTag="tsdoc-undefined-tag",r.ParamTagWithInvalidType="tsdoc-param-tag-with-invalid-type",r.ParamTagWithInvalidOptionalName="tsdoc-param-tag-with-invalid-optional-name",r.ParamTagWithInvalidName="tsdoc-param-tag-with-invalid-name",r.ParamTagMissingHyphen="tsdoc-param-tag-missing-hyphen",r.UnnecessaryBackslash="tsdoc-unnecessary-backslash",r.MissingTag="tsdoc-missing-tag",r.AtSignInWord="tsdoc-at-sign-in-word",r.AtSignWithoutTagName="tsdoc-at-sign-without-tag-name",r.MalformedInlineTag="tsdoc-malformed-inline-tag",r.CharactersAfterBlockTag="tsdoc-characters-after-block-tag",r.MalformedTagName="tsdoc-malformed-tag-name",r.CharactersAfterInlineTag="tsdoc-characters-after-inline-tag",r.InlineTagMissingRightBrace="tsdoc-inline-tag-missing-right-brace",r.InlineTagUnescapedBrace="tsdoc-inline-tag-unescaped-brace",r.InheritDocTagSyntax="tsdoc-inheritdoc-tag-syntax",r.LinkTagEmpty="tsdoc-link-tag-empty",r.LinkTagUnescapedText="tsdoc-link-tag-unescaped-text",r.LinkTagDestinationSyntax="tsdoc-link-tag-destination-syntax",r.LinkTagInvalidUrl="tsdoc-link-tag-invalid-url",r.ReferenceMissingHash="tsdoc-reference-missing-hash",r.ReferenceHashSyntax="tsdoc-reference-hash-syntax",r.ReferenceMalformedPackageName="tsdoc-reference-malformed-package-name",r.ReferenceMalformedImportPath="tsdoc-reference-malformed-import-path",r.MissingReference="tsdoc-missing-reference",r.ReferenceMissingDot="tsdoc-reference-missing-dot",r.ReferenceSelectorMissingParens="tsdoc-reference-selector-missing-parens",r.ReferenceMissingColon="tsdoc-reference-missing-colon",r.ReferenceMissingRightParen="tsdoc-reference-missing-right-paren",r.ReferenceSymbolSyntax="tsdoc-reference-symbol-syntax",r.ReferenceMissingRightBracket="tsdoc-reference-missing-right-bracket",r.ReferenceMissingQuote="tsdoc-reference-missing-quote",r.ReferenceEmptyIdentifier="tsdoc-reference-empty-identifier",r.ReferenceMissingIdentifier="tsdoc-reference-missing-identifier",r.ReferenceUnquotedIdentifier="tsdoc-reference-unquoted-identifier",r.ReferenceMissingLabel="tsdoc-reference-missing-label",r.ReferenceSelectorSyntax="tsdoc-reference-selector-syntax",r.HtmlTagMissingGreaterThan="tsdoc-html-tag-missing-greater-than",r.HtmlTagMissingEquals="tsdoc-html-tag-missing-equals",r.HtmlTagMissingString="tsdoc-html-tag-missing-string",r.HtmlStringMissingQuote="tsdoc-html-string-missing-quote",r.TextAfterHtmlString="tsdoc-text-after-html-string",r.MissingHtmlEndTag="tsdoc-missing-html-end-tag",r.MalformedHtmlName="tsdoc-malformed-html-name",r.UnsupportedHtmlElementName="tsdoc-unsupported-html-name",r.CodeFenceOpeningIndent="tsdoc-code-fence-opening-indent",r.CodeFenceSpecifierSyntax="tsdoc-code-fence-specifier-syntax",r.CodeFenceClosingIndent="tsdoc-code-fence-closing-indent",r.CodeFenceMissingDelimiter="tsdoc-code-fence-missing-delimiter",r.CodeFenceClosingSyntax="tsdoc-code-fence-closing-syntax",r.CodeSpanEmpty="tsdoc-code-span-empty",r.CodeSpanMissingDelimiter="tsdoc-code-span-missing-delimiter"})(j||(j={}));var en=["tsdoc-config-file-not-found","tsdoc-config-invalid-json","tsdoc-config-unsupported-schema","tsdoc-config-schema-error","tsdoc-config-cyclic-extends","tsdoc-config-unresolved-extends","tsdoc-config-undefined-tag","tsdoc-config-duplicate-tag-name","tsdoc-config-invalid-tag-name","tsdoc-comment-not-found","tsdoc-comment-missing-opening-delimiter","tsdoc-comment-missing-closing-delimiter","tsdoc-extra-inheritdoc-tag","tsdoc-escape-right-brace","tsdoc-escape-greater-than","tsdoc-missing-deprecation-message","tsdoc-inheritdoc-incompatible-tag","tsdoc-inheritdoc-incompatible-summary","tsdoc-inline-tag-missing-braces","tsdoc-tag-should-not-have-braces","tsdoc-unsupported-tag","tsdoc-undefined-tag","tsdoc-param-tag-with-invalid-type","tsdoc-param-tag-with-invalid-optional-name","tsdoc-param-tag-with-invalid-name","tsdoc-param-tag-missing-hyphen","tsdoc-unnecessary-backslash","tsdoc-missing-tag","tsdoc-at-sign-in-word","tsdoc-at-sign-without-tag-name","tsdoc-malformed-inline-tag","tsdoc-characters-after-block-tag","tsdoc-malformed-tag-name","tsdoc-characters-after-inline-tag","tsdoc-inline-tag-missing-right-brace","tsdoc-inline-tag-unescaped-brace","tsdoc-inheritdoc-tag-syntax","tsdoc-link-tag-empty","tsdoc-link-tag-unescaped-text","tsdoc-link-tag-destination-syntax","tsdoc-link-tag-invalid-url","tsdoc-reference-missing-hash","tsdoc-reference-hash-syntax","tsdoc-reference-malformed-package-name","tsdoc-reference-malformed-import-path","tsdoc-missing-reference","tsdoc-reference-missing-dot","tsdoc-reference-selector-missing-parens","tsdoc-reference-missing-colon","tsdoc-reference-missing-right-paren","tsdoc-reference-symbol-syntax","tsdoc-reference-missing-right-bracket","tsdoc-reference-missing-quote","tsdoc-reference-empty-identifier","tsdoc-reference-missing-identifier","tsdoc-reference-unquoted-identifier","tsdoc-reference-missing-label","tsdoc-reference-selector-syntax","tsdoc-html-tag-missing-greater-than","tsdoc-html-tag-missing-equals","tsdoc-html-tag-missing-string","tsdoc-html-string-missing-quote","tsdoc-text-after-html-string","tsdoc-missing-html-end-tag","tsdoc-malformed-html-name","tsdoc-code-fence-opening-indent","tsdoc-code-fence-specifier-syntax","tsdoc-code-fence-closing-indent","tsdoc-code-fence-missing-delimiter","tsdoc-code-fence-closing-syntax","tsdoc-code-span-empty","tsdoc-code-span-missing-delimiter"];en.sort();var Hr=new Set(en);var Nn=function(){function r(){this._tagDefinitions=[],this._tagDefinitionsByName=new Map,this._supportedTagDefinitions=new Set,this._validation=new Pn,this._docNodeManager=new Cn,this._supportedHtmlElements=new Set,this.clear(!1),Lr.register(this)}return r.prototype.clear=function(e){e===void 0&&(e=!1),this._tagDefinitions.length=0,this._tagDefinitionsByName.clear(),this._supportedTagDefinitions.clear(),this._validation.ignoreUndefinedTags=!1,this._validation.reportUnsupportedTags=!1,this._validation.reportUnsupportedHtmlElements=!1,this._supportedHtmlElements.clear(),e||this.addTagDefinitions(L.allDefinitions)},Object.defineProperty(r.prototype,"tagDefinitions",{get:function(){return this._tagDefinitions},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"supportedTagDefinitions",{get:function(){var e=this;return this.tagDefinitions.filter(function(t){return e.isTagSupported(t)})},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"validation",{get:function(){return this._validation},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"supportedHtmlElements",{get:function(){return Array.from(this._supportedHtmlElements.values())},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"docNodeManager",{get:function(){return this._docNodeManager},enumerable:!1,configurable:!0}),r.prototype.tryGetTagDefinition=function(e){return this._tagDefinitionsByName.get(e.toUpperCase())},r.prototype.tryGetTagDefinitionWithUpperCase=function(e){return this._tagDefinitionsByName.get(e)},r.prototype.addTagDefinition=function(e){var t=this._tagDefinitionsByName.get(e.tagNameWithUpperCase);if(t!==e){if(t)throw new Error("A tag is already defined using the name ".concat(t.tagName));this._tagDefinitions.push(e),this._tagDefinitionsByName.set(e.tagNameWithUpperCase,e)}},r.prototype.addTagDefinitions=function(e,t){for(var n=0,i=e;n<i.length;n++){var o=i[n];this.addTagDefinition(o),t!==void 0&&this.setSupportForTag(o,t)}},r.prototype.isTagSupported=function(e){return this._requireTagToBeDefined(e),this._supportedTagDefinitions.has(e)},r.prototype.setSupportForTag=function(e,t){this._requireTagToBeDefined(e),t?this._supportedTagDefinitions.add(e):this._supportedTagDefinitions.delete(e),this.validation.reportUnsupportedTags=!0},r.prototype.setSupportForTags=function(e,t){for(var n=0,i=e;n<i.length;n++){var o=i[n];this.setSupportForTag(o,t)}},r.prototype.setSupportedHtmlElements=function(e){this._supportedHtmlElements.clear(),this._validation.reportUnsupportedHtmlElements=!0;for(var t=0,n=e;t<n.length;t++){var i=n[t];this._supportedHtmlElements.add(i)}},r.prototype.isHtmlElementSupported=function(e){return this._supportedHtmlElements.has(e)},r.prototype.isKnownMessageId=function(e){return Hr.has(e)},Object.defineProperty(r.prototype,"allTsdocMessageIds",{get:function(){return en},enumerable:!1,configurable:!0}),r.prototype._requireTagToBeDefined=function(e){var t=this._tagDefinitionsByName.get(e.tagNameWithUpperCase);if(!(t&&t===e))throw new Error("The specified TSDocTagDefinition is not defined for this TSDocConfiguration")},r}();var Mn=function(){function r(){this._nodes=[],this._nodesByName=new Map}return Object.defineProperty(r.prototype,"nodes",{get:function(){return this._nodes},enumerable:!1,configurable:!0}),r.prototype.hasTagName=function(e){return this._nodesByName.has(e.toUpperCase())},r.prototype.hasTag=function(e){return!!this.tryGetTag(e)},r.prototype.tryGetTag=function(e){if(e.syntaxKind!==F.ModifierTag)throw new Error("The tag definition is not a modifier tag");return this._nodesByName.get(e.tagNameWithUpperCase)},r.prototype.addTag=function(e){return this._nodesByName.has(e.tagNameWithUpperCase)?!1:(this._nodesByName.set(e.tagNameWithUpperCase,e),this._nodes.push(e),!0)},r}();var Xi=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Fn=function(r){Xi(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.isAlpha=function(){return this.hasTag(L.alpha)},e.prototype.isBeta=function(){return this.hasTag(L.beta)},e.prototype.isEventProperty=function(){return this.hasTag(L.eventProperty)},e.prototype.isExperimental=function(){return this.hasTag(L.experimental)},e.prototype.isInternal=function(){return this.hasTag(L.internal)},e.prototype.isOverride=function(){return this.hasTag(L.override)},e.prototype.isPackageDocumentation=function(){return this.hasTag(L.packageDocumentation)},e.prototype.isPublic=function(){return this.hasTag(L.public)},e.prototype.isReadonly=function(){return this.hasTag(L.readonly)},e.prototype.isSealed=function(){return this.hasTag(L.sealed)},e.prototype.isVirtual=function(){return this.hasTag(L.virtual)},e}(Mn);var Zi=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),tn=function(r){Zi(e,r);function e(t,n){var i=r.call(this,t)||this;return i._nodes=[],n!==void 0&&n.length>0&&i.appendNodes(n),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 n=0,i=t;n<i.length;n++){var o=i[n];this.appendNode(o)}},e.prototype.clearNodes=function(){this._nodes.length=0},e.prototype.onGetChildNodes=function(){return this._nodes},e}(v);var eo=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),ke=function(r){eo(e,r);function e(t,n){return r.call(this,t,n)||this}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.Paragraph},enumerable:!1,configurable:!0}),e}(tn);var to=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Be=function(r){to(e,r);function e(t,n){return r.call(this,t,n)||this}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.Section},enumerable:!1,configurable:!0}),e.prototype.appendNodeInParagraph=function(t){var n=void 0;if(this.nodes.length>0){var i=this.nodes[this.nodes.length-1];i.kind===g.Paragraph&&(n=i)}n||(n=new ke({configuration:this.configuration}),this.appendNode(n)),n.appendNode(t)},e.prototype.appendNodesInParagraph=function(t){for(var n=0,i=t;n<i.length;n++){var o=i[n];this.appendNodeInParagraph(o)}},e}(tn);var no=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),it=function(r){no(e,r);function e(t){var n=r.call(this,t)||this;return n._blockTag=t.blockTag,n._content=new Be({configuration:n.configuration}),n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.Block},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blockTag",{get:function(){return this._blockTag},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"content",{get:function(){return this._content},enumerable:!1,configurable:!0}),e.prototype.onGetChildNodes=function(){return[this.blockTag,this._content]},e}(v);var p;(function(r){r[r.EndOfInput=2001]="EndOfInput",r[r.Newline=2002]="Newline",r[r.Spacing=2003]="Spacing",r[r.AsciiWord=2004]="AsciiWord",r[r.OtherPunctuation=2005]="OtherPunctuation",r[r.Other=2006]="Other",r[r.Backslash=2007]="Backslash",r[r.LessThan=2008]="LessThan",r[r.GreaterThan=2009]="GreaterThan",r[r.Equals=2010]="Equals",r[r.SingleQuote=2011]="SingleQuote",r[r.DoubleQuote=2012]="DoubleQuote",r[r.Slash=2013]="Slash",r[r.Hyphen=2014]="Hyphen",r[r.AtSign=2015]="AtSign",r[r.LeftCurlyBracket=2016]="LeftCurlyBracket",r[r.RightCurlyBracket=2017]="RightCurlyBracket",r[r.Backtick=2018]="Backtick",r[r.Period=2019]="Period",r[r.Colon=2020]="Colon",r[r.Comma=2021]="Comma",r[r.LeftSquareBracket=2022]="LeftSquareBracket",r[r.RightSquareBracket=2023]="RightSquareBracket",r[r.Pipe=2024]="Pipe",r[r.LeftParenthesis=2025]="LeftParenthesis",r[r.RightParenthesis=2026]="RightParenthesis",r[r.PoundSymbol=2027]="PoundSymbol",r[r.Plus=2028]="Plus",r[r.DollarSign=2029]="DollarSign"})(p||(p={}));var Ve=function(){function r(e,t,n){this.kind=e,this.range=t,this.line=n}return r.prototype.toString=function(){return this.kind===p.Newline?`
`:this.range.toString()},r}();var ro=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),x;(function(r){r.Spacing="Spacing",r.BlockTag="BlockTag",r.CodeSpan_OpeningDelimiter="CodeSpan_OpeningDelimiter",r.CodeSpan_Code="CodeSpan_Code",r.CodeSpan_ClosingDelimiter="CodeSpan_ClosingDelimiter",r.DeclarationReference_PackageName="DeclarationReference_PackageName",r.DeclarationReference_ImportPath="DeclarationReference_ImportPath",r.DeclarationReference_ImportHash="DeclarationReference_ImportHash",r.ErrorText="ErrorText",r.NonstandardText="NonstandardText",r.EscapedText="EscapedText",r.FencedCode_OpeningFence="FencedCode_OpeningFence",r.FencedCode_Language="FencedCode_Language",r.FencedCode_Code="FencedCode_Code",r.FencedCode_ClosingFence="FencedCode_ClosingFence",r.HtmlAttribute_Name="HtmlAttribute_Name",r.HtmlAttribute_Equals="HtmlAttribute_Equals",r.HtmlAttribute_Value="HtmlAttribute_Value",r.HtmlEndTag_OpeningDelimiter="HtmlEndTag_OpeningDelimiter",r.HtmlEndTag_Name="HtmlEndTag_Name",r.HtmlEndTag_ClosingDelimiter="HtmlEndTag_ClosingDelimiter",r.HtmlStartTag_OpeningDelimiter="HtmlStartTag_OpeningDelimiter",r.HtmlStartTag_Name="HtmlStartTag_Name",r.HtmlStartTag_ClosingDelimiter="HtmlStartTag_ClosingDelimiter",r.InlineTag_OpeningDelimiter="InlineTag_OpeningDelimiter",r.InlineTag_TagName="InlineTag_TagName",r.InlineTag_TagContent="InlineTag_TagContent",r.InlineTag_ClosingDelimiter="InlineTag_ClosingDelimiter",r.LinkTag_UrlDestination="LinkTag_UrlDestination",r.LinkTag_Pipe="LinkTag_Pipe",r.LinkTag_LinkText="LinkTag_LinkText",r.MemberIdentifier_LeftQuote="MemberIdentifier_LeftQuote",r.MemberIdentifier_Identifier="MemberIdentifier_Identifier",r.MemberIdentifier_RightQuote="MemberIdentifier_RightQuote",r.MemberReference_Dot="MemberReference_Dot",r.MemberReference_LeftParenthesis="MemberReference_LeftParenthesis",r.MemberReference_Colon="MemberReference_Colon",r.MemberReference_RightParenthesis="MemberReference_RightParenthesis",r.MemberSelector="MemberSelector",r.DocMemberSymbol_LeftBracket="DocMemberSymbol_LeftBracket",r.DocMemberSymbol_RightBracket="DocMemberSymbol_RightBracket",r.ParamBlock_ParameterName="ParamBlock_ParameterName",r.ParamBlock_Hyphen="ParamBlock_Hyphen",r.PlainText="PlainText",r.SoftBreak="SoftBreak"})(x||(x={}));var y=function(r){ro(e,r);function e(t){var n=r.call(this,t)||this;if(t.excerptKind===x.Spacing)for(var i=0,o=t.content.tokens;i<o.length;i++){var a=o[i];switch(a.kind){case p.Spacing:case p.Newline:case p.EndOfInput:break;default:throw new Error("The excerptKind=Spacing but the range contains a non-whitespace token")}}return n._excerptKind=t.excerptKind,n._content=t.content,n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.Excerpt},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"excerptKind",{get:function(){return this._excerptKind},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"content",{get:function(){return this._content},enumerable:!1,configurable:!0}),e}(v);var io=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Ht=function(r){io(e,r);function e(t){var n=r.call(this,t)||this;return R.validateTSDocTagName(t.tagName),n._tagName=t.tagName,n._tagNameWithUpperCase=t.tagName.toUpperCase(),v.isParsedParameters(t)&&(n._tagNameExcerpt=new y({configuration:n.configuration,excerptKind:x.BlockTag,content:t.tagNameExcerpt})),n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.BlockTag},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this._tagName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagNameWithUpperCase",{get:function(){return this._tagNameWithUpperCase},enumerable:!1,configurable:!0}),e.prototype.onGetChildNodes=function(){return[this._tagNameExcerpt]},e.prototype.getTokenSequence=function(){if(!this._tagNameExcerpt)throw new Error("DocBlockTag.getTokenSequence() failed because this object did not originate from a parsed input");return this._tagNameExcerpt.content},e}(v);var oo=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),$t=function(r){oo(e,r);function e(t){var n=r.call(this,t)||this;return v.isParsedParameters(t)?(n._openingDelimiterExcerpt=new y({configuration:n.configuration,excerptKind:x.CodeSpan_OpeningDelimiter,content:t.openingDelimiterExcerpt}),n._codeExcerpt=new y({configuration:n.configuration,excerptKind:x.CodeSpan_Code,content:t.codeExcerpt}),n._closingDelimiterExcerpt=new y({configuration:n.configuration,excerptKind:x.CodeSpan_ClosingDelimiter,content:t.closingDelimiterExcerpt})):n._code=t.code,n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.CodeSpan},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"code",{get:function(){return this._code===void 0&&(this._code=this._codeExcerpt.content.toString()),this._code},enumerable:!1,configurable:!0}),e.prototype.onGetChildNodes=function(){return[this._openingDelimiterExcerpt,this._codeExcerpt,this._closingDelimiterExcerpt]},e}(v);var Se=function(){function r(){this._chunks=[]}return r.prototype.append=function(e){this._chunks.push(e)},r.prototype.toString=function(){if(this._chunks.length===0)return"";if(this._chunks.length>1){var e=this._chunks.join("");this._chunks.length=1,this._chunks[0]=e}return this._chunks[0]},r}();var $r=function(){function r(){}return r.transform=function(e){for(var t=[],n=!1,i=[],o=[],a=!1,u=0,l=e.nodes;u<l.length;u++){var d=l[u];switch(d.kind){case g.PlainText:var h=d,w=h.text,E=/^\s/.test(w),M=/\s$/.test(w),I=w.replace(/\s+/g," ").trim();E&&a&&(n=!0),I.length>0&&(n&&(i.push(" "),n=!1),i.push(I),o.push(d),a=!0),M&&a&&(n=!0);break;case g.SoftBreak:a&&(n=!0),o.push(d);break;default:n&&(i.push(" "),n=!1),i.length>0&&(t.push(new xe({configuration:e.configuration,text:i.join("")})),i.length=0,o.length=0),t.push(d),a=!0}}i.length>0&&(t.push(new xe({configuration:e.configuration,text:i.join("")})),i.length=0,o.length=0);var K=new ke({configuration:e.configuration});return K.appendNodes(t),K},r}();var In=function(){function r(){}return r.trimSpacesInParagraph=function(e){return $r.transform(e)},r}();var Bn=function(r,e,t){if(t||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return r.concat(o||Array.prototype.slice.call(e))},ee;(function(r){r[r.Closed=0]="Closed",r[r.StartOfLine=1]="StartOfLine",r[r.MiddleOfLine=2]="MiddleOfLine"})(ee||(ee={}));var Ce=function(){function r(){this.eol=`
`,this._emitCommentFraming=!0,this._lineState=ee.Closed,this._previousLineHadContent=!1,this._hangingParagraph=!1}return r.prototype.renderComment=function(e,t){this._emitCommentFraming=!0,this._renderCompleteObject(e,t)},r.prototype.renderHtmlTag=function(e,t){this._emitCommentFraming=!1,this._renderCompleteObject(e,t)},r.prototype.renderDeclarationReference=function(e,t){this._emitCommentFraming=!1,this._renderCompleteObject(e,t)},r.prototype._renderCompleteObject=function(e,t){this._output=e,this._lineState=ee.Closed,this._previousLineHadContent=!1,this._hangingParagraph=!1,this._renderNode(t),this._writeEnd()},r.prototype._renderNode=function(e){var t=this;if(e!==void 0)switch(e.kind){case g.Block:var n=e;this._ensureLineSkipped(),this._renderNode(n.blockTag),n.blockTag.tagNameWithUpperCase===L.returns.tagNameWithUpperCase&&(this._writeContent(" "),this._hangingParagraph=!0),this._renderNode(n.content);break;case g.BlockTag:var i=e;this._lineState===ee.MiddleOfLine&&this._writeContent(" "),this._writeContent(i.tagName);break;case g.CodeSpan:var o=e;this._writeContent("`"),this._writeContent(o.code),this._writeContent("`");break;case g.Comment:var a=e;this._renderNodes(Bn(Bn(Bn([a.summarySection,a.remarksBlock,a.privateRemarks,a.deprecatedBlock,a.params,a.typeParams,a.returnsBlock],a.customBlocks,!0),a.seeBlocks,!0),[a.inheritDocTag],!1)),a.modifierTagSet.nodes.length>0&&(this._ensureLineSkipped(),this._renderNodes(a.modifierTagSet.nodes));break;case g.DeclarationReference:var u=e;this._writeContent(u.packageName),this._writeContent(u.importPath),(u.packageName!==void 0||u.importPath!==void 0)&&this._writeContent("#"),this._renderNodes(u.memberReferences);break;case g.ErrorText:var l=e;this._writeContent(l.text);break;case g.EscapedText:var d=e;this._writeContent(d.encodedText);break;case g.FencedCode:var h=e;this._ensureAtStartOfLine(),this._writeContent("```"),this._writeContent(h.language),this._writeNewline(),this._writeContent(h.code),this._writeContent("```"),this._writeNewline(),this._writeNewline();break;case g.HtmlAttribute:var w=e;this._writeContent(w.name),this._writeContent(w.spacingAfterName),this._writeContent("="),this._writeContent(w.spacingAfterEquals),this._writeContent(w.value),this._writeContent(w.spacingAfterValue);break;case g.HtmlEndTag:var E=e;this._writeContent("</"),this._writeContent(E.name),this._writeContent(">");break;case g.HtmlStartTag:var M=e;this._writeContent("<"),this._writeContent(M.name),this._writeContent(M.spacingAfterName);for(var I=M.spacingAfterName===void 0||M.spacingAfterName.length===0,K=0,D=M.htmlAttributes;K<D.length;K++){var G=D[K];I&&this._writeContent(" "),this._renderNode(G),I=G.spacingAfterValue===void 0||G.spacingAfterValue.length===0}this._writeContent(M.selfClosingTag?"/>":">");break;case g.InheritDocTag:var ie=e;this._renderInlineTag(ie,function(){ie.declarationReference&&(t._writeContent(" "),t._renderNode(ie.declarationReference))});break;case g.InlineTag:var oe=e;this._renderInlineTag(oe,function(){oe.tagContent.length>0&&(t._writeContent(" "),t._writeContent(oe.tagContent))});break;case g.LinkTag:var z=e;this._renderInlineTag(z,function(){(z.urlDestination!==void 0||z.codeDestination!==void 0)&&(z.urlDestination!==void 0?(t._writeContent(" "),t._writeContent(z.urlDestination)):z.codeDestination!==void 0&&(t._writeContent(" "),t._renderNode(z.codeDestination))),z.linkText!==void 0&&(t._writeContent(" "),t._writeContent("|"),t._writeContent(" "),t._writeContent(z.linkText))});break;case g.MemberIdentifier:var Ke=e;Ke.hasQuotes?(this._writeContent('"'),this._writeContent(Ke.identifier),this._writeContent('"')):this._writeContent(Ke.identifier);break;case g.MemberReference:var fe=e;fe.hasDot&&this._writeContent("."),fe.selector&&this._writeContent("("),fe.memberSymbol?this._renderNode(fe.memberSymbol):this._renderNode(fe.memberIdentifier),fe.selector&&(this._writeContent(":"),this._renderNode(fe.selector),this._writeContent(")"));break;case g.MemberSelector:var xn=e;this._writeContent(xn.selector);break;case g.MemberSymbol:var Pt=e;this._writeContent("["),this._renderNode(Pt.symbolReference),this._writeContent("]");break;case g.Section:var yn=e;this._renderNodes(yn.nodes);break;case g.Paragraph:var dt=In.trimSpacesInParagraph(e);dt.nodes.length>0&&(this._hangingParagraph?this._hangingParagraph=!1:this._ensureLineSkipped(),this._renderNodes(dt.nodes),this._writeNewline());break;case g.ParamBlock:var A=e;this._ensureLineSkipped(),this._renderNode(A.blockTag),this._writeContent(" "),this._writeContent(A.parameterName),this._writeContent(" - "),this._hangingParagraph=!0,this._renderNode(A.content),this._hangingParagraph=!1;break;case g.ParamCollection:var k=e;this._renderNodes(k.blocks);break;case g.PlainText:var f=e;this._writeContent(f.text);break}},r.prototype._renderInlineTag=function(e,t){this._writeContent("{"),this._writeContent(e.tagName),t(),this._writeContent("}")},r.prototype._renderNodes=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];this._renderNode(i)}},r.prototype._ensureAtStartOfLine=function(){this._lineState===ee.MiddleOfLine&&this._writeNewline()},r.prototype._ensureLineSkipped=function(){this._ensureAtStartOfLine(),this._previousLineHadContent&&this._writeNewline()},r.prototype._writeContent=function(e){if(!(e===void 0||e.length===0)){var t=e.split(/\r?\n/g);if(t.length>1){for(var n=!0,i=0,o=t;i<o.length;i++){var a=o[i];n?n=!1:this._writeNewline(),this._writeContent(a)}return}this._lineState===ee.Closed&&(this._emitCommentFraming&&this._output.append("/**"+this.eol+" *"),this._lineState=ee.StartOfLine),this._lineState===ee.StartOfLine&&this._emitCommentFraming&&this._output.append(" "),this._output.append(e),this._lineState=ee.MiddleOfLine,this._previousLineHadContent=!0}},r.prototype._writeNewline=function(){this._lineState===ee.Closed&&(this._emitCommentFraming&&this._output.append("/**"+this.eol+" *"),this._lineState=ee.StartOfLine),this._previousLineHadContent=this._lineState===ee.MiddleOfLine,this._emitCommentFraming?this._output.append(this.eol+" *"):this._output.append(this.eol),this._lineState=ee.StartOfLine,this._hangingParagraph=!1},r.prototype._writeEnd=function(){this._lineState===ee.MiddleOfLine&&this._emitCommentFraming&&this._writeNewline(),this._lineState!==ee.Closed&&(this._emitCommentFraming&&this._output.append("/"+this.eol),this._lineState=ee.Closed)},r}();var ao=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),xt=function(r){ao(e,r);function e(t){var n=r.call(this,t)||this;return n._blocks=[],n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.ParamCollection},enumerable:!1,configurable:!0}),e.prototype[Symbol.iterator]=function(){return this._blocks[Symbol.iterator]()},Object.defineProperty(e.prototype,"blocks",{get:function(){return this._blocks},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"count",{get:function(){return this._blocks.length},enumerable:!1,configurable:!0}),e.prototype.add=function(t){this._blocks.push(t),this._blocksByName===void 0&&(this._blocksByName=new Map),this._blocksByName.has(t.parameterName)||this._blocksByName.set(t.parameterName,t)},e.prototype.clear=function(){this._blocks.length=0,this._blocksByName=void 0},e.prototype.tryGetBlockByName=function(t){if(this._blocksByName)return this._blocksByName.get(t)},e.prototype.onGetChildNodes=function(){return this._blocks},e}(v);var so=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),nn=function(r,e,t){if(t||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return r.concat(o||Array.prototype.slice.call(e))},Kt=function(r){so(e,r);function e(t){var n=r.call(this,t)||this;return n.summarySection=new Be({configuration:n.configuration}),n.remarksBlock=void 0,n.privateRemarks=void 0,n.deprecatedBlock=void 0,n.params=new xt({configuration:n.configuration}),n.typeParams=new xt({configuration:n.configuration}),n.returnsBlock=void 0,n.modifierTagSet=new Fn,n._seeBlocks=[],n._customBlocks=[],n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.Comment},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seeBlocks",{get:function(){return this._seeBlocks},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"customBlocks",{get:function(){return this._customBlocks},enumerable:!1,configurable:!0}),e.prototype._appendSeeBlock=function(t){this._seeBlocks.push(t)},e.prototype.appendCustomBlock=function(t){this._customBlocks.push(t)},e.prototype.onGetChildNodes=function(){return nn(nn(nn(nn([this.summarySection,this.remarksBlock,this.privateRemarks,this.deprecatedBlock,this.params.count>0?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 Se,n=new Ce;return n.renderComment(t,this),t.toString()},e}(v);var co=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),lo=function(r,e,t){if(t||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return r.concat(o||Array.prototype.slice.call(e))},Yt=function(r){co(e,r);function e(t){var n,i=r.call(this,t)||this;return v.isParsedParameters(t)?(t.packageNameExcerpt&&(i._packageNameExcerpt=new y({configuration:i.configuration,excerptKind:x.DeclarationReference_PackageName,content:t.packageNameExcerpt})),t.importPathExcerpt&&(i._importPathExcerpt=new y({configuration:i.configuration,excerptKind:x.DeclarationReference_ImportPath,content:t.importPathExcerpt})),t.importHashExcerpt&&(i._importHashExcerpt=new y({configuration:i.configuration,excerptKind:x.DeclarationReference_ImportHash,content:t.importHashExcerpt})),t.spacingAfterImportHashExcerpt&&(i._spacingAfterImportHashExcerpt=new y({configuration:i.configuration,excerptKind:x.Spacing,content:t.spacingAfterImportHashExcerpt}))):(i._packageName=t.packageName,i._importPath=t.importPath),i._memberReferences=[],t.memberReferences&&(n=i._memberReferences).push.apply(n,t.memberReferences),i}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.DeclarationReference},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"packageName",{get:function(){return this._packageName===void 0&&this._packageNameExcerpt!==void 0&&(this._packageName=this._packageNameExcerpt.content.toString()),this._packageName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"importPath",{get:function(){return this._importPath===void 0&&this._importPathExcerpt!==void 0&&(this._importPath=this._importPathExcerpt.content.toString()),this._importPath},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"memberReferences",{get:function(){return this._memberReferences},enumerable:!1,configurable:!0}),e.prototype.emitAsTsdoc=function(){var t=new Se,n=new Ce;return n.renderDeclarationReference(t,this),t.toString()},e.prototype.onGetChildNodes=function(){return lo([this._packageNameExcerpt,this._importPathExcerpt,this._importHashExcerpt,this._spacingAfterImportHashExcerpt],this._memberReferences,!0)},e}(v);var uo=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Re=function(r){uo(e,r);function e(t){var n=r.call(this,t)||this;return n._textExcerpt=new y({configuration:n.configuration,excerptKind:x.ErrorText,content:t.textExcerpt}),n._messageId=t.messageId,n._errorMessage=t.errorMessage,n._errorLocation=t.errorLocation,n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.ErrorText},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._text===void 0&&(this._text=this._textExcerpt.content.toString()),this._text},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textExcerpt",{get:function(){if(this._textExcerpt)return this._textExcerpt.content},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"messageId",{get:function(){return this._messageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errorMessage",{get:function(){return this._errorMessage},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errorLocation",{get:function(){return this._errorLocation},enumerable:!1,configurable:!0}),e.prototype.onGetChildNodes=function(){return[this._textExcerpt]},e}(v);var po=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),rn;(function(r){r[r.CommonMarkBackslash=0]="CommonMarkBackslash"})(rn||(rn={}));var Ut=function(r){po(e,r);function e(t){var n=r.call(this,t)||this;return n._escapeStyle=t.escapeStyle,n._encodedTextExcerpt=new y({configuration:n.configuration,excerptKind:x.EscapedText,content:t.encodedTextExcerpt}),n._decodedText=t.decodedText,n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.EscapedText},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"escapeStyle",{get:function(){return this._escapeStyle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"encodedText",{get:function(){return this._encodedText===void 0&&(this._encodedText=this._encodedTextExcerpt.content.toString()),this._encodedText},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"decodedText",{get:function(){return this._decodedText},enumerable:!1,configurable:!0}),e.prototype.onGetChildNodes=function(){return[this._encodedTextExcerpt]},e}(v);var fo=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Gt=function(r){fo(e,r);function e(t){var n=r.call(this,t)||this;return v.isParsedParameters(t)?(n._openingFenceExcerpt=new y({configuration:n.configuration,excerptKind:x.FencedCode_OpeningFence,content:t.openingFenceExcerpt}),t.spacingAfterOpeningFenceExcerpt&&(n._spacingAfterOpeningFenceExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterOpeningFenceExcerpt})),t.languageExcerpt&&(n._languageExcerpt=new y({configuration:n.configuration,excerptKind:x.FencedCode_Language,content:t.languageExcerpt})),t.spacingAfterLanguageExcerpt&&(n._spacingAfterLanguageExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterLanguageExcerpt})),n._codeExcerpt=new y({configuration:n.configuration,excerptKind:x.FencedCode_Code,content:t.codeExcerpt}),t.spacingBeforeClosingFenceExcerpt&&(n._spacingBeforeClosingFenceExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingBeforeClosingFenceExcerpt})),n._closingFenceExcerpt=new y({configuration:n.configuration,excerptKind:x.FencedCode_ClosingFence,content:t.closingFenceExcerpt}),t.spacingAfterClosingFenceExcerpt&&(n._spacingAfterClosingFenceExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterClosingFenceExcerpt}))):(n._code=t.code,n._language=t.language),n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.FencedCode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){return this._language===void 0&&(this._languageExcerpt!==void 0?this._language=this._languageExcerpt.content.toString():this._language=""),this._language},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"code",{get:function(){return this._code===void 0&&this._codeExcerpt!==void 0&&(this._code=this._codeExcerpt.content.toString()),this._code},enumerable:!1,configurable:!0}),e.prototype.onGetChildNodes=function(){return[this._openingFenceExcerpt,this._spacingAfterOpeningFenceExcerpt,this._languageExcerpt,this._spacingAfterLanguageExcerpt,this._codeExcerpt,this._spacingBeforeClosingFenceExcerpt,this._closingFenceExcerpt,this._spacingAfterClosingFenceExcerpt]},e}(v);var go=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Rt=function(r){go(e,r);function e(t){var n=r.call(this,t)||this;return v.isParsedParameters(t)?(n._nameExcerpt=new y({configuration:n.configuration,excerptKind:x.HtmlAttribute_Name,content:t.nameExcerpt}),t.spacingAfterNameExcerpt&&(n._spacingAfterNameExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterNameExcerpt})),n._equalsExcerpt=new y({configuration:n.configuration,excerptKind:x.HtmlAttribute_Equals,content:t.equalsExcerpt}),t.spacingAfterEqualsExcerpt&&(n._spacingAfterEqualsExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterEqualsExcerpt})),n._valueExcerpt=new y({configuration:n.configuration,excerptKind:x.HtmlAttribute_Value,content:t.valueExcerpt}),t.spacingAfterValueExcerpt&&(n._spacingAfterValueExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterValueExcerpt}))):(n._name=t.name,n._spacingAfterName=t.spacingAfterName,n._spacingAfterEquals=t.spacingAfterEquals,n._value=t.value,n._spacingAfterValue=t.spacingAfterValue),n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.HtmlAttribute},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name===void 0&&(this._name=this._nameExcerpt.content.toString()),this._name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"spacingAfterName",{get:function(){return this._spacingAfterName===void 0&&this._spacingAfterNameExcerpt!==void 0&&(this._spacingAfterName=this._spacingAfterNameExcerpt.content.toString()),this._spacingAfterName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"spacingAfterEquals",{get:function(){return this._spacingAfterEquals===void 0&&this._spacingAfterEqualsExcerpt!==void 0&&(this._spacingAfterEquals=this._spacingAfterEqualsExcerpt.content.toString()),this._spacingAfterEquals},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value===void 0&&(this._value=this._valueExcerpt.content.toString()),this._value},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"spacingAfterValue",{get:function(){return this._spacingAfterValue===void 0&&this._spacingAfterValueExcerpt!==void 0&&(this._spacingAfterValue=this._spacingAfterValueExcerpt.content.toString()),this._spacingAfterValue},enumerable:!1,configurable:!0}),e.prototype.onGetChildNodes=function(){return[this._nameExcerpt,this._spacingAfterNameExcerpt,this._equalsExcerpt,this._spacingAfterEqualsExcerpt,this._valueExcerpt,this._spacingAfterValueExcerpt]},e}(v);var mo=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Vt=function(r){mo(e,r);function e(t){var n=r.call(this,t)||this;return v.isParsedParameters(t)?(n._openingDelimiterExcerpt=new y({configuration:n.configuration,excerptKind:x.HtmlEndTag_OpeningDelimiter,content:t.openingDelimiterExcerpt}),n._nameExcerpt=new y({configuration:n.configuration,excerptKind:x.HtmlEndTag_Name,content:t.nameExcerpt}),t.spacingAfterNameExcerpt&&(n._spacingAfterNameExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterNameExcerpt})),n._closingDelimiterExcerpt=new y({configuration:n.configuration,excerptKind:x.HtmlEndTag_ClosingDelimiter,content:t.closingDelimiterExcerpt})):n._name=t.name,n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.HtmlEndTag},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name===void 0&&(this._name=this._nameExcerpt.content.toString()),this._name},enumerable:!1,configurable:!0}),e.prototype.emitAsHtml=function(){var t=new Se,n=new Ce;return n.renderHtmlTag(t,this),t.toString()},e.prototype.onGetChildNodes=function(){return[this._openingDelimiterExcerpt,this._nameExcerpt,this._spacingAfterNameExcerpt,this._closingDelimiterExcerpt]},e}(v);var ho=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Kr=function(r,e,t){if(t||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return r.concat(o||Array.prototype.slice.call(e))},zt=function(r){ho(e,r);function e(t){var n,i=r.call(this,t)||this;return v.isParsedParameters(t)?(i._openingDelimiterExcerpt=new y({configuration:i.configuration,excerptKind:x.HtmlStartTag_OpeningDelimiter,content:t.openingDelimiterExcerpt}),i._nameExcerpt=new y({configuration:i.configuration,excerptKind:x.HtmlStartTag_Name,content:t.nameExcerpt}),t.spacingAfterNameExcerpt&&(i._spacingAfterNameExcerpt=new y({configuration:i.configuration,excerptKind:x.Spacing,content:t.spacingAfterNameExcerpt})),i._closingDelimiterExcerpt=new y({configuration:i.configuration,excerptKind:x.HtmlStartTag_ClosingDelimiter,content:t.closingDelimiterExcerpt})):(i._name=t.name,i._spacingAfterName=t.spacingAfterName),i._htmlAttributes=[],t.htmlAttributes&&(n=i._htmlAttributes).push.apply(n,t.htmlAttributes),i._selfClosingTag=!!t.selfClosingTag,i}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.HtmlStartTag},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name===void 0&&(this._name=this._nameExcerpt.content.toString()),this._name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"htmlAttributes",{get:function(){return this._htmlAttributes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selfClosingTag",{get:function(){return this._selfClosingTag},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"spacingAfterName",{get:function(){return this._spacingAfterName===void 0&&this._spacingAfterNameExcerpt!==void 0&&(this._spacingAfterName=this._spacingAfterNameExcerpt.content.toString()),this._spacingAfterName},enumerable:!1,configurable:!0}),e.prototype.emitAsHtml=function(){var t=new Se,n=new Ce;return n.renderHtmlTag(t,this),t.toString()},e.prototype.onGetChildNodes=function(){return Kr(Kr([this._openingDelimiterExcerpt,this._nameExcerpt,this._spacingAfterNameExcerpt],this._htmlAttributes,!0),[this._closingDelimiterExcerpt],!1)},e}(v);var Ao=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Yr=function(r,e,t){if(t||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return r.concat(o||Array.prototype.slice.call(e))},at=function(r){Ao(e,r);function e(t){var n=r.call(this,t)||this;return R.validateTSDocTagName(t.tagName),v.isParsedParameters(t)&&(n._openingDelimiterExcerpt=new y({configuration:n.configuration,excerptKind:x.InlineTag_OpeningDelimiter,content:t.openingDelimiterExcerpt}),n._tagNameExcerpt=new y({configuration:n.configuration,excerptKind:x.InlineTag_TagName,content:t.tagNameExcerpt}),t.spacingAfterTagNameExcerpt&&(n._spacingAfterTagNameExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterTagNameExcerpt})),n._closingDelimiterExcerpt=new y({configuration:n.configuration,excerptKind:x.InlineTag_ClosingDelimiter,content:t.closingDelimiterExcerpt})),n._tagName=t.tagName,n._tagNameWithUpperCase=t.tagName.toUpperCase(),n}return Object.defineProperty(e.prototype,"tagName",{get:function(){return this._tagName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagNameWithUpperCase",{get:function(){return this._tagNameWithUpperCase},enumerable:!1,configurable:!0}),e.prototype.onGetChildNodes=function(){return Yr(Yr([this._openingDelimiterExcerpt,this._tagNameExcerpt,this._spacingAfterTagNameExcerpt],this.getChildNodesForContent(),!0),[this._closingDelimiterExcerpt],!1)},e}(v);var _o=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),yt=function(r){_o(e,r);function e(t){var n=r.call(this,t)||this;if(n.tagNameWithUpperCase!=="@INHERITDOC")throw new Error('DocInheritDocTag requires the tag name to be "{@inheritDoc}"');return n._declarationReference=t.declarationReference,n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.InheritDocTag},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"declarationReference",{get:function(){return this._declarationReference},enumerable:!1,configurable:!0}),e.prototype.getChildNodesForContent=function(){return[this._declarationReference]},e}(at);var xo=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),ot=function(r){xo(e,r);function e(t){var n=r.call(this,t)||this;return v.isParsedParameters(t)?t.tagContentExcerpt&&(n._tagContentExcerpt=new y({configuration:n.configuration,excerptKind:x.InlineTag_TagContent,content:t.tagContentExcerpt})):n._tagContent=t.tagContent,n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.InlineTag},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagContent",{get:function(){if(this._tagContent===void 0)if(this._tagContentExcerpt)this._tagContent=this._tagContentExcerpt.content.toString();else return"";return this._tagContent},enumerable:!1,configurable:!0}),e.prototype.getChildNodesForContent=function(){return[this._tagContentExcerpt]},e}(at);var yo=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Jt=function(r){yo(e,r);function e(t){var n=r.call(this,t)||this;if(n.tagNameWithUpperCase!=="@LINK")throw new Error('DocLinkTag requires the tag name to be "{@link}"');if(n._codeDestination=t.codeDestination,v.isParsedParameters(t)){if(t.codeDestination!==void 0&&t.urlDestinationExcerpt!==void 0)throw new Error("Either the codeDestination or the urlDestination may be specified, but not both");t.urlDestinationExcerpt&&(n._urlDestinationExcerpt=new y({configuration:n.configuration,excerptKind:x.LinkTag_UrlDestination,content:t.urlDestinationExcerpt})),t.spacingAfterDestinationExcerpt&&(n._spacingAfterDestinationExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterDestinationExcerpt})),t.pipeExcerpt&&(n._pipeExcerpt=new y({configuration:n.configuration,excerptKind:x.LinkTag_Pipe,content:t.pipeExcerpt})),t.spacingAfterPipeExcerpt&&(n._spacingAfterPipeExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterPipeExcerpt})),t.linkTextExcerpt&&(n._linkTextExcerpt=new y({configuration:n.configuration,excerptKind:x.LinkTag_LinkText,content:t.linkTextExcerpt})),t.spacingAfterLinkTextExcerpt&&(n._spacingAfterLinkTextExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterLinkTextExcerpt}))}else{if(t.codeDestination!==void 0&&t.urlDestination!==void 0)throw new Error("Either the codeDestination or the urlDestination may be specified, but not both");n._urlDestination=t.urlDestination,n._linkText=t.linkText}return n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.LinkTag},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"codeDestination",{get:function(){return this._codeDestination},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"urlDestination",{get:function(){return this._urlDestination===void 0&&this._urlDestinationExcerpt!==void 0&&(this._urlDestination=this._urlDestinationExcerpt.content.toString()),this._urlDestination},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"linkText",{get:function(){return this._linkText===void 0&&this._linkTextExcerpt!==void 0&&(this._linkText=this._linkTextExcerpt.content.toString()),this._linkText},enumerable:!1,configurable:!0}),e.prototype.getChildNodesForContent=function(){return[this._codeDestination,this._urlDestinationExcerpt,this._spacingAfterDestinationExcerpt,this._pipeExcerpt,this._spacingAfterPipeExcerpt,this._linkTextExcerpt,this._spacingAfterLinkTextExcerpt]},e}(at);var jo=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),jt=function(r){jo(e,r);function e(t){var n=r.call(this,t)||this;return v.isParsedParameters(t)?(t.leftQuoteExcerpt&&(n._leftQuoteExcerpt=new y({configuration:n.configuration,excerptKind:x.MemberIdentifier_LeftQuote,content:t.leftQuoteExcerpt})),n._identifierExcerpt=new y({configuration:n.configuration,excerptKind:x.MemberIdentifier_Identifier,content:t.identifierExcerpt}),t.rightQuoteExcerpt&&(n._rightQuoteExcerpt=new y({configuration:n.configuration,excerptKind:x.MemberIdentifier_RightQuote,content:t.rightQuoteExcerpt}))):n._identifier=t.identifier,n}return e.isValidIdentifier=function(t){return!R.explainIfInvalidUnquotedMemberIdentifier(t)},Object.defineProperty(e.prototype,"kind",{get:function(){return g.MemberIdentifier},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"identifier",{get:function(){return this._identifier===void 0&&(this._identifier=this._identifierExcerpt.content.toString()),this._identifier},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasQuotes",{get:function(){return this._identifierExcerpt?!!this._leftQuoteExcerpt:!e.isValidIdentifier(this.identifier)},enumerable:!1,configurable:!0}),e.prototype.onGetChildNodes=function(){return[this._leftQuoteExcerpt,this._identifierExcerpt,this._rightQuoteExcerpt]},e}(v);var wo=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Wt=function(r){wo(e,r);function e(t){var n=r.call(this,t)||this;return v.isParsedParameters(t)?(n._hasDot=!!t.dotExcerpt,t.dotExcerpt&&(n._dotExcerpt=new y({configuration:n.configuration,excerptKind:x.MemberReference_Dot,content:t.dotExcerpt})),t.spacingAfterDotExcerpt&&(n._spacingAfterDotExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterDotExcerpt})),t.leftParenthesisExcerpt&&(n._leftParenthesisExcerpt=new y({configuration:n.configuration,excerptKind:x.MemberReference_LeftParenthesis,content:t.leftParenthesisExcerpt})),t.spacingAfterLeftParenthesisExcerpt&&(n._spacingAfterLeftParenthesisExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterLeftParenthesisExcerpt})),t.spacingAfterMemberExcerpt&&(n._spacingAfterMemberExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterMemberExcerpt})),t.colonExcerpt&&(n._colonExcerpt=new y({excerptKind:x.MemberReference_Colon,configuration:n.configuration,content:t.colonExcerpt})),t.spacingAfterColonExcerpt&&(n._spacingAfterColonExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterColonExcerpt})),t.spacingAfterSelectorExcerpt&&(n._spacingAfterSelectorExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterSelectorExcerpt})),t.rightParenthesisExcerpt&&(n._rightParenthesisExcerpt=new y({configuration:n.configuration,excerptKind:x.MemberReference_RightParenthesis,content:t.rightParenthesisExcerpt})),t.spacingAfterRightParenthesisExcerpt&&(n._spacingAfterRightParenthesisExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterRightParenthesisExcerpt}))):n._hasDot=t.hasDot,n._memberIdentifier=t.memberIdentifier,n._memberSymbol=t.memberSymbol,n._selector=t.selector,n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.MemberReference},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasDot",{get:function(){return this._hasDot},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"memberIdentifier",{get:function(){return this._memberIdentifier},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"memberSymbol",{get:function(){return this._memberSymbol},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selector",{get:function(){return this._selector},enumerable:!1,configurable:!0}),e.prototype.onGetChildNodes=function(){return[this._dotExcerpt,this._spacingAfterDotExcerpt,this._leftParenthesisExcerpt,this._spacingAfterLeftParenthesisExcerpt,this._memberIdentifier,this._memberSymbol,this._spacingAfterMemberExcerpt,this._colonExcerpt,this._spacingAfterColonExcerpt,this._selector,this._spacingAfterSelectorExcerpt,this._rightParenthesisExcerpt,this._spacingAfterRightParenthesisExcerpt]},e}(v);var vo=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),st;(function(r){r.Error="error",r.System="system",r.Index="index",r.Label="label"})(st||(st={}));var Qt=function(r){vo(e,r);function e(t){var n=r.call(this,t)||this;return v.isParsedParameters(t)?(n._selectorExcerpt=new y({configuration:n.configuration,excerptKind:x.MemberSelector,content:t.selectorExcerpt}),n._selector=t.selectorExcerpt.toString()):n._selector=t.selector,n._selectorKind=st.Error,n._errorMessage=void 0,n._selector.length===0?n._errorMessage="The selector cannot be an empty string":e._likeIndexSelectorRegExp.test(n._selector)?e._indexSelectorRegExp.test(n._selector)?n._selectorKind=st.Index:n._errorMessage="If the selector begins with a number, it must be a positive integer value":e._likeLabelSelectorRegExp.test(n._selector)?e._labelSelectorRegExp.test(n._selector)?n._selectorKind=st.Label:n._errorMessage="A label selector must be comprised of upper case letters, numbers, and underscores and must not start with a number":R.isSystemSelector(n._selector)?n._selectorKind=st.System:e._likeSystemSelectorRegExp.test(n._selector)?n._errorMessage="The selector ".concat(JSON.stringify(n._selector))+" is not a recognized TSDoc system selector name":n._errorMessage="Invalid syntax for selector",n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.MemberSelector},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selector",{get:function(){return this._selector},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectorKind",{get:function(){return this._selectorKind},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errorMessage",{get:function(){return this._errorMessage},enumerable:!1,configurable:!0}),e.prototype.onGetChildNodes=function(){return[this._selectorExcerpt]},e._likeIndexSelectorRegExp=/^[0-9]/,e._indexSelectorRegExp=/^[1-9][0-9]*$/,e._likeLabelSelectorRegExp=/^[A-Z_]/u,e._labelSelectorRegExp=/^[A-Z_][A-Z0-9_]+$/,e._likeSystemSelectorRegExp=/^[a-z]+$/u,e}(v);var bo=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Xt=function(r){bo(e,r);function e(t){var n=r.call(this,t)||this;return v.isParsedParameters(t)&&(n._leftBracketExcerpt=new y({configuration:n.configuration,excerptKind:x.DocMemberSymbol_LeftBracket,content:t.leftBracketExcerpt}),t.spacingAfterLeftBracketExcerpt&&(n._spacingAfterLeftBracketExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterLeftBracketExcerpt})),n._rightBracketExcerpt=new y({configuration:n.configuration,excerptKind:x.DocMemberSymbol_RightBracket,content:t.rightBracketExcerpt})),n._symbolReference=t.symbolReference,n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.MemberSymbol},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"symbolReference",{get:function(){return this._symbolReference},enumerable:!1,configurable:!0}),e.prototype.onGetChildNodes=function(){return[this._leftBracketExcerpt,this._spacingAfterLeftBracketExcerpt,this._symbolReference,this._rightBracketExcerpt]},e}(v);var To=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),wt=function(r){To(e,r);function e(t){var n=r.call(this,t)||this;return n._parameterName=t.parameterName,v.isParsedParameters(t)&&(t.spacingBeforeParameterNameExcerpt&&(n._spacingBeforeParameterNameExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingBeforeParameterNameExcerpt})),t.unsupportedJsdocTypeBeforeParameterNameExcerpt&&(n._unsupportedJsdocTypeBeforeParameterNameExcerpt=new y({configuration:n.configuration,excerptKind:x.NonstandardText,content:t.unsupportedJsdocTypeBeforeParameterNameExcerpt})),t.unsupportedJsdocOptionalNameOpenBracketExcerpt&&(n._unsupportedJsdocOptionalNameOpenBracketExcerpt=new y({configuration:n.configuration,excerptKind:x.NonstandardText,content:t.unsupportedJsdocOptionalNameOpenBracketExcerpt})),n._parameterNameExcerpt=new y({configuration:n.configuration,excerptKind:x.ParamBlock_ParameterName,content:t.parameterNameExcerpt}),t.unsupportedJsdocOptionalNameRestExcerpt&&(n._unsupportedJsdocOptionalNameRestExcerpt=new y({configuration:n.configuration,excerptKind:x.NonstandardText,content:t.unsupportedJsdocOptionalNameRestExcerpt})),t.spacingAfterParameterNameExcerpt&&(n._spacingAfterParameterNameExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterParameterNameExcerpt})),t.unsupportedJsdocTypeAfterParameterNameExcerpt&&(n._unsupportedJsdocTypeAfterParameterNameExcerpt=new y({configuration:n.configuration,excerptKind:x.NonstandardText,content:t.unsupportedJsdocTypeAfterParameterNameExcerpt})),t.hyphenExcerpt&&(n._hyphenExcerpt=new y({configuration:n.configuration,excerptKind:x.ParamBlock_Hyphen,content:t.hyphenExcerpt})),t.spacingAfterHyphenExcerpt&&(n._spacingAfterHyphenExcerpt=new y({configuration:n.configuration,excerptKind:x.Spacing,content:t.spacingAfterHyphenExcerpt})),t.unsupportedJsdocTypeAfterHyphenExcerpt&&(n._unsupportedJsdocTypeAfterHyphenExcerpt=new y({configuration:n.configuration,excerptKind:x.NonstandardText,content:t.unsupportedJsdocTypeAfterHyphenExcerpt}))),n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.ParamBlock},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parameterName",{get:function(){return this._parameterName},enumerable:!1,configurable:!0}),e.prototype.onGetChildNodes=function(){return[this.blockTag,this._spacingBeforeParameterNameExcerpt,this._unsupportedJsdocTypeBeforeParameterNameExcerpt,this._unsupportedJsdocOptionalNameOpenBracketExcerpt,this._parameterNameExcerpt,this._unsupportedJsdocOptionalNameRestExcerpt,this._spacingAfterParameterNameExcerpt,this._unsupportedJsdocTypeAfterParameterNameExcerpt,this._hyphenExcerpt,this._spacingAfterHyphenExcerpt,this._unsupportedJsdocTypeAfterHyphenExcerpt,this.content]},e}(it);var Eo=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),xe=function(r){Eo(e,r);function e(t){var n=r.call(this,t)||this;if(v.isParsedParameters(t))n._textExcerpt=new y({configuration:n.configuration,excerptKind:x.PlainText,content:t.textExcerpt});else{if(e._newlineCharacterRegExp.test(t.text))throw new Error("The DocPlainText content must not contain newline characters");n._text=t.text}return n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.PlainText},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._text===void 0&&(this._text=this._textExcerpt.content.toString()),this._text},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textExcerpt",{get:function(){if(this._textExcerpt)return this._textExcerpt.content},enumerable:!1,configurable:!0}),e.prototype.onGetChildNodes=function(){return[this._textExcerpt]},e._newlineCharacterRegExp=/[\n]/,e}(v);var ko=function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},r(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");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Zt=function(r){ko(e,r);function e(t){var n=r.call(this,t)||this;if(v.isParsedParameters(t)){var i=t;n._softBreakExcerpt=new y({configuration:n.configuration,excerptKind:x.SoftBreak,content:i.softBreakExcerpt})}return n}return Object.defineProperty(e.prototype,"kind",{get:function(){return g.SoftBreak},enumerable:!1,configurable:!0}),e.prototype.onGetChildNodes=function(){return[this._softBreakExcerpt]},e}(v);var on=function(){function r(){}return r.hasAnyTextContent=function(e,t){(t===void 0||t<1)&&(t=1);var n;e instanceof v?n=[e]:n=e;var i=r._scanTextContent(n,t,0);return i>=t},r._scanTextContent=function(e,t,n){for(var i=0,o=e;i<o.length;i++){var a=o[i];switch(a.kind){case g.FencedCode:var u=a;n+=r._countNonSpaceCharacters(u.code);break;case g.CodeSpan:var l=a;n+=r._countNonSpaceCharacters(l.code);break;case g.EscapedText:var d=a;n+=r._countNonSpaceCharacters(d.decodedText);break;case g.LinkTag:var h=a;n+=r._countNonSpaceCharacters(h.linkText||"");break;case g.PlainText:var w=a;n+=r._countNonSpaceCharacters(w.text);break}if(n>=t||(n+=r._scanTextContent(a.getChildNodes(),t,n),n>=t))break}return n},r._countNonSpaceCharacters=function(e){for(var t=0,n=e.length,i=0;i<n;){switch(e.charCodeAt(i)){case 32:case 9:case 13:case 10:break;default:++t}++i}return t},r}();var ye=function(){function r(e,t,n){this.buffer=e,this.pos=t,this.end=n,this._validateBounds()}return r.fromString=function(e){return new r(e,0,e.length)},r.fromStringRange=function(e,t,n){return new r(e,t,n)},Object.defineProperty(r.prototype,"length",{get:function(){return this.end-this.pos},enumerable:!1,configurable:!0}),r.prototype.getNewRange=function(e,t){return new r(this.buffer,e,t)},r.prototype.isEmpty=function(){return this.pos===this.end},r.prototype.toString=function(){return this.buffer.substring(this.pos,this.end)},r.prototype.getDebugDump=function(e,t){return this.buffer.substring(0,this.pos)+e+this.buffer.substring(this.pos,this.end)+t+this.buffer.substring(this.end)},r.prototype.getLocation=function(e){if(e<0||e>this.buffer.length)return{line:0,column:0};for(var t=1,n=1,i=0;i<e;){var o=this.buffer[i];++i,o!=="\r"&&(o===`
`?(++t,n=1):++n)}return{line:t,column:n}},r.prototype._validateBounds=function(){if(this.pos<0)throw new Error("TextRange.pos cannot be negative");if(this.end<0)throw new Error("TextRange.end cannot be negative");if(this.end<this.pos)throw new Error("TextRange.end cannot be smaller than TextRange.pos");if(this.pos>this.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")},r.empty=new r("",0,0),r}();var vt=function(){function r(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 r._formatMessageText=function(e,t){if(e||(e="An unknown error occurred"),t.pos!==0||t.end!==0){var n=t.getLocation(t.pos);if(n.line)return"(".concat(n.line,",").concat(n.column,"): ")+e}return e},Object.defineProperty(r.prototype,"text",{get:function(){return this._text===void 0&&(this._text=r._formatMessageText(this.unformattedText,this.textRange)),this._text},enumerable:!1,configurable:!0}),r.prototype.toString=function(){return this.text},r}();var On=function(){function r(){this._messages=[]}return Object.defineProperty(r.prototype,"messages",{get:function(){return this._messages},enumerable:!1,configurable:!0}),r.prototype.addMessage=function(e){this._messages.push(e)},r.prototype.addMessageForTextRange=function(e,t,n){this.addMessage(new vt({messageId:e,messageText:t,textRange:n}))},r.prototype.addMessageForTokenSequence=function(e,t,n,i){this.addMessage(new vt({messageId:e,messageText:t,textRange:n.getContainingTextRange(),tokenSequence:n,docNode:i}))},r.prototype.addMessageForDocErrorText=function(e){var t;e.textExcerpt?t=e.textExcerpt:t=e.errorLocation,this.addMessage(new vt({messageId:e.messageId,messageText:e.errorMessage,textRange:t.getContainingTextRange(),tokenSequence:t,docNode:e}))},r}();var qn=function(){function r(e,t){this.commentRange=ye.empty,this.lines=[],this.tokens=[],this.configuration=e,this.sourceRange=t,this.docComment=new Kt({configuration:this.configuration}),this.log=new On}return r}();var Oe=function(){function r(e){this.parserContext=e.parserContext,this._startIndex=e.startIndex,this._endIndex=e.endIndex,this._validateBounds()}return r.createEmpty=function(e){return new r({parserContext:e,startIndex:0,endIndex:0})},Object.defineProperty(r.prototype,"startIndex",{get:function(){return this._startIndex},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"endIndex",{get:function(){return this._endIndex},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"tokens",{get:function(){return this.parserContext.tokens.slice(this._startIndex,this._endIndex)},enumerable:!1,configurable:!0}),r.prototype.getNewSequence=function(e,t){return new r({parserContext:this.parserContext,startIndex:e,endIndex:t})},r.prototype.getContainingTextRange=function(){return this.isEmpty()?ye.empty:this.parserContext.sourceRange.getNewRange(this.parserContext.tokens[this._startIndex].range.pos,this.parserContext.tokens[this._endIndex-1].range.end)},r.prototype.isEmpty=function(){return this._startIndex===this._endIndex},r.prototype.toString=function(){return this.tokens.map(function(e){return e.toString()}).join("")},r.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.endIndex<this.startIndex)throw new Error("TokenSequence.endIndex cannot be smaller than TokenSequence.startIndex");if(this.startIndex>this.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")},r}();var W;(function(r){r[r.BeginComment1=0]="BeginComment1",r[r.BeginComment2=1]="BeginComment2",r[r.CollectingFirstLine=2]="CollectingFirstLine",r[r.CollectingLine=3]="CollectingLine",r[r.AdvancingLine=4]="AdvancingLine",r[r.Done=5]="Done"})(W||(W={}));var Ur=function(){function r(){}return r.extract=function(e){for(var t=e.sourceRange,n=t.buffer,i=0,o=0,a=0,u=0,l=t.pos,d=W.BeginComment1,h=[];d!==W.Done;){if(l>=t.end)switch(d){case W.BeginComment1:case W.BeginComment2:return e.log.addMessageForTextRange(j.CommentNotFound,'Expecting a "/**" comment',t),!1;default:return e.log.addMessageForTextRange(j.CommentMissingClosingDelimiter,"Unexpected end of input",t),!1}var w=n[l],E=l;++l;var M=l<t.end?n[l]:"";switch(d){case W.BeginComment1:if(w==="/"&&M==="*")i=E,++l,d=W.BeginComment2;else if(!r._whitespaceCharacterRegExp.test(w))return e.log.addMessageForTextRange(j.CommentOpeningDelimiterSyntax,'Expecting a leading "/**"',t.getNewRange(E,E+1)),!1;break;case W.BeginComment2:if(w==="*")M===" "&&++l,a=l,u=l,d=W.CollectingFirstLine;else return e.log.addMessageForTextRange(j.CommentOpeningDelimiterSyntax,'Expecting a leading "/**"',t.getNewRange(E,E+1)),!1;break;case W.CollectingFirstLine:case W.CollectingLine:w===`
`?((d!==W.CollectingFirstLine||u>a)&&h.push(t.getNewRange(a,u)),a=l,u=l,d=W.AdvancingLine):w==="*"&&M==="/"?(u>a&&h.push(t.getNewRange(a,u)),a=0,u=0,++l,o=l,d=W.Done):r._whitespaceCharacterRegExp.test(w)||(u=l);break;case W.AdvancingLine:w==="*"?M==="/"?(a=0,u=0,++l,o=l,d=W.Done):(M===" "&&++l,a=l,u=l,d=W.CollectingLine):w===`
`?(h.push(t.getNewRange(E,E)),a=l):r._whitespaceCharacterRegExp.test(w)||(u=l,d=W.CollectingLine);break}}return e.commentRange=t.getNewRange(i,o),e.lines=h,!0},r._whitespaceCharacterRegExp=/^\s$/,r}();var bt=function(){function r(){}return r.readTokens=function(e){r._ensureInitialized();for(var t=[],n=void 0,i=0,o=e;i<o.length;i++){var a=o[i];r._pushTokensForLine(t,a),n=a}return n?t.push(new Ve(p.EndOfInput,n.getNewRange(n.end,n.end),n)):t.push(new Ve(p.EndOfInput,ye.empty,ye.empty)),t},r.isPunctuation=function(e){return r._ensureInitialized(),r._punctuationTokens[e]||!1},r._pushTokensForLine=function(e,t){for(var n=t.buffer,i=t.end,o=t.pos,a=void 0,u=o;o<i;){var l=n.charCodeAt(o),d=r._charCodeMap[l];d===void 0&&(d=p.Other),a!==void 0&&d===a&&r._isMultiCharacterToken(a)||(a!==void 0&&e.push(new Ve(a,t.getNewRange(u,o),t)),u=o,a=d),++o}a!==void 0&&e.push(new Ve(a,t.getNewRange(u,o),t)),e.push(new Ve(p.Newline,t.getNewRange(t.end,t.end),t))},r._isMultiCharacterToken=function(e){switch(e){case p.Spacing:case p.AsciiWord:case p.Other:return!0}return!1},r._ensureInitialized=function(){if(!r._charCodeMap){r._charCodeMap={},r._punctuationTokens={};for(var e=r._commonMarkPunctuationCharacters,t=0;t<e.length;++t){var n=e.charCodeAt(t);r._charCodeMap[n]=p.OtherPunctuation}for(var i={"\\":p.Backslash,"<":p.LessThan,">":p.GreaterThan,"=":p.Equals,"'":p.SingleQuote,'"':p.DoubleQuote,"/":p.Slash,"-":p.Hyphen,"@":p.AtSign,"{":p.LeftCurlyBracket,"}":p.RightCurlyBracket,"`":p.Backtick,".":p.Period,":":p.Colon,",":p.Comma,"[":p.LeftSquareBracket,"]":p.RightSquareBracket,"|":p.Pipe,"(":p.LeftParenthesis,")":p.RightParenthesis,"#":p.PoundSymbol,"+":p.Plus,$:p.DollarSign},o=0,a=Object.getOwnPropertyNames(i);o<a.length;o++){var u=a[o];r._charCodeMap[u.charCodeAt(0)]=i[u],r._punctuationTokens[i[u]]=!0}r._punctuationTokens[p.OtherPunctuation]=!0;for(var l=r._wordCharacters,t=0;t<l.length;++t){var n=l.charCodeAt(t);r._charCodeMap[n]=p.AsciiWord}r._charCodeMap[" ".charCodeAt(0)]=p.Spacing,r._charCodeMap[" ".charCodeAt(0)]=p.Spacing}},r._commonMarkPunctuationCharacters="!\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~",r._wordCharacters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_",r}();var Ln=function(){function r(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 r.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 Oe({parserContext:this._parserContext,startIndex:this._accumulatedStartIndex,endIndex:this._currentIndex});return this._accumulatedStartIndex=this._currentIndex,e},r.prototype.isAccumulatedSequenceEmpty=function(){return this._accumulatedStartIndex===this._currentIndex},r.prototype.tryExtractAccumulatedSequence=function(){if(!this.isAccumulatedSequenceEmpty())return this.extractAccumulatedSequence()},r.prototype.assertAccumulatedSequenceIsEmpty=function(){if(!this.isAccumulatedSequenceEmpty()){var e=new Oe({parserContext:this._parserContext,startIndex:this._accumulatedStartIndex,endIndex:this._currentIndex}),t=e.tokens.map(function(n){return n.toString()});throw new Error(`Parser assertion failed: The queue should be empty, but it contains:
`+JSON.stringify(t))}},r.prototype.peekToken=function(){return this.tokens[this._currentIndex]},r.prototype.peekTokenKind=function(){return this._currentIndex>=this._readerEndIndex?p.EndOfInput:this.tokens[this._currentIndex].kind},r.prototype.peekTokenAfterKind=function(){return this._currentIndex+1>=this._readerEndIndex?p.EndOfInput:this.tokens[this._currentIndex+1].kind},r.prototype.peekTokenAfterAfterKind=function(){return this._currentIndex+2>=this._readerEndIndex?p.EndOfInput:this.tokens[this._currentIndex+2].kind},r.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===p.EndOfInput)throw new Error("The EndOfInput token cannot be read");return this._currentIndex++,e},r.prototype.peekPreviousTokenKind=function(){return this._currentIndex===0?p.EndOfInput:this.tokens[this._currentIndex-1].kind},r.prototype.createMarker=function(){return this._currentIndex},r.prototype.backtrackToMarker=function(e){if(e>this._currentIndex)throw new Error("The marker has expired");this._currentIndex=e,e<this._accumulatedStartIndex&&(this._accumulatedStartIndex=e)},r}();var an=function(){return an=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}return r},an.apply(this,arguments)};function Tt(r){return r!==void 0&&Object.hasOwnProperty.call(r,"failureMessage")}var Gr=function(){function r(e){this._parserContext=e,this._configuration=e.configuration,this._currentSection=e.docComment.summarySection}return r.prototype.parse=function(){for(var e=new Ln(this._parserContext),t=!1;!t;)switch(e.peekTokenKind()){case p.EndOfInput:t=!0;break;case p.Newline:this._pushAccumulatedPlainText(e),e.readToken(),this._pushNode(new Zt({parsed:!0,configuration:this._configuration,softBreakExcerpt:e.extractAccumulatedSequence()}));break;case p.Backslash:this._pushAccumulatedPlainText(e),this._pushNode(this._parseBackslashEscape(e));break;case p.AtSign:this._pushAccumulatedPlainText(e),this._parseAndPushBlock(e);break;case p.LeftCurlyBracket:{this._pushAccumulatedPlainText(e);var n=e.createMarker(),i=this._parseInlineTag(e),o=this._parserContext.docComment;if(i instanceof yt){var a=e.createMarker()-1;o.inheritDocTag===void 0?this._parserContext.docComment.inheritDocTag=i:this._pushNode(this._backtrackAndCreateErrorRange(e,n,a,j.ExtraInheritDocTag,"A doc comment cannot have more than one @inheritDoc tag"))}else this._pushNode(i);break}case p.RightCurlyBracket:this._pushAccumulatedPlainText(e),this._pushNode(this._createError(e,j.EscapeRightBrace,'The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag'));break;case p.LessThan:this._pushAccumulatedPlainText(e),e.peekTokenAfterKind()===p.Slash?this._pushNode(this._parseHtmlEndTag(e)):this._pushNode(this._parseHtmlStartTag(e));break;case p.GreaterThan:this._pushAccumulatedPlainText(e),this._pushNode(this._createError(e,j.EscapeGreaterThan,'The ">" character should be escaped using a backslash to avoid confusion with an HTML tag'));break;case p.Backtick:this._pushAccumulatedPlainText(e),e.peekTokenAfterKind()===p.Backtick&&e.peekTokenAfterAfterKind()===p.Backtick?this._pushNode(this._parseFencedCode(e)):this._pushNode(this._parseCodeSpan(e));break;default:e.readToken();break}this._pushAccumulatedPlainText(e),this._performValidationChecks()},r.prototype._performValidationChecks=function(){var e=this._parserContext.docComment;e.deprecatedBlock&&(on.hasAnyTextContent(e.deprecatedBlock)||this._parserContext.log.addMessageForTokenSequence(j.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(j.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),on.hasAnyTextContent(e.summarySection)&&this._parserContext.log.addMessageForTextRange(j.InheritDocIncompatibleSummary,"The summary section must not have any content, because that content is provided by the @inheritDoc tag",this._parserContext.commentRange))},r.prototype._validateTagDefinition=function(e,t,n,i,o){if(e){var a=e.syntaxKind===F.InlineTag;a!==n?n?this._parserContext.log.addMessageForTokenSequence(j.TagShouldNotHaveBraces,'The TSDoc tag "'.concat(t,'" is not an inline tag; it must not be enclosed in "{ }" braces'),i,o):this._parserContext.log.addMessageForTokenSequence(j.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(j.UnsupportedTag,'The TSDoc tag "'.concat(t,'" is not supported by this tool'),i,o))}else this._parserContext.configuration.validation.ignoreUndefinedTags||this._parserContext.log.addMessageForTokenSequence(j.UndefinedTag,'The TSDoc tag "'.concat(t,'" is not defined in this configuration'),i,o)},r.prototype._pushAccumulatedPlainText=function(e){e.isAccumulatedSequenceEmpty()||this._pushNode(new xe({parsed:!0,configuration:this._configuration,textExcerpt:e.extractAccumulatedSequence()}))},r.prototype._parseAndPushBlock=function(e){var t=this._parserContext.docComment,n=this._parserContext.configuration,i=t.modifierTagSet,o=this._parseBlockTag(e);if(o.kind!==g.BlockTag){this._pushNode(o);return}var a=o,u=n.tryGetTagDefinitionWithUpperCase(a.tagNameWithUpperCase);if(this._validateTagDefinition(u,a.tagName,!1,a.getTokenSequence(),a),u)switch(u.syntaxKind){case F.BlockTag:if(a.tagNameWithUpperCase===L.param.tagNameWithUpperCase){var l=this._parseParamBlock(e,a,L.param.tagName);this._parserContext.docComment.params.add(l),this._currentSection=l.content;return}else if(a.tagNameWithUpperCase===L.typeParam.tagNameWithUpperCase){var l=this._parseParamBlock(e,a,L.typeParam.tagName);this._parserContext.docComment.typeParams.add(l),this._currentSection=l.content;return}else{var d=new it({configuration:this._configuration,blockTag:a});this._addBlockToDocComment(d),this._currentSection=d.content}return;case F.ModifierTag:i.addTag(a);return}this._pushNode(a)},r.prototype._addBlockToDocComment=function(e){var t=this._parserContext.docComment;switch(e.blockTag.tagNameWithUpperCase){case L.remarks.tagNameWithUpperCase:t.remarksBlock=e;break;case L.privateRemarks.tagNameWithUpperCase:t.privateRemarks=e;break;case L.deprecated.tagNameWithUpperCase:t.deprecatedBlock=e;break;case L.returns.tagNameWithUpperCase:t.returnsBlock=e;break;case L.see.tagNameWithUpperCase:t._appendSeeBlock(e);break;default:t.appendCustomBlock(e)}},r.prototype._tryParseJSDocTypeOrValueRest=function(e,t,n,i){for(var o,a=1;a>0;){var u=e.peekTokenKind();switch(u){case t:o===void 0&&a++;break;case n:o===void 0&&a--;break;case p.Backslash:o!==void 0&&(e.readToken(),u=e.peekTokenKind());break;case p.DoubleQuote:case p.SingleQuote:case p.Backtick:o===u?o=void 0:o===void 0&&(o=u);break}if(u===p.EndOfInput){e.backtrackToMarker(i);return}e.readToken()}return e.tryExtractAccumulatedSequence()},r.prototype._tryParseUnsupportedJSDocType=function(e,t,n){if(e.assertAccumulatedSequenceIsEmpty(),!(e.peekTokenKind()!==p.LeftCurlyBracket||e.peekTokenAfterKind()===p.AtSign)){var i=e.createMarker();e.readToken();var o=this._tryParseJSDocTypeOrValueRest(e,p.LeftCurlyBracket,p.RightCurlyBracket,i);if(o){this._parserContext.log.addMessageForTokenSequence(j.ParamTagWithInvalidType,"The "+n+" 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}},r.prototype._tryParseJSDocOptionalNameRest=function(e){if(e.assertAccumulatedSequenceIsEmpty(),e.peekTokenKind()!==p.EndOfInput){var t=e.createMarker();return this._tryParseJSDocTypeOrValueRest(e,p.LeftSquareBracket,p.RightSquareBracket,t)}},r.prototype._parseParamBlock=function(e,t,n){var i=e.createMarker(),o=this._tryReadSpacingAndNewlines(e),a=this._tryParseUnsupportedJSDocType(e,t,n),u;e.peekTokenKind()===p.LeftSquareBracket&&(e.readToken(),u=e.extractAccumulatedSequence());for(var l="",d=!1;!d;)switch(e.peekTokenKind()){case p.AsciiWord:case p.Period:case p.DollarSign:l+=e.readToken();break;default:d=!0;break}var h=R.explainIfInvalidUnquotedIdentifier(l);if(h!==void 0){e.backtrackToMarker(i);var w=new wt({configuration:this._configuration,blockTag:t,parameterName:""}),E=l.length>0?"The "+n+" block should be followed by a valid parameter name: "+h:"The "+n+" block should be followed by a parameter name";return this._parserContext.log.addMessageForTokenSequence(j.ParamTagWithInvalidName,E,t.getTokenSequence(),t),w}var M=e.extractAccumulatedSequence(),I;if(u){I=this._tryParseJSDocOptionalNameRest(e);var K=u;I&&(K=t.getTokenSequence().getNewSequence(u.startIndex,I.endIndex)),this._parserContext.log.addMessageForTokenSequence(j.ParamTagWithInvalidOptionalName,"The "+n+" should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.",K,t)}var D=this._tryReadSpacingAndNewlines(e),G=this._tryParseUnsupportedJSDocType(e,t,n),ie,oe,z;return e.peekTokenKind()===p.Hyphen?(e.readToken(),ie=e.extractAccumulatedSequence(),oe=this._tryReadSpacingAndNewlines(e),z=this._tryParseUnsupportedJSDocType(e,t,n)):this._parserContext.log.addMessageForTokenSequence(j.ParamTagMissingHyphen,"The "+n+" block should be followed by a parameter name and then a hyphen",t.getTokenSequence(),t),new wt({parsed:!0,configuration:this._configuration,blockTag:t,spacingBeforeParameterNameExcerpt:o,unsupportedJsdocTypeBeforeParameterNameExcerpt:a,unsupportedJsdocOptionalNameOpenBracketExcerpt:u,parameterNameExcerpt:M,parameterName:l,unsupportedJsdocOptionalNameRestExcerpt:I,spacingAfterParameterNameExcerpt:D,unsupportedJsdocTypeAfterParameterNameExcerpt:G,hyphenExcerpt:ie,spacingAfterHyphenExcerpt:oe,unsupportedJsdocTypeAfterHyphenExcerpt:z})},r.prototype._pushNode=function(e){this._configuration.docNodeManager.isAllowedChild(g.Paragraph,e.kind)?this._currentSection.appendNodeInParagraph(e):this._currentSection.appendNode(e)},r.prototype._parseBackslashEscape=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker();if(e.readToken(),e.peekTokenKind()===p.EndOfInput)return this._backtrackAndCreateError(e,t,j.UnnecessaryBackslash,"A backslash must precede another character that is being escaped");var n=e.readToken();if(!bt.isPunctuation(n.kind))return this._backtrackAndCreateError(e,t,j.UnnecessaryBackslash,"A backslash can only be used to escape a punctuation character");var i=e.extractAccumulatedSequence();return new Ut({parsed:!0,configuration:this._configuration,escapeStyle:rn.CommonMarkBackslash,encodedTextExcerpt:i,decodedText:n.toString()})},r.prototype._parseBlockTag=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker();if(e.peekTokenKind()!==p.AtSign)return this._backtrackAndCreateError(e,t,j.MissingTag,'Expecting a TSDoc tag starting with "@"');switch(e.peekPreviousTokenKind()){case p.EndOfInput:case p.Spacing:case p.Newline:break;default:return this._backtrackAndCreateError(e,t,j.AtSignInWord,'The "@" character looks like part of a TSDoc tag; use a backslash to escape it')}var n=e.readToken().toString();if(e.peekTokenKind()!==p.AsciiWord)return this._backtrackAndCreateError(e,t,j.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()===p.AsciiWord;)n+=e.readToken().toString();switch(e.peekTokenKind()){case p.Spacing:case p.Newline:case p.EndOfInput:break;default:var o=e.peekToken().range.toString()[0];return this._backtrackAndCreateError(e,t,j.CharactersAfterBlockTag,'The token "'.concat(n,'" 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(R.explainIfInvalidTSDocTagName(n)){var a=this._createFailureForTokensSince(e,j.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 Ht({parsed:!0,configuration:this._configuration,tagName:n,tagNameExcerpt:e.extractAccumulatedSequence()})},r.prototype._parseInlineTag=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker();if(e.peekTokenKind()!==p.LeftCurlyBracket)return this._backtrackAndCreateError(e,t,j.MissingTag,'Expecting a TSDoc tag starting with "{"');e.readToken();var n=e.extractAccumulatedSequence(),i=e.createMarker();if(e.peekTokenKind()!==p.AtSign)return this._backtrackAndCreateError(e,t,j.MalformedInlineTag,'Expecting a TSDoc tag starting with "{@"');for(var o=e.readToken().toString();e.peekTokenKind()===p.AsciiWord;)o+=e.readToken().toString();if(o==="@"){var a=this._createFailureForTokensSince(e,j.MalformedInlineTag,'Expecting a TSDoc inline tag name after the "{@" characters',i);return this._backtrackAndCreateErrorRangeForFailure(e,t,i,"",a)}if(R.explainIfInvalidTSDocTagName(o)){var a=this._createFailureForTokensSince(e,j.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 u=e.extractAccumulatedSequence(),l=this._tryReadSpacingAndNewlines(e);if(l===void 0&&e.peekTokenKind()!==p.RightCurlyBracket){var d=e.peekToken().range.toString()[0],a=this._createFailureForToken(e,j.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 h=!1;!h;)switch(e.peekTokenKind()){case p.EndOfInput:return this._backtrackAndCreateErrorRange(e,t,i,j.InlineTagMissingRightBrace,'The TSDoc inline tag name is missing its closing "}"');case p.Backslash:if(e.readToken(),!bt.isPunctuation(e.peekTokenKind())){var a=this._createFailureForToken(e,j.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 p.LeftCurlyBracket:{var a=this._createFailureForToken(e,j.InlineTagUnescapedBrace,'The "{" character must be escaped with a backslash when used inside a TSDoc inline tag');return this._backtrackAndCreateErrorRangeForFailure(e,t,i,"",a)}case p.RightCurlyBracket:h=!0;break;default:e.readToken();break}var w=e.tryExtractAccumulatedSequence();e.readToken();var E=e.extractAccumulatedSequence(),M={parsed:!0,configuration:this._configuration,openingDelimiterExcerpt:n,tagNameExcerpt:u,tagName:o,spacingAfterTagNameExcerpt:l,tagContentExcerpt:w,closingDelimiterExcerpt:E},I=o.toUpperCase(),K=new Ln(this._parserContext,w||Oe.createEmpty(this._parserContext)),D;switch(I){case L.inheritDoc.tagNameWithUpperCase:D=this._parseInheritDocTag(M,K);break;case L.link.tagNameWithUpperCase:D=this._parseLinkTag(M,K);break;default:D=new ot(M)}var G=this._parserContext.configuration.tryGetTagDefinitionWithUpperCase(I);return this._validateTagDefinition(G,o,!0,u,D),D},r.prototype._parseInheritDocTag=function(e,t){var n=new ot(e),i=an({},e);if(t.peekTokenKind()!==p.EndOfInput){if(i.declarationReference=this._parseDeclarationReference(t,e.tagNameExcerpt,n),!i.declarationReference)return n;if(t.peekTokenKind()!==p.EndOfInput)return t.readToken(),this._parserContext.log.addMessageForTokenSequence(j.InheritDocTagSyntax,"Unexpected character after declaration reference",t.extractAccumulatedSequence(),n),n}return new yt(i)},r.prototype._parseLinkTag=function(e,t){var n=new ot(e),i=an({},e);if(!e.tagContentExcerpt)return this._parserContext.log.addMessageForTokenSequence(j.LinkTagEmpty,"The @link tag content is missing",i.tagNameExcerpt,n),n;for(var o=t.peekTokenKind()===p.Slash&&t.peekTokenAfterKind()===p.Slash,a=t.createMarker(),u=o;!u;)switch(t.peekTokenKind()){case p.AsciiWord:case p.Period:case p.Hyphen:case p.Plus:t.readToken();break;case p.Colon:t.readToken(),o=t.peekTokenKind()===p.Slash&&t.peekTokenAfterKind()===p.Slash,u=!0;break;default:u=!0}if(t.backtrackToMarker(a),o){if(!this._parseLinkTagUrlDestination(t,i,e.tagNameExcerpt,n))return n}else if(!this._parseLinkTagCodeDestination(t,i,e.tagNameExcerpt,n))return n;if(t.peekTokenKind()===p.Spacing)throw new Error("Unconsumed spacing encountered after construct");if(t.peekTokenKind()===p.Pipe){t.readToken(),i.pipeExcerpt=t.extractAccumulatedSequence(),i.spacingAfterPipeExcerpt=this._tryReadSpacingAndNewlines(t),u=!1;for(var l=void 0;!u;)switch(t.peekTokenKind()){case p.EndOfInput:u=!0;break;case p.Pipe:case p.LeftCurlyBracket:var d=t.readToken().toString();return this._parserContext.log.addMessageForTokenSequence(j.LinkTagUnescapedText,'The "'.concat(d,'" character may not be used in the link text without escaping it'),t.extractAccumulatedSequence(),n),n;case p.Spacing:case p.Newline:t.readToken();break;default:l=t.createMarker()+1,t.readToken()}var h=t.tryExtractAccumulatedSequence();h&&(l===void 0?i.spacingAfterLinkTextExcerpt=h:l>=h.endIndex?i.linkTextExcerpt=h:(i.linkTextExcerpt=h.getNewSequence(h.startIndex,l),i.spacingAfterLinkTextExcerpt=h.getNewSequence(l,h.endIndex)))}else if(t.peekTokenKind()!==p.EndOfInput)return t.readToken(),this._parserContext.log.addMessageForTokenSequence(j.LinkTagDestinationSyntax,"Unexpected character after link destination",t.extractAccumulatedSequence(),n),n;return new Jt(i)},r.prototype._parseLinkTagUrlDestination=function(e,t,n,i){for(var o="",a=!1;!a;)switch(e.peekTokenKind()){case p.Spacing:case p.Newline:case p.EndOfInput:case p.Pipe:case p.RightCurlyBracket:a=!0;break;default:o+=e.readToken();break}if(o.length===0)throw new Error("Missing URL in _parseLinkTagUrlDestination()");var u=e.extractAccumulatedSequence(),l=R.explainIfInvalidLinkUrl(o);return l?(this._parserContext.log.addMessageForTokenSequence(j.LinkTagInvalidUrl,l,u,i),!1):(t.urlDestinationExcerpt=u,t.spacingAfterDestinationExcerpt=this._tryReadSpacingAndNewlines(e),!0)},r.prototype._parseLinkTagCodeDestination=function(e,t,n,i){return t.codeDestination=this._parseDeclarationReference(e,n,i),!!t.codeDestination},r.prototype._parseDeclarationReference=function(e,t,n){e.assertAccumulatedSequenceIsEmpty();for(var i=e.createMarker(),o=!1,a=!0,u=!1,l=!1;!l;)switch(e.peekTokenKind()){case p.DoubleQuote:case p.EndOfInput:case p.LeftCurlyBracket:case p.LeftParenthesis:case p.LeftSquareBracket:case p.Newline:case p.Pipe:case p.RightCurlyBracket:case p.RightParenthesis:case p.RightSquareBracket:case p.SingleQuote:case p.Spacing:l=!0;break;case p.PoundSymbol:o=!0,l=!0;break;case p.Slash:case p.AtSign:a&&(u=!0),e.readToken();break;case p.AsciiWord:case p.Period:case p.Hyphen:e.readToken();break;default:a=!1,e.readToken()}if(!o&&u){this._parserContext.log.addMessageForTokenSequence(j.ReferenceMissingHash,'The declaration reference appears to contain a package name or import path, but it is missing the "#" delimiter',e.extractAccumulatedSequence(),n);return}e.backtrackToMarker(i);var d,h,w,E;if(o){if(e.peekTokenKind()!==p.Period){var M=e.peekTokenKind()===p.AtSign,I=!1;for(l=!1;!l;)switch(e.peekTokenKind()){case p.EndOfInput:throw new Error("Expecting pound symbol");case p.Slash:M&&!I?(e.readToken(),I=!0):l=!0;break;case p.PoundSymbol:l=!0;break;default:e.readToken()}if(!e.isAccumulatedSequenceEmpty()){d=e.extractAccumulatedSequence();var K=R.explainIfInvalidPackageName(d.toString());if(K){this._parserContext.log.addMessageForTokenSequence(j.ReferenceMalformedPackageName,K,d,n);return}}}for(l=!1;!l;)switch(e.peekTokenKind()){case p.EndOfInput:throw new Error("Expecting pound symbol");case p.PoundSymbol:l=!0;break;default:e.readToken()}if(!e.isAccumulatedSequenceEmpty()){h=e.extractAccumulatedSequence();var K=R.explainIfInvalidImportPath(h.toString(),!!d);if(K){this._parserContext.log.addMessageForTokenSequence(j.ReferenceMalformedImportPath,K,h,n);return}}if(e.peekTokenKind()!==p.PoundSymbol)throw new Error("Expecting pound symbol");if(e.readToken(),w=e.extractAccumulatedSequence(),E=this._tryReadSpacingAndNewlines(e),d===void 0&&h===void 0){this._parserContext.log.addMessageForTokenSequence(j.ReferenceHashSyntax,"The hash character must be preceded by a package name or import path",w,n);return}}var D=[];for(l=!1;!l;)switch(e.peekTokenKind()){case p.Period:case p.LeftParenthesis:case p.AsciiWord:case p.Colon:case p.LeftSquareBracket:case p.DoubleQuote:var G=D.length>0,ie=this._parseMemberReference(e,G,t,n);if(!ie)return;D.push(ie);break;default:l=!0}if(d===void 0&&h===void 0&&D.length===0){this._parserContext.log.addMessageForTokenSequence(j.MissingReference,"Expecting a declaration reference",t,n);return}return new Yt({parsed:!0,configuration:this._configuration,packageNameExcerpt:d,importPathExcerpt:h,importHashExcerpt:w,spacingAfterImportHashExcerpt:E,memberReferences:D})},r.prototype._parseMemberReference=function(e,t,n,i){var o={parsed:!0,configuration:this._configuration};if(t){if(e.peekTokenKind()!==p.Period){this._parserContext.log.addMessageForTokenSequence(j.ReferenceMissingDot,"Expecting a period before the next component of a declaration reference",n,i);return}e.readToken(),o.dotExcerpt=e.extractAccumulatedSequence(),o.spacingAfterDotExcerpt=this._tryReadSpacingAndNewlines(e)}if(e.peekTokenKind()===p.LeftParenthesis&&(e.readToken(),o.leftParenthesisExcerpt=e.extractAccumulatedSequence(),o.spacingAfterLeftParenthesisExcerpt=this._tryReadSpacingAndNewlines(e)),e.peekTokenKind()===p.LeftSquareBracket){if(o.memberSymbol=this._parseMemberSymbol(e,i),!o.memberSymbol)return}else if(o.memberIdentifier=this._parseMemberIdentifier(e,n,i),!o.memberIdentifier)return;if(o.spacingAfterMemberExcerpt=this._tryReadSpacingAndNewlines(e),e.peekTokenKind()===p.Colon){if(e.readToken(),o.colonExcerpt=e.extractAccumulatedSequence(),o.spacingAfterColonExcerpt=this._tryReadSpacingAndNewlines(e),!o.leftParenthesisExcerpt){this._parserContext.log.addMessageForTokenSequence(j.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(j.ReferenceMissingColon,"Expecting a colon after the identifier because the expression is in parentheses",o.leftParenthesisExcerpt,i);return}if(o.leftParenthesisExcerpt){if(e.peekTokenKind()!==p.RightParenthesis){this._parserContext.log.addMessageForTokenSequence(j.ReferenceMissingRightParen,"Expecting a matching right parenthesis",o.leftParenthesisExcerpt,i);return}e.readToken(),o.rightParenthesisExcerpt=e.extractAccumulatedSequence(),o.spacingAfterRightParenthesisExcerpt=this._tryReadSpacingAndNewlines(e)}return new Wt(o)},r.prototype._parseMemberSymbol=function(e,t){if(e.peekTokenKind()!==p.LeftSquareBracket)throw new Error('Expecting "["');e.readToken();var n=e.extractAccumulatedSequence(),i=this._tryReadSpacingAndNewlines(e),o=this._parseDeclarationReference(e,n,t);if(!o){this._parserContext.log.addMessageForTokenSequence(j.ReferenceSymbolSyntax,"Missing declaration reference in symbol reference",n,t);return}if(e.peekTokenKind()!==p.RightSquareBracket){this._parserContext.log.addMessageForTokenSequence(j.ReferenceMissingRightBracket,"Missing closing square bracket for symbol reference",n,t);return}e.readToken();var a=e.extractAccumulatedSequence();return new Xt({parsed:!0,configuration:this._configuration,leftBracketExcerpt:n,spacingAfterLeftBracketExcerpt:i,symbolReference:o,rightBracketExcerpt:a})},r.prototype._parseMemberIdentifier=function(e,t,n){var i=void 0,o=void 0;if(e.peekTokenKind()===p.DoubleQuote){for(e.readToken(),i=e.extractAccumulatedSequence();e.peekTokenKind()!==p.DoubleQuote;){if(e.peekTokenKind()===p.EndOfInput){this._parserContext.log.addMessageForTokenSequence(j.ReferenceMissingQuote,"Unexpected end of input inside quoted member identifier",i,n);return}e.readToken()}if(e.isAccumulatedSequenceEmpty()){this._parserContext.log.addMessageForTokenSequence(j.ReferenceEmptyIdentifier,"The quoted identifier cannot be empty",i,n);return}var a=e.extractAccumulatedSequence();return e.readToken(),o=e.extractAccumulatedSequence(),new jt({parsed:!0,configuration:this._configuration,leftQuoteExcerpt:i,identifierExcerpt:a,rightQuoteExcerpt:o})}else{for(var u=!1;!u;)switch(e.peekTokenKind()){case p.AsciiWord:case p.DollarSign:e.readToken();break;default:u=!0;break}if(e.isAccumulatedSequenceEmpty()){this._parserContext.log.addMessageForTokenSequence(j.ReferenceMissingIdentifier,"Syntax error in declaration reference: expecting a member identifier",t,n);return}var a=e.extractAccumulatedSequence(),l=a.toString(),d=R.explainIfInvalidUnquotedMemberIdentifier(l);if(d){this._parserContext.log.addMessageForTokenSequence(j.ReferenceUnquotedIdentifier,d,a,n);return}return new jt({parsed:!0,configuration:this._configuration,leftQuoteExcerpt:i,identifierExcerpt:a,rightQuoteExcerpt:o})}},r.prototype._parseMemberSelector=function(e,t,n){e.peekTokenKind()!==p.AsciiWord&&this._parserContext.log.addMessageForTokenSequence(j.ReferenceMissingLabel,"Expecting a selector label after the colon",t,n);var i=e.readToken().toString(),o=e.extractAccumulatedSequence(),a=new Qt({parsed:!0,configuration:this._configuration,selectorExcerpt:o,selector:i});if(a.errorMessage){this._parserContext.log.addMessageForTokenSequence(j.ReferenceSelectorSyntax,a.errorMessage,o,n);return}return a},r.prototype._parseHtmlStartTag=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker(),n=e.readToken();if(n.kind!==p.LessThan)throw new Error('Expecting an HTML tag starting with "<"');var i=e.extractAccumulatedSequence(),o=this._parseHtmlName(e);if(Tt(o))return this._backtrackAndCreateErrorForFailure(e,t,"Invalid HTML element: ",o);for(var a=this._tryReadSpacingAndNewlines(e),u=[];e.peekTokenKind()===p.AsciiWord;){var l=this._parseHtmlAttribute(e);if(Tt(l))return this._backtrackAndCreateErrorForFailure(e,t,"The HTML element has an invalid attribute: ",l);u.push(l)}e.assertAccumulatedSequenceIsEmpty();var d=e.createMarker(),h=!1;if(e.peekTokenKind()===p.Slash&&(e.readToken(),h=!0),e.peekTokenKind()!==p.GreaterThan){var w=this._createFailureForTokensSince(e,j.HtmlTagMissingGreaterThan,'Expecting an attribute or ">" or "/>"',d);return this._backtrackAndCreateErrorForFailure(e,t,"The HTML tag has invalid syntax: ",w)}e.readToken();var E=e.extractAccumulatedSequence();return new zt({parsed:!0,configuration:this._configuration,openingDelimiterExcerpt:i,nameExcerpt:o,spacingAfterNameExcerpt:a,htmlAttributes:u,selfClosingTag:h,closingDelimiterExcerpt:E})},r.prototype._parseHtmlAttribute=function(e){e.assertAccumulatedSequenceIsEmpty();var t=this._parseHtmlName(e);if(Tt(t))return t;var n=this._tryReadSpacingAndNewlines(e);if(e.peekTokenKind()!==p.Equals)return this._createFailureForToken(e,j.HtmlTagMissingEquals,'Expecting "=" after HTML attribute name');e.readToken();var i=e.extractAccumulatedSequence(),o=this._tryReadSpacingAndNewlines(e),a=this._parseHtmlString(e);if(Tt(a))return a;var u=e.extractAccumulatedSequence(),l=this._tryReadSpacingAndNewlines(e);return new Rt({parsed:!0,configuration:this._configuration,nameExcerpt:t,spacingAfterNameExcerpt:n,equalsExcerpt:i,spacingAfterEqualsExcerpt:o,valueExcerpt:u,spacingAfterValueExcerpt:l})},r.prototype._parseHtmlString=function(e){var t=e.createMarker(),n=e.peekTokenKind();if(n!==p.DoubleQuote&&n!==p.SingleQuote)return this._createFailureForToken(e,j.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===n){e.readToken();break}if(o===p.EndOfInput||o===p.Newline)return this._createFailureForToken(e,j.HtmlStringMissingQuote,"The HTML string is missing its closing quote",t);i+=e.readToken().toString()}return e.peekTokenKind()===p.AsciiWord?this._createFailureForToken(e,j.TextAfterHtmlString,"The next character after a closing quote must be spacing or punctuation"):i},r.prototype._parseHtmlEndTag=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker(),n=e.peekToken();if(n.kind!==p.LessThan)return this._backtrackAndCreateError(e,t,j.MissingHtmlEndTag,'Expecting an HTML tag starting with "</"');e.readToken();var i=e.peekToken();if(i.kind!==p.Slash)return this._backtrackAndCreateError(e,t,j.MissingHtmlEndTag,'Expecting an HTML tag starting with "</"');e.readToken();var o=e.extractAccumulatedSequence(),a=this._parseHtmlName(e);if(Tt(a))return this._backtrackAndCreateErrorForFailure(e,t,"Expecting an HTML element name: ",a);var u=this._tryReadSpacingAndNewlines(e);if(e.peekTokenKind()!==p.GreaterThan){var l=this._createFailureForToken(e,j.HtmlTagMissingGreaterThan,'Expecting a closing ">" for the HTML tag');return this._backtrackAndCreateErrorForFailure(e,t,"",l)}e.readToken();var d=e.extractAccumulatedSequence();return new Vt({parsed:!0,configuration:this._configuration,openingDelimiterExcerpt:o,nameExcerpt:a,spacingAfterNameExcerpt:u,closingDelimiterExcerpt:d})},r.prototype._parseHtmlName=function(e){var t=e.createMarker();if(e.peekTokenKind()===p.Spacing)return this._createFailureForTokensSince(e,j.MalformedHtmlName,"A space is not allowed here",t);for(var n=!1;!n;)switch(e.peekTokenKind()){case p.Hyphen:case p.Period:case p.AsciiWord:e.readToken();break;default:n=!0;break}var i=e.tryExtractAccumulatedSequence();if(!i)return this._createFailureForToken(e,j.MalformedHtmlName,"Expecting an HTML name");var o=i.toString(),a=R.explainIfInvalidHtmlName(o);return a?this._createFailureForTokensSince(e,j.MalformedHtmlName,a,t):this._configuration.validation.reportUnsupportedHtmlElements&&!this._configuration.isHtmlElementSupported(o)?this._createFailureForToken(e,j.UnsupportedHtmlElementName,"The HTML element name ".concat(JSON.stringify(o)," is not defined by your TSDoc configuration"),t):i},r.prototype._parseFencedCode=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker(),n=t+2;switch(e.peekPreviousTokenKind()){case p.Newline:case p.EndOfInput:break;default:return this._backtrackAndCreateErrorRange(e,t,n,j.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()===p.Spacing;)e.readToken();for(var a=e.tryExtractAccumulatedSequence(),u=!1,l=void 0;!u;)switch(e.peekTokenKind()){case p.Spacing:case p.Newline:l===void 0&&(l=e.createMarker()),e.peekTokenKind()===p.Newline&&(u=!0),e.readToken();break;case p.Backtick:var d=this._createFailureForToken(e,j.CodeFenceSpecifierSyntax,"The language specifier cannot contain backtick characters");return this._backtrackAndCreateErrorRangeForFailure(e,t,n,"Error parsing code fence: ",d);case p.EndOfInput:var h=this._createFailureForToken(e,j.CodeFenceMissingDelimiter,"Missing closing delimiter");return this._backtrackAndCreateErrorRangeForFailure(e,t,n,"Error parsing code fence: ",h);default:l=void 0,e.readToken();break}var w=e.extractAccumulatedSequence(),E=w.getNewSequence(w.startIndex,l),M=w.getNewSequence(l,w.endIndex),I=-1,K=-1;u=!1;for(var D;!u;)switch(e.peekTokenKind()){case p.EndOfInput:var h=this._createFailureForToken(e,j.CodeFenceMissingDelimiter,"Missing closing delimiter");return this._backtrackAndCreateErrorRangeForFailure(e,t,n,"Error parsing code fence: ",h);case p.Newline:for(D=e.readToken(),I=e.createMarker();e.peekTokenKind()===p.Spacing;)D=e.readToken();if(e.peekTokenKind()!==p.Backtick||(K=e.createMarker(),e.readToken(),e.peekTokenKind()!==p.Backtick)||(e.readToken(),e.peekTokenKind()!==p.Backtick))break;e.readToken(),u=!0;break;default:e.readToken();break}D.kind!==p.Newline&&this._parserContext.log.addMessageForTextRange(j.CodeFenceClosingIndent,"The closing delimiter for a code fence must not be indented",D.range);var G=e.extractAccumulatedSequence(),ie=G.getNewSequence(G.startIndex,I),oe=G.getNewSequence(I,K),z=G.getNewSequence(K,G.endIndex);for(u=!1;!u;)switch(e.peekTokenKind()){case p.Spacing:e.readToken();break;case p.Newline:u=!0,e.readToken();break;case p.EndOfInput:u=!0;break;default:this._parserContext.log.addMessageForTextRange(j.CodeFenceClosingSyntax,"Unexpected characters after closing delimiter for code fence",e.peekToken().range),u=!0;break}var Ke=e.tryExtractAccumulatedSequence();return new Gt({parsed:!0,configuration:this._configuration,openingFenceExcerpt:o,spacingAfterOpeningFenceExcerpt:a,languageExcerpt:E,spacingAfterLanguageExcerpt:M,codeExcerpt:ie,spacingBeforeClosingFenceExcerpt:oe,closingFenceExcerpt:z,spacingAfterClosingFenceExcerpt:Ke})},r.prototype._parseCodeSpan=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker();if(e.peekTokenKind()!==p.Backtick)throw new Error('Expecting a code span starting with a backtick character "`"');e.readToken();for(var n=e.extractAccumulatedSequence(),i=void 0,o=void 0;;){var a=e.peekTokenKind();if(a===p.Backtick){if(e.isAccumulatedSequenceEmpty())return this._backtrackAndCreateErrorRange(e,t,t+1,j.CodeSpanEmpty,"A code span must contain at least one character between the backticks");i=e.extractAccumulatedSequence(),e.readToken(),o=e.extractAccumulatedSequence();break}if(a===p.EndOfInput||a===p.Newline)return this._backtrackAndCreateError(e,t,j.CodeSpanMissingDelimiter,"The code span is missing its closing backtick");e.readToken()}return new $t({parsed:!0,configuration:this._configuration,openingDelimiterExcerpt:n,codeExcerpt:i,closingDelimiterExcerpt:o})},r.prototype._tryReadSpacingAndNewlines=function(e){var t=!1;do switch(e.peekTokenKind()){case p.Spacing:case p.Newline:e.readToken();break;default:t=!0;break}while(!t);return e.tryExtractAccumulatedSequence()},r.prototype._createError=function(e,t,n){e.readToken();var i=e.extractAccumulatedSequence(),o=new Re({parsed:!0,configuration:this._configuration,textExcerpt:i,messageId:t,errorMessage:n,errorLocation:i});return this._parserContext.log.addMessageForDocErrorText(o),o},r.prototype._backtrackAndCreateError=function(e,t,n,i){return e.backtrackToMarker(t),this._createError(e,n,i)},r.prototype._backtrackAndCreateErrorRange=function(e,t,n,i,o){for(e.backtrackToMarker(t);e.createMarker()!==n;)e.readToken();e.peekTokenKind()!==p.EndOfInput&&e.readToken();var a=e.extractAccumulatedSequence(),u=new Re({parsed:!0,configuration:this._configuration,textExcerpt:a,messageId:i,errorMessage:o,errorLocation:a});return this._parserContext.log.addMessageForDocErrorText(u),u},r.prototype._backtrackAndCreateErrorForFailure=function(e,t,n,i){e.backtrackToMarker(t),e.readToken();var o=e.extractAccumulatedSequence(),a=new Re({parsed:!0,configuration:this._configuration,textExcerpt:o,messageId:i.failureMessageId,errorMessage:n+i.failureMessage,errorLocation:i.failureLocation});return this._parserContext.log.addMessageForDocErrorText(a),a},r.prototype._backtrackAndCreateErrorRangeForFailure=function(e,t,n,i,o){for(e.backtrackToMarker(t);e.createMarker()!==n;)e.readToken();e.peekTokenKind()!==p.EndOfInput&&e.readToken();var a=e.extractAccumulatedSequence(),u=new Re({parsed:!0,configuration:this._configuration,textExcerpt:a,messageId:o.failureMessageId,errorMessage:i+o.failureMessage,errorLocation:o.failureLocation});return this._parserContext.log.addMessageForDocErrorText(u),u},r.prototype._createFailureForToken=function(e,t,n,i){i||(i=e.createMarker());var o=new Oe({parserContext:this._parserContext,startIndex:i,endIndex:i+1});return{failureMessageId:t,failureMessage:n,failureLocation:o}},r.prototype._createFailureForTokensSince=function(e,t,n,i){var o=e.createMarker();if(o<i)throw new Error("Invalid startMarker");o===i&&++o;var a=new Oe({parserContext:this._parserContext,startIndex:i,endIndex:o});return{failureMessageId:t,failureMessage:n,failureLocation:a}},r}();var Rr=function(){function r(){}return r.splitParagraphs=function(e){if(e instanceof Be)r.splitParagraphsForSection(e);else for(var t=0,n=e.getChildNodes();t<n.length;t++){var i=n[t];r.splitParagraphs(i)}},r.splitParagraphsForSection=function(e){for(var t=e.nodes,n=[],i=0,o=t;i<o.length;i++){var a=o[i];a.kind===g.Paragraph?r._splitParagraph(a,n):n.push(a)}e.clearNodes(),e.appendNodes(n)},r._splitParagraph=function(e,t){var n=e.nodes,i=new ke({configuration:e.configuration});t.push(i);var o;(function(E){E[E.Start=0]="Start",E[E.AwaitingTrailer=1]="AwaitingTrailer",E[E.ReadingTrailer=2]="ReadingTrailer"})(o||(o={}));for(var a=o.Start,u=0;u<n.length;){var l=!0,d=u;do{var h=n[d++];if(h.kind===g.SoftBreak)break;l&&(this._isWhitespace(h)||(l=!1))}while(d<n.length);switch(a){case o.Start:l||(a=o.AwaitingTrailer);break;case o.AwaitingTrailer:l&&(a=o.ReadingTrailer);break;case o.ReadingTrailer:l||(i=new ke({configuration:e.configuration}),t.push(i),a=o.AwaitingTrailer);break}for(var w=u;w<d;++w)i.appendNode(n[w]);u=d}},r._isWhitespace=function(e){switch(e.kind){case g.PlainText:var t=e;return r._whitespaceRegExp.test(t.text);default:return!1}},r._whitespaceRegExp=/^\s*$/,r}();var Hn=function(){function r(e){e?this.configuration=e:this.configuration=new Nn}return r.prototype.parseString=function(e){return this.parseRange(ye.fromString(e))},r.prototype.parseRange=function(e){var t=new qn(this.configuration,e);if(Ur.extract(t)){t.tokens=bt.readTokens(t.lines);var n=new Gr(t);n.parse(),Rr.splitParagraphs(t.docComment)}return t},r}();var Vr=U(require("obsidian")),$n=class extends Vr.TFile{constructor(e){super(e.vault,e.path);Object.assign(this,e)}},Kn=class{constructor(e,t){this.name=e,this.description=t}};var re=U(require("obsidian"));function qe(r){return new Promise(e=>setTimeout(e,r))}function zr(){return/(<%(?:-|_)?\s*[*~]{0,1})\+((?:.|\s)*?%>)/g}function Yn(r,e){e=(0,re.normalizePath)(e);let t=r.vault.getAbstractFileByPath(e);if(!t)throw new b(`Folder "${e}" doesn't exist`);if(!(t instanceof re.TFolder))throw new b(`${e} is a file, not a folder`);return t}function De(r,e){e=(0,re.normalizePath)(e);let t=r.vault.getAbstractFileByPath(e);if(!t)throw new b(`File "${e}" doesn't exist`);if(!(t instanceof re.TFile))throw new b(`${e} is a folder, not a file`);return t}function je(r,e){let t=Yn(r,e),n=[];return re.Vault.recurseChildren(t,i=>{i instanceof re.TFile&&n.push(i)}),n.sort((i,o)=>i.path.localeCompare(o.path)),n}async function Jr(r,e){return await Promise.all(e.map(async n=>{let i=await r.vault.cachedRead(n);return So(n,i)}))}function So(r,e){let n=new Hn().parseString(e),i=new $n(r);return i.description=Co(n.docComment.summarySection),i.returns=Do(n.docComment.returnsBlock),i.arguments=Po(n.docComment.params),i}function Co(r){try{return r.nodes.map(t=>t.getChildNodes().filter(n=>n instanceof xe).map(n=>n.text).join(`
`)).join(`
`)}catch{console.error("Failed to parse summary section")}}function Do(r){if(!r)return"";try{return r.content.nodes[0].getChildNodes()[0].text.trim()}catch{return""}}function Po(r){try{return r.blocks.map(n=>{let i=n.parameterName,o=n.content.getChildNodes()[0].getChildNodes().filter(a=>a instanceof xe).map(a=>a.text).join(" ");return new Kn(i,o)})}catch{return[]}}function ze(r,e,t){if(t<0||t===r.length)return;let n=r[e];r[e]=r[t],r[t]=n}function Le(r){return r.workspace.activeEditor?.file??r.workspace.getActiveFile()}function sn(r){let e=r.lastIndexOf("/");return e!==-1?r.slice(0,e):""}function Et(r){return r!==null&&typeof r=="object"}function Wr(r){let e=r.toString(),t=e.indexOf("(");return e.substring(t+1,e.indexOf(")")).replace(/ /g,"").split(",")}function Un(r,e,t){let n=r instanceof HTMLOListElement?"li":"p",i=r.createEl(n),o=r.createEl("b",{text:e});return i.appendChild(o),i.appendChild(document.createTextNode(`: ${t}`)),i}function cn(r,e){if(Object.keys(e).length!==0){for(let t in e)if(e.hasOwnProperty(t))if(r.hasOwnProperty(t)){let n=r[t],i=e[t];if(Array.isArray(n)||Array.isArray(i)){let o=Array.isArray(n)?n:[n],a=Array.isArray(i)?i:[i];r[t]=o.concat(a).unique()}else Et(n)&&Et(i)?cn(n,i):i!=null&&i!==""&&(r[t]=i)}else r[t]=e[t]}}function kt(r){let e={},t=(0,re.getFrontMatterInfo)(r);return t.frontmatter&&(e=(0,re.parseYaml)(t.frontmatter)),{frontmatter:e,content:r.slice(t.contentStart)}}var ln=U(require("obsidian"));var me;(function(t){t[t.TemplateFiles=0]="TemplateFiles",t[t.ScriptFiles=1]="ScriptFiles"})(me||(me={}));var ct=class extends ln.AbstractInputSuggest{constructor(e,t,n){super(t.app,e);this.inputEl=e;this.plugin=t;this.mode=n}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 n=[],i=e.toLowerCase();return t.forEach(o=>{o instanceof ln.TFile&&o.extension==="md"&&o.path.toLowerCase().includes(i)&&n.push(o)}),n.slice(0,1e3)}renderSuggestion(e,t){t.setText(e.path)}selectSuggestion(e){this.setValue(e.path),this.inputEl.trigger("input"),this.close()}};var un=U(require("obsidian")),St=class extends un.AbstractInputSuggest{constructor(e,t){super(e,t);this.inputEl=t}getSuggestions(e){let t=this.app.vault.getAllLoadedFiles(),n=[],i=e.toLowerCase();return t.forEach(o=>{o instanceof un.TFolder&&o.path.toLowerCase().includes(i)&&n.push(o)}),n.slice(0,1e3)}renderSuggestion(e,t){t.setText(e.path)}selectSuggestion(e){this.setValue(e.path),this.inputEl.trigger("input"),this.close()}};var Pe;(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"})(Pe||(Pe={}));function Qr(r){return isBoolean(r)?r:[1,3].includes(r)}function Xr(r){return isBoolean(r)?r:[1,2].includes(r)}function Zr(r){return isBoolean(r)?r:r!=0}var ei={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:Pe.RenderDescriptionParameterReturn},Gn=class extends N.PluginSettingTab{constructor(e){super(e.app,e);this.plugin=e;this.icon="templater-icon"}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 N.Setting(this.containerEl).setName("Template folder location").setDesc("Files in this folder will be available as templates.").addSearch(e=>{new St(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 N.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 N.Setting(this.containerEl).setName("Syntax highlighting on desktop").setDesc(e).addToggle(n=>{n.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 N.Setting(this.containerEl).setName("Syntax highlighting on mobile").setDesc(t).addToggle(n=>{n.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 N.Setting(this.containerEl).setName("Automatic jump to cursor").setDesc(e).addToggle(t=>{t.setValue(this.plugin.settings.auto_jump_to_cursor).onChange(n=>{this.plugin.settings.auto_jump_to_cursor=n,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 N.Setting(this.containerEl).setName("Trigger Templater on new file creation").setDesc(e).addToggle(t=>{t.setValue(this.plugin.settings.trigger_on_file_creation).onChange(n=>{this.plugin.settings.trigger_on_file_creation=n,this.plugin.save_settings(),this.plugin.event_handler.update_trigger_file_on_creation(),this.display()})})}add_templates_hotkeys_setting(){new N.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 N.Setting(this.containerEl).setDesc(e),this.plugin.settings.enabled_templates_hotkeys.forEach((t,n)=>{new N.Setting(this.containerEl).addSearch(o=>{new ct(o.inputEl,this.plugin,me.TemplateFiles),o.setPlaceholder("Example: folder1/template_file").setValue(t).onChange(a=>{if(a&&this.plugin.settings.enabled_templates_hotkeys.contains(a)){V(new b("This template is already bound to a hotkey"));return}this.plugin.command_handler.add_template_hotkey(this.plugin.settings.enabled_templates_hotkeys[n],a),this.plugin.settings.enabled_templates_hotkeys[n]=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(()=>{ze(this.plugin.settings.enabled_templates_hotkeys,n,n-1),this.plugin.save_settings(),this.display()})}).addExtraButton(o=>{o.setIcon("down-chevron-glyph").setTooltip("Move down").onClick(()=>{ze(this.plugin.settings.enabled_templates_hotkeys,n,n+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[n]),this.plugin.settings.enabled_templates_hotkeys.splice(n,1),this.plugin.save_settings(),this.display()})}).infoEl.remove()}),new N.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 N.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 N.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 N.Setting(this.containerEl).setName("Enable folder templates").setDesc(t).addToggle(n=>{n.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((n,i)=>{new N.Setting(this.containerEl).addSearch(a=>{new St(this.app,a.inputEl),a.setPlaceholder("Folder").setValue(n.folder).onChange(u=>{if(u&&this.plugin.settings.folder_templates.some(l=>l.folder==u)){V(new b("This folder already has a template associated with it"));return}this.plugin.settings.folder_templates[i].folder=u,this.plugin.save_settings()}),a.containerEl.addClass("templater_search")}).addSearch(a=>{new ct(a.inputEl,this.plugin,me.TemplateFiles),a.setPlaceholder("Template").setValue(n.template).onChange(u=>{this.plugin.settings.folder_templates[i].template=u,this.plugin.save_settings()}),a.containerEl.addClass("templater_search")}).addExtraButton(a=>{a.setIcon("up-chevron-glyph").setTooltip("Move up").onClick(()=>{ze(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(()=>{ze(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 N.Setting(this.containerEl).addButton(n=>{n.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 N.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 N.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 N.Setting(this.containerEl).setName("Enable file regex templates").setDesc(t).addToggle(n=>{n.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((n,i)=>{new N.Setting(this.containerEl).addText(a=>{a.setPlaceholder("File regex").setValue(n.regex).onChange(u=>{this.plugin.settings.file_templates[i].regex=u,this.plugin.save_settings()}),a.inputEl.addClass("templater_search")}).addSearch(a=>{new ct(a.inputEl,this.plugin,me.TemplateFiles),a.setPlaceholder("Template").setValue(n.template).onChange(u=>{this.plugin.settings.file_templates[i].template=u,this.plugin.save_settings()}),a.containerEl.addClass("templater_search")}).addExtraButton(a=>{a.setIcon("up-chevron-glyph").setTooltip("Move up").onClick(()=>{ze(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(()=>{ze(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 N.Setting(this.containerEl).addButton(n=>{n.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 N.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 N.Setting(this.containerEl).setDesc(e),this.plugin.settings.startup_templates.forEach((t,n)=>{new N.Setting(this.containerEl).addSearch(o=>{new ct(o.inputEl,this.plugin,me.TemplateFiles),o.setPlaceholder("Example: folder1/template_file").setValue(t).onChange(a=>{if(a&&this.plugin.settings.startup_templates.contains(a)){V(new b("This startup template already exist"));return}this.plugin.settings.startup_templates[n]=a,this.plugin.save_settings()}),o.containerEl.addClass("templater_search")}).addExtraButton(o=>{o.setIcon("cross").setTooltip("Delete").onClick(()=>{this.plugin.settings.startup_templates.splice(n,1),this.plugin.save_settings(),this.display()})}).infoEl.remove()}),new N.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 N.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 N.Setting(this.containerEl).setName("Script files folder location").setDesc(e).addSearch(n=>{new St(this.app,n.inputEl),n.setPlaceholder("Example: folder1/folder2").setValue(this.plugin.settings.user_scripts_folder).onChange(i=>{this.plugin.settings.user_scripts_folder=i,this.plugin.save_settings()}),n.containerEl.addClass("templater_search")}),new N.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(n=>{n.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 n=ce(()=>je(this.app,this.plugin.settings.user_scripts_folder),"User scripts folder doesn't exist");if(!n||n.length===0)t="No user scripts detected";else{let i=0;for(let o of n)o.extension==="js"&&(i++,e.append(e.createEl("li",{text:`tp.user.${o.basename}`})));t=`Detected ${i} User Script(s)`}}new N.Setting(this.containerEl).setName(t).setDesc(e).addExtraButton(n=>{n.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 N.Setting(this.containerEl).setName("User system command functions").setHeading(),new N.Setting(this.containerEl).setName("Enable user system command functions").setDesc(e).addToggle(t=>{t.setValue(this.plugin.settings.enable_system_commands).onChange(n=>{this.plugin.settings.enable_system_commands=n,this.plugin.save_settings(),this.display()})}),this.plugin.settings.enable_system_commands){new N.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 u=Number(a);if(isNaN(u)){V(new b("Timeout must be a number"));return}this.plugin.settings.command_timeout=u,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 N.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 u=this.containerEl.createEl("h4",{text:"User function n\xB0"+t});u.addClass("templater_title"),new N.Setting(this.containerEl).addExtraButton(d=>{d.setIcon("cross").setTooltip("Delete").onClick(()=>{let h=this.plugin.settings.templates_pairs.indexOf(o);h>-1&&(this.plugin.settings.templates_pairs.splice(h,1),this.plugin.save_settings(),this.display())})}).addText(d=>{let h=d.setPlaceholder("Function name").setValue(o[0]).onChange(w=>{let E=this.plugin.settings.templates_pairs.indexOf(o);E>-1&&(this.plugin.settings.templates_pairs[E][0]=w,this.plugin.save_settings())});return h.inputEl.addClass("templater_template"),h}).addTextArea(d=>{let h=d.setPlaceholder("System command").setValue(o[1]).onChange(w=>{let E=this.plugin.settings.templates_pairs.indexOf(o);E>-1&&(this.plugin.settings.templates_pairs[E][1]=w,this.plugin.save_settings())});return h.inputEl.setAttr("rows",2),h.inputEl.addClass("templater_cmd"),h}).infoEl.remove(),a.appendChild(u),a.appendChild(this.containerEl.lastChild),t+=1});let n=this.containerEl.createEl("div");n.addClass("templater_div2"),new N.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(),n.appendChild(this.containerEl.lastChild)}}add_donating_setting(){let e=new N.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 n=document.createElement("img");n.src="https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86",t.appendChild(n);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 pn=U(require("obsidian"));var lt;(function(t){t[t.InsertTemplate=0]="InsertTemplate",t[t.CreateNoteTemplate=1]="CreateNoteTemplate"})(lt||(lt={}));var Rn=class extends pn.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,pn.normalizePath)(this.plugin.settings.templates_folder)!="/"){let n=this.plugin.settings.templates_folder.length,i;n===0?i=0:this.plugin.settings.templates_folder.endsWith("/")?i=n:i=n+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){V(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 ti="Error_MobileUnsupportedTemplate",ni='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 51.1328 28.7"><path d="M0 15.14 0 10.15 18.67 1.51 18.67 6.03 4.72 12.33 4.72 12.76 18.67 19.22 18.67 23.74 0 15.14ZM33.6928 1.84C33.6928 1.84 33.9761 2.1467 34.5428 2.76C35.1094 3.38 35.3928 4.56 35.3928 6.3C35.3928 8.0466 34.8195 9.54 33.6728 10.78C32.5261 12.02 31.0995 12.64 29.3928 12.64C27.6862 12.64 26.2661 12.0267 25.1328 10.8C23.9928 9.5733 23.4228 8.0867 23.4228 6.34C23.4228 4.6 23.9995 3.1066 25.1528 1.86C26.2994.62 27.7261 0 29.4328 0C31.1395 0 32.5594.6133 33.6928 1.84M49.8228.67 29.5328 28.38 24.4128 28.38 44.7128.67 49.8228.67M31.0328 8.38C31.0328 8.38 31.1395 8.2467 31.3528 7.98C31.5662 7.7067 31.6728 7.1733 31.6728 6.38C31.6728 5.5867 31.4461 4.92 30.9928 4.38C30.5461 3.84 29.9995 3.57 29.3528 3.57C28.7061 3.57 28.1695 3.84 27.7428 4.38C27.3228 4.92 27.1128 5.5867 27.1128 6.38C27.1128 7.1733 27.3361 7.84 27.7828 8.38C28.2361 8.9267 28.7861 9.2 29.4328 9.2C30.0795 9.2 30.6128 8.9267 31.0328 8.38M49.4328 17.9C49.4328 17.9 49.7161 18.2067 50.2828 18.82C50.8495 19.4333 51.1328 20.6133 51.1328 22.36C51.1328 24.1 50.5594 25.59 49.4128 26.83C48.2595 28.0766 46.8295 28.7 45.1228 28.7C43.4228 28.7 42.0028 28.0833 40.8628 26.85C39.7295 25.6233 39.1628 24.1366 39.1628 22.39C39.1628 20.65 39.7361 19.16 40.8828 17.92C42.0361 16.6733 43.4628 16.05 45.1628 16.05C46.8694 16.05 48.2928 16.6667 49.4328 17.9M46.8528 24.52C46.8528 24.52 46.9595 24.3833 47.1728 24.11C47.3795 23.8367 47.4828 23.3033 47.4828 22.51C47.4828 21.7167 47.2595 21.05 46.8128 20.51C46.3661 19.97 45.8162 19.7 45.1628 19.7C44.5161 19.7 43.9828 19.97 43.5628 20.51C43.1428 21.05 42.9328 21.7167 42.9328 22.51C42.9328 23.3033 43.1561 23.9733 43.6028 24.52C44.0494 25.06 44.5961 25.33 45.2428 25.33C45.8895 25.33 46.4261 25.06 46.8528 24.52Z" fill="currentColor"/></svg>';var Q=U(require("obsidian"));var Ne=U(require("obsidian"));var ne=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 Vn=class extends ne{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,n,i)=>{if(n&&!(0,Ne.moment)(n,i).isValid())throw new b("Invalid reference date format, try specifying one with the argument 'reference_format'");let o;return typeof t=="string"?o=Ne.moment.duration(t):typeof t=="number"&&(o=Ne.moment.duration(t,"days")),(0,Ne.moment)(n,i).add(o).format(e)}}generate_tomorrow(){return(e="YYYY-MM-DD")=>(0,Ne.moment)().add(1,"days").format(e)}generate_weekday(){return(e="YYYY-MM-DD",t,n,i)=>{if(n&&!(0,Ne.moment)(n,i).isValid())throw new b("Invalid reference date format, try specifying one with the argument 'reference_format'");return(0,Ne.moment)(n,i).weekday(t).format(e)}}generate_yesterday(){return(e="YYYY-MM-DD")=>(0,Ne.moment)().add(-1,"days").format(e)}};var J=U(require("obsidian"));var ri=10,zn=class extends ne{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,n=!1,i)=>{if(this.create_new_depth+=1,this.create_new_depth>ri)throw this.create_new_depth=0,new b("Reached create_new depth limit (max = 10)");let o=await this.plugin.templater.create_new_note_from_template(e,i,t,n);return this.create_new_depth-=1,o}}generate_creation_date(){return(e="YYYY-MM-DD HH:mm")=>(0,J.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){V(new b("No active editor, can't append to cursor."));return}return t.editor.getDoc().replaceSelection(e),""}}generate_exists(){return async e=>{let t=(0,J.normalizePath)(e);return await this.plugin.app.vault.exists(t)}}generate_find_tfile(){return e=>{let t=(0,J.normalizePath)(e);return this.plugin.app.metadataCache.getFirstLinkpathDest(t,"")}}generate_folder(){return(e=!1)=>{let t=this.config.target_file.parent,n;return e?n=t.path:n=t.name,n}}generate_include(){return async e=>{if(this.include_depth+=1,this.include_depth>ri)throw this.include_depth-=1,new b("Reached inclusion depth limit (max = 10)");let t;if(e instanceof J.TFile)t=await this.plugin.app.vault.read(e);else{let n;if((n=this.linkpath_regex.exec(e))===null)throw this.include_depth-=1,new b("Invalid file format, provide an obsidian link between quotes.");let{path:i,subpath:o}=(0,J.parseLinktext)(n[1]),a=this.plugin.app.metadataCache.getFirstLinkpathDest(i,"");if(!a)throw this.include_depth-=1,new b(`File ${e} doesn't exist`);if(t=await this.plugin.app.vault.read(a),o){let u=this.plugin.app.metadataCache.getFileCache(a);if(u){let l=(0,J.resolveSubpath)(u,o);l&&(t=t.slice(l.start.offset,l.end?.offset))}}}try{let n=await this.plugin.templater.parser.parse_commands(t,this.plugin.templater.current_functions_object);return this.include_depth-=1,n}catch(n){throw this.include_depth-=1,n}}}generate_last_modified_date(){return(e="YYYY-MM-DD HH:mm")=>(0,J.moment)(this.config.target_file.stat.mtime).format(e)}generate_move(){return async(e,t)=>{let n=t||this.config.target_file,i=(0,J.normalizePath)(`${e}.${n.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(n,i),""}}generate_path(){return(e=!1)=>{let t="";if(J.Platform.isMobile){let n=this.plugin.app.vault.adapter.fs.uri,i=this.plugin.app.vault.adapter.basePath;t=`${n}/${i}`}else if(this.plugin.app.vault.adapter instanceof J.FileSystemAdapter)t=this.plugin.app.vault.adapter.getBasePath();else throw new b("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 b("File name cannot contain any of these characters: \\ / :");let t=(0,J.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 b("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,J.getAllTags)(e):null}generate_title(){return this.config.target_file.basename}};var ii=U(require("obsidian"));var Jn=class extends ne{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,ii.requestUrl)(e);if(t.status<200&&t.status>=300)throw new b("Error performing GET request");return t}catch{throw new b("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,n=t[Math.floor(Math.random()*t.length)],{quote:i,author:o}=n;return`> [!quote] ${i}
> \u2014 ${o}`}catch{return new b("Error generating daily quote"),"Error generating daily quote"}}}generate_random_picture(){return async(e,t,n=!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&&!n)if(e.includes("x")){let[a,u]=e.split("x");o=o.concat(`&w=${a}&h=${u}`)}else o=o.concat(`&w=${e}`);return n?`![photo by ${i.photog}(${i.photogUrl}) on Unsplash|${e}](${o})`:`![photo by ${i.photog}(${i.photogUrl}) on Unsplash](${o})`}catch{return new b("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(n){throw console.error(n),new b("Error fetching and extracting value")}}}};var Wn=class extends ne{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 qe(1),e()});t&&this.event_refs.push(t)}}};var Qn=class extends ne{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 we=U(require("obsidian"));var Xn=class extends we.Modal{constructor(e,t,n,i){super(e);this.prompt_text=t;this.default_value=n;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 b("Cancelled prompt"))}createForm(){let e=this.contentEl.createDiv();e.addClass("templater-prompt-div");let t;this.multi_line?t=new we.TextAreaComponent(e):t=new we.TextComponent(e);let n=this.contentEl.createDiv();n.addClass("templater-button-div");let i=new we.ButtonComponent(n);i.buttonEl.addClass("mod-cta"),i.setButtonText("Submit").onClick(o=>{this.resolveAndClose(o)}),this.value=this.default_value??"",t.inputEl.addClass("templater-prompt-input"),t.setPlaceholder("Type text here"),t.setValue(this.value),t.onChange(o=>this.value=o),t.inputEl.focus(),t.inputEl.addEventListener("keydown",o=>this.enterCallback(o))}enterCallback(e){e.isComposing||e.keyCode===229||(this.multi_line?we.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 oi=U(require("obsidian")),Zn=class extends oi.FuzzySuggestModal{constructor(e,t,n,i,o,a){super(e);this.text_items=t;this.items=n;this.default_value=a;this.submitted=!1;this.setPlaceholder(i),o&&(this.limit=o)}getItems(){return this.items}onOpen(){super.onOpen(),this.default_value!==void 0&&(this.inputEl.value=this.getItemText(this.default_value),this.inputEl.dispatchEvent(new InputEvent("input")))}onClose(){this.submitted||this.reject(new b("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 le=U(require("obsidian")),er=class extends le.Modal{constructor(e,t,n,i,o,a){super(e);this.text_items=t;this.items=n;this.submitted=!1;this.selectedItems=[];this.setTitle(i),this.listEl=this.contentEl.createDiv("templater-multisuggester-list");let u=this.contentEl.createDiv("templater-multisuggester-div"),l=new le.TextComponent(u);l.inputEl.addClass("templater-multisuggester-input"),this.suggester=new ai(e,l.inputEl,this.getItemText.bind(this),n,o).onSelect(this.onChooseItem.bind(this));let d=this.contentEl.createDiv("modal-button-container");new le.ButtonComponent(d).setButtonText("Save").setCta().onClick(()=>this.save()),new le.ButtonComponent(d).setButtonText("Cancel").onClick(()=>this.close()),a&&(this.selectedItems=a)}onOpen(){this.processSelectedItems()}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",n=>{(0,le.setIcon)(n,"lucide-x"),n.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),this.processSelectedItems()}processSelectedItems(){let e=this.items.filter(t=>!this.selectedItems.some(n=>n===t));this.suggester.setItems(e),this.display()}onRemoveItem(e){this.selectedItems=this.selectedItems.filter(n=>n!==e);let t=this.items.filter(n=>!this.selectedItems.some(i=>i===n));this.suggester.setItems(t),this.display()}save(){this.submitted=!0,this.close(),this.resolve(this.selectedItems)}onClose(){this.submitted||this.reject(new b("Cancelled prompt"))}async openAndGetValue(e,t){this.resolve=e,this.reject=t,this.open()}},ai=class extends le.AbstractInputSuggest{constructor(e,t,n,i,o){super(e,t);this.getItemText=n;this.items=i;o&&(this.limit=o)}getSuggestions(e){let t=(0,le.prepareFuzzySearch)(e);return this.items.reduce((n,i)=>{let o=this.getItemText(i);return t(o)&&n.push(i),n},[])}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 tr=class extends ne{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,n=!1,i=!1)=>{let o=new Xn(this.plugin.app,e,t,i),a=new Promise((u,l)=>o.openAndGetValue(u,l));try{return await a}catch(u){if(n)throw u;return null}}}generate_suggester(){return async(e,t,n=!1,i="",o,a)=>{let u=new Zn(this.plugin.app,e,t,i,o,a),l=new Promise((d,h)=>u.openAndGetValue(d,h));try{return await l}catch(d){if(n)throw d;return null}}}generate_multi_suggester(){return async(e,t,n=!1,i="",o,a)=>{let u=new er(this.plugin.app,e,t,i,o,a),l=new Promise((d,h)=>u.openAndGetValue(d,h));try{return await l}catch(d){if(n)throw d;return[]}}}};var nr=class extends ne{constructor(){super(...arguments);this.name="config"}async create_static_templates(){}async create_dynamic_templates(){}async teardown(){}async generate_object(e){return e}};var rr=class{constructor(e){this.plugin=e;this.modules_array=[];this.modules_array.push(new Vn(this.plugin)),this.modules_array.push(new zn(this.plugin)),this.modules_array.push(new Jn(this.plugin)),this.modules_array.push(new Qn(this.plugin)),this.modules_array.push(new Wn(this.plugin)),this.modules_array.push(new tr(this.plugin)),this.modules_array.push(new nr(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 n of this.modules_array)t[n.getName()]=await n.generate_object(e);return t}};var Ct=U(require("obsidian"));var ir=class{constructor(e){this.plugin=e;if(Ct.Platform.isMobile||!(this.plugin.app.vault.adapter instanceof Ct.FileSystemAdapter))this.cwd="";else{this.cwd=this.plugin.app.vault.adapter.getBasePath();let{promisify:t}=require("util"),{exec:n}=require("child_process");this.exec_promise=t(n)}}async generate_system_functions(e){let t=new Map,n=await this.plugin.templater.functions_generator.generate_object(e,ve.INTERNAL);for(let i of this.plugin.settings.templates_pairs){let o=i[0],a=i[1];!o||!a||(Ct.Platform.isMobile?t.set(o,()=>new Promise(u=>u(ti))):(a=await this.plugin.templater.parser.parse_commands(a,n),t.set(o,async u=>{let l={...process.env,...u},d={timeout:this.plugin.settings.command_timeout*1e3,cwd:this.cwd,env:l,...this.plugin.settings.shell_path&&{shell:this.plugin.settings.shell_path}};try{let{stdout:h}=await this.exec_promise(a,d);return h.trimRight()}catch(h){throw new b(`Error with User Template ${o}`,h)}})))}return t}async generate_object(e){let t=await this.generate_system_functions(e);return Object.fromEntries(t)}};var or=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 n of t)n.extension.toLowerCase()==="js"&&await this.load_user_script_function(n,e);return e}async load_user_script_function(e,t){let n=l=>window.require&&window.require(l),i={},o={exports:i},a=await this.plugin.app.vault.read(e);try{window.eval("(function anonymous(require, module, exports){"+a+`
})`)(n,o,i)}catch(l){throw new b(`Failed to load user script at "${e.path}".`,l.message)}let u=i.default??o.exports;if(!u)throw new b(`Failed to load user script at "${e.path}". No exports detected.`);if(typeof u=="function")t.set(e.basename,u);else if(typeof u=="object"&&u!==null){if(!Object.values(u).every(d=>typeof d=="function"))throw new b(`Exported object in "${e.path}" must contain only functions.`);t.set(e.basename,u)}else throw new b(`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 ar=class{constructor(e){this.plugin=e;this.user_system_functions=new ir(e),this.user_script_functions=new or(e)}async generate_object(e){let t={},n={};return this.plugin.settings.enable_system_commands&&(t=await this.user_system_functions.generate_object(e)),this.plugin.settings.user_scripts_folder&&(n=await this.user_script_functions.generate_object()),{...t,...n}}};var No=U(require("obsidian")),ve;(function(t){t[t.INTERNAL=0]="INTERNAL",t[t.USER_INTERNAL=1]="USER_INTERNAL"})(ve||(ve={}));var sr=class{constructor(e){this.plugin=e;this.internal_functions=new rr(this.plugin),this.user_functions=new ar(this.plugin)}async init(){await this.internal_functions.init()}async teardown(){await this.internal_functions.teardown()}additional_functions(){return{app:this.plugin.app,obsidian:No}}async generate_object(e,t=1){let n={},i=this.additional_functions(),o=await this.internal_functions.generate_object(e),a={};switch(Object.assign(n,i),t){case 0:Object.assign(n,o);break;case 1:a=await this.user_functions.generate_object(e),Object.assign(n,{...o,user:a});break}return n}};var Ko={},T,he=new Array(32).fill(void 0);he.push(void 0,null,!0,!1);function ue(r){return he[r]}var Dt=he.length;function Mo(r){r<36||(he[r]=Dt,Dt=r)}function cr(r){let e=ue(r);return Mo(r),e}var si=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});si.decode();var fn=new Uint8Array;function dn(){return fn.byteLength===0&&(fn=new Uint8Array(T.memory.buffer)),fn}function He(r,e){return si.decode(dn().subarray(r,r+e))}function $e(r){Dt===he.length&&he.push(he.length+1);let e=Dt;return Dt=he[e],he[e]=r,e}var Ae=0,gn=new TextEncoder("utf-8"),Fo=typeof gn.encodeInto=="function"?function(r,e){return gn.encodeInto(r,e)}:function(r,e){let t=gn.encode(r);return e.set(t),{read:r.length,written:t.length}};function Me(r,e,t){if(t===void 0){let u=gn.encode(r),l=e(u.length);return dn().subarray(l,l+u.length).set(u),Ae=u.length,l}let n=r.length,i=e(n),o=dn(),a=0;for(;a<n;a++){let u=r.charCodeAt(a);if(u>127)break;o[i+a]=u}if(a!==n){a!==0&&(r=r.slice(a)),i=t(i,n,n=a+r.length*3);let u=dn().subarray(i+a,i+n);a+=Fo(r,u).written}return Ae=a,i}function Io(r){return r==null}var mn=new Int32Array;function pe(){return mn.byteLength===0&&(mn=new Int32Array(T.memory.buffer)),mn}function lr(r){let e=typeof r;if(e=="number"||e=="boolean"||r==null)return`${r}`;if(e=="string")return`"${r}"`;if(e=="symbol"){let i=r.description;return i==null?"Symbol":`Symbol(${i})`}if(e=="function"){let i=r.name;return typeof i=="string"&&i.length>0?`Function(${i})`:"Function"}if(Array.isArray(r)){let i=r.length,o="[";i>0&&(o+=lr(r[0]));for(let a=1;a<i;a++)o+=", "+lr(r[a]);return o+="]",o}let t=/\[object ([^\]]+)\]/.exec(toString.call(r)),n;if(t.length>1)n=t[1];else return toString.call(r);if(n=="Object")try{return"Object("+JSON.stringify(r)+")"}catch{return"Object"}return r instanceof Error?`${r.name}: ${r.message}
${r.stack}`:n}function Bo(r,e){if(!(r instanceof e))throw new Error(`expected instance of ${e.name}`);return r.ptr}var hn=32;function Oo(r){if(hn==1)throw new Error("out of js stack");return he[--hn]=r,hn}function ur(r,e){try{return r.apply(this,e)}catch(t){T.__wbindgen_exn_store($e(t))}}var Je=class{static __wrap(e){let t=Object.create(Je.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();T.__wbg_parserconfig_free(e)}get interpolate(){let e=T.__wbg_get_parserconfig_interpolate(this.ptr);return String.fromCodePoint(e)}set interpolate(e){T.__wbg_set_parserconfig_interpolate(this.ptr,e.codePointAt(0))}get execution(){let e=T.__wbg_get_parserconfig_execution(this.ptr);return String.fromCodePoint(e)}set execution(e){T.__wbg_set_parserconfig_execution(this.ptr,e.codePointAt(0))}get single_whitespace(){let e=T.__wbg_get_parserconfig_single_whitespace(this.ptr);return String.fromCodePoint(e)}set single_whitespace(e){T.__wbg_set_parserconfig_single_whitespace(this.ptr,e.codePointAt(0))}get multiple_whitespace(){let e=T.__wbg_get_parserconfig_multiple_whitespace(this.ptr);return String.fromCodePoint(e)}set multiple_whitespace(e){T.__wbg_set_parserconfig_multiple_whitespace(this.ptr,e.codePointAt(0))}constructor(e,t,n,i,o,a,u){let l=Me(e,T.__wbindgen_malloc,T.__wbindgen_realloc),d=Ae,h=Me(t,T.__wbindgen_malloc,T.__wbindgen_realloc),w=Ae,E=Me(u,T.__wbindgen_malloc,T.__wbindgen_realloc),M=Ae,I=T.parserconfig_new(l,d,h,w,n.codePointAt(0),i.codePointAt(0),o.codePointAt(0),a.codePointAt(0),E,M);return Je.__wrap(I)}get opening_tag(){try{let n=T.__wbindgen_add_to_stack_pointer(-16);T.parserconfig_opening_tag(n,this.ptr);var e=pe()[n/4+0],t=pe()[n/4+1];return He(e,t)}finally{T.__wbindgen_add_to_stack_pointer(16),T.__wbindgen_free(e,t)}}set opening_tag(e){let t=Me(e,T.__wbindgen_malloc,T.__wbindgen_realloc),n=Ae;T.parserconfig_set_opening_tag(this.ptr,t,n)}get closing_tag(){try{let n=T.__wbindgen_add_to_stack_pointer(-16);T.parserconfig_closing_tag(n,this.ptr);var e=pe()[n/4+0],t=pe()[n/4+1];return He(e,t)}finally{T.__wbindgen_add_to_stack_pointer(16),T.__wbindgen_free(e,t)}}set closing_tag(e){let t=Me(e,T.__wbindgen_malloc,T.__wbindgen_realloc),n=Ae;T.parserconfig_set_closing_tag(this.ptr,t,n)}get global_var(){try{let n=T.__wbindgen_add_to_stack_pointer(-16);T.parserconfig_global_var(n,this.ptr);var e=pe()[n/4+0],t=pe()[n/4+1];return He(e,t)}finally{T.__wbindgen_add_to_stack_pointer(16),T.__wbindgen_free(e,t)}}set global_var(e){let t=Me(e,T.__wbindgen_malloc,T.__wbindgen_realloc),n=Ae;T.parserconfig_set_global_var(this.ptr,t,n)}},ut=class{static __wrap(e){let t=Object.create(ut.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();T.__wbg_renderer_free(e)}constructor(e){Bo(e,Je);var t=e.ptr;e.ptr=0;let n=T.renderer_new(t);return ut.__wrap(n)}render_content(e,t){try{let a=T.__wbindgen_add_to_stack_pointer(-16),u=Me(e,T.__wbindgen_malloc,T.__wbindgen_realloc),l=Ae;T.renderer_render_content(a,this.ptr,u,l,Oo(t));var n=pe()[a/4+0],i=pe()[a/4+1],o=pe()[a/4+2];if(o)throw cr(i);return cr(n)}finally{T.__wbindgen_add_to_stack_pointer(16),he[hn++]=void 0}}};async function qo(r,e){if(typeof Response=="function"&&r instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(r,e)}catch(n){if(r.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",n);else throw n}let t=await r.arrayBuffer();return await WebAssembly.instantiate(t,e)}else{let t=await WebAssembly.instantiate(r,e);return t instanceof WebAssembly.Instance?{instance:t,module:r}:t}}function Lo(){let r={};return r.wbg={},r.wbg.__wbindgen_object_drop_ref=function(e){cr(e)},r.wbg.__wbindgen_string_new=function(e,t){let n=He(e,t);return $e(n)},r.wbg.__wbindgen_string_get=function(e,t){let n=ue(t),i=typeof n=="string"?n:void 0;var o=Io(i)?0:Me(i,T.__wbindgen_malloc,T.__wbindgen_realloc),a=Ae;pe()[e/4+1]=a,pe()[e/4+0]=o},r.wbg.__wbg_call_97ae9d8645dc388b=function(){return ur(function(e,t){let n=ue(e).call(ue(t));return $e(n)},arguments)},r.wbg.__wbg_new_8d2af00bc1e329ee=function(e,t){let n=new Error(He(e,t));return $e(n)},r.wbg.__wbg_message_fe2af63ccc8985bc=function(e){let t=ue(e).message;return $e(t)},r.wbg.__wbg_newwithargs_8fe23e3842840c8e=function(e,t,n,i){let o=new Function(He(e,t),He(n,i));return $e(o)},r.wbg.__wbg_call_168da88779e35f61=function(){return ur(function(e,t,n){let i=ue(e).call(ue(t),ue(n));return $e(i)},arguments)},r.wbg.__wbg_call_3999bee59e9f7719=function(){return ur(function(e,t,n,i){let o=ue(e).call(ue(t),ue(n),ue(i));return $e(o)},arguments)},r.wbg.__wbindgen_debug_string=function(e,t){let n=lr(ue(t)),i=Me(n,T.__wbindgen_malloc,T.__wbindgen_realloc),o=Ae;pe()[e/4+1]=o,pe()[e/4+0]=i},r.wbg.__wbindgen_throw=function(e,t){throw new Error(He(e,t))},r}function Ho(r,e){}function $o(r,e){return T=r.exports,ci.__wbindgen_wasm_module=e,mn=new Int32Array,fn=new Uint8Array,T}async function ci(r){typeof r=="undefined"&&(r=new URL("rusty_engine_bg.wasm",Ko.url));let e=Lo();(typeof r=="string"||typeof Request=="function"&&r instanceof Request||typeof URL=="function"&&r instanceof URL)&&(r=fetch(r)),Ho(e);let{instance:t,module:n}=await qo(await r,e);return $o(t,n)}var li=ci;var ui=Or("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/f38Bf2ACfn8BfwLkAgsDd2JnGl9fd2JpbmRnZW5fb2JqZWN0X2Ryb3BfcmVmAAUDd2JnFV9fd2JpbmRnZW5fc3RyaW5nX25ldwABA3diZxVfX3diaW5kZ2VuX3N0cmluZ19nZXQAAAN3YmcbX193YmdfY2FsbF85N2FlOWQ4NjQ1ZGMzODhiAAEDd2JnGl9fd2JnX25ld184ZDJhZjAwYmMxZTMyOWVlAAEDd2JnHl9fd2JnX21lc3NhZ2VfZmUyYWY2M2NjYzg5ODViYwACA3diZyJfX3diZ19uZXd3aXRoYXJnc184ZmUyM2UzODQyODQwYzhlAAgDd2JnG19fd2JnX2NhbGxfMTY4ZGE4ODc3OWUzNWY2MQADA3diZxtfX3diZ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AgwgBiAHNgIMIAYgATYCCAtBwLHAACAFNgIAQbixwAAgAzYCAAwBCyAAIAMgBGoQjQELIAAQvAEiAw0BCwJAAkACQAJAAkACQAJAAkBBuLHAACgCACIAIARJBEBBvLHAACgCACIAIARLDQIgC0EIQQgQlwEgBGpBFEEIEJcBakEQQQgQlwFqQYCABBCXARBxIAsoAgAiCA0BQQAhAwwJC0HAscAAKAIAIQIgACAEayIBQRBBCBCXAUkEQEHAscAAQQA2AgBBuLHAACgCACEAQbixwABBADYCACACIAAQjQEgAhC8ASEDDAkLIAIgBBC6ASEAQbixwAAgATYCAEHAscAAIAA2AgAgACABEJQBIAIgBBCmASACELwBIQMMCAsgCygCCCEMQcixwAAgCygCBCIKQcixwAAoAgBqIgE2AgBBzLHAAEHMscAAKAIAIgAgASAAIAFLGzYCAAJAAkBBxLHAACgCAARAQdCxwAAhAANAIAAQpwEgCEYNAiAAKAIIIgANAAsMAgtB5LHAACgCACIARSAIIABJcg0DDAcLIAAQsQENACAAELIBIAxHDQAgACIBKAIAIgVBxLHAACgCACICTQR/IAUgASgCBGogAksFQQALDQMLQeSxwABB5LHAACgCACIAIAggCCAASxs2AgAgCCAKaiEBQdCxwAAhAAJAAkADQCABIAAoAgBHBEAgACgCCCIADQEMAgsLIAAQsQENACAAELIBIAxGDQELQcSxwAAoAgAhCUHQscAAIQACQANAIAAoAgAgCU0EQCAAEKcBIAlLDQILIAAoAggiAA0AC0EAIQALIAkgABCnASIGQRRBCBCXASIPa0FpaiIBELwBIgBBCBCXASAAayABaiIAIABBEEEIEJcBIAlqSRsiDRC8ASEOIA0gDxC6ASEAQQhBCBCXASEDQRRBCBCXASEFQRBBCBCXASECQcSxwAAgCCAIELwBIgFBCBCXASABayIBELoBIgc2AgBBvLHAACAKQQhqIAIgAyAFamogAWprIgM2AgAgByADQQFyNgIEQQhBCBCXASEFQRRBCBCXASECQRBBCBCXASEBIAcgAxC6ASABIAIgBUEIa2pqNgIEQeCxwABBgICAATYCACANIA8QpgF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AgBiAGLQAAQQJGG0EBEBAgA0EIaiADKAIQIAMoAhRBACAHQQ1qIgQgBC0AAEECRhtBABAQIANBGGogAygCCCADKAIMEBIgA0EBNgI0IANBATYCLCADIAU2AiggAyADQRhqNgIwIAMgADYCRCADQQI2AlwgA0IDNwJMIANBmITAADYCSCADIANBKGo2AlggA0HEAGpBmIrAACADQcgAahAeDQUgAygCHEUNACADKAIYEBULIAdBDmohBgJAIAdBDGotAABFBEAgA0ECNgIsIAMgCTYCKCADIAA2AhggA0EBNgJcIANCAjcCTCADQfSEwAA2AkggAyADQShqNgJYIANBGGpBmIrAACADQcgAahAeDQcgA0ECNgI0IANBoIXAADYCMCADQQE2AiwgAyAFNgIoIAMgADYCGCADQQI2AlwgA0IDNwJMIANBmITAADYCSCADIANBKGo2AlggA0EYakGYisAAIANByABqEB5FDQFBq4HAAEErIANByABqQdiBwABBqIXAABBSAAsgA0ECNgIsIAMgCTYCKCADIAA2AhggA0EBNgJcIANCAjcCTCADQcSEwAA2AkggAyADQShqNgJYIANBGGpBmIrAACADQcgAahAeDQcLQQALIQQgCiABQRBqIgFHDQALIARFDQAgAyAEKAIAIAQoAgRBACAGIAYtAABBAkYbQQEQECADQRhqIAMoAgAgAygCBBASIANBNGpBATYCACADQQE2AiwgAyAFNgIoIAMgA0EYajYCMCADIAA2AkQgA0HcAGpBAjYCACADQgM3AkwgA0GYhMAANgJIIAMgA0EoajYCWCADQcQAakGYisAAIANByABqEB4NBSADKAIcRQ0AIAMoAhgQFQsgAEEEaigCACAAQQhqIgQoAgAiAWtBJ00EQCAAIAFBKBBBIAQoAgAhAQsgBCABQShqNgIAIAAoAgAgAWoiAUHIhcAAKQAANwAAIAFBCGpB0IXAACkAADcAACABQRBqQdiFwAApAAA3AAAgAUEYakHghcAAKQAANwAAIAFBIGpB6IXAACkAADcAACADQTxqQQI2AgAgA0E0akEBNgIAIANBoIXAADYCOCADIAU2AjAgA0EBNgIsIAMgBTYCKCADIAA2AhggA0HcAGoiAUEDNgIAIANCBDcCTCADQZiGwAA2AkggAyADQShqNgJYIANBGGpBmIrAACADQcgAahAeDQUgA0EBNgIsIAMgBTYCKCADIAA2AhggAUEBNgIAIANCAjcCTCADQdCGwAA2AkggAyADQShqNgJYIANBGGpBmIrAACADQcgAahAeDQYgAkEEaigCAARAIAgQFQsgA0HgAGokAA8LQauBwABBKyADQcgAakHYgcAAQYCEwAAQUgALQauBwABBKyADQcgAakHYgcAAQbCEwAAQUgALQauBwABBKyADQcgAakHYgcAAQYSFwAAQUgALQauBwABBKyADQcgAakHYgcAAQdSEwAAQUgALQauBwABBKyADQcgAakHYgcAAQbiFwAAQUgALQauBwABBKyADQcgAakHYgcAAQbiGwAAQUgALQauBwABBKyADQcgAakHYgcAAQeCGwAAQUgAL7QkCCH8GfiMAQdAAayIDJAACQAJAAkAQVCIEBEAgA0EgakIANwMAIANBHGpBkIrAADYCACAEIAQpAwAiC0IBfDcDACADQQA2AhggAyALNwMIIAMgBEEIaikDADcDECADQqeAgIDwBDcDSCADQo2AgICgDjcDQCADQoqAgIDgDTcDOCADQtyAgIDACzcDMCADQQhqIANBMGoQGSADQQA2AjggA0IENwMwIAJFBEAgAEEANgIIIABCATcCAEEEIQRBBCEBDAQLIAEgAmohCEEAIQIDQAJ/IAEsAAAiBEF/SgRAIARB/wFxIQQgAUEBagwBCyABLQABQT9xIQUgBEEfcSEGIARBX00EQCAGQQZ0IAVyIQQgAUECagwBCyABLQACQT9xIAVBBnRyIQUgBEFwSQRAIAUgBkEMdHIhBCABQQNqDAELIAZBEnRBgIDwAHEgAS0AA0E/cSAFQQZ0cnIiBEGAgMQARg0EIAFBBGoLIQEgAyAENgIsAkAgA0EIaiADQSxqECJFBEAgAygCLCECIAMoAjgiBCADKAI0RgRAIANBMGogBBA+IAMoAjghBAsgAygCMCAEQQJ0aiACNgIADAELIAMoAjgiBCADKAI0RgRAIANBMGogBBA+IAMoAjghBAsgAygCMCAEQQJ0akHcADYCACADIAMoAjhBAWoiAjYCOCADKA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GokAAv+BAEKfyMAQTBrIgMkACADQSRqIAE2AgAgA0EDOgAoIANCgICAgIAENwMIIAMgADYCICADQQA2AhggA0EANgIQAkACQAJAIAIoAggiCkUEQCACQRRqKAIAIgRFDQEgAigCACEBIAIoAhAhACAEQX9qQf////8BcUEBaiIHIQQDQCABQQRqKAIAIgUEQCADKAIgIAEoAgAgBSADKAIkKAIMEQMADQQLIAAoAgAgA0EIaiAAQQRqKAIAEQEADQMgAEEIaiEAIAFBCGohASAEQX9qIgQNAAsMAQsgAkEMaigCACIARQ0AIABBBXQhCyAAQX9qQf///z9xQQFqIQcgAigCACEBA0AgAUEEaigCACIABEAgAygCICABKAIAIAAgAygCJCgCDBEDAA0DCyADIAQgCmoiBUEcai0AADoAKCADIAVBBGopAgBCIIk3AwggBUEYaigCACEGIAIoAhAhCEEAIQlBACEAAkACQAJAIAVBFGooAgBBAWsOAgACAQsgBkEDdCAIaiIMKAIEQTdHDQEgDCgCACgCACEGC0EBIQALIAMgBjYCFCADIAA2AhAgBUEQaigCACEAAkACQAJAIAVBDGooAgBBAWsOAgACAQsgAEEDdCAIaiIGKAIEQTdHDQEgBigCACgCACEAC0EBIQkLIAMgADYCHCADIAk2AhggCCAFKAIAQQN0aiIAKAIAIANBCGogACgCBBEBAA0CIAFBCGohASALIARBIGoiBEcNAAsLQQAhACAHIAIoAgRJIgFFDQEgAygCICACKAIAIAdBA3RqQQAgARsiASgCACABKAIEIAMoAiQoAgwRAwBFDQELQQEhAAsgA0EwaiQAIAALwgQBCH8jAEHQAGsiBCQAIARBEGogASACIAMoAgAgA0EIaigCABAOAkACQAJAAkACQAJAIAQoAhBFBEAgBEEeai0AAA0EIARBxABqKAIAIQYgBCgCQCEHIARBHGotAABFIQggBCgCFCEDA0ACQCADRQ0AIAYgA00EQCADIAZGDQEMCQsgAyAHaiwAAEFASA0ICyADIAZGDQICfyADIAdqIgksAAAiBUF/TARAIAktAAFBP3EiCiAFQR9xIgtBBnRyIAVBYEkNARogCS0AAkE/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YCABE8EQCACIAFBP3FBgAFyOgAPIAIgAUEGdkE/cUGAAXI6AA4gAiABQQx2QT9xQYABcjoADSACIAFBEnZBB3FB8AFyOgAMQQQMAQsgAiABQT9xQYABcjoADiACIAFBDHZB4AFyOgAMIAIgAUEGdkE/cUGAAXI6AA1BAwshASAAQQRqKAIAIABBCGoiBCgCACIDayABSQRAIAAgAyABEEIgBCgCACEDCyAAKAIAIANqIAJBDGogARC5ARogBCABIANqNgIACyACQRBqJAAL1wIBA38jAEEQayICJAACQAJ/AkACQCABQYABTwRAIAJBADYCDCABQYAQSQ0BIAFBgIAETw0CIAIgAUE/cUGAAXI6AA4gAiABQQx2QeABcjoADCACIAFBBnZBP3FBgAFyOgANQQMMAwsgACgCCCIDIABBBGooAgBGBEAgACADEEMgACgCCCEDCyAAIANBAWo2AgggACgCACADaiABOgAADAMLIAIgAUE/cUGAAXI6AA0gAiABQQZ2QcABcjoADEECDAELIAIgAUE/cUGAAXI6AA8gAiABQQZ2QT9xQYABcjoADiACIAFBDHZBP3FBgAFyOgANIAIgAUESdkEHcUHwAXI6AAxBBAshASAAQQRqKAIAIABBCGoiBCgCACIDayABSQRAIAAgAyABEEIgBCgCACEDCyAAKAIAIANqIAJBDGogARC5ARogBCABIANqNgIACyACQRBqJAALtgIBB38CQCACQQ9NBEAgACEDDAELIABBACAAa0EDcSIEaiEFIAQEQCAAIQMgASEGA0AgAyAGLQAAOgAAIAZBAWohBiADQQFqIgMgBUkNAAsLIAUgAiAEayIIQXxxIgdqIQMCQCABIARqIgRBA3EEQCAHQQFIDQEgBEEDdCICQRhxIQkgBEF8cSIGQQRqIQFBACACa0EYcSECIAYoAgAhBgNAIAUgBiAJdiABKAIAIgYgAnRyNgIAIAFBBGohASAFQQRqIgUgA0kNAAsMAQsgB0EBSA0AIAQhAQNAIAUgASgCADYCACABQQRqIQEgBUEEaiIFIANJDQALCyAIQQNxIQIgBCAHaiEBCyACBEAgAiADaiECA0AgAyABLQAAOgAAIAFBAWohASADQQ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IAYgAyACQRBqEEsgAigCAARAIAJBCGooAgAiAEUNASACKAIEIAAQswEACyACKAIEIQMgAEEEaiABNgIAIAAgAzYCACACQSBqJAAPCxBzAAvTAQEFfyMAQSBrIgIkAAJAIAFBAWoiAyABSQ0AQQQhBCAAQQRqKAIAIgVBAXQiASADIAEgA0sbIgFBBCABQQRLGyIBQf////8DcSABRkECdCEDIAFBAnQhBgJAIAVFBEBBACEEDAELIAIgBUECdDYCFCACIAAoAgA2AhALIAIgBDYCGCACIAYgAyACQRBqEEsgAigCAARAIAJBCGooAgAiAEUNASACKAIEIAAQswEACyACKAIEIQMgAEEEaiABNgIAIAAgAzYCACACQSBqJAAPCxBzAAu3AQEEfyAAKAIAIgEgACgCBEYEQEGAgMQADwsgACABQQFqNgIAIAEtAAAiA0EYdEEYdUF/TAR/IAAgAUECajYCACABLQABQT9xIQIgA0EfcSEEIANB3wFNBEAgBEEGdCACcg8LIAAgAUEDajYCACABLQACQT9xIAJBBnRyIQIgA0HwAUkEQCACIARBDHRyDwsgACABQQRqNgIAIARBEnRBgIDwAHEgAS0AA0E/cSACQQZ0cnIFIAMLC68BAQN/IwBBIGsiAiQAAkAgAUEBaiIDIAFJDQAgAEEEaigCACIBQQF0IgQgAyAEIANLGyIDQQggA0EISxshAyACIAEEfyACIAE2AhQgAiAAKAIANgIQQQEFQQALNgIYIAIgA0EBIAJBEGoQSyACKAIABEAgAkEIaigCACIARQ0BIAIoAgQgABCzAQALIAIoAgQhASAAQQRqIAM2AgAgACABNgIAIAJBIGokAA8LEHMAC68BAQJ/IwBBIGsiAyQAAkAgASACaiICIAFJDQAgAEEEaigCACIBQQF0IgQgAiAEIAJLGyICQQggAkEISxshBCADIAEEfyADIAE2AhQgAyAAKAIANgIQQQEFQQALNgIYIAMgBEEBIANBEGoQSyADKAIABEAgA0EIaigCACIARQ0BIAMoAgQgABCzAQALIAMoAgQhASAAQQRqIAQ2AgAgACABNgIAIANBIGokAA8LEHMAC60BAQJ/IwBBIGsiAyQAAkAgASACaiICIAFJDQAgAEEEaigCACIBQQF0IgQgAiAEIAJLGyICQQggAkEISxshBCADIAEEfyADIAE2AhQgAyAAKAIANgIQQQEFQQALNgIYIAMgBCADQRBqEEogAygCAARAIANBCGooAgAiAEUNASADKAIEIAAQswEACyADKAIEIQEgAEEEaiAENgIAIAAgATYCACADQSBqJAAPCxBzAAutAQEDfyMAQSBrIgIkAAJAIAFBAWoiAyABSQ0AIABBBGooAgAiAUEBdCIEIAMgBCADSxsiA0EIIANBCEsbIQMgAiABBH8gAiABNgIUIAIgACgCADYCEEEBBUEACzYCGCACIAMgAkEQahBKIAIoAgAEQCACQQhqKAIAIgBFDQEgAigCBCAAELMBAAsgAigCBCEBIABBBGogAzYCACAAIAE2AgAgAkEgaiQADwsQcwAL7wEBA38jAEEgayIFJABBjK7AAEGMrsAAKAIAIgdBAWo2AgBB7LHAAEHsscAAKAIAQQFqIgY2AgACQAJAIAdBAEggBkECS3INACAFIAQ6ABggBSADNgIUIAUgAjYCEEGArsAAKAIAIgJBf0wNAEGArsAAIAJBAWoiAjYCAEGArsAAQYiuwAAoAgAiAwR/QYSuwAAoAgAgBSAAIAEoAhARAAAgBSAFKQMANwMIIAVBCGogAygCFBEAAEGArsAAKAIABSACC0F/ajYCACAGQQFLDQAgBA0BCwALIwBBEGsiAiQAIAIgATYCDCACIAA2AggAC58BAQN/AkAgAUEPTQRAIAAhAgwBCyAAQQAgAGtBA3EiBGohAyAEBEAgACECA0AgAkH/AToAACACQQFqIgIgA0kNAAsLIAMgASAEayIBQXxxIgRqIQIgBEEBTgRAA0AgA0F/NgIAIANBBGoiAyACSQ0ACwsgAUEDcSEBCyABBEAgASACaiEBA0AgAkH/AToAACACQQFqIgIgAUkNAAsLIAALrAEBA38jAEEQayIDJAACQAJAIAEEQCABKAIAIgJBf0YNASABIAJBAWo2AgAgAyABQQRqEGEgASABKAIAQX9qNgIAIAMoAgAhAQJAIAMoAgQiAiADKAIIIgRNBEAgASECDAELIARFBEBBASECIAEQFQwBCyABIAJBASAEEJkBIgJFDQMLIAAgBDYCBCAAIAI2AgAgA0EQaiQADwsQrQEACxCuAQALIARBARCzAQALrAEBA38jAEEQayIDJAACQAJAIAEEQCABKAIAIgJBf0YNASABIAJBAWo2AgAgAyABQRBqEGEgASABKAIAQX9qNgIAIAMoAgAhAQJAIAMoAgQiAiADKAIIIgRNBEAgASECDAELIARFBEBBASECIAEQFQwBCyABIAJBASAEEJkBIgJFDQMLIAAgBDYCBCAAIAI2AgAgA0EQaiQADwsQrQEACxCuAQALIARBARCzAQALrAEBA38jAEEQayIDJAACQAJAIAEEQCABKAIAIgJBf0YNASABIAJBAWo2AgAgAyABQSxqEGEgASABKAIAQX9qNgIAIAMoAgAhAQJAIAMoAgQiAiADKAIIIgRNBEAgASECDAELIARFBEBBASECIAEQFQwBCyABIAJBASAEEJkBIgJFDQMLIAAgBDYCBCAAIAI2AgAgA0EQaiQADwsQrQEACxCuAQALIARBARCzAQALrAEBA38jAEEwayICJAAgAUEEaiEDIAEoAgRFBEAgASgCACEBIAJBEGoiBEEANgIAIAJCATcDCCACIAJBCGo2AhQgAkEoaiABQRBqKQIANwMAIAJBIGogAUEIaikCADcDACACIAEpAgA3AxggAkEUakGAjsAAIAJBGGoQHhogA0EIaiAEKAIANgIAIAMgAikDCDcCAAsgAEHoj8AANgIEIAAgAzYCACACQTBqJAALkAEBAn8CQAJ/AkACQAJAAn9BASIDIAFBAEgNABogAigCCEUNAiACKAIEIgQNASABDQNBAQwECyEDQQAhAQwECyACKAIAIARBASABEJkBDAILIAENAEEBDAELIAFBARCeAQsiAgRAIAAgAjYCBEEAIQMMAQsgACABNgIEQQEhAQsgACADNgIAIABBCGogATYCAAunAQECfwJAAkACQAJAAkACQAJAAn8gAgRAQQEiBCABQQBIDQEaIAMoAghFDQMgAygCBCIFDQIgAQ0EDAYLIAAgATYCBEEBCyEEQQAhAQwGCyADKAIAIAUgAiABEJkBIgNFDQIMBAsgAUUNAgsgASACEJ4BIgMNAgs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BIGo2AhggAiACQQRqNgIoIAIgAjYCICACQQhqQdSWwAAQdAALbwEBfyMAQTBrIgIkACACIAE2AgQgAiAANgIAIAJBHGpBAjYCACACQSxqQQM2AgAgAkICNwIMIAJBuJfAADYCCCACQQM2AiQgAiACQSBqNgIYIAIgAkEEajYCKCACIAI2AiAgAkEIakHIl8AAEHQAC28BAX8jAEEwayICJAAgAiABNgIEIAIgADYCACACQRxqQQI2AgAgAkEsakEDNgIAIAJCAjcCDCACQfSWwAA2AgggAkEDNgIkIAIgAkEgajYCGCACIAJBBGo2AiggAiACNgIgIAJBCGpBhJfAABB0AAtsAQF/IwBBMGsiAyQAIAMgATYCBCADIAA2AgAgA0EcakECNgIAIANBLGpBAzYCACADQgI3AgwgA0HAk8AANgIIIANBAzYCJCADIANBIGo2AhggAyADNgIoIAMgA0EEajYCICADQQhqIAIQdAALVgECfyMAQSBrIgIkACAAQRxqKAIAIQMgACgCGCACQRhqIAFBEGopAgA3AwAgAkEQaiABQQhqKQIANwMAIAIgASkCADcDCCADIAJBCGoQHiACQSBqJAALWQEBfyMAQSBrIgIkACACIAAoAgA2AgQgAkEYaiABQRBqKQIANwMAIAJBEGogAUEIaikCADcDACACIAEpAgA3AwggAkEEakGYisAAIAJBCGoQHiACQSBqJAALWQEBfyMAQSBrIgIkACACIAAoAgA2AgQgAkEYaiABQRBqKQIANwMAIAJBEGogAUEIaikCADcDACACIAEpAgA3AwggAkEEakGAjsAAIAJBCGoQHiACQSBqJAALZwAjAEEwayIBJABB2K3AAC0AAARAIAFBHGpBATYCACABQgI3AgwgAUH0jsAANgIIIAFBAzYCJCABIAA2AiwgASABQSBqNgIYIAEgAUEsajYCICABQQhqQZyPwAAQdAALIAFBMGokAAtZAQF/IwBBIGsiAiQAIAIgACgCADYCBCACQRhqIAFBEGopAgA3AwAgAkEQaiABQQhqKQIANwMAIAIgASkCADcDCCACQQRqQbSRwAAgAkEIahAeIAJBIGokAAtnAQJ/IAEoAgAhAwJAAkACQCABQQhqKAIAIgFFBEBBASECDAELIAFBf0wNASABQQEQngEiAkUNAgsgAiADIAEQuQEhAiAAIAE2AgggACABNgIEIAAgAjYCAA8LEHMACyABQQEQswEAC1YBAX8jAEEgayICJAAgAiAANgIEIAJBGGogAUEQaikCADcDACACQRBqIAFBCGopAgA3AwAgAiABKQIANwMIIAJBBGpBmIrAACACQQhqEB4gAkEgaiQAC1YBAX8CQCAABEAgACgCAA0BIABBfzYCACAAQQhqIgMoAgAEQCAAKAIEEBULIAAgATYCBCAAQQA2AgAgAEEMaiACNgIAIAMgAjYCAA8LEK0BAAsQrgEAC1YBAX8CQCAABEAgACgCAA0BIABBfzYCACAAQRRqIgMoAgAEQCAAKAIQEBULIAAgATYCECAAQQA2AgAgAEEYaiACNgIAIAMgAjYCAA8LEK0BAAsQrgEAC1YBAX8CQCAABEAgACgCAA0BIABBfzYCACAAQTBqIgMoAgAEQCAAKAIsEBULIAAgATYCLCAAQQA2AgAgAEE0aiACNgIAIAMgAjYCAA8LEK0BAAsQrgEAC1YBAX8jAEEQayIFJAAgASgCACACKAIAIAMoAgAgBCgCABAIIQEgBUEIahCDASAFKAIMIQIgACAFKAIIIgNBAEc2AgAgACACIAEgAxs2AgQgBUEQaiQAC08BAn8gACgCACIDQQRqKAIAIANBCGoiBCgCACIAayACSQRAIAMgACACEEEgBCgCACEACyADKAIAIABqIAEgAhC5ARogBCAAIAJqNgIAQQALTwECfyAAKAIAIgNBBGooAgAgA0EIaiIEKAIAIgBrIAJJBEAgAyAAIAIQQiAEKAIAIQALIAMoAgAgAGogASACELkBGiAEIAAgAmo2AgBBAAtRAQF/IwBBEGsiBCQAIAEoAgAgAigCACADKAIAEAchASAEQQhqEIMBIAQoAgwhAiAAIAQoAggiA0EARzYCACAAIAIgASADGzYCBCAEQRBqJAALSgECfyAAQQRqKAIAIABBCGoiBCgCACIDayACSQRAIAAgAyACEEEgBCgCACEDCyAAKAIAIANqIAEgAhC5ARogBCACIANqNgIAQQALPwEBfyMAQSBrIgAkAC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YCACAAQSBqIAE2AgAPCxCtAQALEK4BAAsrAAJAIAAEQCAAKAIADQEgAEEANgIAIABBJGogATYCAA8LEK0BAAsQrgEACysAAkAgAARAIAAoAgANASAAQQA2AgAgAEEoaiABNgIADwsQrQEACxCuAQALQAEBfyMAQRBrIgQkACAEIAM2AgwgBCACNgIIIAQgATYCBCAEIAA2AgAgBCgCACAEKAIEIAQoAgggBCgCDBATAAs3ACAAQQM6ACAgAEKAgICAgAQ3AgAgACABNgIYIABBADYCECAAQQA2AgggAEEcakHEh8AANgIACzUBAX8gASgCGEHDjsAAQQsgAUEcaigCACgCDBEDACECIABBADoABSAAIAI6AAQgACABNgIACyUAAkAgAARAIAAoAgBBf0YNASAAQRxqKAIADwsQrQEACxCuAQALJQACQCAABEAgACgCAEF/Rg0BIABBIGooAgAPCxCtAQALEK4BAAslAAJAIAAEQCAAKAIAQX9GDQEgAEEkaigCAA8LEK0BAAsQrgEACyUAAkAgAARAIAAoAgBBf0YNASAAQShqKAIADwsQrQEACxCuAQALJwAgACAAKAIEQQFxIAFyQQJyNgIEIAAgAWoiACAAKAIEQQFyNgIECzoBAn9B3K3AAC0AACEBQdytwABBADoAAEHgrcAAKAIAIQJB4K3AAEEANgIAIAAgAjYCBCAAIAE2AgALIAEBfwJAIAAoAgQiAUUNACAAQQhqKAIARQ0AIAEQFQsLHwACQCABQXxNBEAgACABQQQgAhCZASIADQELAAsgAAsjACACIAIoAgRBfnE2AgQgACABQQFyNgIEIAAgAWogATYCAAslACAARQRAQciMwABBMBCsAQALIAAgAiADIAQgBSABKAIQEQoACyMAIABFBEBByIzAAEEwEKwBAAsgACACIAMgBCABKAIQEQgACyMAIABFBEBByIzAAEEwEKwBAAsgACACIAMgBCABKAIQEQcACyMAIABFBEBByIzAAEEwEKwBAAsgACACIAMgBCABKAIQERUACyMAIABFBEBByIzAAEEwEKwBAAsgACACIAMgBCABKAIQERIACyMAIABFBEBByIzAAEEwEKwBAAsgACACIAMgBCABKAIQERQACx4AIAAg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IAgMBARcBUQECBgEBAgEBAgEC6wECBAYCAQIbAlUIAgEBAmoBAQECBgEBZQMCBAEFAAkBAvUBCgIBAQQBkAQCAgQBIAooBgIECAEJBgIDLg0BAgAHAQYBAVIWAgcBAgECegYDAQECAQcBAUgCAwEBAQACAAU7BwABPwRRAQACAC4CFwABAQMEBQgIAgceBJQDADcEMggBDgEWBQEPAAcBEQIHAQIBBQAHAAE9BAAHbQcAYIDwAACAFgAAACAgAQAwYAEBMHECCQUSAWQBGgEAAQALHQIFAS8BAAEAewlwcm9kdWNlcnMCCGxhbmd1YWdlAQRSdXN0AAxwcm9jZXNzZWQtYnkDBXJ1c3RjHTEuNjQuMCAoYTU1ZGQ3MWQ1IDIwMjItMDktMTkpBndhbHJ1cwYwLjE5LjAMd2FzbS1iaW5kZ2VuEjAuMi44MyAoZWJhNjkxZjM4KQ==");var pr=class{async init(){await li(ui);let e=new Je("<%","%>","\0","*","-","_","tR");this.renderer=new ut(e)}async parse_commands(e,t){return this.renderer.render_content(e,t)}};var be;(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"})(be||(be={}));var pt=class{constructor(e){this.plugin=e;this.functions_generator=new sr(this.plugin),this.parser=new pr}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,n){let i=Le(this.plugin.app);return{template_file:e,target_file:t,run_mode:n,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 n=await this.functions_generator.generate_object(e,ve.USER_INTERNAL);return this.current_functions_object=n,await this.parser.parse_commands(t,n)}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,n,i=!0){if(!t)switch(this.plugin.app.vault.getConfig("newFileLocation")){case"current":{let w=Le(this.plugin.app);w&&(t=w.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 Q.TFile&&e.extension||"md",a=await se(async()=>{let h=t instanceof Q.TFolder?t.path:t,w=this.plugin.app.vault.getAvailablePath((0,Q.normalizePath)(`${h??""}/${n||"Untitled"}`),o),E=sn(w);return E&&!this.plugin.app.vault.getAbstractFileByPathInsensitive(E)&&await this.plugin.app.vault.createFolder(E),this.plugin.app.vault.create(w,"")},`Couldn't create ${o} file.`);if(a==null)return;let{path:u}=a;this.start_templater_task(u);let l,d;if(e instanceof Q.TFile?(l=this.create_running_config(e,a,0),d=await se(async()=>this.read_and_parse_template(l),"Template parsing error, aborting.")):(l=this.create_running_config(void 0,a,0),d=await se(async()=>this.parse_template(l,e),"Template parsing error, aborting.")),d==null){await this.plugin.app.vault.delete(a),await this.end_templater_task(u);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 h=this.plugin.app.workspace.getLeaf(!1);if(!h){V(new b("No active leaf"));return}await h.openFile(a,{state:{mode:"source"}}),await this.plugin.editor_handler.jump_to_next_cursor_location(a,!0),h.setEphemeralState({rename:"all"})}return await this.end_templater_task(u),a}async append_template_to_active_file(e){let t=this.plugin.app.workspace.getActiveViewOfType(Q.MarkdownView),n=this.plugin.app.workspace.activeEditor;if(!n||!n.file||!n.editor){V(new b("No active editor, can't append templates."));return}let{path:i}=n.file;this.start_templater_task(i);let o=this.create_running_config(e,n.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:u,frontmatter:l}=kt(a),h=n.editor.getDoc(),w=h.listSelections();h.replaceSelection(u),t&&(Object.keys(l).length>0&&t instanceof Q.MarkdownView&&typeof t.metadataEditor?.insertProperties=="function"&&t.metadataEditor.insertProperties(l),await qe(100),await t.save()),this.plugin.app.workspace.trigger("templater:template-appended",{view:t,editor:n,content:a,oldSelections:w,newSelections:h.listSelections()}),await this.plugin.editor_handler.jump_to_next_cursor_location(n.file,!0),await this.end_templater_task(i)}async write_template_to_file(e,t){let{path:n}=t;this.start_templater_task(n);let i=this.plugin.app.workspace.getActiveViewOfType(Q.MarkdownView),o=this.plugin.app.workspace.activeEditor,a=Le(this.plugin.app),u=this.create_running_config(e,t,2),l=await se(async()=>this.read_and_parse_template(u),"Template parsing error, aborting.");if(l==null){await this.end_templater_task(n);return}let{content:d,frontmatter:h}=kt(l);if(a?.path===t.path&&o&&o.editor&&i){let w="",{content:E,frontmatter:M}=kt(o.editor.getValue());cn(M,h),Object.keys(M).length>0&&(w+=`---
${(0,Q.stringifyYaml)(M)}---
`),w+=E+d,o.editor.setValue(w),o.editor.setSelection({line:0,ch:0},{line:0,ch:0}),await qe(100),await i.save()}else await this.plugin.app.vault.process(t,w=>{let E="",{content:M,frontmatter:I}=kt(w);return cn(I,h),Object.keys(I).length>0&&(E+=`---
${(0,Q.stringifyYaml)(I)}---
`),E+=M+d,l=E,E});this.plugin.app.workspace.trigger("templater:new-note-from-template",{file:t,content:l}),await this.plugin.editor_handler.jump_to_next_cursor_location(t,!0),await this.end_templater_task(n)}overwrite_active_file_commands(){let e=this.plugin.app.workspace.activeEditor;if(!e||!e.file){V(new b("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:n}=e;this.start_templater_task(n);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(n);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(n)}async process_dynamic_templates(e,t){let n=zr(),i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT),o,a=!1,u;for(;o=i.nextNode();){let l=o.nodeValue;if(l!==null){let d=n.exec(l);if(d!==null){let h=this.plugin.app.metadataCache.getFirstLinkpathDest("",t.sourcePath);if(!h||!(h instanceof Q.TFile))return;if(!a){a=!0;let w=this.create_running_config(h,h,4);u=await this.functions_generator.generate_object(w,ve.USER_INTERNAL),this.current_functions_object=u}}for(;d!=null;){let h=d[1]+d[2],w=await se(async()=>await this.parser.parse_commands(h,u),`Command Parsing error in dynamic command '${h}'`);if(w==null)return;let E=n.lastIndex-d[0].length,M=n.lastIndex;l=l.substring(0,E)+w+l.substring(M),n.lastIndex+=w.length-d[0].length,d=n.exec(l)}o.nodeValue=l}}}get_new_file_template_for_folder(e){do{let t=this.plugin.settings.folder_templates.find(n=>n.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(n=>new RegExp(n.regex).test(e.path));if(t&&t.template)return t.template}static async on_file_creation(e,t,n){if(!(n instanceof Q.TFile)||n.extension!=="md")return;let i=(0,Q.normalizePath)(e.plugin.settings.templates_folder);if(n.path.includes(i)&&i!=="/"||(await qe(300),e.files_with_pending_templates.has(n.path)))return;let o=await t.vault.read(n),a=(0,Q.getFrontMatterInfo)(o),u=o.length-a.contentStart;if(u==0&&e.plugin.settings.enable_folder_templates){let l=e.get_new_file_template_for_folder(n.parent);if(!l)return;let d=await se(async()=>De(t,l),`Couldn't find template ${l}`);if(d==null)return;await e.write_template_to_file(d,n)}else if(u==0&&e.plugin.settings.enable_file_templates){let l=e.get_new_file_template_for_file(n);if(!l)return;let d=await se(async()=>De(t,l),`Couldn't find template ${l}`);if(d==null)return;await e.write_template_to_file(d,n)}else{let l=1e5;n.stat.size<=l?await e.overwrite_file_commands(n):console.log(`Templater skipped parsing ${n.path} because file size exceeds ${l}`)}}async execute_startup_scripts(){for(let e of this.plugin.settings.startup_templates){if(!e)continue;let t=ce(()=>De(this.plugin.app,e),`Couldn't find startup template "${e}"`);if(!t)continue;let{path:n}=t;this.start_templater_task(n);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(n)}}};var ft=U(require("obsidian"));var An=class{constructor(e,t,n){this.plugin=e;this.templater=t;this.settings=n}setup(){this.plugin.app.workspace.onLayoutReady(()=>{if(this.settings.trigger_on_file_creation&&this.plugin.app.vault.getConfig("openBehavior")==="daily"){let t=this.plugin.app.internalPlugins.getEnabledPluginById("daily-notes");if(t){let{folder:n,format:i}=t.options,o=(0,ft.normalizePath)(`${n}/${(0,ft.moment)().format(i)}.md`),a=Le(this.plugin.app);a?.path===o&&pt.on_file_creation(this.templater,this.plugin.app,a)}}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=>pt.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 ft.TFolder&&e.addItem(n=>{n.setTitle("Create new note from template").setIcon("templater-icon").onClick(()=>{this.plugin.fuzzy_suggester.create_new_note_from_template(t)})})}))}};var We=U(require("obsidian"));var fr=class{constructor(e){this.plugin=e}setup(){this.plugin.addCommand({id:"insert-templater",name:"Open insert template modal",icon:"templater-icon",hotkeys:We.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:We.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:We.Platform.isMacOS?void 0:[{modifiers:["Alt"],key:"n"}],callback:()=>{this.plugin.fuzzy_suggester.create_new_note_from_template()}}),this.register_templates_hotkeys(),this.register_cli_handler()}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 n=this.plugin.settings.templates_folder?this.plugin.settings.templates_folder.length+1:0,i=t.slice(n,-3);this.plugin.addCommand({id:t,name:`Insert ${i}`,icon:"templater-icon",callback:()=>{let o=ce(()=>De(this.plugin.app,t),"Couldn't find the template file associated with this hotkey");!o||this.plugin.templater.append_template_to_active_file(o)}}),this.plugin.addCommand({id:`create-${t}`,name:`Create ${i}`,icon:"templater-icon",callback:()=>{let o=ce(()=>De(this.plugin.app,t),"Couldn't find the template file associated with this hotkey");!o||this.plugin.templater.create_new_note_from_template(o)}})}}remove_template_hotkey(e){e&&(this.plugin.removeCommand(`${e}`),this.plugin.removeCommand(`create-${e}`))}register_cli_handler(){this.plugin.registerCliHandler("templater:create-from-template","Create a new note from a Templater template",{template:{value:"<path>",description:"Template file path (relative to vault root or templates folder)",required:!0},file:{value:"<path>",description:"Output file path (relative to vault root)",required:!0},open:{description:"Open the created file in the UI",required:!1}},async e=>this.handle_create_from_template(e))}resolve_template_file(e){let t=e;t.endsWith(".md")||(t=`${t}.md`);try{return De(this.plugin.app,t)}catch{let n=this.plugin.settings.templates_folder;if(n){let i=(0,We.normalizePath)(`${n}/${t}`);return De(this.plugin.app,i)}throw new Error(`Template "${e}" not found`)}}async handle_create_from_template(e){let{template:t,file:n,open:i}=e;if(!t)return"Error: template parameter is required";if(!n)return"Error: file parameter is required";try{let o=this.resolve_template_file(t),a=(0,We.normalizePath)(n),u=sn(a),l=a.slice(u.length+1).replace(/\.md$/,""),d;if(u)try{d=Yn(this.plugin.app,u)}catch{}let h=i==="true",w=await this.plugin.templater.create_new_note_from_template(o,d??u,l,h);return w?w.path:"Error: Failed to create note from template"}catch(o){return`Error: ${o instanceof Error?o.message:String(o)}`}}};var Ar=U(require("obsidian"));var dr=U(require("obsidian"));var gr=class{constructor(e){this.app=e}async jump_to_next_cursor_location(){let e=this.app.workspace.activeEditor;if(!e?.editor)return;let t=e.editor.getValue(),{cursor_matches:n,positions:i}=this.get_cursor_matches_and_positions(t);if(!i||!n)return;let o=e instanceof dr.MarkdownView?e.currentMode.getFoldInfo():null,a=[];for(let u=n.length-1;u>=0;u--){let l=n[u],d=this.get_editor_position_from_index(t,l.index),h=this.get_editor_position_from_index(t,l.index+l[0].length);a.push({from:d,to:h,text:""})}e.editor.transaction({changes:a,selections:i.map(u=>({from:u}))}),o&&Array.isArray(o.folds)&&(i.forEach(u=>{o.folds=o.folds.filter(l=>l.from>u.line||l.to<u.line)}),e instanceof dr.MarkdownView&&(e.currentMode.applyFoldInfo(o),await qe(100),e.save()));try{if(this.app.vault.getConfig("vimMode")){let u=e.editor.cm.cm;window.CodeMirrorAdapter.Vim.handleKey(u,"i","mapping")}}catch(u){console.warn("Templater: Failed to enter insert mode for vim users.",u)}}get_editor_position_from_index(e,t){let n=e.slice(0,t),i=0,o=-1,a=-1;for(;(a=n.indexOf(`
`,a+1))!==-1;i++,o=a);o+=1;let u=e.slice(o,t).length;return{line:i,ch:u}}get_cursor_matches_and_positions(e){let t=/<%\s*tp\.file\.cursor\((?<order>[0-9]*)\)\s*%>/g,n=Array.from(e.matchAll(t));if(n.length===0)return{};n.sort((d,h)=>Number(d.groups?.order||0)-Number(h.groups?.order||0));let i=n[0][0],o=n.filter(d=>d[0]===i),a=o[0][1]===""?[o[0]]:o,u=[],l=0;for(let d of a){let h=d.index-l;u.push(this.get_editor_position_from_index(e,h)),e=e.slice(0,h)+e.slice(h+d[0].length),l+=d[0].length}return{cursor_matches:a,positions:u}}};var mi=U(require("obsidian"));var Uo={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 | string, reference?: string, reference_format?: string)',args:[{name:"format",description:'The format for the date. Defaults to `"YYYY-MM-DD"`. Refer to the [Momentjs 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 to use instead of today's date, e.g. set this to the note's title."},{name:"reference_format",description:"The format for the reference date. Refer to the [Momentjs 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 the [Momentjs 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 the [Momentjs 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 the [Momentjs 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 reference date to use instead of today, e.g. set this to the note's title."},{name:"reference_format",description:"The format for the reference date. Refer to the [Momentjs 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 | string, filename: string = 'Untitled', 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 current 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 | 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[] | ((item: T) => string), items: T[], throw_on_cancel: boolean = false, placeholder: string = "", limit?: number = undefined, default_value?: T = 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)."},{name:"default_value",description:"Default value to initialize the suggester with."}],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 %>`},{name:"Default value for the suggester",example:`<%*
let selectedValue = await tp.system.suggester(["Happy", "Sad", "Confused"], ["Happy", "Sad", "Confused"], false, "", undefined, "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[] | ((item: T) => string), items: T[], throw_on_cancel: boolean = false, title: string = "", limit?: number = undefined, default_values?: T[] = 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)."},{name:"default_values",description:"Default values to initialize the suggester with."}],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 %>`},{name:"Default value for the suggester",example:`<%*
let selectedValue = await tp.system.multi_suggester(["Happy", "Sad", "Confused"], ["Happy", "Sad", "Confused"], false, "", undefined, ["Happy", "Confused"]);
%>
# <% selectedValue %>
selected value: <% selectedValue %>`}]}}},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 `<width>x<height>`."},{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") %>'}]}}}},fi={tp:Uo};var Go=["app","config","date","file","frontmatter","hooks","obsidian","system","user","web"],Ro=new Set(Go);function di(r){return typeof r=="string"&&Ro.has(r)}function gi(r){return!!(r.definition||r.returns||r.args)}var mr=class{constructor(e){this.plugin=e;this.documentation=fi}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 n=await se(async()=>{let i=je(this.plugin.app,this.plugin.settings.user_scripts_folder).filter(a=>a.extension=="js");return await Jr(this.plugin.app,i)},"User Scripts folder doesn't exist");return!n||n.length===0?void 0:n.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((u,l)=>(u[l.name]={name:l.name,description:l.description},u),{}),example:""}],[])}if(!!this.documentation.tp[e].functions)return Object.values(this.documentation.tp[e].functions).map(n=>(n.queryKey=n.name,n))}get_app_functions_documentation(e,t){if(!Et(e))return[];let n=t.split(".");if(n.length===0)return[];let i=e;for(let l=0;l<n.length-1;l++){let d=n[l];if(d in i){if(!Et(i[d]))return[];i=i[d]}}let o=["tp","app",...n.slice(0,n.length-1)].join("."),a=n.slice(0,n.length-1).join("."),u=[];for(let l in i){let d=`${o}.${l}`,h=a?`${a}.${l}`:l;u.push({name:l,queryKey:h,definition:typeof i[l]=="function"?`${d}(${Wr(i[l])})`:d,description:"",returns:"",example:""})}return u}get_module_documentation(e){return this.documentation.tp[e]}get_function_documentation(e,t){return this.documentation.tp[e].functions[t]}get_argument_documentation(e,t,n){let i=this.get_function_documentation(e,t);return!i||!i.args?null:i.args[n]}};var hr=class extends mi.EditorSuggest{constructor(e){super(e.app);this.tp_keyword_regex=/tp\.(?<module>[a-z]*)?(?<fn_trigger>\.(?<fn>[a-zA-Z_.]*)?)?$/;this.documentation=new mr(e),this.intellisense_render_setting=e.settings.intellisense_render}onTrigger(e,t,n){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,u=o.groups&&o.groups.module||"";if(this.module_name=u,o.groups&&o.groups.fn_trigger){if(u==""||!di(u))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 l={start:{line:e.line,ch:e.ch-a.length},end:{line:e.line,ch:e.ch},query:a};return this.latest_trigger_info=l,l}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(n=>n.queryKey.toLowerCase().startsWith(e.query.toLowerCase())):[]}renderSuggestion(e,t){let n=gi(e),i=n&&e.args&&this.getNumberOfArguments(e.args)>0&&Xr(this.intellisense_render_setting),o=n&&e.returns&&Qr(this.intellisense_render_setting),a=n&&this.function_trigger&&e.definition,u=e.description&&Zr(this.intellisense_render_setting),l=i||o||a||u;if(t.createEl("b",{text:e.name}),l&&t.createEl("br"),n){if(i){t.createEl("p",{text:"Parameter list:"});let d=t.createEl("ol");for(let[h,w]of Object.entries(e.args))Un(d,h,w.description)}o&&Un(t,"Returns",e.returns)}a&&t.createEl("code",{text:e.definition}),u&&t.createEl("div",{text:e.description})}selectSuggestion(e,t){let n=this.app.workspace.activeEditor;if(!(!n||!n.editor)&&(n.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,n.editor.setCursor(i)}}getNumberOfArguments(e){try{return new Map(Object.entries(e)).size}catch{return 0}}updateAutocompleteIntellisenseSetting(e){this.intellisense_render_setting=e}};(function(r){r(window.CodeMirror)})(function(r){"use strict";r.defineMode("javascript",function(e,t){var n=e.indentUnit,i=t.statementIndent,o=t.jsonld,a=t.json||o,u=t.trackScope!==!1,l=t.typescript,d=t.wordCharacters||/[\w$\xa1-\uffff]/,h=function(){function s(te){return{type:te,style:"keyword"}}var c=s("keyword a"),m=s("keyword b"),_=s("keyword c"),C=s("keyword d"),O=s("operator"),$={type:"atom",style:"atom"};return{if:s("if"),while:c,with:c,else:m,do:m,try:m,finally:m,return:C,break:C,continue:C,new:s("new"),delete:_,void:_,throw:_,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:O,typeof:O,instanceof:O,true:$,false:$,null:$,undefined:$,NaN:$,Infinity:$,this:s("this"),class:s("class"),super:s("atom"),yield:_,export:s("export"),import:s("import"),extends:_,await:_}}(),w=/[+\-*&%=<>!?|~^@]/,E=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function M(s){for(var c=!1,m,_=!1;(m=s.next())!=null;){if(!c){if(m=="/"&&!_)return;m=="["?_=!0:_&&m=="]"&&(_=!1)}c=!c&&m=="\\"}}var I,K;function D(s,c,m){return I=s,K=m,c}function G(s,c){var m=s.next();if(m=='"'||m=="'")return c.tokenize=ie(m),c.tokenize(s,c);if(m=="."&&s.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return D("number","number");if(m=="."&&s.match(".."))return D("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(m))return D(m);if(m=="="&&s.eat(">"))return D("=>","operator");if(m=="0"&&s.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return D("number","number");if(/\d/.test(m))return s.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),D("number","number");if(m=="/")return s.eat("*")?(c.tokenize=oe,oe(s,c)):s.eat("/")?(s.skipToEnd(),D("comment","comment")):Ir(s,c,1)?(M(s),s.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),D("regexp","string-2")):(s.eat("="),D("operator","operator",s.current()));if(m=="`")return c.tokenize=z,z(s,c);if(m=="#"&&s.peek()=="!")return s.skipToEnd(),D("meta","meta");if(m=="#"&&s.eatWhile(d))return D("variable","property");if(m=="<"&&s.match("!--")||m=="-"&&s.match("->")&&!/\S/.test(s.string.slice(0,s.start)))return s.skipToEnd(),D("comment","comment");if(w.test(m))return(m!=">"||!c.lexical||c.lexical.type!=">")&&(s.eat("=")?(m=="!"||m=="=")&&s.eat("="):/[<>*+\-|&?]/.test(m)&&(s.eat(m),m==">"&&s.eat(m))),m=="?"&&s.eat(".")?D("."):D("operator","operator",s.current());if(d.test(m)){s.eatWhile(d);var _=s.current();if(c.lastType!="."){if(h.propertyIsEnumerable(_)){var C=h[_];return D(C.type,C.style,_)}if(_=="async"&&s.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return D("async","keyword",_)}return D("variable","variable",_)}}function ie(s){return function(c,m){var _=!1,C;if(o&&c.peek()=="@"&&c.match(E))return m.tokenize=G,D("jsonld-keyword","meta");for(;(C=c.next())!=null&&!(C==s&&!_);)_=!_&&C=="\\";return _||(m.tokenize=G),D("string","string")}}function oe(s,c){for(var m=!1,_;_=s.next();){if(_=="/"&&m){c.tokenize=G;break}m=_=="*"}return D("comment","comment")}function z(s,c){for(var m=!1,_;(_=s.next())!=null;){if(!m&&(_=="`"||_=="$"&&s.eat("{"))){c.tokenize=G;break}m=!m&&_=="\\"}return D("quasi","string-2",s.current())}var Ke="([{}])";function fe(s,c){c.fatArrowAt&&(c.fatArrowAt=null);var m=s.string.indexOf("=>",s.start);if(!(m<0)){if(l){var _=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(s.string.slice(s.start,m));_&&(m=_.index)}for(var C=0,O=!1,$=m-1;$>=0;--$){var te=s.string.charAt($),_e=Ke.indexOf(te);if(_e>=0&&_e<3){if(!C){++$;break}if(--C==0){te=="("&&(O=!0);break}}else if(_e>=3&&_e<6)++C;else if(d.test(te))O=!0;else if(/["'\/`]/.test(te))for(;;--$){if($==0)return;var Ui=s.string.charAt($-1);if(Ui==te&&s.string.charAt($-2)!="\\"){$--;break}}else if(O&&!C){++$;break}}O&&!C&&(c.fatArrowAt=$)}}var xn={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function Pt(s,c,m,_,C,O){this.indented=s,this.column=c,this.type=m,this.prev=C,this.info=O,_!=null&&(this.align=_)}function yn(s,c){if(!u)return!1;for(var m=s.localVars;m;m=m.next)if(m.name==c)return!0;for(var _=s.context;_;_=_.prev)for(var m=_.vars;m;m=m.next)if(m.name==c)return!0}function dt(s,c,m,_,C){var O=s.cc;for(A.state=s,A.stream=C,A.marked=null,A.cc=O,A.style=c,s.lexical.hasOwnProperty("align")||(s.lexical.align=!0);;){var $=O.length?O.pop():a?Y:X;if($(m,_)){for(;O.length&&O[O.length-1].lex;)O.pop()();return A.marked?A.marked:m=="variable"&&yn(s,_)?"variable-2":c}}}var A={state:null,column:null,marked:null,cc:null};function k(){for(var s=arguments.length-1;s>=0;s--)A.cc.push(arguments[s])}function f(){return k.apply(null,arguments),!0}function jn(s,c){for(var m=c;m;m=m.next)if(m.name==s)return!0;return!1}function Qe(s){var c=A.state;if(A.marked="def",!!u){if(c.context){if(c.lexical.info=="var"&&c.context&&c.context.block){var m=wr(s,c.context);if(m!=null){c.context=m;return}}else if(!jn(s,c.localVars)){c.localVars=new mt(s,c.localVars);return}}t.globalVars&&!jn(s,c.globalVars)&&(c.globalVars=new mt(s,c.globalVars))}}function wr(s,c){if(c)if(c.block){var m=wr(s,c.prev);return m?m==c.prev?c:new gt(m,c.vars,!0):null}else return jn(s,c.vars)?c:new gt(c.prev,new mt(s,c.vars),!1);else return null}function Nt(s){return s=="public"||s=="private"||s=="protected"||s=="abstract"||s=="readonly"}function gt(s,c,m){this.prev=s,this.vars=c,this.block=m}function mt(s,c){this.name=s,this.next=c}var xi=new mt("this",new mt("arguments",null));function Xe(){A.state.context=new gt(A.state.context,A.state.localVars,!1),A.state.localVars=xi}function wn(){A.state.context=new gt(A.state.context,A.state.localVars,!0),A.state.localVars=null}function de(){A.state.localVars=A.state.context.vars,A.state.context=A.state.context.prev}de.lex=!0;function P(s,c){var m=function(){var _=A.state,C=_.indented;if(_.lexical.type=="stat")C=_.lexical.indented;else for(var O=_.lexical;O&&O.type==")"&&O.align;O=O.prev)C=O.indented;_.lexical=new Pt(C,A.stream.column(),s,null,_.lexical,c)};return m.lex=!0,m}function S(){var s=A.state;s.lexical.prev&&(s.lexical.type==")"&&(s.indented=s.lexical.indented),s.lexical=s.lexical.prev)}S.lex=!0;function B(s){function c(m){return m==s?f():s==";"||m=="}"||m==")"||m=="]"?k():f(c)}return c}function X(s,c){return s=="var"?f(P("vardef",c),kn,B(";"),S):s=="keyword a"?f(P("form"),vn,X,S):s=="keyword b"?f(P("form"),X,S):s=="keyword d"?A.stream.match(/^\s*$/,!1)?f():f(P("stat"),Ze,B(";"),S):s=="debugger"?f(B(";")):s=="{"?f(P("}"),wn,It,S,de):s==";"?f():s=="if"?(A.state.lexical.info=="else"&&A.state.cc[A.state.cc.length-1]==S&&A.state.cc.pop()(),f(P("form"),vn,X,S,Sr)):s=="function"?f(Ie):s=="for"?f(P("form"),wn,Cr,X,de,S):s=="class"||l&&c=="interface"?(A.marked="keyword",f(P("form",s=="class"?s:c),Pr,S)):s=="variable"?l&&c=="declare"?(A.marked="keyword",f(X)):l&&(c=="module"||c=="enum"||c=="type")&&A.stream.match(/^\s*\w/,!1)?(A.marked="keyword",c=="enum"?f(Fr):c=="type"?f(Dr,B("operator"),H,B(";")):f(P("form"),ge,B("{"),P("}"),It,S,S)):l&&c=="namespace"?(A.marked="keyword",f(P("form"),Y,X,S)):l&&c=="abstract"?(A.marked="keyword",f(X)):f(P("stat"),Ti):s=="switch"?f(P("form"),vn,B("{"),P("}","switch"),wn,It,S,S,de):s=="case"?f(Y,B(":")):s=="default"?f(B(":")):s=="catch"?f(P("form"),Xe,yi,X,S,de):s=="export"?f(P("stat"),qi,S):s=="import"?f(P("stat"),Li,S):s=="async"?f(X):c=="@"?f(Y,X):k(P("stat"),Y,B(";"),S)}function yi(s){if(s=="(")return f(Ge,B(")"))}function Y(s,c){return vr(s,c,!1)}function ae(s,c){return vr(s,c,!0)}function vn(s){return s!="("?k():f(P(")"),Ze,B(")"),S)}function vr(s,c,m){if(A.state.fatArrowAt==A.stream.start){var _=m?Tr:br;if(s=="(")return f(Xe,P(")"),Z(Ge,")"),S,B("=>"),_,de);if(s=="variable")return k(Xe,ge,B("=>"),_,de)}var C=m?et:Ye;return xn.hasOwnProperty(s)?f(C):s=="function"?f(Ie,C):s=="class"||l&&c=="interface"?(A.marked="keyword",f(P("form"),Oi,S)):s=="keyword c"||s=="async"?f(m?ae:Y):s=="("?f(P(")"),Ze,B(")"),S,C):s=="operator"||s=="spread"?f(m?ae:Y):s=="["?f(P("]"),$i,S,C):s=="{"?ht(Ft,"}",null,C):s=="quasi"?k(Mt,C):s=="new"?f(wi(m)):f()}function Ze(s){return s.match(/[;\}\)\],]/)?k():k(Y)}function Ye(s,c){return s==","?f(Ze):et(s,c,!1)}function et(s,c,m){var _=m==!1?Ye:et,C=m==!1?Y:ae;if(s=="=>")return f(Xe,m?Tr:br,de);if(s=="operator")return/\+\+|--/.test(c)||l&&c=="!"?f(_):l&&c=="<"&&A.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?f(P(">"),Z(H,">"),S,_):c=="?"?f(Y,B(":"),C):f(C);if(s=="quasi")return k(Mt,_);if(s!=";"){if(s=="(")return ht(ae,")","call",_);if(s==".")return f(Ei,_);if(s=="[")return f(P("]"),Ze,B("]"),S,_);if(l&&c=="as")return A.marked="keyword",f(H,_);if(s=="regexp")return A.state.lastType=A.marked="operator",A.stream.backUp(A.stream.pos-A.stream.start-1),f(C)}}function Mt(s,c){return s!="quasi"?k():c.slice(c.length-2)!="${"?f(Mt):f(Ze,ji)}function ji(s){if(s=="}")return A.marked="string-2",A.state.tokenize=z,f(Mt)}function br(s){return fe(A.stream,A.state),k(s=="{"?X:Y)}function Tr(s){return fe(A.stream,A.state),k(s=="{"?X:ae)}function wi(s){return function(c){return c=="."?f(s?bi:vi):c=="variable"&&l?f(Ni,s?et:Ye):k(s?ae:Y)}}function vi(s,c){if(c=="target")return A.marked="keyword",f(Ye)}function bi(s,c){if(c=="target")return A.marked="keyword",f(et)}function Ti(s){return s==":"?f(S,X):k(Ye,B(";"),S)}function Ei(s){if(s=="variable")return A.marked="property",f()}function Ft(s,c){if(s=="async")return A.marked="property",f(Ft);if(s=="variable"||A.style=="keyword"){if(A.marked="property",c=="get"||c=="set")return f(ki);var m;return l&&A.state.fatArrowAt==A.stream.start&&(m=A.stream.match(/^\s*:\s*/,!1))&&(A.state.fatArrowAt=A.stream.pos+m[0].length),f(Ue)}else{if(s=="number"||s=="string")return A.marked=o?"property":A.style+" property",f(Ue);if(s=="jsonld-keyword")return f(Ue);if(l&&Nt(c))return A.marked="keyword",f(Ft);if(s=="[")return f(Y,tt,B("]"),Ue);if(s=="spread")return f(ae,Ue);if(c=="*")return A.marked="keyword",f(Ft);if(s==":")return k(Ue)}}function ki(s){return s!="variable"?k(Ue):(A.marked="property",f(Ie))}function Ue(s){if(s==":")return f(ae);if(s=="(")return k(Ie)}function Z(s,c,m){function _(C,O){if(m?m.indexOf(C)>-1:C==","){var $=A.state.lexical;return $.info=="call"&&($.pos=($.pos||0)+1),f(function(te,_e){return te==c||_e==c?k():k(s)},_)}return C==c||O==c?f():m&&m.indexOf(";")>-1?k(s):f(B(c))}return function(C,O){return C==c||O==c?f():k(s,_)}}function ht(s,c,m){for(var _=3;_<arguments.length;_++)A.cc.push(arguments[_]);return f(P(c,m),Z(s,c),S)}function It(s){return s=="}"?f():k(X,It)}function tt(s,c){if(l){if(s==":")return f(H);if(c=="?")return f(tt)}}function Si(s,c){if(l&&(s==":"||c=="in"))return f(H)}function Er(s){if(l&&s==":")return A.stream.match(/^\s*\w+\s+is\b/,!1)?f(Y,Ci,H):f(H)}function Ci(s,c){if(c=="is")return A.marked="keyword",f()}function H(s,c){if(c=="keyof"||c=="typeof"||c=="infer"||c=="readonly")return A.marked="keyword",f(c=="typeof"?ae:H);if(s=="variable"||c=="void")return A.marked="type",f(Te);if(c=="|"||c=="&")return f(H);if(s=="string"||s=="number"||s=="atom")return f(Te);if(s=="[")return f(P("]"),Z(H,"]",","),S,Te);if(s=="{")return f(P("}"),bn,S,Te);if(s=="(")return f(Z(En,")"),Di,Te);if(s=="<")return f(Z(H,">"),H);if(s=="quasi")return k(Tn,Te)}function Di(s){if(s=="=>")return f(H)}function bn(s){return s.match(/[\}\)\]]/)?f():s==","||s==";"?f(bn):k(At,bn)}function At(s,c){if(s=="variable"||A.style=="keyword")return A.marked="property",f(At);if(c=="?"||s=="number"||s=="string")return f(At);if(s==":")return f(H);if(s=="[")return f(B("variable"),Si,B("]"),At);if(s=="(")return k(rt,At);if(!s.match(/[;\}\)\],]/))return f()}function Tn(s,c){return s!="quasi"?k():c.slice(c.length-2)!="${"?f(Tn):f(H,Pi)}function Pi(s){if(s=="}")return A.marked="string-2",A.state.tokenize=z,f(Tn)}function En(s,c){return s=="variable"&&A.stream.match(/^\s*[?:]/,!1)||c=="?"?f(En):s==":"?f(H):s=="spread"?f(En):k(H)}function Te(s,c){if(c=="<")return f(P(">"),Z(H,">"),S,Te);if(c=="|"||s=="."||c=="&")return f(H);if(s=="[")return f(H,B("]"),Te);if(c=="extends"||c=="implements")return A.marked="keyword",f(H);if(c=="?")return f(H,B(":"),H)}function Ni(s,c){if(c=="<")return f(P(">"),Z(H,">"),S,Te)}function Bt(){return k(H,Mi)}function Mi(s,c){if(c=="=")return f(H)}function kn(s,c){return c=="enum"?(A.marked="keyword",f(Fr)):k(ge,tt,Fe,Ii)}function ge(s,c){if(l&&Nt(c))return A.marked="keyword",f(ge);if(s=="variable")return Qe(c),f();if(s=="spread")return f(ge);if(s=="[")return ht(Fi,"]");if(s=="{")return ht(kr,"}")}function kr(s,c){return s=="variable"&&!A.stream.match(/^\s*:/,!1)?(Qe(c),f(Fe)):(s=="variable"&&(A.marked="property"),s=="spread"?f(ge):s=="}"?k():s=="["?f(Y,B("]"),B(":"),kr):f(B(":"),ge,Fe))}function Fi(){return k(ge,Fe)}function Fe(s,c){if(c=="=")return f(ae)}function Ii(s){if(s==",")return f(kn)}function Sr(s,c){if(s=="keyword b"&&c=="else")return f(P("form","else"),X,S)}function Cr(s,c){if(c=="await")return f(Cr);if(s=="(")return f(P(")"),Bi,S)}function Bi(s){return s=="var"?f(kn,nt):s=="variable"?f(nt):k(nt)}function nt(s,c){return s==")"?f():s==";"?f(nt):c=="in"||c=="of"?(A.marked="keyword",f(Y,nt)):k(Y,nt)}function Ie(s,c){if(c=="*")return A.marked="keyword",f(Ie);if(s=="variable")return Qe(c),f(Ie);if(s=="(")return f(Xe,P(")"),Z(Ge,")"),S,Er,X,de);if(l&&c=="<")return f(P(">"),Z(Bt,">"),S,Ie)}function rt(s,c){if(c=="*")return A.marked="keyword",f(rt);if(s=="variable")return Qe(c),f(rt);if(s=="(")return f(Xe,P(")"),Z(Ge,")"),S,Er,de);if(l&&c=="<")return f(P(">"),Z(Bt,">"),S,rt)}function Dr(s,c){if(s=="keyword"||s=="variable")return A.marked="type",f(Dr);if(c=="<")return f(P(">"),Z(Bt,">"),S)}function Ge(s,c){return c=="@"&&f(Y,Ge),s=="spread"?f(Ge):l&&Nt(c)?(A.marked="keyword",f(Ge)):l&&s=="this"?f(tt,Fe):k(ge,tt,Fe)}function Oi(s,c){return s=="variable"?Pr(s,c):Ot(s,c)}function Pr(s,c){if(s=="variable")return Qe(c),f(Ot)}function Ot(s,c){if(c=="<")return f(P(">"),Z(Bt,">"),S,Ot);if(c=="extends"||c=="implements"||l&&s==",")return c=="implements"&&(A.marked="keyword"),f(l?H:Y,Ot);if(s=="{")return f(P("}"),Ee,S)}function Ee(s,c){if(s=="async"||s=="variable"&&(c=="static"||c=="get"||c=="set"||l&&Nt(c))&&A.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return A.marked="keyword",f(Ee);if(s=="variable"||A.style=="keyword")return A.marked="property",f(_t,Ee);if(s=="number"||s=="string")return f(_t,Ee);if(s=="[")return f(Y,tt,B("]"),_t,Ee);if(c=="*")return A.marked="keyword",f(Ee);if(l&&s=="(")return k(rt,Ee);if(s==";"||s==",")return f(Ee);if(s=="}")return f();if(c=="@")return f(Y,Ee)}function _t(s,c){if(c=="!"||c=="?")return f(_t);if(s==":")return f(H,Fe);if(c=="=")return f(ae);var m=A.state.lexical.prev,_=m&&m.info=="interface";return k(_?rt:Ie)}function qi(s,c){return c=="*"?(A.marked="keyword",f(Sn,B(";"))):c=="default"?(A.marked="keyword",f(Y,B(";"))):s=="{"?f(Z(Nr,"}"),Sn,B(";")):k(X)}function Nr(s,c){if(c=="as")return A.marked="keyword",f(B("variable"));if(s=="variable")return k(ae,Nr)}function Li(s){return s=="string"?f():s=="("?k(Y):s=="."?k(Ye):k(qt,Mr,Sn)}function qt(s,c){return s=="{"?ht(qt,"}"):(s=="variable"&&Qe(c),c=="*"&&(A.marked="keyword"),f(Hi))}function Mr(s){if(s==",")return f(qt,Mr)}function Hi(s,c){if(c=="as")return A.marked="keyword",f(qt)}function Sn(s,c){if(c=="from")return A.marked="keyword",f(Y)}function $i(s){return s=="]"?f():k(Z(ae,"]"))}function Fr(){return k(P("form"),ge,B("{"),P("}"),Z(Ki,"}"),S,S)}function Ki(){return k(ge,Fe)}function Yi(s,c){return s.lastType=="operator"||s.lastType==","||w.test(c.charAt(0))||/[,.]/.test(c.charAt(0))}function Ir(s,c,m){return c.tokenize==G&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(c.lastType)||c.lastType=="quasi"&&/\{\s*$/.test(s.string.slice(0,s.pos-(m||0)))}return{startState:function(s){var c={tokenize:G,lastType:"sof",cc:[],lexical:new Pt((s||0)-n,0,"block",!1),localVars:t.localVars,context:t.localVars&&new gt(null,null,!1),indented:s||0};return t.globalVars&&typeof t.globalVars=="object"&&(c.globalVars=t.globalVars),c},token:function(s,c){if(s.sol()&&(c.lexical.hasOwnProperty("align")||(c.lexical.align=!1),c.indented=s.indentation(),fe(s,c)),c.tokenize!=oe&&s.eatSpace())return null;var m=c.tokenize(s,c);return I=="comment"?m:(c.lastType=I=="operator"&&(K=="++"||K=="--")?"incdec":I,dt(c,m,I,K,s))},indent:function(s,c){if(s.tokenize==oe||s.tokenize==z)return r.Pass;if(s.tokenize!=G)return 0;var m=c&&c.charAt(0),_=s.lexical,C;if(!/^\s*else\b/.test(c))for(var O=s.cc.length-1;O>=0;--O){var $=s.cc[O];if($==S)_=_.prev;else if($!=Sr&&$!=de)break}for(;(_.type=="stat"||_.type=="form")&&(m=="}"||(C=s.cc[s.cc.length-1])&&(C==Ye||C==et)&&!/^[,\.=+\-*:?[\(]/.test(c));)_=_.prev;i&&_.type==")"&&_.prev.type=="stat"&&(_=_.prev);var te=_.type,_e=m==te;return te=="vardef"?_.indented+(s.lastType=="operator"||s.lastType==","?_.info.length+1:0):te=="form"&&m=="{"?_.indented:te=="form"?_.indented+n:te=="stat"?_.indented+(Yi(s,c)?i||n:0):_.info=="switch"&&!_e&&t.doubleIndentSwitch!=!1?_.indented+(/^(?:case|default)\b/.test(c)?n:2*n):_.align?_.column+(_e?0:1):_.indented+(_e?0:n)},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:Ir,skipExpression:function(s){dt(s,"atom","atom","true",new r.StringStream("",2,null))}}}),r.registerHelper("wordChars","javascript",/[\w$]/),r.defineMIME("text/javascript","javascript"),r.defineMIME("text/ecmascript","javascript"),r.defineMIME("application/javascript","javascript"),r.defineMIME("application/x-javascript","javascript"),r.defineMIME("application/ecmascript","javascript"),r.defineMIME("application/json",{name:"javascript",json:!0}),r.defineMIME("application/x-json",{name:"javascript",json:!0}),r.defineMIME("application/manifest+json",{name:"javascript",json:!0}),r.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),r.defineMIME("text/typescript",{name:"javascript",typescript:!0}),r.defineMIME("application/typescript",{name:"javascript",typescript:!0})});(function(r){r(window.CodeMirror)})(function(r){"use strict";r.customOverlayMode=function(e,t,n){return{startState:function(){return{base:r.startState(e),overlay:r.startState(t),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(i){return{base:r.copyState(e,i.base),overlay:r.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)<i.start)&&(o.streamSeen=i,o.basePos=o.overlayPos=i.start),i.start==o.basePos&&(o.baseCur=e.token(i,o.base),o.basePos=i.pos),i.start==o.overlayPos&&(i.pos=i.start,o.overlayCur=t.token(i,o.overlay),o.overlayPos=i.pos),i.pos=Math.min(o.basePos,o.overlayPos),o.baseCur&&o.overlayCur&&o.baseCur.contains("line-HyperMD-codeblock")&&(o.overlayCur=o.overlayCur.replace("line-templater-inline",""),o.overlayCur+=" line-background-HyperMD-codeblock-bg"),o.overlayCur==null?o.baseCur:o.baseCur!=null&&o.overlay.combineTokens||n&&o.overlay.combineTokens==null?o.baseCur+" "+o.overlayCur:o.overlayCur},indent:e.indent&&function(i,o,a){return e.indent(i.base,o,a)},electricChars:e.electricChars,innerMode:function(i){return{state:i.base,mode:e}},blankLine:function(i){let o,a;return e.blankLine&&(o=e.blankLine(i.base)),t.blankLine&&(a=t.blankLine(i.overlay)),a==null?o:n&&o!=null?o+" "+a:a}}}});var hi=U(require("@codemirror/language")),Ai=U(require("@codemirror/state")),_i="templater",_r="templater-command",xr="templater-inline",Vo="templater-opening-tag",zo="templater-closing-tag",Jo="templater-interpolation-tag",Wo="templater-execution-tag",yr=class{constructor(e){this.plugin=e;this.cursor_jumper=new gr(e.app),this.activeEditorExtensions=[]}desktopShouldHighlight(){return Ar.Platform.isDesktopApp&&this.plugin.settings.syntax_highlighting}mobileShouldHighlight(){return Ar.Platform.isMobile&&this.plugin.settings.syntax_highlighting_mobile}async setup(){this.autocomplete=new hr(this.plugin),this.plugin.registerEditorSuggest(this.autocomplete),await this.registerCodeMirrorMode(),this.templaterLanguage=Ai.Prec.high(hi.StreamLanguage.define(window.CodeMirror.getMode({},_i))),this.templaterLanguage===void 0&&V(new b("Unable to enable syntax highlighting. Could not define language.")),this.plugin.registerEditorExtension(this.activeEditorExtensions),(this.desktopShouldHighlight()||this.mobileShouldHighlight())&&await this.enable_highlighter()}async enable_highlighter(){this.activeEditorExtensions.length===0&&this.templaterLanguage&&(this.activeEditorExtensions.push(this.templaterLanguage),this.plugin.app.workspace.updateOptions())}async disable_highlighter(){this.activeEditorExtensions.length>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&&Le(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"){V(new b("Javascript syntax mode couldn't be found, can't enable syntax highlighting."));return}let t=window.CodeMirror.customOverlayMode;if(t==null){V(new b("Couldn't find customOverlayMode, can't enable syntax highlighting."));return}window.CodeMirror.defineMode(_i,function(n){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 l="";if(o.match(/[-_]{0,1}%>/,!0)){a.inCommand=!1,a.freeLine=!1;let h=a.tag_class;return a.tag_class="",`line-${xr} ${_r} ${zo} ${h}`}let d=e.token&&e.token(o,a);return o.peek()==null&&a.freeLine&&(l+=" line-background-templater-command-bg"),a.freeLine||(l+=` line-${xr}`),`${l} ${_r} ${d}`}let u=o.match(/<%[-_]{0,1}\s*([*+]{0,1})/,!0);if(u!=null){switch(u[1]){case"*":a.tag_class=Wo;break;default:a.tag_class=Jo;break}return a.inCommand=!0,`line-${xr} ${_r} ${Vo} ${a.tag_class}`}for(;o.next()!=null&&!o.match(/<%/,!1););return null}};return t(window.CodeMirror.getMode(n,"hypermd"),i)})}updateEditorIntellisenseSetting(e){this.autocomplete.updateAutocompleteIntellisenseSetting(e)}};var jr=class extends _n.Plugin{async onload(){await this.load_settings(),this.templater=new pt(this),await this.templater.setup(),this.editor_handler=new yr(this),await this.editor_handler.setup(),this.fuzzy_suggester=new Rn(this),this.event_handler=new An(this,this.templater,this.settings),this.event_handler.setup(),this.command_handler=new fr(this),this.command_handler.setup(),(0,_n.addIcon)("templater-icon",ni),this.addRibbonIcon("templater-icon","Templater",async()=>{this.fuzzy_suggester.insert_template()}).setAttribute("id","rb-templater-icon"),this.addSettingTab(new Gn(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({},ei,await this.loadData())}};
/* nosourcemap */